mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 07:24:15 +01:00
[d3d11] Fix build errors on MSVC
This commit is contained in:
parent
bbc3b3fb2b
commit
e665d896e3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user