GLSL: Fix #1193: no 'location' on uniform/buffer block.
This commit is contained in:
parent
a0d60f2bea
commit
e1ff231235
6 changed files with 25 additions and 7 deletions
|
|
@ -46,3 +46,11 @@ void foo()
|
|||
allInvocationsEqual(b1); // ERROR, need 4.6
|
||||
}
|
||||
; // ERROR: no extraneous semicolons
|
||||
|
||||
layout(location = 0) uniform locBlock { // ERROR, no location uniform block
|
||||
int a;
|
||||
};
|
||||
|
||||
layout(location = 0) buffer locBuffBlock { // ERROR, no location on buffer block
|
||||
int b;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue