Remove one layer of arrayness on geometry shader inputs before checking for location overlaps. I think there is a spec. bug here.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24377 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -49,3 +49,7 @@ void foo3()
|
||||
color2.length();
|
||||
colorS.length();
|
||||
}
|
||||
|
||||
layout(location = 4) in vec4 cva[3];
|
||||
layout(location = 5) in vec4 cvb[3];
|
||||
layout(location = 2) in mat3 cmc[3]; // ERROR, collision
|
||||
|
||||
Reference in New Issue
Block a user