Skip to content

[Feature Request] Add mesh node function attributes #6443

Closed

Description

@pow2clk

inherits from both node and mesh shaders. output topology is the only new one

Is your feature request related to a problem? Please describe.
Mesh nodes require support for all the function attributes that node shaders can support as well as output topology which comes from mesh shaders and potentailly (NodeMaxInputRecordsPerGraphEntryRecord)[https://github.com/microsoft/DirectX-Specs/blob/master/d3d/WorkGraphs.md#helping-mesh-nodes-work-better-on-some-hardware]

Describe the solution you'd like
Support most of the node attributes: [NodeLaunch("mode")], [NodeIsProgramEntry], [NodeID("nodeName", arrayIndex=0)],
[NodeLocalRootArgumentsTableIndex(index)], [NumThreads(x,y,z)], [NodeShareInputOf("nodeName", arrayIndex=0)], [NodeDispatchGrid(x,y,z)], [NodeMaxDispatchGrid(x,y,z)]

Exclude [NodeMaxRecursionDepth(count)] as recursion isn't allowed for mesh nodes.

Additionally include outputtopology from mesh shaders. Numthreads is also shared with node shaders and should inherit the 128 thread limit that mesh shaders have

Describe alternatives you've considered
If (NodeMaxInputRecordsPerGraphEntryRecord)[https://github.com/microsoft/DirectX-Specs/blob/master/d3d/WorkGraphs.md#helping-mesh-nodes-work-better-on-some-hardware] proves too contentious, I'll move it to a separate issue to allow the rest to get in.

Additional context
This is a portion of the parent issue #6404

Activity

  1. changed the title [-]Function attributes. inherits from both node and mesh shaders. output topology is the only new one[/-] [+][Feature Request] Add mesh node function attributes[/+] on Mar 21, 2024
  2. added
    experimental-mesh-nodes
    on Mar 21, 2024
  3. moved this from 🆕 New to 🏗 In progress in HLSL Roadmapon Mar 21, 2024
  4. linked a pull request that will close this issueMesh node attribute support #6469on Mar 28, 2024
  5. added 2 commits that reference this issue on Mar 28, 2024
    8f7048f
    4143726
  6. moved this from 🏗 In progress to 👀 In review in HLSL Roadmapon Mar 28, 2024
  7. added 2 commits that reference this issue on Mar 29, 2024
    9b55b41
    9ec9169
  8. pow2clk commented on Mar 29, 2024

    @pow2clk
    CollaboratorAuthor

    Fixed by #6469

  9. moved this from 👀 In review to ✅ Done in HLSL Roadmapon Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

experimental-mesh-nodes

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions