upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorNiiRoZz <simonin.remi25@gmail.com>2026-11-23 17:29:49 +0100
committerMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 22:14:29 -0600
commit3b86f5fb3cfa97d2aa8b500768ac72cad7a4dbfa (patch)
tree72e9e531a8d700e2432108c26dc1f48d24958b63 /runtime/src
parent58ce13c12d541c32dfbcbb199112d31bf712cb0a (diff)
d3d12: CreateCommandSignature creates a DISPATCH_MESH signature on a device with mesh shaders
The Vulkan layer created signatures for draw, draw-indexed and dispatch only and answered E_NOTIMPL for DISPATCH_MESH, which the PC runtime creates on any mesh-shader tier 1 device. A title that creates such a signature at startup and asserts on the result stopped there. The signature is created when the device has VK_EXT_mesh_shader (MeshShaderTier 1), as a new IndirectKind::dispatch_mesh (the name and value #3777 uses, so the two merge). ExecuteIndirect with it records nothing yet and says so once; #3777 replays it as vkCmdDrawMeshTasksIndirectEXT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit efc347830b9ccf1461baf9a764ac9e5e911de8f6)
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/command_list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/src/command_list.h b/runtime/src/command_list.h
index 7c5c09e0a..595110f36 100644
--- a/runtime/src/command_list.h
+++ b/runtime/src/command_list.h
@@ -587,6 +587,9 @@ enum class IndirectKind : std::uint8_t {
587 draw = 0, 587 draw = 0,
588 draw_indexed = 1, 588 draw_indexed = 1,
589 dispatch = 2, 589 dispatch = 2,
590 // D3D12_DISPATCH_MESH_ARGUMENTS. Created on a device with mesh shaders; ExecuteIndirect with it records nothing
591 // yet (the replay is #3777's), so a title that only creates such a signature at startup goes on.
592 dispatch_mesh = 3,
590}; 593};
591 594
592struct ExecuteIndirect { 595struct ExecuteIndirect {