mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
Some pass DXC, but not FXC (e.g. continue_in_switch). Some now pass (e.g intrinsics/gen/atan2/*.hlsl) Some now fail gracefully instead of asserting (e.g. 807.spv) Change-Id: I92b17fcadc7850de5bd93ff07507cea7e5487fc9 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68820 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@chromium.org> Commit-Queue: 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@0x00000150124FBBE0(15,3-24): error X3500: array reference cannot be used as an l-value; not natively addressable
|
|
|