mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[d3d11] Fixed constant buffer binding update
This commit is contained in:
parent
4518b1b76e
commit
bd71f256e5
@ -2504,7 +2504,9 @@ namespace dxvk {
|
|||||||
constantCount = pNumConstants [i];
|
constantCount = pNumConstants [i];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Bindings[StartSlot + i].buffer != newBuffer) {
|
if (Bindings[StartSlot + i].buffer != newBuffer
|
||||||
|
|| Bindings[StartSlot + i].constantOffset != constantOffset
|
||||||
|
|| Bindings[StartSlot + i].constantCount != constantCount) {
|
||||||
Bindings[StartSlot + i].buffer = newBuffer;
|
Bindings[StartSlot + i].buffer = newBuffer;
|
||||||
Bindings[StartSlot + i].constantOffset = constantOffset;
|
Bindings[StartSlot + i].constantOffset = constantOffset;
|
||||||
Bindings[StartSlot + i].constantCount = constantCount;
|
Bindings[StartSlot + i].constantCount = constantCount;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user