mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-06 04:05:40 +00:00
Bug: tint:998 Change-Id: I6c8b8f7ec9a9b6d5a721fa01bab647641e33b3b2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58281 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
22 lines
411 B
HLSL
22 lines
411 B
HLSL
SKIP: FAILED
|
|
|
|
cbuffer cbuffer_constants : register(b0, space1) {
|
|
uint4 constants[1];
|
|
};
|
|
|
|
RWByteAddressBuffer result : register(u1, space1);
|
|
|
|
struct S {
|
|
uint data[3];
|
|
};
|
|
|
|
static S s = (S)0;
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
s.data[constants[0].x] = 0u;
|
|
return;
|
|
}
|
|
C:\src\tint\test\Shader@0x0000015D0E1BAC50(15,3-24): error X3500: array reference cannot be used as an l-value; not natively addressable
|
|
|