2021-07-29 18:05:19 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
2021-07-15 20:29:09 +00:00
|
|
|
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;
|
|
|
|
}
|
2021-11-08 20:16:48 +00:00
|
|
|
C:\src\tint\test\Shader@0x00000150124FBBE0(15,3-24): error X3500: array reference cannot be used as an l-value; not natively addressable
|
2021-07-29 18:05:19 +00:00
|
|
|
|