Before they were only set for compute kernels and compute shaders but
not for other shaders.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
430 ms | linux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp |
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
1238–1239 | All shader types have MEM_ORDERED, and GS and HS also have WGP_MODE. Annoyingly, the bits aren't always in the same place. What I would suggest is:
|
Comment Actions
Also set MEM_ORDERED and WGP_MODE for supported PGMRSrc1 registers.
Add helper function to get PGMRSrc1 from SIProgramInfo for all calling conventions.
llvm/lib/Target/AMDGPU/SIProgramInfo.cpp | ||
---|---|---|
40–48 | switch? |
All shader types have MEM_ORDERED, and GS and HS also have WGP_MODE.
Annoyingly, the bits aren't always in the same place.
What I would suggest is: