[clang] [HLSL] Implement the SV_InstanceID semantic (PR #221091)

Gregory Roth via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 10:58:50 PDT 2026


================
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -triple dxil-unknown-shadermodel6.8-vertex -x hlsl -emit-llvm -finclude-default-header -disable-llvm-passes -o - %s | FileCheck --check-prefix=CHECK-DXIL %s
+// RUN: %clang_cc1 -triple spirv-unknown-vulkan1.3-vertex -x hlsl -emit-llvm -finclude-default-header -disable-llvm-passes -o - %s | FileCheck --check-prefix=CHECK-SPIRV  %s
----------------
pow2clk wrote:

disregard

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


More information about the cfe-commits mailing list