mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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) {
|
EmitCs([=] (DxvkContext* ctx) {
|
||||||
ctx->drawIndirectXfb(ctrBuf,
|
ctx->drawIndirectXfb(ctrBuf,
|
||||||
vtxBuf.buffer()->getXfbVertexStride(),
|
vtxBuf.buffer()->getXfbVertexStride(),
|
||||||
0); // FIXME offset?
|
vtxBuf.offset());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user