First Commit
This commit is contained in:
15
externals/glslang/Test/spv.dead-after-switch-break.vert
vendored
Normal file
15
externals/glslang/Test/spv.dead-after-switch-break.vert
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user