[clang] [llvm] [HLSL][DXIL] InterlockedOr and InterlockedOr64 builtins (PR #180804)
Alexander Johnston via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 09:54:52 PDT 2026
================
@@ -0,0 +1,18 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library %s -verify
+
+using handle_long_t = __hlsl_resource_t [[hlsl::resource_class(UAV)]] [[hlsl::contained_type(long)]];
+
+struct CustomResource {
+ handle_long_t BufferLong;
+};
----------------
Alexander-Johnston wrote:
Same reason for the custom version as above. As for the type of buffer, we're specifically interested in the width of the type of the buffer in this test
https://github.com/llvm/llvm-project/pull/180804
More information about the cfe-commits
mailing list