Saying that typed buffers are not supported is inaccurate. Scalar types are required for it to work though.
@@ -7304,7 +7304,7 @@ void TranslateDefaultSubscript(CallInst *CI, HLOperationLowerHelper &helper, HL
// Invalid operations.
Translated = false;
dxilutil::EmitErrorOnInstruction(
- userCall, "Atomic operation on typed buffer is not supported.");
+ userCall, "Typed resources used in atomic operations must have a scalar element type.");
return;
} break;
default:
@@ -1,6 +1,6 @@
// RUN: %dxc -E main -T cs_6_0 %s | FileCheck %s
-// CHECK: Atomic operation on typed buffer is not supported
+// CHECK: Typed resources used in atomic operations must have a scalar element type
RWBuffer<uint4> bufA;