1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-04 16:24:29 +01:00

[d3d11] Fix build errors on MSVC

This commit is contained in:
Philip Rebohle 2019-01-10 18:26:20 +01:00
parent bbc3b3fb2b
commit e665d896e3
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1416,7 +1416,8 @@ namespace dxvk {
} else {
cmdData = EmitCsCmd<D3D11CmdDrawIndirectData>(
[] (DxvkContext* ctx, const D3D11CmdDrawIndirectData* data) {
ctx->drawIndexedIndirect(data->offset, data->count, stride);
ctx->drawIndexedIndirect(data->offset, data->count,
sizeof(VkDrawIndexedIndirectCommand));
});
cmdData->type = D3D11CmdType::DrawIndirectIndexed;
@ -1447,7 +1448,8 @@ namespace dxvk {
} else {
cmdData = EmitCsCmd<D3D11CmdDrawIndirectData>(
[] (DxvkContext* ctx, const D3D11CmdDrawIndirectData* data) {
ctx->drawIndirect(data->offset, data->count, stride);
ctx->drawIndirect(data->offset, data->count,
sizeof(VkDrawIndirectCommand));
});
cmdData->type = D3D11CmdType::DrawIndirect;