1hlsl.nested-runtimeArray.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:7 Function Definition: @main( ( temp float) 60:7 Function Parameters: 70:? Sequence 80:8 Branch: Return with expression 90:8 direct index ( temp float) 100:8 a: direct index for structure ( temp unsized 1-element array of float) 110:8 direct index (layout( row_major std430) buffer structure{ temp unsized 1-element array of float a}) 120:8 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of structure{ temp unsized 1-element array of float a}) 130:8 'B' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp unsized 1-element array of float a} @data}) 140:8 Constant: 150:8 0 (const uint) 160:8 Constant: 170:8 0 (const int) 180:8 Constant: 190:8 0 (const int) 200:8 Constant: 210:8 0 (const int) 220:7 Function Definition: main( ( temp void) 230:7 Function Parameters: 240:? Sequence 250:7 move second child to first child ( temp float) 260:? '@entryPointOutput' (layout( location=0) out float) 270:7 Function Call: @main( ( temp float) 280:? Linker Objects 290:? 'B' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp unsized 1-element array of float a} @data}) 300:? '@entryPointOutput' (layout( location=0) out float) 31 32 33Linked fragment stage: 34 35 36Shader version: 500 37gl_FragCoord origin is upper left 380:? Sequence 390:7 Function Definition: @main( ( temp float) 400:7 Function Parameters: 410:? Sequence 420:8 Branch: Return with expression 430:8 direct index ( temp float) 440:8 a: direct index for structure ( temp unsized 1-element array of float) 450:8 direct index (layout( row_major std430) buffer structure{ temp unsized 1-element array of float a}) 460:8 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of structure{ temp unsized 1-element array of float a}) 470:8 'B' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp unsized 1-element array of float a} @data}) 480:8 Constant: 490:8 0 (const uint) 500:8 Constant: 510:8 0 (const int) 520:8 Constant: 530:8 0 (const int) 540:8 Constant: 550:8 0 (const int) 560:7 Function Definition: main( ( temp void) 570:7 Function Parameters: 580:? Sequence 590:7 move second child to first child ( temp float) 600:? '@entryPointOutput' (layout( location=0) out float) 610:7 Function Call: @main( ( temp float) 620:? Linker Objects 630:? 'B' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp unsized 1-element array of float a} @data}) 640:? '@entryPointOutput' (layout( location=0) out float) 65 66// Module Version 10000 67// Generated by (magic number): 8000b 68// Id's are bound by 26 69 70 Capability Shader 71 1: ExtInstImport "GLSL.std.450" 72 MemoryModel Logical GLSL450 73 EntryPoint Fragment 4 "main" 24 74 ExecutionMode 4 OriginUpperLeft 75 Source HLSL 500 76 Name 4 "main" 77 Name 8 "@main(" 78 Name 11 "A" 79 MemberName 11(A) 0 "a" 80 Name 13 "B" 81 MemberName 13(B) 0 "@data" 82 Name 15 "B" 83 Name 24 "@entryPointOutput" 84 Decorate 10 ArrayStride 4 85 Decorate 11(A) BufferBlock 86 MemberDecorate 11(A) 0 Offset 0 87 Decorate 12 ArrayStride 4 88 Decorate 13(B) BufferBlock 89 MemberDecorate 13(B) 0 Offset 0 90 Decorate 15(B) Binding 0 91 Decorate 15(B) DescriptorSet 0 92 Decorate 24(@entryPointOutput) Location 0 93 2: TypeVoid 94 3: TypeFunction 2 95 6: TypeFloat 32 96 7: TypeFunction 6(float) 97 10: TypeRuntimeArray 6(float) 98 11(A): TypeStruct 10 99 12: TypeRuntimeArray 11(A) 100 13(B): TypeStruct 12 101 14: TypePointer Uniform 13(B) 102 15(B): 14(ptr) Variable Uniform 103 16: TypeInt 32 1 104 17: 16(int) Constant 0 105 18: TypePointer Uniform 6(float) 106 23: TypePointer Output 6(float) 10724(@entryPointOutput): 23(ptr) Variable Output 108 4(main): 2 Function None 3 109 5: Label 110 25: 6(float) FunctionCall 8(@main() 111 Store 24(@entryPointOutput) 25 112 Return 113 FunctionEnd 114 8(@main(): 6(float) Function None 7 115 9: Label 116 19: 18(ptr) AccessChain 15(B) 17 17 17 17 117 20: 6(float) Load 19 118 ReturnValue 20 119 FunctionEnd 120