mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 03:11:29 +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>
17 lines
188 B
Plaintext
17 lines
188 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void f() {
|
|
int i = 0;
|
|
switch(i) {
|
|
case 0: {
|
|
/* fallthrough */
|
|
}
|
|
default: {
|
|
break;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|