mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-29 04:06:24 +01:00
[dxso] Introduce getSpecConstantBufferSlot
This commit is contained in:
parent
a2ef99b95c
commit
54f989b2e6
@ -53,6 +53,10 @@ namespace dxvk {
|
|||||||
return DxsoConstantBuffers::VSCount + caps::MaxTexturesVS + DxsoConstantBuffers::PSCount + caps::MaxTexturesPS + 1; // From last pixel shader slot, above.
|
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);
|
uint32_t RegisterLinkerSlot(DxsoSemantic semantic);
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user