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:
@@ -99,3 +99,5 @@ void bits()
|
||||
i1 = findMSB(i1);
|
||||
i2 = findMSB(u2);
|
||||
}
|
||||
|
||||
layout(location = 7, index = 1) out vec4 indexedOut;
|
||||
|
||||
Reference in New Issue
Block a user