From 54f989b2e64e556cab691a0e5464b7c2e825ea2a Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 31 Jul 2022 02:39:38 +0200 Subject: [PATCH] [dxso] Introduce getSpecConstantBufferSlot --- src/dxso/dxso_util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dxso/dxso_util.h b/src/dxso/dxso_util.h index 3a94acfb1..d027d6fc7 100644 --- a/src/dxso/dxso_util.h +++ b/src/dxso/dxso_util.h @@ -53,6 +53,10 @@ namespace dxvk { return DxsoConstantBuffers::VSCount + caps::MaxTexturesVS + DxsoConstantBuffers::PSCount + caps::MaxTexturesPS + 1; // From last pixel shader slot, above. } + constexpr uint32_t getSpecConstantBufferSlot() { + return getSWVPBufferSlot() + 1; + } + uint32_t RegisterLinkerSlot(DxsoSemantic semantic); } \ No newline at end of file