mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-04 21:54:32 +00:00
The new vk-gl-cts tests have uncovered a whole bunch of FXC issues, which have been filed as tint bugs. Bug: tint:998 Bug: tint:1080 Bug: tint:1038 Bug: tint:1081 Bug: tint:1082 Bug: tint:1083 Change-Id: I0d14370f94647dfd9c7088e0b782c3b415c78ee7 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60211 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@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@0x00000272D4538E60(15,3-24): error X3500: array reference cannot be used as an l-value; not natively addressable
|
|
|