1
0
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:
Philip Rebohle 2019-05-02 16:02:15 +02:00
parent 343818cf1c
commit f503ba4c8b
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1361,7 +1361,7 @@ namespace dxvk {
EmitCs([=] (DxvkContext* ctx) {
ctx->drawIndirectXfb(ctrBuf,
vtxBuf.buffer()->getXfbVertexStride(),
0); // FIXME offset?
vtxBuf.offset());
});
}