SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).

This commit is contained in:
John Kessenich
2016-02-15 20:58:50 -07:00
parent 019f08fcd8
commit 6c292d3ba7
200 changed files with 7841 additions and 5577 deletions

View File

@@ -1,6 +1,6 @@
#version 310 es
void main() {
switch (gl_InstanceID) {
switch (gl_InstanceIndex) {
case 0: return;
case 1: gl_Position = vec4(0.0); break;
case 2: return;