Add spv.branch-return.vert and fix inReadableOrder().
This commit is contained in:
10
Test/spv.branch-return.vert
Normal file
10
Test/spv.branch-return.vert
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 300 es
|
||||
void main() {
|
||||
switch (gl_InstanceID) {
|
||||
case 0: return;
|
||||
case 1: gl_Position = vec4(0.0); break;
|
||||
case 2: return;
|
||||
case 3: return;
|
||||
}
|
||||
gl_Position.x += 0.123;
|
||||
}
|
||||
Reference in New Issue
Block a user