Add an option to report array variables with trailing [0] suffix
* This is as expected by ARB_program_interface_query
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
reflection.options.vert
|
||||
Uniform reflection:
|
||||
t[0].v[0].position: offset 0, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[1].position: offset 24, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[2].position: offset 48, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[0].normal: offset 12, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[1].normal: offset 36, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[2].normal: offset 60, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[0].position[0]: offset 0, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[1].position[0]: offset 24, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[2].position[0]: offset 48, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[0].normal[0]: offset 12, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[1].normal[0]: offset 36, type 1406, size 3, index 0, binding -1, stages 1
|
||||
t[0].v[2].normal[0]: offset 60, type 1406, size 3, index 0, binding -1, stages 1
|
||||
|
||||
Uniform block reflection:
|
||||
VertexCollection: offset -1, type ffffffff, size 360, index -1, binding -1, stages 0
|
||||
|
||||
Reference in New Issue
Block a user