-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New barrier DXIL Op fixes for Validation and RDAT function compatibil…
…ity info (#6291) (#6331) Fix barrier allowed ops and flags by shader kind New barrier operations lacked validation and for RDAT info: had incorrect min target and shader stage flags. - Identify barrier DXIL operations with new `is_barrier` in `hctdb.py` and generated `OP::IsDxilOpBarrier`. - Identify when a barrier op requires shader stage with group (compute-like stage), or when it requires node memory. - Add new `OptFeatureInfo_RequiresGroup` to identify function only compatible with a shader stage with a visible group for access to groupshared memory or use of group sync. - Translate to original `BarrierMode` when compatible; adds `BarrierMode::Invalid` to identify invalid cases. - Account for `DXIL::MemoryTypeFlags::AllMemory` being allowed and auto-masked by driver. - Properly set min shader model and compatible shader stage flags. - Validate barrier for shader stage. - Added new barriers to counters which were missing. Adressing parts of: #6256 and #6292 Fixes #6266 (cherry picked from commit 2314d06)
- Loading branch information
Showing
22 changed files
with
598 additions
and
60 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
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
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
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
Oops, something went wrong.