[clang] [llvm] [HLSL][SPIR-V] Add support for SV_Target semantic (PR #168743)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 04:11:44 PST 2025


================
@@ -244,6 +241,17 @@ class SemaHLSL : public SemaBase {
     std::optional<uint32_t> Index;
   };
 
+  enum IOType {
+    In = 0b01,
+    Out = 0b10,
+    InOut = 0b11,
+  };
+
+  struct SemanticStageInfo {
+    llvm::Triple::EnvironmentType Stage;
+    IOType Direction;
----------------
Keenuts wrote:

Changed type AllowedIOTypesMask

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


More information about the cfe-commits mailing list