| Issue |
243266
|
| Summary |
[HLSL] Diagnose incorrect stages for QuadAll
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
bob80905
|
QuadAll is currently not diagnosing incorrect stages. It is only allowed in pixel, compute, amplification, and mesh shaders.
SemaHLSL.cpp is not the right place to diagnose, however, since vulkan should be able to allow this builtin in any shader stage.
We need to introduce stage-specific availability and utilize it to restrict this builtin only if DirectX is being targeted and an unsupported shader stage is being used.
This comment thread is a good reference: https://github.com/llvm/llvm-project/pull/240645#discussion_r4553566789
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs