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
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
1245–1252 | 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 | ||
---|---|---|
39–47 ↗ | (On Diff #301316) | 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: