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:
baldurk
2019-02-11 16:39:12 +00:00
parent 05d12a9461
commit 879562b766
10 changed files with 25 additions and 18 deletions

View File

@@ -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: