[clang] [llvm] [HLSL] Implement the `faceforward` intrinsic (PR #135878)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 10:45:43 PDT 2025


================
@@ -0,0 +1,94 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
----------------
inbelic wrote:

```suggestion
// RUN: %clang_cc1 -finclude-default-header -triple \
```
`-x` just specifies the file extension, since the file is `.hlsl` it should naturally detect and use it as expected.

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


More information about the llvm-commits mailing list