upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/d3d12_com.cpp
diff options
context:
space:
mode:
authorASTROWwwW <astrxwledev@gmail.com>2026-11-23 19:23:08 +0100
committerASTROWwwW <astrxwledev@gmail.com>2026-11-23 19:23:08 +0100
commit6b1db4b3ae3c1f1c1de7e9639dffb7d1e2322133 (patch)
treeda66fda4d6f474a504ec290bf368b7cf5104556c /runtime/shims/d3d12_com.cpp
parentffc6f6da01095e322bd5fcc2aaaf8387cd1c3a87 (diff)
parentefc347830b9ccf1461baf9a764ac9e5e911de8f6 (diff)
Merge branch 'pr7330' into ladder-frame
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
-rw-r--r--runtime/shims/d3d12_com.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/shims/d3d12_com.cpp b/runtime/shims/d3d12_com.cpp
index e33769c58..356f8b0c8 100644
--- a/runtime/shims/d3d12_com.cpp
+++ b/runtime/shims/d3d12_com.cpp
@@ -818,6 +818,15 @@ public:
818 } else if (count_buffer_offset != 0) { 818 } else if (count_buffer_offset != 0) {
819 return check(false); 819 return check(false);
820 } 820 }
821 if (kind == leonida::IndirectKind::dispatch_mesh) {
822 // Not replayed yet (#3777 replays it as vkCmdDrawMeshTasksIndirectEXT): nothing is recorded, and the
823 // first such call says so. The list stays valid.
824 static std::atomic<bool> logged{false};
825 if (!logged.exchange(true, std::memory_order_relaxed))
826 std::fprintf(stderr, "[rt] d3d12: ExecuteIndirect with a DISPATCH_MESH signature is not replayed yet; "
827 "nothing was recorded\n");
828 return;
829 }
821 if (max_command_count) { 830 if (max_command_count) {
822 const UINT64 record_size = 831 const UINT64 record_size =
823 kind == leonida::IndirectKind::draw ? sizeof(D3D12_DRAW_ARGUMENTS) 832 kind == leonida::IndirectKind::draw ? sizeof(D3D12_DRAW_ARGUMENTS)