1link.vk.multiBlocksValid.0.0.vert 2Shader version: 430 30:? Sequence 40:43 Function Definition: main( ( global void) 50:43 Function Parameters: 60:45 Sequence 70:45 move second child to first child ( temp highp 4-component vector of float) 80:45 'oColor' ( smooth out highp 4-component vector of float) 90:45 component-wise multiply ( temp highp 4-component vector of float) 100:45 component-wise multiply ( temp highp 4-component vector of float) 110:45 color1: direct index for structure (layout( column_major std140 offset=0) uniform highp 4-component vector of float) 120:45 'uC' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 130:45 Constant: 140:45 0 (const int) 150:45 Function Call: getColor2( ( global highp 4-component vector of float) 160:45 c: direct index for structure (layout( column_major std430 offset=0) buffer highp 4-component vector of float) 170:45 'uColorBuf' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4-component vector of float c}) 180:45 Constant: 190:45 0 (const int) 200:46 move second child to first child ( temp highp 4-component vector of float) 210:46 v1: direct index for structure ( out highp 4-component vector of float) 220:46 'oV' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 230:46 Constant: 240:46 0 (const int) 250:46 color1: direct index for structure (layout( column_major std140 offset=0) uniform highp 4-component vector of float) 260:46 'uC' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 270:46 Constant: 280:46 0 (const int) 290:48 move second child to first child ( temp highp 4-component vector of float) 300:48 gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position) 310:48 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out unsized 1-element array of float ClipDistance gl_ClipDistance}) 320:48 Constant: 330:48 0 (const uint) 340:48 matrix-times-vector ( temp highp 4-component vector of float) 350:48 uProj: direct index for structure (layout( column_major std140 offset=0) uniform highp 4X4 matrix of float) 360:48 'uM' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 370:48 Constant: 380:48 0 (const int) 390:48 Function Call: getWorld( ( global highp 4-component vector of float) 400:? Linker Objects 410:? 'uM' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 420:? 'oV' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 430:? 'uC' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 440:? 'uBuf' (layout( binding=1 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4X4 matrix of float p}) 450:? 'uColorBuf' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4-component vector of float c}) 460:? 'oColor' ( smooth out highp 4-component vector of float) 470:? 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out unsized 1-element array of float ClipDistance gl_ClipDistance}) 48 49link.vk.multiBlocksValid.0.1.vert 50Shader version: 430 510:? Sequence 520:36 Function Definition: getColor2( ( global highp 4-component vector of float) 530:36 Function Parameters: 540:38 Sequence 550:38 Branch: Return with expression 560:38 color2: direct index for structure (layout( column_major std140 offset=32) uniform highp 4-component vector of float) 570:38 'uColor' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 580:38 Constant: 590:38 2 (const int) 600:41 Function Definition: getWorld( ( global highp 4-component vector of float) 610:41 Function Parameters: 620:43 Sequence 630:43 move second child to first child ( temp highp 4-component vector of float) 640:43 v1: direct index for structure ( out highp 4-component vector of float) 650:43 'anon@0' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 660:43 Constant: 670:43 0 (const uint) 680:43 Constant: 690:43 1.000000 700:43 1.000000 710:43 1.000000 720:43 1.000000 730:44 Branch: Return with expression 740:44 matrix-times-vector ( temp highp 4-component vector of float) 750:44 uWorld: direct index for structure (layout( column_major std140 offset=64) uniform highp 4X4 matrix of float) 760:44 'uMatrix' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 770:44 Constant: 780:44 1 (const int) 790:44 'P' ( in highp 4-component vector of float) 800:? Linker Objects 810:? 'uColor' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 820:? 'uBuffer' (layout( binding=1 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4X4 matrix of float p}) 830:? 'uMatrix' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 840:? 'anon@0' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 850:? 'P' ( in highp 4-component vector of float) 86 87 88Linked vertex stage: 89 90WARNING: Linking vertex stage: Matched shader interfaces are using different instance names. 91 uC: "layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}" versus uColor: "layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}" 92WARNING: Linking vertex stage: Matched shader interfaces are using different instance names. 93 uBuf: "layout( binding=1 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4X4 matrix of float p}" versus uBuffer: "layout( binding=1 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4X4 matrix of float p}" 94WARNING: Linking vertex stage: Matched shader interfaces are using different instance names. 95 uM: "layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}" versus uMatrix: "layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}" 96WARNING: Linking vertex stage: Matched shader interfaces are using different instance names. 97 oV: " out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}" versus anon@0: " out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}" 98 99Shader version: 430 1000:? Sequence 1010:43 Function Definition: main( ( global void) 1020:43 Function Parameters: 1030:45 Sequence 1040:45 move second child to first child ( temp highp 4-component vector of float) 1050:45 'oColor' ( smooth out highp 4-component vector of float) 1060:45 component-wise multiply ( temp highp 4-component vector of float) 1070:45 component-wise multiply ( temp highp 4-component vector of float) 1080:45 color1: direct index for structure (layout( column_major std140 offset=0) uniform highp 4-component vector of float) 1090:45 'uC' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 1100:45 Constant: 1110:45 0 (const int) 1120:45 Function Call: getColor2( ( global highp 4-component vector of float) 1130:45 c: direct index for structure (layout( column_major std430 offset=0) buffer highp 4-component vector of float) 1140:45 'uColorBuf' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4-component vector of float c}) 1150:45 Constant: 1160:45 0 (const int) 1170:46 move second child to first child ( temp highp 4-component vector of float) 1180:46 v1: direct index for structure ( out highp 4-component vector of float) 1190:46 'oV' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 1200:46 Constant: 1210:46 0 (const int) 1220:46 color1: direct index for structure (layout( column_major std140 offset=0) uniform highp 4-component vector of float) 1230:46 'uC' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 1240:46 Constant: 1250:46 0 (const int) 1260:48 move second child to first child ( temp highp 4-component vector of float) 1270:48 gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position) 1280:48 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance}) 1290:48 Constant: 1300:48 0 (const uint) 1310:48 matrix-times-vector ( temp highp 4-component vector of float) 1320:48 uProj: direct index for structure (layout( column_major std140 offset=0) uniform highp 4X4 matrix of float) 1330:48 'uM' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 1340:48 Constant: 1350:48 0 (const int) 1360:48 Function Call: getWorld( ( global highp 4-component vector of float) 1370:36 Function Definition: getColor2( ( global highp 4-component vector of float) 1380:36 Function Parameters: 1390:38 Sequence 1400:38 Branch: Return with expression 1410:38 color2: direct index for structure (layout( column_major std140 offset=32) uniform highp 4-component vector of float) 1420:38 'uColor' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 1430:38 Constant: 1440:38 2 (const int) 1450:41 Function Definition: getWorld( ( global highp 4-component vector of float) 1460:41 Function Parameters: 1470:43 Sequence 1480:43 move second child to first child ( temp highp 4-component vector of float) 1490:43 v1: direct index for structure ( out highp 4-component vector of float) 1500:43 'anon@0' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 1510:43 Constant: 1520:43 0 (const uint) 1530:43 Constant: 1540:43 1.000000 1550:43 1.000000 1560:43 1.000000 1570:43 1.000000 1580:44 Branch: Return with expression 1590:44 matrix-times-vector ( temp highp 4-component vector of float) 1600:44 uWorld: direct index for structure (layout( column_major std140 offset=64) uniform highp 4X4 matrix of float) 1610:44 'uMatrix' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 1620:44 Constant: 1630:44 1 (const int) 1640:44 'P' ( in highp 4-component vector of float) 1650:? Linker Objects 1660:? 'uM' (layout( binding=0 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform highp 4X4 matrix of float uWorld}) 1670:? 'oV' ( out block{ out highp 4-component vector of float v1, out highp 4-component vector of float v2}) 1680:? 'uC' (layout( binding=1 column_major std140) uniform block{layout( column_major std140 offset=0) uniform highp 4-component vector of float color1, layout( column_major std140 offset=16) uniform bool b, layout( column_major std140 offset=32) uniform highp 4-component vector of float color2, layout( column_major std140 offset=48) uniform highp 4-component vector of float color3}) 1690:? 'uBuf' (layout( binding=1 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4X4 matrix of float p}) 1700:? 'uColorBuf' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer highp 4-component vector of float c}) 1710:? 'oColor' ( smooth out highp 4-component vector of float) 1720:? 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance}) 1730:? 'P' ( in highp 4-component vector of float) 174 175// Module Version 10000 176// Generated by (magic number): 8000a 177// Id's are bound by 73 178 179 Capability Shader 180 1: ExtInstImport "GLSL.std.450" 181 MemoryModel Logical GLSL450 182 EntryPoint Vertex 4 "main" 14 34 42 65 183 Source GLSL 430 184 Name 4 "main" 185 Name 9 "getColor2(" 186 Name 11 "getWorld(" 187 Name 14 "oColor" 188 Name 16 "ColorBlock" 189 MemberName 16(ColorBlock) 0 "color1" 190 MemberName 16(ColorBlock) 1 "b" 191 MemberName 16(ColorBlock) 2 "color2" 192 MemberName 16(ColorBlock) 3 "color3" 193 Name 18 "uC" 194 Name 26 "SecondaryColorBlock" 195 MemberName 26(SecondaryColorBlock) 0 "c" 196 Name 28 "uColorBuf" 197 Name 32 "Vertex" 198 MemberName 32(Vertex) 0 "v1" 199 MemberName 32(Vertex) 1 "v2" 200 Name 34 "oV" 201 Name 40 "gl_PerVertex" 202 MemberName 40(gl_PerVertex) 0 "gl_Position" 203 MemberName 40(gl_PerVertex) 1 "gl_PointSize" 204 MemberName 40(gl_PerVertex) 2 "gl_ClipDistance" 205 Name 42 "" 206 Name 44 "MatrixBlock" 207 MemberName 44(MatrixBlock) 0 "uProj" 208 MemberName 44(MatrixBlock) 1 "uWorld" 209 Name 46 "uM" 210 Name 65 "P" 211 Name 70 "BufferBlock" 212 MemberName 70(BufferBlock) 0 "p" 213 Name 72 "uBuf" 214 Decorate 14(oColor) Location 2 215 MemberDecorate 16(ColorBlock) 0 Offset 0 216 MemberDecorate 16(ColorBlock) 1 Offset 16 217 MemberDecorate 16(ColorBlock) 2 Offset 32 218 MemberDecorate 16(ColorBlock) 3 Offset 48 219 Decorate 16(ColorBlock) Block 220 Decorate 18(uC) DescriptorSet 0 221 Decorate 18(uC) Binding 1 222 MemberDecorate 26(SecondaryColorBlock) 0 Offset 0 223 Decorate 26(SecondaryColorBlock) BufferBlock 224 Decorate 28(uColorBuf) DescriptorSet 0 225 Decorate 28(uColorBuf) Binding 0 226 Decorate 32(Vertex) Block 227 Decorate 34(oV) Location 0 228 MemberDecorate 40(gl_PerVertex) 0 BuiltIn Position 229 MemberDecorate 40(gl_PerVertex) 1 BuiltIn PointSize 230 MemberDecorate 40(gl_PerVertex) 2 BuiltIn ClipDistance 231 Decorate 40(gl_PerVertex) Block 232 MemberDecorate 44(MatrixBlock) 0 ColMajor 233 MemberDecorate 44(MatrixBlock) 0 Offset 0 234 MemberDecorate 44(MatrixBlock) 0 MatrixStride 16 235 MemberDecorate 44(MatrixBlock) 1 ColMajor 236 MemberDecorate 44(MatrixBlock) 1 Offset 64 237 MemberDecorate 44(MatrixBlock) 1 MatrixStride 16 238 Decorate 44(MatrixBlock) Block 239 Decorate 46(uM) DescriptorSet 0 240 Decorate 46(uM) Binding 0 241 Decorate 65(P) Location 0 242 MemberDecorate 70(BufferBlock) 0 ColMajor 243 MemberDecorate 70(BufferBlock) 0 Offset 0 244 MemberDecorate 70(BufferBlock) 0 MatrixStride 16 245 Decorate 70(BufferBlock) BufferBlock 246 Decorate 72(uBuf) DescriptorSet 0 247 Decorate 72(uBuf) Binding 1 248 2: TypeVoid 249 3: TypeFunction 2 250 6: TypeFloat 32 251 7: TypeVector 6(float) 4 252 8: TypeFunction 7(fvec4) 253 13: TypePointer Output 7(fvec4) 254 14(oColor): 13(ptr) Variable Output 255 15: TypeInt 32 0 256 16(ColorBlock): TypeStruct 7(fvec4) 15(int) 7(fvec4) 7(fvec4) 257 17: TypePointer Uniform 16(ColorBlock) 258 18(uC): 17(ptr) Variable Uniform 259 19: TypeInt 32 1 260 20: 19(int) Constant 0 261 21: TypePointer Uniform 7(fvec4) 26226(SecondaryColorBlock): TypeStruct 7(fvec4) 263 27: TypePointer Uniform 26(SecondaryColorBlock) 264 28(uColorBuf): 27(ptr) Variable Uniform 265 32(Vertex): TypeStruct 7(fvec4) 7(fvec4) 266 33: TypePointer Output 32(Vertex) 267 34(oV): 33(ptr) Variable Output 268 38: 15(int) Constant 1 269 39: TypeArray 6(float) 38 27040(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 39 271 41: TypePointer Output 40(gl_PerVertex) 272 42: 41(ptr) Variable Output 273 43: TypeMatrix 7(fvec4) 4 274 44(MatrixBlock): TypeStruct 43 43 275 45: TypePointer Uniform 44(MatrixBlock) 276 46(uM): 45(ptr) Variable Uniform 277 47: TypePointer Uniform 43 278 53: 19(int) Constant 2 279 58: 6(float) Constant 1065353216 280 59: 7(fvec4) ConstantComposite 58 58 58 58 281 61: 19(int) Constant 1 282 64: TypePointer Input 7(fvec4) 283 65(P): 64(ptr) Variable Input 284 70(BufferBlock): TypeStruct 43 285 71: TypePointer Uniform 70(BufferBlock) 286 72(uBuf): 71(ptr) Variable Uniform 287 4(main): 2 Function None 3 288 5: Label 289 22: 21(ptr) AccessChain 18(uC) 20 290 23: 7(fvec4) Load 22 291 24: 7(fvec4) FunctionCall 9(getColor2() 292 25: 7(fvec4) FMul 23 24 293 29: 21(ptr) AccessChain 28(uColorBuf) 20 294 30: 7(fvec4) Load 29 295 31: 7(fvec4) FMul 25 30 296 Store 14(oColor) 31 297 35: 21(ptr) AccessChain 18(uC) 20 298 36: 7(fvec4) Load 35 299 37: 13(ptr) AccessChain 34(oV) 20 300 Store 37 36 301 48: 47(ptr) AccessChain 46(uM) 20 302 49: 43 Load 48 303 50: 7(fvec4) FunctionCall 11(getWorld() 304 51: 7(fvec4) MatrixTimesVector 49 50 305 52: 13(ptr) AccessChain 42 20 306 Store 52 51 307 Return 308 FunctionEnd 309 9(getColor2(): 7(fvec4) Function None 8 310 10: Label 311 54: 21(ptr) AccessChain 18(uC) 53 312 55: 7(fvec4) Load 54 313 ReturnValue 55 314 FunctionEnd 315 11(getWorld(): 7(fvec4) Function None 8 316 12: Label 317 60: 13(ptr) AccessChain 34(oV) 20 318 Store 60 59 319 62: 47(ptr) AccessChain 46(uM) 61 320 63: 43 Load 62 321 66: 7(fvec4) Load 65(P) 322 67: 7(fvec4) MatrixTimesVector 63 66 323 ReturnValue 67 324 FunctionEnd 325