Add support for GL_ARB_explicit_uniform_location
This commit is contained in:
parent
a3bc04b278
commit
d2b24ae5d7
7 changed files with 54 additions and 6 deletions
|
|
@ -167,3 +167,12 @@ void qux2()
|
|||
}
|
||||
|
||||
layout(early_fragment_tests) out; // ERROR
|
||||
|
||||
#extension GL_ARB_explicit_uniform_location : enable
|
||||
|
||||
layout(location = 3) uniform vec4 ucolor0; // ERROR: explicit attrib location is also required for version < 330
|
||||
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 4) uniform vec4 ucolor1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue