Reflection: Eliminate redundant arrayed block entries, and use block name instead of instance name for active uniform enumeration.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24182 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-11-23 00:44:18 +00:00
parent c4a2b94dfa
commit 5b9f98854c
3 changed files with 57 additions and 39 deletions

View File

@@ -123,6 +123,10 @@ uniform abl {
float foo;
} arrBl[4];
uniform abl2 {
float foo;
} arrBl2[4];
void main()
{
liveFunction1(image_ui2D, sampler_2D, sampler_2DMSArray);
@@ -161,5 +165,6 @@ void main()
} else
f = ufDead3;
f += arrBl[2].foo;
f += arrBl[2].foo + arrBl[0].foo;
f += arrBl2[i].foo;
}