[clang] [llvm] [HLSL][DirectX][SPIRV] Implement SV_IsFrontFace (PR #232071)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 9 12:02:07 PST 2026


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

Can you merge these 3 tests under codegenhlsl/semantics into 1 test with multiple run lines and a define for the entry point parameter type?
See clang/test/CodeGenHLSL/semantics/SV_PrimitiveID.ps.hlsl for an example.

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


More information about the cfe-commits mailing list