Add spv.branch-return.vert and fix inReadableOrder().
This commit is contained in:
parent
44bfb0d0cd
commit
baa55a1591
4 changed files with 78 additions and 3 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue