You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR moves over some more diagnostics from CGHLSLMS.cpp. Some
diagnostics are moved into DiagnoseEntryAttrAllowedOnStage, to
specifically diagnose when an attribute appears on a shader stage that
it shouldn't appear on. Other diagnostics that are covered in Sema are
removed in CGHLSLMS.
Fixesmicrosoft#5990
---------
Co-authored-by: Chris B <[email protected]>
Description
The following diagnostics should be moved from CodeGen to Sema and need to have tests added:
DirectXShaderCompiler/tools/clang/lib/CodeGen/CGHLSLMS.cpp
Line 1405 in d5ddb1e
DirectXShaderCompiler/tools/clang/lib/CodeGen/CGHLSLMS.cpp
Line 1555 in d5ddb1e
DirectXShaderCompiler/tools/clang/lib/CodeGen/CGHLSLMS.cpp
Line 2519 in d5ddb1e
DirectXShaderCompiler/tools/clang/lib/CodeGen/CGHLSLMS.cpp
Line 2680 in d5ddb1e
For more context see discussion about
tools/clang/lib/CodeGen/CGHLSLMS.cpp
in PR #5982.The text was updated successfully, but these errors were encountered: