================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-pixel 
-finclude-default-header -x hlsl -verify -o - %s
----------------
bob80905 wrote:

Likewise, look at clang/test/SemaHLSL/Semantics/primitiveid.ps.errors.hlsl and 
the other files in that directory for primitiveid.
There's another file extension "errors" we tend to use for files that are meant 
to check against multiple errors due to the semantic itself.
Then there's a .stages file that is a library shader with multiple shader stage 
definitions, each causing expected errors.
The .ps hlsl test shows all the various correct ways to use the semantic.
Could you match this pattern for consistency? 

https://github.com/llvm/llvm-project/pull/232071
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to