Reflect pipeline outputs as well as inputs, optionally from other stages
* We add an option to reflect inputs from other stages than vertex, if only a later subset of the stages is linked into the program.
This commit is contained in:
@@ -25,5 +25,8 @@ u6: offset -1, type ffffffff, size 0, index -1, binding 46, stages 0
|
||||
cb: offset -1, type ffffffff, size 4, index -1, binding 51, stages 0
|
||||
tb: offset -1, type ffffffff, size 4, index -1, binding 17, stages 0
|
||||
|
||||
Vertex attribute reflection:
|
||||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
@entryPointOutput: offset 0, type 8b52, size 0, index 0, binding -1, stages 0
|
||||
|
||||
|
||||
@@ -15,5 +15,8 @@ Uniform block reflection:
|
||||
cbuff1: offset -1, type ffffffff, size 24, index -1, binding 2, stages 0
|
||||
cbuff2: offset -1, type ffffffff, size 24, index -1, binding 3, stages 0
|
||||
|
||||
Vertex attribute reflection:
|
||||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
psout.Color: offset 0, type 8b52, size 0, index 0, binding -1, stages 0
|
||||
|
||||
|
||||
@@ -67,10 +67,12 @@ nested: offset -1, type ffffffff, size 32, index -1, binding -1, stages 0
|
||||
abl: offset -1, type ffffffff, size 4, index -1, binding -1, stages 0
|
||||
abl2: offset -1, type ffffffff, size 4, index -1, binding -1, stages 0
|
||||
|
||||
Vertex attribute reflection:
|
||||
Pipeline input reflection:
|
||||
attributeFloat: offset 0, type 1406, size 0, index 0, binding -1, stages 0
|
||||
attributeFloat2: offset 0, type 8b50, size 0, index 0, binding -1, stages 0
|
||||
attributeFloat3: offset 0, type 8b51, size 0, index 0, binding -1, stages 0
|
||||
attributeFloat4: offset 0, type 8b52, size 0, index 0, binding -1, stages 0
|
||||
attributeMat4: offset 0, type 8b5c, size 0, index 0, binding -1, stages 0
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
|
||||
@@ -226,5 +226,8 @@ u6: offset -1, type ffffffff, size 0, index -1, binding 34, stages 0
|
||||
cb: offset -1, type ffffffff, size 4, index -1, binding 51, stages 0
|
||||
tb: offset -1, type ffffffff, size 4, index -1, binding 27, stages 0
|
||||
|
||||
Vertex attribute reflection:
|
||||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
@entryPointOutput: offset 0, type 8b52, size 0, index 0, binding -1, stages 0
|
||||
|
||||
|
||||
9
Test/baseResults/reflection.frag.out
Normal file
9
Test/baseResults/reflection.frag.out
Normal file
@@ -0,0 +1,9 @@
|
||||
reflection.frag
|
||||
Uniform reflection:
|
||||
|
||||
Uniform block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
10
Test/baseResults/reflection.options.frag.out
Normal file
10
Test/baseResults/reflection.options.frag.out
Normal file
@@ -0,0 +1,10 @@
|
||||
reflection.frag
|
||||
Uniform reflection:
|
||||
|
||||
Uniform block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
inval: offset 0, type 1406, size 0, index 0, binding -1, stages 0
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
@@ -10,6 +10,9 @@ 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
|
||||
|
||||
Vertex attribute reflection:
|
||||
Pipeline input reflection:
|
||||
gl_InstanceID: offset 0, type 1404, size 0, index 0, binding -1, stages 0
|
||||
|
||||
Pipeline output reflection:
|
||||
outval: offset 0, type 1406, size 0, index 0, binding -1, stages 0
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ buf4: offset -1, type ffffffff, size 4, index -1, binding -1, stages 0
|
||||
nested2: offset -1, type ffffffff, size 208, index -1, binding -1, stages 0
|
||||
VertexCollection: offset -1, type ffffffff, size 360, index -1, binding -1, stages 0
|
||||
|
||||
Vertex attribute reflection:
|
||||
Pipeline input reflection:
|
||||
attributeFloat: offset 0, type 1406, size 0, index 0, binding -1, stages 0
|
||||
attributeFloat2: offset 0, type 8b50, size 0, index 0, binding -1, stages 0
|
||||
attributeFloat3: offset 0, type 8b51, size 0, index 0, binding -1, stages 0
|
||||
@@ -154,3 +154,5 @@ attributeFloat4: offset 0, type 8b52, size 0, index 0, binding -1, stages 0
|
||||
attributeMat4: offset 0, type 8b5c, size 0, index 0, binding -1, stages 0
|
||||
gl_InstanceID: offset 0, type 1404, size 0, index 0, binding -1, stages 0
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user