diff options
author | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2022-07-31 03:39:38 +0300 |
---|---|---|
committer | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2022-07-31 03:39:38 +0300 |
commit | c6792f6e46d2f911c400f51b2bb258787ceefa10 (patch) | |
tree | f19381a787c6344eed68edaebdbd7ef6546fb5ae | |
parent | 6b587b55f148f541e7dedf1aaa59e797e8f338a3 (diff) |
[dxso] Introduce getSpecConstantBufferSlotd3d9-spec-constant-buffer-stuff
-rw-r--r-- | src/dxso/dxso_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dxso/dxso_util.h b/src/dxso/dxso_util.h index 3a94acfb..d027d6fc 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 |