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

Merged
merged 2 commits into from
Oct 14, 2024

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 4 times, most recently from 0ba0176 to 70791c1 Compare September 11, 2024 13:12
@ErichDonGubler ErichDonGubler force-pushed the d3d12-num_workgroups branch 5 times, most recently from e37496a to 49e5b2d Compare September 19, 2024 20:09
@teoxoy teoxoy removed the request for review from crowlKats October 14, 2024 13:10
@teoxoy teoxoy enabled auto-merge (rebase) October 14, 2024 13:16
@teoxoy teoxoy merged commit fe7fbd4 into gfx-rs:trunk Oct 14, 2024
27 checks passed
@teoxoy teoxoy deleted the d3d12-num_workgroups branch October 14, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants