bloat-buster/dependencies/glslang-15.0.0/Test/spv.dead-after-switch-break.vert
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

16 lines
190 B
GLSL

#version 450
layout(location =0 ) in int c;
layout(location =0 ) out int o;
void main() {
int i;
switch(c) {
case 0: o=1;
break;
o=2;
default: break;
}
o = 3;
}