Implement 'index' layout qualifier for fragment outputs. Based partly on a submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27759 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
d1888f83f6
commit
aa657c117e
18 changed files with 135 additions and 58 deletions
|
|
@ -114,13 +114,13 @@ int bconst[gl_MaxTransformFeedbackInterleavedComponents];
|
|||
const int start2 = 5;
|
||||
layout(location = start2 * start2 - 2 - 4) in vec4 v6;
|
||||
|
||||
layout(location = 28) in inblock2 {
|
||||
layout(location = 28) in inblock2 { // ERROR, input block in vertex shader, other errors are valid checks still...
|
||||
bool b1;
|
||||
float f1;
|
||||
layout(location = 25) float f2;
|
||||
} ininst2;
|
||||
|
||||
in ublock4 {
|
||||
in ublock4 { // ERROR, input block in vertex shader, other errors are valid checks still...
|
||||
layout(location = 50) float f1;
|
||||
layout(location = 51) float f2;
|
||||
} in4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue