diff options
| author | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 13:13:05 -0600 |
|---|---|---|
| committer | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 13:13:05 -0600 |
| commit | 455e574b721d6485402eb78f095bd913afea4e1b (patch) | |
| tree | adf5d93c3e4ac8fb5f972bd288959496096269e1 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 43a9d562d355e7c5c428e486071b456353de8b05 (diff) | |
d3d12: ExecuteIndirect with DISPATCH_MESH records as DispatchMesh does (RT-INDIRECT-DISPATCH-MESH-PARITY)
GraphicsCommandList::record_indirect for IndirectKind::dispatch_mesh
differed from DispatchMesh and the indirect DRAW/DRAW_INDEXED path in
three ways:
- it tested viewport 0 only, so a call with viewport 0 empty and
another viewport set recorded nothing; it now uses
any_nonempty_viewport();
- it did not set draw.viewports, so the replay drew with viewport 0
and scissor 0 alone; it now sets draw_viewports();
- it had no mesh_ok check, so a root signature larger than a mesh
shader's 16-dword window recorded; it is now a recording error, as
for DispatchMesh.
The root-window check and its direct-heap notes move into one helper
that both paths call. d3d12_mesh_test records each case; each check
fails with its part of the fix reverted.
Found by kevincommits on #1608.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions