Fix treatment of array input/output variables in reflection
* Non-block arrays should not be ignored when exploding types. * When not exploding, set the array size correctly on each item.
This commit is contained in:
parent
05d12a9461
commit
879562b766
10 changed files with 25 additions and 18 deletions
|
|
@ -32,5 +32,5 @@ Buffer block reflection:
|
|||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
@entryPointOutput: offset 0, type 8b52, size 0, index 0, binding -1, stages 16
|
||||
@entryPointOutput: offset 0, type 8b52, size 1, index 0, binding -1, stages 16
|
||||
|
||||
|
|
|
|||
|
|
@ -22,5 +22,5 @@ Buffer block reflection:
|
|||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
psout.Color: offset 0, type 8b52, size 0, index 0, binding -1, stages 16
|
||||
psout.Color: offset 0, type 8b52, size 1, index 0, binding -1, stages 16
|
||||
|
||||
|
|
|
|||
|
|
@ -72,11 +72,11 @@ Buffer variable reflection:
|
|||
Buffer block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
attributeFloat: offset 0, type 1406, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat2: offset 0, type 8b50, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat3: offset 0, type 8b51, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat4: offset 0, type 8b52, size 0, index 0, binding -1, stages 1
|
||||
attributeMat4: offset 0, type 8b5c, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat: offset 0, type 1406, size 1, index 0, binding -1, stages 1
|
||||
attributeFloat2: offset 0, type 8b50, size 1, index 0, binding -1, stages 1
|
||||
attributeFloat3: offset 0, type 8b51, size 1, index 0, binding -1, stages 1
|
||||
attributeFloat4: offset 0, type 8b52, size 1, index 0, binding -1, stages 1
|
||||
attributeMat4: offset 0, type 8b5c, size 1, index 0, binding -1, stages 1
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
|
|
|
|||
|
|
@ -233,5 +233,5 @@ Buffer block reflection:
|
|||
Pipeline input reflection:
|
||||
|
||||
Pipeline output reflection:
|
||||
@entryPointOutput: offset 0, type 8b52, size 0, index 0, binding -1, stages 16
|
||||
@entryPointOutput: offset 0, type 8b52, size 1, index 0, binding -1, stages 16
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,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
|
||||
|
||||
|
|
|
|||
|
|
@ -40,4 +40,5 @@ 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
|
||||
outarr[0]: offset 0, type 1406, size 3, index 0, binding -1, stages 1
|
||||
|
||||
|
|
|
|||
|
|
@ -151,12 +151,13 @@ Buffer variable reflection:
|
|||
Buffer block reflection:
|
||||
|
||||
Pipeline input reflection:
|
||||
attributeFloat: offset 0, type 1406, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat2: offset 0, type 8b50, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat3: offset 0, type 8b51, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat4: offset 0, type 8b52, size 0, index 0, binding -1, stages 1
|
||||
attributeMat4: offset 0, type 8b5c, size 0, index 0, binding -1, stages 1
|
||||
gl_InstanceID: offset 0, type 1404, size 0, index 0, binding -1, stages 1
|
||||
attributeFloat: offset 0, type 1406, size 1, index 0, binding -1, stages 1
|
||||
attributeFloat2: offset 0, type 8b50, size 1, index 0, binding -1, stages 1
|
||||
attributeFloat3: offset 0, type 8b51, size 1, index 0, binding -1, stages 1
|
||||
attributeFloat4: offset 0, type 8b52, size 1, index 0, binding -1, stages 1
|
||||
attributeMat4: offset 0, type 8b5c, size 1, index 0, binding -1, stages 1
|
||||
attributeFloatArray: offset 0, type 1406, size 3, index 0, binding -1, stages 1
|
||||
gl_InstanceID: offset 0, type 1404, size 1, index 0, binding -1, stages 1
|
||||
|
||||
Pipeline output reflection:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue