GLSL: Fix #1193: no 'location' on uniform/buffer block.

This commit is contained in:
John Kessenich
2017-12-16 10:07:22 -07:00
parent a0d60f2bea
commit e1ff231235
6 changed files with 25 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
#version 310 es
layout (location=0) uniform Block {
layout (binding=0) uniform Block {
highp int a[];
} uni;
layout (location=0) out highp int o;