[clang] [HLSL] Allow input semantics on structs (PR #159047)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 07:28:43 PDT 2025


Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/159047 at github.com>


================
@@ -400,10 +400,6 @@ def warn_hlsl_langstd_minimal :
           "recommend using %1 instead">,
   InGroup<HLSLDXCCompat>;
 
-def err_hlsl_semantic_missing : Error<"semantic annotations must be present "
-                                      "for all input and outputs of an entry "
-                                      "function or patch constant function">;
-
----------------
llvm-beanz wrote:

We do still need some diagnostic to cover if we have a missing semantic on a parameter or field right?

https://github.com/llvm/llvm-project/pull/159047


More information about the cfe-commits mailing list