Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d3d12] get num_workgroups builtin working for indirect dispatches #5730

Open
wants to merge 11 commits into
base: trunk
Choose a base branch
from

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented May 22, 2024

Connections
Depends on #5714.
Follow-up to #1816.

Description
num_workgroups used to always be 0, 0, 0 for indirect dispatches; it now works properly.
This PR adds the logic needed to update the root constants with the right values for the num_workgroups builtin.

Testing
There is a test.

@teoxoy teoxoy requested a review from a team as a code owner May 22, 2024 14:33
@cwfitzgerald

This comment was marked as outdated.

@cwfitzgerald cwfitzgerald marked this pull request as draft May 29, 2024 19:16
@teoxoy teoxoy self-assigned this Jul 19, 2024
@teoxoy teoxoy marked this pull request as ready for review July 24, 2024 09:03
@teoxoy teoxoy force-pushed the d3d12-num_workgroups branch 2 times, most recently from a33b80c to fed4db1 Compare July 24, 2024 09:10
@teoxoy teoxoy force-pushed the d3d12-num_workgroups branch 2 times, most recently from 8fbc078 to fb99ea9 Compare July 24, 2024 13:05
@teoxoy teoxoy force-pushed the d3d12-num_workgroups branch 2 times, most recently from 17d83a8 to 164a658 Compare August 23, 2024 19:32
@cwfitzgerald

This comment was marked as outdated.

@teoxoy

This comment was marked as outdated.

@ErichDonGubler

This comment was marked as outdated.

ErichDonGubler

This comment was marked as resolved.

@ErichDonGubler ErichDonGubler force-pushed the d3d12-num_workgroups branch 3 times, most recently from 976a211 to 0ba0176 Compare September 10, 2024 01:06
@ErichDonGubler ErichDonGubler force-pushed the d3d12-num_workgroups branch 3 times, most recently from c47b597 to e37496a Compare September 19, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants