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:
@@ -13,7 +13,7 @@ sampler_2D: offset -1, type 8b5e, size 1, index -1
|
||||
sampler_2DMSArray: offset -1, type 910b, size 1, index -1
|
||||
anonMember3: offset 80, type 8b52, size 1, index 0
|
||||
s.a: offset -1, type 1404, size 1, index -1
|
||||
ablock.scalar: offset 12, type 1404, size 1, index 1
|
||||
named.scalar: offset 12, type 1404, size 1, index 1
|
||||
m23: offset 16, type 8b67, size 1, index 0
|
||||
scalarAfterm23: offset 48, type 1404, size 1, index 0
|
||||
c_m23: offset 16, type 8b67, size 1, index 2
|
||||
@@ -21,18 +21,18 @@ c_scalarAfterm23: offset 64, type 1404, size 1, index 2
|
||||
scalarBeforeArray: offset 96, type 1404, size 1, index 0
|
||||
floatArray: offset 112, type 1406, size 5, index 0
|
||||
scalarAfterArray: offset 192, type 1404, size 1, index 0
|
||||
ablock.memvec2: offset 48, type 8b50, size 1, index 1
|
||||
ablock.memf1: offset 56, type 1406, size 1, index 1
|
||||
ablock.memf2: offset 60, type 8b56, size 1, index 1
|
||||
ablock.memf3: offset 64, type 1404, size 1, index 1
|
||||
ablock.memvec2a: offset 72, type 8b50, size 1, index 1
|
||||
ablock.m22: offset 80, type 8b5a, size 7, index 1
|
||||
named.memvec2: offset 48, type 8b50, size 1, index 1
|
||||
named.memf1: offset 56, type 1406, size 1, index 1
|
||||
named.memf2: offset 60, type 8b56, size 1, index 1
|
||||
named.memf3: offset 64, type 1404, size 1, index 1
|
||||
named.memvec2a: offset 72, type 8b50, size 1, index 1
|
||||
named.m22: offset 80, type 8b5a, size 7, index 1
|
||||
dm22: offset -1, type 8b5a, size 4, index -1
|
||||
m22: offset 208, type 8b5a, size 3, index 0
|
||||
nest.foo.n1.a: offset 0, type 1406, size 1, index 3
|
||||
nest.foo.n2.b: offset 16, type 1406, size 1, index 3
|
||||
nest.foo.n2.c: offset 20, type 1406, size 1, index 3
|
||||
nest.foo.n2.d: offset 24, type 1406, size 1, index 3
|
||||
nested.foo.n1.a: offset 0, type 1406, size 1, index 3
|
||||
nested.foo.n2.b: offset 16, type 1406, size 1, index 3
|
||||
nested.foo.n2.c: offset 20, type 1406, size 1, index 3
|
||||
nested.foo.n2.d: offset 24, type 1406, size 1, index 3
|
||||
deepA[0].d2.d1[2].va: offset -1, type 8b50, size 2, index -1
|
||||
deepA[1].d2.d1[2].va: offset -1, type 8b50, size 2, index -1
|
||||
deepB[1].d2.d1[0].va: offset -1, type 8b50, size 2, index -1
|
||||
@@ -76,11 +76,12 @@ deepD[1].d2.d1[2].b: offset -1, type 8b56, size 1, index -1
|
||||
deepD[1].d2.d1[3].va: offset -1, type 8b50, size 3, index -1
|
||||
deepD[1].d2.d1[3].b: offset -1, type 8b56, size 1, index -1
|
||||
deepD[1].v3: offset -1, type 8b54, size 1, index -1
|
||||
arrBl[2].foo: offset 0, type 1406, size 1, index 7
|
||||
abl.foo: offset 0, type 1406, size 1, index 7
|
||||
abl2.foo: offset 0, type 1406, size 1, index 11
|
||||
anonMember1: offset 0, type 8b51, size 1, index 0
|
||||
uf1: offset -1, type 1406, size 1, index -1
|
||||
uf2: offset -1, type 1406, size 1, index -1
|
||||
ablock.member3: offset 32, type 8b52, size 1, index 1
|
||||
named.member3: offset 32, type 8b52, size 1, index 1
|
||||
|
||||
Uniform block reflection:
|
||||
nameless: offset -1, type ffffffff, size 496, index -1
|
||||
@@ -91,4 +92,8 @@ abl[0]: offset -1, type ffffffff, size 4, index -1
|
||||
abl[1]: offset -1, type ffffffff, size 4, index -1
|
||||
abl[2]: offset -1, type ffffffff, size 4, index -1
|
||||
abl[3]: offset -1, type ffffffff, size 4, index -1
|
||||
abl2[0]: offset -1, type ffffffff, size 4, index -1
|
||||
abl2[1]: offset -1, type ffffffff, size 4, index -1
|
||||
abl2[2]: offset -1, type ffffffff, size 4, index -1
|
||||
abl2[3]: offset -1, type ffffffff, size 4, index -1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user