mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-15 03:41:34 +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
356 B
HLSL
22 lines
356 B
HLSL
SKIP: FAILED
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void f() {
|
|
{
|
|
for(int i = 0; (i < 4); i = (i + 1)) {
|
|
switch(i) {
|
|
case 0: {
|
|
continue;
|
|
break;
|
|
}
|
|
default: {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
C:\src\tint\test\Shader@0x0000022998AE1EF0(7,11-19): error X3708: continue cannot be used in a switch
|
|
|