Reflection: Expand out block arrays to N different blocks.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24159 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
1d1132d9eb
commit
04884e42ed
4 changed files with 27 additions and 5 deletions
|
|
@ -119,6 +119,10 @@ void liveFunction1(uimage2D p_ui2D, sampler2D p_2D, sampler2DMSArray p_2DMSArray
|
|||
vec4 v = ablock.member3;
|
||||
}
|
||||
|
||||
uniform abl {
|
||||
float foo;
|
||||
} arrBl[4];
|
||||
|
||||
void main()
|
||||
{
|
||||
liveFunction1(image_ui2D, sampler_2D, sampler_2DMSArray);
|
||||
|
|
@ -156,4 +160,6 @@ void main()
|
|||
deep3 da[2] = deepD;
|
||||
} else
|
||||
f = ufDead3;
|
||||
|
||||
f += arrBl[2].foo;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue