Description
multi_draw_indexed_indirect_count & multi_draw_indirect_count api is regressed since upgrade to v22.0, the root cause is that the count buffer has been set wrong buffer id as code shown in snapshot.
Repro steps
Ideally, a runnable example we can check out.
Expected vs observed behavior
observed behavior: the count buffer has been set to be the same as indirect buffer, which will cause wrong command count in gpu side.
expected behavior: retrieve the count buffer with correct count buffer id.
Extra materials
Platform
platform: windows
graphics api: vulkan/dx12
wgpu version: 22.1.0
Description multi_draw_indexed_indirect_count & multi_draw_indirect_count api is regressed since upgrade to v22.0, the root cause is that the count buffer has been set wrong buffer id as code shown in snapshot.
Repro steps Ideally, a runnable example we can check out.
Expected vs observed behavior observed behavior: the count buffer has been set to be the same as indirect buffer, which will cause wrong command count in gpu side. expected behavior: retrieve the count buffer with correct count buffer id.
Extra materials
Platform platform: windows graphics api: vulkan/dx12 wgpu version: 22.1.0