1hlsl.texturebuffer.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:15 Function Definition: @main(vf4; ( temp 4-component vector of float) 60:15 Function Parameters: 70:15 'pos' ( in 4-component vector of float) 80:? Sequence 90:16 Branch: Return with expression 100:16 add ( temp 4-component vector of float) 110:16 f: direct index for structure (layout( row_major std430) buffer 4-component vector of float) 120:16 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i}) 130:16 Constant: 140:16 0 (const int) 150:16 f2: direct index for structure (layout( row_major std430) buffer 4-component vector of float) 160:16 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2}) 170:16 Constant: 180:16 0 (const uint) 190:15 Function Definition: main( ( temp void) 200:15 Function Parameters: 210:? Sequence 220:15 move second child to first child ( temp 4-component vector of float) 230:? 'pos' ( temp 4-component vector of float) 240:? 'pos' ( in 4-component vector of float FragCoord) 250:15 move second child to first child ( temp 4-component vector of float) 260:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 270:15 Function Call: @main(vf4; ( temp 4-component vector of float) 280:? 'pos' ( temp 4-component vector of float) 290:? Linker Objects 300:? 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i}) 310:? 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2}) 320:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 330:? 'pos' ( in 4-component vector of float FragCoord) 34 35 36Linked fragment stage: 37 38 39Shader version: 500 40gl_FragCoord origin is upper left 410:? Sequence 420:15 Function Definition: @main(vf4; ( temp 4-component vector of float) 430:15 Function Parameters: 440:15 'pos' ( in 4-component vector of float) 450:? Sequence 460:16 Branch: Return with expression 470:16 add ( temp 4-component vector of float) 480:16 f: direct index for structure (layout( row_major std430) buffer 4-component vector of float) 490:16 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i}) 500:16 Constant: 510:16 0 (const int) 520:16 f2: direct index for structure (layout( row_major std430) buffer 4-component vector of float) 530:16 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2}) 540:16 Constant: 550:16 0 (const uint) 560:15 Function Definition: main( ( temp void) 570:15 Function Parameters: 580:? Sequence 590:15 move second child to first child ( temp 4-component vector of float) 600:? 'pos' ( temp 4-component vector of float) 610:? 'pos' ( in 4-component vector of float FragCoord) 620:15 move second child to first child ( temp 4-component vector of float) 630:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 640:15 Function Call: @main(vf4; ( temp 4-component vector of float) 650:? 'pos' ( temp 4-component vector of float) 660:? Linker Objects 670:? 'TextureBuffer_var' (layout( binding=0 row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f, layout( row_major std430) buffer 4-component vector of int i}) 680:? 'anon@0' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer 4-component vector of float f2, layout( row_major std430) buffer 4-component vector of int i2}) 690:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 700:? 'pos' ( in 4-component vector of float FragCoord) 71 72// Module Version 10000 73// Generated by (magic number): 80007 74// Id's are bound by 39 75 76 Capability Shader 77 1: ExtInstImport "GLSL.std.450" 78 MemoryModel Logical GLSL450 79 EntryPoint Fragment 4 "main" 32 35 80 ExecutionMode 4 OriginUpperLeft 81 Source HLSL 500 82 Name 4 "main" 83 Name 11 "@main(vf4;" 84 Name 10 "pos" 85 Name 15 "TextureBuffer_var" 86 MemberName 15(TextureBuffer_var) 0 "f" 87 MemberName 15(TextureBuffer_var) 1 "i" 88 Name 17 "TextureBuffer_var" 89 Name 22 "tbuf2" 90 MemberName 22(tbuf2) 0 "f2" 91 MemberName 22(tbuf2) 1 "i2" 92 Name 24 "" 93 Name 30 "pos" 94 Name 32 "pos" 95 Name 35 "@entryPointOutput" 96 Name 36 "param" 97 MemberDecorate 15(TextureBuffer_var) 0 NonWritable 98 MemberDecorate 15(TextureBuffer_var) 0 Offset 0 99 MemberDecorate 15(TextureBuffer_var) 1 NonWritable 100 MemberDecorate 15(TextureBuffer_var) 1 Offset 16 101 Decorate 15(TextureBuffer_var) BufferBlock 102 Decorate 17(TextureBuffer_var) DescriptorSet 0 103 Decorate 17(TextureBuffer_var) Binding 0 104 MemberDecorate 22(tbuf2) 0 NonWritable 105 MemberDecorate 22(tbuf2) 0 Offset 0 106 MemberDecorate 22(tbuf2) 1 NonWritable 107 MemberDecorate 22(tbuf2) 1 Offset 16 108 Decorate 22(tbuf2) BufferBlock 109 Decorate 24 DescriptorSet 0 110 Decorate 24 Binding 0 111 Decorate 32(pos) BuiltIn FragCoord 112 Decorate 35(@entryPointOutput) Location 0 113 2: TypeVoid 114 3: TypeFunction 2 115 6: TypeFloat 32 116 7: TypeVector 6(float) 4 117 8: TypePointer Function 7(fvec4) 118 9: TypeFunction 7(fvec4) 8(ptr) 119 13: TypeInt 32 1 120 14: TypeVector 13(int) 4 12115(TextureBuffer_var): TypeStruct 7(fvec4) 14(ivec4) 122 16: TypePointer Uniform 15(TextureBuffer_var) 12317(TextureBuffer_var): 16(ptr) Variable Uniform 124 18: 13(int) Constant 0 125 19: TypePointer Uniform 7(fvec4) 126 22(tbuf2): TypeStruct 7(fvec4) 14(ivec4) 127 23: TypePointer Uniform 22(tbuf2) 128 24: 23(ptr) Variable Uniform 129 31: TypePointer Input 7(fvec4) 130 32(pos): 31(ptr) Variable Input 131 34: TypePointer Output 7(fvec4) 13235(@entryPointOutput): 34(ptr) Variable Output 133 4(main): 2 Function None 3 134 5: Label 135 30(pos): 8(ptr) Variable Function 136 36(param): 8(ptr) Variable Function 137 33: 7(fvec4) Load 32(pos) 138 Store 30(pos) 33 139 37: 7(fvec4) Load 30(pos) 140 Store 36(param) 37 141 38: 7(fvec4) FunctionCall 11(@main(vf4;) 36(param) 142 Store 35(@entryPointOutput) 38 143 Return 144 FunctionEnd 145 11(@main(vf4;): 7(fvec4) Function None 9 146 10(pos): 8(ptr) FunctionParameter 147 12: Label 148 20: 19(ptr) AccessChain 17(TextureBuffer_var) 18 149 21: 7(fvec4) Load 20 150 25: 19(ptr) AccessChain 24 18 151 26: 7(fvec4) Load 25 152 27: 7(fvec4) FAdd 21 26 153 ReturnValue 27 154 FunctionEnd 155