mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 03:35:56 +00:00
Bug: tint:1604 Change-Id: I7005188a1b3b03934c55e54dc94f548c016166d1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103983 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
26 lines
354 B
GLSL
26 lines
354 B
GLSL
#version 310 es
|
|
|
|
layout(binding = 0, std140) uniform x_block_ubo {
|
|
int inner;
|
|
} x;
|
|
|
|
void tint_symbol() {
|
|
switch(x.inner) {
|
|
case 0: {
|
|
while (true) {
|
|
return;
|
|
}
|
|
break;
|
|
}
|
|
default: {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void main() {
|
|
tint_symbol();
|
|
return;
|
|
}
|