[clang] [llvm] [HLSL][DXIL][SPIRV] QuadReadAcrossX intrinsic support (PR #184360)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 10:35:42 PDT 2026


================
@@ -3451,6 +3451,105 @@ __attribute__((convergent)) double3 WavePrefixProduct(double3);
 _HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_prefix_product)
 __attribute__((convergent)) double4 WavePrefixProduct(double4);
 
+//===----------------------------------------------------------------------===//
+// QuadReadAcrossX builtins
+//===----------------------------------------------------------------------===//
+
+_HLSL_16BIT_AVAILABILITY(shadermodel, 6.0)
----------------
bob80905 wrote:

A bug I let in accidentally:
All 16 bit availability macros should have 6.2 as an input, not 6.0.
I've since updated the wave intrinsics I've added with this bug. Please make this update as well.


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


More information about the cfe-commits mailing list