Add spv.branch-return.vert and fix inReadableOrder().

This commit is contained in:
Dejan Mircevski
2016-01-18 17:12:59 -05:00
parent 44bfb0d0cd
commit baa55a1591
4 changed files with 78 additions and 3 deletions

View 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;
}