Add option to unwrap I/O block aggregates in reflection
* We follow similar rules to uniform block exploding.
This commit is contained in:
parent
567396b6b4
commit
1905069857
10 changed files with 177 additions and 45 deletions
|
|
@ -14,8 +14,8 @@ Buffer variable reflection:
|
|||
Buffer block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
vertin: offset 0, type 1406, size 0, index 0, binding -1, stages 1
|
||||
vertin: offset 0, type 1406, size 1, index 0, binding -1, stages 1
|
||||
|
||||
Pipeline output reflection:
|
||||
fragout: offset 0, type 1406, size 0, index 0, binding -1, stages 16
|
||||
fragout: offset 0, type 1406, size 1, index 0, binding -1, stages 16
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Buffer variable reflection:
|
|||
Buffer block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
inval: offset 0, type 1406, size 0, index 0, binding -1, stages 16
|
||||
inval: offset 0, type 1406, size 1, index 0, binding -1, stages 16
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
|
|
|
|||
25
Test/baseResults/reflection.options.geom.out
Normal file
25
Test/baseResults/reflection.options.geom.out
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
reflection.options.geom
|
||||
Uniform reflection:
|
||||
|
||||
Uniform block reflection:
|
||||
|
||||
Buffer variable reflection:
|
||||
|
||||
Buffer block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
gl_PerVertex.gl_Position: offset 0, type 8b52, size 1, index 0, binding -1, stages 8
|
||||
gl_PerVertex.gl_PointSize: offset 0, type 1406, size 1, index 0, binding -1, stages 8
|
||||
gl_PerVertex.gl_ClipDistance[0]: offset 0, type 1406, size 1, index 0, binding -1, stages 8
|
||||
block.Color: offset 0, type 8b50, size 1, index 0, binding -1, stages 8
|
||||
block.Texcoord: offset 0, type 8b50, size 1, index 0, binding -1, stages 8
|
||||
block.in_a: offset 0, type 8b54, size 1, index 0, binding -1, stages 8
|
||||
|
||||
Pipeline output reflection:
|
||||
gl_Position: offset 0, type 8b52, size 1, index 0, binding -1, stages 8
|
||||
gl_PointSize: offset 0, type 1406, size 1, index 0, binding -1, stages 8
|
||||
gl_ClipDistance[0]: offset 0, type 1406, size 1, index 0, binding -1, stages 8
|
||||
block.Color: offset 0, type 8b52, size 1, index 0, binding -1, stages 8
|
||||
block.a: offset 0, type 8b52, size 1, index 0, binding -1, stages 8
|
||||
block.b[0]: offset 0, type 8b50, size 3, index 0, binding -1, stages 8
|
||||
|
||||
|
|
@ -33,8 +33,11 @@ VertexCollection: offset -1, type ffffffff, size 400, index -1, binding -1, stag
|
|||
MultipleArrays: offset -1, type ffffffff, size 500, index -1, binding -1, stages 1, numMembers 9
|
||||
|
||||
Pipeline input reflection:
|
||||
gl_InstanceID: offset 0, type 1404, size 0, index 0, binding -1, stages 1
|
||||
gl_InstanceID: offset 0, type 1404, size 1, index 0, binding -1, stages 1
|
||||
|
||||
Pipeline output reflection:
|
||||
outval: offset 0, type 1406, size 0, index 0, binding -1, stages 1
|
||||
outval.val: offset 0, type 1406, size 1, index 0, binding -1, stages 1
|
||||
outval.a: offset 0, type 8b51, size 1, index 0, binding -1, stages 1
|
||||
outval.b[0]: offset 0, type 8b50, size 4, index 0, binding -1, stages 1
|
||||
outval.c: offset 0, type 8b5a, size 1, index 0, binding -1, stages 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue