dawn-cmake/test/tint/statements/for/continuing/array_ctor.wgsl.expected.glsl
Antonio Maiorano 5b3707a2d7 tint: Implement const eval of unary not
Bug: tint:1581
Change-Id: If0a74b1f6739725a2284678aab97baf737d96937
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101761
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-13 17:32:17 +00:00

22 lines
299 B
GLSL

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
void f() {
int i = 0;
while (true) {
if (true) {
break;
}
{
}
{
int tint_symbol[1] = int[1](1);
i = (i + tint_symbol[0]);
}
}
}