Skip to content

Support SetMeshOutputCounts in mesh nodes - #6476

Merged
Gregory Roth (pow2clk) merged 4 commits into
microsoft:release-preview-mesh-nodesfrom
pow2clk:mesh-nodes-intrinsic
Mar 29, 2024
Merged

Gregory Roth (pow2clk) merged 4 commits into
microsoft:release-preview-mesh-nodesfrom
pow2clk:mesh-nodes-intrinsic

Conversation

@pow2clk

@pow2clk Gregory Roth (pow2clk) commented Mar 28, 2024 •

Copy link
Copy Markdown
Collaborator

Allow the usage of SetMeshOutputCounts() in mesh launch node shaders and no other launch type nodes. This requires identifying the op initially as permitted in node shaders, but restraining that permission later on. Given the availability of launch type and opcode information, the locations for doing that were limited. Future implementation might opt to encode the launch type in the stage mask or else at least temporarily use a different opcode for a SetMeshOutputCounts call within a node shader.

Fixes #6473

Allow the usage of SetMeshOutputCounts() in mesh launch node shaders and
no other launch type nodes. This requires identifying the op initially
as permitted in node shaders, but restraining that permission later on.
Given the availability of launch type and opcode information, the
locations for doing that were limited. Future implementation might opt
to encode the launch type in the stage mask or else at least temporarily
use a different opcode for a SetMeshOutputCounts call within a node
shader.

Fixes microsoft#6473
@pow2clk
Gregory Roth (pow2clk) requested a review from a team as a code owner March 28, 2024 23:22
@github-actions

github-actions Bot commented Mar 28, 2024 •

Copy link
Copy Markdown
Contributor

✅ With the latest revision this PR passed the Python code formatter.

@github-actions

github-actions Bot commented Mar 28, 2024 •

Copy link
Copy Markdown
Contributor

✅ With the latest revision this PR passed the C/C++ code formatter.

Comment thread utils/hct/hctdb.py Resolved
@pow2clk
Gregory Roth (pow2clk) merged commit 72e0fa4 into microsoft:release-preview-mesh-nodes Mar 29, 2024
@pow2clk
Gregory Roth (pow2clk) deleted the mesh-nodes-intrinsic branch March 29, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants