Change binding auto-map to use provided offsets.
Previously, the binding auto-mapping facility was free to use any unused binding. This change makes auto-bindings use the same offset value as explicit bindings.
This commit is contained in:
@@ -35,11 +35,11 @@ Linked fragment stage:
|
||||
MemberDecorate 25 0 Offset 0
|
||||
Decorate 25 Block
|
||||
Decorate 27 DescriptorSet 0
|
||||
Decorate 27 Binding 1
|
||||
Decorate 27 Binding 15
|
||||
MemberDecorate 31 0 Offset 0
|
||||
Decorate 31 Block
|
||||
Decorate 33 DescriptorSet 0
|
||||
Decorate 33 Binding 2
|
||||
Decorate 33 Binding 16
|
||||
Decorate 41(Color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
|
||||
@@ -51,21 +51,21 @@ Linked fragment stage:
|
||||
Decorate 21(g_sSamp1) DescriptorSet 0
|
||||
Decorate 21(g_sSamp1) Binding 5
|
||||
Decorate 27(g_tTex2) DescriptorSet 0
|
||||
Decorate 27(g_tTex2) Binding 1
|
||||
Decorate 27(g_tTex2) Binding 14
|
||||
Decorate 29(g_sSamp2) DescriptorSet 0
|
||||
Decorate 29(g_sSamp2) Binding 2
|
||||
Decorate 29(g_sSamp2) Binding 6
|
||||
Decorate 39(g_tTex3) DescriptorSet 0
|
||||
Decorate 39(g_tTex3) Binding 13
|
||||
Decorate 46(g_sSamp3) DescriptorSet 0
|
||||
Decorate 46(g_sSamp3) Binding 7
|
||||
Decorate 64(g_tTex4) DescriptorSet 0
|
||||
Decorate 64(g_tTex4) Binding 3
|
||||
Decorate 64(g_tTex4) Binding 15
|
||||
Decorate 69(g_sSamp4) DescriptorSet 0
|
||||
Decorate 69(g_sSamp4) Binding 4
|
||||
Decorate 69(g_sSamp4) Binding 8
|
||||
Decorate 84(g_tTex5) DescriptorSet 0
|
||||
Decorate 84(g_tTex5) Binding 6
|
||||
Decorate 84(g_tTex5) Binding 16
|
||||
Decorate 86(g_sSamp5) DescriptorSet 0
|
||||
Decorate 86(g_sSamp5) Binding 8
|
||||
Decorate 86(g_sSamp5) Binding 9
|
||||
MemberDecorate 93(MyStruct_t) 0 Offset 0
|
||||
MemberDecorate 93(MyStruct_t) 1 Offset 4
|
||||
MemberDecorate 93(MyStruct_t) 2 Offset 16
|
||||
@@ -75,7 +75,7 @@ Linked fragment stage:
|
||||
MemberDecorate 95(myblock) 3 Offset 64
|
||||
Decorate 95(myblock) Block
|
||||
Decorate 97 DescriptorSet 0
|
||||
Decorate 97 Binding 19
|
||||
Decorate 97 Binding 24
|
||||
Decorate 119(g_tTex_unused1) DescriptorSet 0
|
||||
Decorate 119(g_tTex_unused1) Binding 10
|
||||
Decorate 121(g_sSamp_unused1) DescriptorSet 0
|
||||
|
||||
@@ -51,21 +51,21 @@ Linked fragment stage:
|
||||
Decorate 21(g_sSamp1) DescriptorSet 0
|
||||
Decorate 21(g_sSamp1) Binding 5
|
||||
Decorate 27(g_tTex2) DescriptorSet 0
|
||||
Decorate 27(g_tTex2) Binding 1
|
||||
Decorate 27(g_tTex2) Binding 14
|
||||
Decorate 29(g_sSamp2) DescriptorSet 0
|
||||
Decorate 29(g_sSamp2) Binding 2
|
||||
Decorate 29(g_sSamp2) Binding 6
|
||||
Decorate 39(g_tTex3) DescriptorSet 0
|
||||
Decorate 39(g_tTex3) Binding 13
|
||||
Decorate 46(g_sSamp3) DescriptorSet 0
|
||||
Decorate 46(g_sSamp3) Binding 7
|
||||
Decorate 64(g_tTex4) DescriptorSet 0
|
||||
Decorate 64(g_tTex4) Binding 3
|
||||
Decorate 64(g_tTex4) Binding 15
|
||||
Decorate 69(g_sSamp4) DescriptorSet 0
|
||||
Decorate 69(g_sSamp4) Binding 4
|
||||
Decorate 69(g_sSamp4) Binding 8
|
||||
Decorate 84(g_tTex5) DescriptorSet 0
|
||||
Decorate 84(g_tTex5) Binding 6
|
||||
Decorate 84(g_tTex5) Binding 16
|
||||
Decorate 86(g_sSamp5) DescriptorSet 0
|
||||
Decorate 86(g_sSamp5) Binding 8
|
||||
Decorate 86(g_sSamp5) Binding 9
|
||||
MemberDecorate 93(MyStruct_t) 0 Offset 0
|
||||
MemberDecorate 93(MyStruct_t) 1 Offset 4
|
||||
MemberDecorate 93(MyStruct_t) 2 Offset 16
|
||||
@@ -75,7 +75,7 @@ Linked fragment stage:
|
||||
MemberDecorate 95($Global) 3 Offset 64
|
||||
Decorate 95($Global) Block
|
||||
Decorate 97 DescriptorSet 0
|
||||
Decorate 97 Binding 9
|
||||
Decorate 97 Binding 20
|
||||
Decorate 119(g_tTex_unused1) DescriptorSet 0
|
||||
Decorate 119(g_tTex_unused1) Binding 10
|
||||
Decorate 121(g_sSamp_unused1) DescriptorSet 0
|
||||
|
||||
Reference in New Issue
Block a user