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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user