[clang] [llvm] [HLSL] Adding HLSL `clip` function. (PR #114588)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 14 10:33:59 PST 2024


================
@@ -0,0 +1,39 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-pixel %s -fnative-half-type -emit-llvm -o - | FileCheck %s
----------------
inbelic wrote:

Don't need to specify the filename extension with `-x hlsl`

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


More information about the cfe-commits mailing list