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