-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mesh shader: Enable row export on GFX11 and fix issues
- The preparation of attribute ring access should be moved to entry block. - The function attribute 'amdgpu-flat-work-group-size' is incorrect, which leads to unexpected removal of s_barrier. - Use primOrVertexIndex to do attribute ring access as the VGPR index of buffer_store. Don't use threadIdInSubgroup because when row export is enabled, threadIdInSubgroup is not always equal to primOrVertexIndex. - After fixing those issues, enable row export by default on GFX11. This is because mesh query will have to check msInvocations. On GFX11, HW obtains this value from the register field SPI_SHADER_GS_MESHLET_DIM.MESHLET_THREADGROUP_SIZE.
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters