mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-06 06:33:30 +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>
18 lines
283 B
HLSL
18 lines
283 B
HLSL
SKIP: FAILED
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void f() {
|
|
int i = 0;
|
|
switch(i) {
|
|
case 0: {
|
|
/* fallthrough */
|
|
}
|
|
default: {
|
|
break;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
C:\src\tint\test\Shader@0x000001AF1A4F6940(5,5): error X3533: non-empty case statements must have break or return
|
|
|