[clang] Adding `asuint` implementation to hlsl (PR #107292)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 16:23:50 PDT 2024


joaosaffran wrote:

@farzonl I discussed the `half` type support with @llvm-beanz, he suggested using static asserts, which I've added and now checks whether the type being passed has 32bits. This prevents the `half` support. Any concerns regarding this approach?

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


More information about the cfe-commits mailing list