Allow layout aliasing for desktop vertex inputs.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24400 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
5f15d4224a
commit
e1b2e39a56
6 changed files with 18 additions and 14 deletions
|
|
@ -41,4 +41,7 @@ layout(location = 10) out S cs[2]; // 10 through 10 + 2 * 22 - 1 = 53
|
|||
layout(location = 54) out float cf;
|
||||
layout(location = 53) out float cg; // ERROR, collision at 31
|
||||
|
||||
layout(location = 10) in vec4 alias1;
|
||||
layout(location = 10) in vec4 alias2; // okay for vertex input on desktop
|
||||
|
||||
float gl_ClipDistance[17]; // ERROR, size too big
|
||||
Loading…
Add table
Add a link
Reference in a new issue