[clang] [HLSL] Implement the `lit` intrinsic (PR #134171)

Deric C. via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 7 11:35:08 PDT 2025


================

----------------
Icohedron wrote:

If you add a test here that uses `half`
```c++
half4 test_lit_half(half NDotL, half NDotH, half M) { return lit(NDotL, NDotH, M); }
```
Will it convert the `half` types to float?

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


More information about the cfe-commits mailing list