Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Rebohle <philip.rebohle@tu-dortmund.de>2022-07-31 03:39:38 +0300
committerPhilip Rebohle <philip.rebohle@tu-dortmund.de>2022-07-31 03:39:38 +0300
commitc6792f6e46d2f911c400f51b2bb258787ceefa10 (patch)
treef19381a787c6344eed68edaebdbd7ef6546fb5ae
parent6b587b55f148f541e7dedf1aaa59e797e8f338a3 (diff)
[dxso] Introduce getSpecConstantBufferSlotd3d9-spec-constant-buffer-stuff
-rw-r--r--src/dxso/dxso_util.h4
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