mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d11] Fix counter value offset in DrawAuto
According to the newly released D3D11.3 functional specification, we're supposed to subtract the offset of the slot 0 vertex buffer binding from the counter value.
This commit is contained in:
parent
343818cf1c
commit
f503ba4c8b
@ -1361,7 +1361,7 @@ namespace dxvk {
|
||||
EmitCs([=] (DxvkContext* ctx) {
|
||||
ctx->drawIndirectXfb(ctrBuf,
|
||||
vtxBuf.buffer()->getXfbVertexStride(),
|
||||
0); // FIXME offset?
|
||||
vtxBuf.offset());
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user