dx12 DispatchMeshIndirectCount fix

This commit is contained in:
Turánszki János
2023-07-07 07:40:44 +02:00
parent b3378751e3
commit a747d6b234
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6556,7 +6556,7 @@ using namespace dx12_internal;
auto args_internal = to_internal(args);
auto count_internal = to_internal(count);
CommandList_DX12& commandlist = GetCommandList(cmd);
commandlist.GetGraphicsCommandList()->ExecuteIndirect(dispatchMeshIndirectCommandSignature.Get(), 1, args_internal->resource.Get(), args_offset, count_internal->resource.Get(), count_offset);
commandlist.GetGraphicsCommandList()->ExecuteIndirect(dispatchMeshIndirectCommandSignature.Get(), max_count, args_internal->resource.Get(), args_offset, count_internal->resource.Get(), count_offset);
}
void GraphicsDevice_DX12::CopyResource(const GPUResource* pDst, const GPUResource* pSrc, CommandList cmd)
{
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 239;
const int revision = 240;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);