diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/spv.dead-after-continue.vert')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/spv.dead-after-continue.vert | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/spv.dead-after-continue.vert b/3rdparty/bgfx/3rdparty/glslang/Test/spv.dead-after-continue.vert new file mode 100644 index 00000000000..86e8eea8da7 --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/spv.dead-after-continue.vert @@ -0,0 +1,14 @@ +#version 450 + +layout(location =0 ) in int c; +layout(location =0 ) out int o; + +void main() { + int i; + for (i=0; i < 5; i++) { + o = 1; + continue; + o = 2; + } + o = 3; +} |