1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-21 21:57:39 +01:00

[dxso] Introduce getSpecConstantBufferSlot

This commit is contained in:
Philip Rebohle 2022-07-31 02:39:38 +02:00 committed by Joshie
parent a2ef99b95c
commit 54f989b2e6

View File

@ -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);
}