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): 80008 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 MemberDecorate 16(ColorBlock) 0 Offset 0 215 MemberDecorate 16(ColorBlock) 1 Offset 16 216 MemberDecorate 16(ColorBlock) 2 Offset 32 217 MemberDecorate 16(ColorBlock) 3 Offset 48 218 Decorate 16(ColorBlock) Block 219 Decorate 18(uC) DescriptorSet 0 220 Decorate 18(uC) Binding 1 221 MemberDecorate 26(SecondaryColorBlock) 0 Offset 0 222 Decorate 26(SecondaryColorBlock) BufferBlock 223 Decorate 28(uColorBuf) DescriptorSet 0 224 Decorate 28(uColorBuf) Binding 0 225 Decorate 32(Vertex) Block 226 MemberDecorate 40(gl_PerVertex) 0 BuiltIn Position 227 MemberDecorate 40(gl_PerVertex) 1 BuiltIn PointSize 228 MemberDecorate 40(gl_PerVertex) 2 BuiltIn ClipDistance 229 Decorate 40(gl_PerVertex) Block 230 MemberDecorate 44(MatrixBlock) 0 ColMajor 231 MemberDecorate 44(MatrixBlock) 0 Offset 0 232 MemberDecorate 44(MatrixBlock) 0 MatrixStride 16 233 MemberDecorate 44(MatrixBlock) 1 ColMajor 234 MemberDecorate 44(MatrixBlock) 1 Offset 64 235 MemberDecorate 44(MatrixBlock) 1 MatrixStride 16 236 Decorate 44(MatrixBlock) Block 237 Decorate 46(uM) DescriptorSet 0 238 Decorate 46(uM) Binding 0 239 MemberDecorate 70(BufferBlock) 0 ColMajor 240 MemberDecorate 70(BufferBlock) 0 Offset 0 241 MemberDecorate 70(BufferBlock) 0 MatrixStride 16 242 Decorate 70(BufferBlock) BufferBlock 243 Decorate 72(uBuf) DescriptorSet 0 244 Decorate 72(uBuf) Binding 1 245 2: TypeVoid 246 3: TypeFunction 2 247 6: TypeFloat 32 248 7: TypeVector 6(float) 4 249 8: TypeFunction 7(fvec4) 250 13: TypePointer Output 7(fvec4) 251 14(oColor): 13(ptr) Variable Output 252 15: TypeInt 32 0 253 16(ColorBlock): TypeStruct 7(fvec4) 15(int) 7(fvec4) 7(fvec4) 254 17: TypePointer Uniform 16(ColorBlock) 255 18(uC): 17(ptr) Variable Uniform 256 19: TypeInt 32 1 257 20: 19(int) Constant 0 258 21: TypePointer Uniform 7(fvec4) 25926(SecondaryColorBlock): TypeStruct 7(fvec4) 260 27: TypePointer Uniform 26(SecondaryColorBlock) 261 28(uColorBuf): 27(ptr) Variable Uniform 262 32(Vertex): TypeStruct 7(fvec4) 7(fvec4) 263 33: TypePointer Output 32(Vertex) 264 34(oV): 33(ptr) Variable Output 265 38: 15(int) Constant 1 266 39: TypeArray 6(float) 38 26740(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 39 268 41: TypePointer Output 40(gl_PerVertex) 269 42: 41(ptr) Variable Output 270 43: TypeMatrix 7(fvec4) 4 271 44(MatrixBlock): TypeStruct 43 43 272 45: TypePointer Uniform 44(MatrixBlock) 273 46(uM): 45(ptr) Variable Uniform 274 47: TypePointer Uniform 43 275 53: 19(int) Constant 2 276 58: 6(float) Constant 1065353216 277 59: 7(fvec4) ConstantComposite 58 58 58 58 278 61: 19(int) Constant 1 279 64: TypePointer Input 7(fvec4) 280 65(P): 64(ptr) Variable Input 281 70(BufferBlock): TypeStruct 43 282 71: TypePointer Uniform 70(BufferBlock) 283 72(uBuf): 71(ptr) Variable Uniform 284 4(main): 2 Function None 3 285 5: Label 286 22: 21(ptr) AccessChain 18(uC) 20 287 23: 7(fvec4) Load 22 288 24: 7(fvec4) FunctionCall 9(getColor2() 289 25: 7(fvec4) FMul 23 24 290 29: 21(ptr) AccessChain 28(uColorBuf) 20 291 30: 7(fvec4) Load 29 292 31: 7(fvec4) FMul 25 30 293 Store 14(oColor) 31 294 35: 21(ptr) AccessChain 18(uC) 20 295 36: 7(fvec4) Load 35 296 37: 13(ptr) AccessChain 34(oV) 20 297 Store 37 36 298 48: 47(ptr) AccessChain 46(uM) 20 299 49: 43 Load 48 300 50: 7(fvec4) FunctionCall 11(getWorld() 301 51: 7(fvec4) MatrixTimesVector 49 50 302 52: 13(ptr) AccessChain 42 20 303 Store 52 51 304 Return 305 FunctionEnd 306 9(getColor2(): 7(fvec4) Function None 8 307 10: Label 308 54: 21(ptr) AccessChain 18(uC) 53 309 55: 7(fvec4) Load 54 310 ReturnValue 55 311 FunctionEnd 312 11(getWorld(): 7(fvec4) Function None 8 313 12: Label 314 60: 13(ptr) AccessChain 34(oV) 20 315 Store 60 59 316 62: 47(ptr) AccessChain 46(uM) 61 317 63: 43 Load 62 318 66: 7(fvec4) Load 65(P) 319 67: 7(fvec4) MatrixTimesVector 63 66 320 ReturnValue 67 321 FunctionEnd 322