1hlsl.attributeC11.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:20  Function Definition: @main(vf4; ( temp 4-component vector of float)
60:20    Function Parameters:
70:20      'input' ( in 4-component vector of float)
80:?     Sequence
90:21      Branch: Return with expression
100:21        add ( temp 4-component vector of float)
110:21          'input' ( in 4-component vector of float)
120:21          textureFetch ( temp 4-component vector of float)
130:21            'attach' ( uniform texture2D)
140:21            vector swizzle ( temp int)
150:21              Constant:
160:21                0 (const int)
170:21                0 (const int)
180:21              Sequence
190:21                Constant:
200:21                  0 (const int)
210:21            direct index ( temp int)
220:21              Constant:
230:21                0 (const int)
240:21                0 (const int)
250:21              Constant:
260:21                1 (const int)
270:20  Function Definition: main( ( temp void)
280:20    Function Parameters:
290:?     Sequence
300:20      move second child to first child ( temp 4-component vector of float)
310:?         'input' ( temp 4-component vector of float)
320:?         'input' (layout( location=8) in 4-component vector of float)
330:20      move second child to first child ( temp 4-component vector of float)
340:?         '@entryPointOutput' (layout( location=7) out 4-component vector of float)
350:20        Function Call: @main(vf4; ( temp 4-component vector of float)
360:?           'input' ( temp 4-component vector of float)
370:?   Linker Objects
380:?     'buffer1' (layout( set=0 binding=1 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
390:?     'buffer3' (layout( set=2 binding=3 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
400:?     'attach' ( uniform texture2D)
410:?     'ci' ( specialization-constant const int)
420:?       11 (const int)
430:?     'anon@0' (layout( row_major std430 push_constant) uniform block{layout( row_major std430 offset=0) uniform int a})
440:?     '@entryPointOutput' (layout( location=7) out 4-component vector of float)
450:?     'input' (layout( location=8) in 4-component vector of float)
46
47
48Linked fragment stage:
49
50
51Shader version: 500
52gl_FragCoord origin is upper left
530:? Sequence
540:20  Function Definition: @main(vf4; ( temp 4-component vector of float)
550:20    Function Parameters:
560:20      'input' ( in 4-component vector of float)
570:?     Sequence
580:21      Branch: Return with expression
590:21        add ( temp 4-component vector of float)
600:21          'input' ( in 4-component vector of float)
610:21          textureFetch ( temp 4-component vector of float)
620:21            'attach' ( uniform texture2D)
630:21            vector swizzle ( temp int)
640:21              Constant:
650:21                0 (const int)
660:21                0 (const int)
670:21              Sequence
680:21                Constant:
690:21                  0 (const int)
700:21            direct index ( temp int)
710:21              Constant:
720:21                0 (const int)
730:21                0 (const int)
740:21              Constant:
750:21                1 (const int)
760:20  Function Definition: main( ( temp void)
770:20    Function Parameters:
780:?     Sequence
790:20      move second child to first child ( temp 4-component vector of float)
800:?         'input' ( temp 4-component vector of float)
810:?         'input' (layout( location=8) in 4-component vector of float)
820:20      move second child to first child ( temp 4-component vector of float)
830:?         '@entryPointOutput' (layout( location=7) out 4-component vector of float)
840:20        Function Call: @main(vf4; ( temp 4-component vector of float)
850:?           'input' ( temp 4-component vector of float)
860:?   Linker Objects
870:?     'buffer1' (layout( set=0 binding=1 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
880:?     'buffer3' (layout( set=2 binding=3 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
890:?     'attach' ( uniform texture2D)
900:?     'ci' ( specialization-constant const int)
910:?       11 (const int)
920:?     'anon@0' (layout( row_major std430 push_constant) uniform block{layout( row_major std430 offset=0) uniform int a})
930:?     '@entryPointOutput' (layout( location=7) out 4-component vector of float)
940:?     'input' (layout( location=8) in 4-component vector of float)
95
96// Module Version 10000
97// Generated by (magic number): 80007
98// Id's are bound by 51
99
100                              Capability Shader
101               1:             ExtInstImport  "GLSL.std.450"
102                              MemoryModel Logical GLSL450
103                              EntryPoint Fragment 4  "main" 33 36
104                              ExecutionMode 4 OriginUpperLeft
105                              Source HLSL 500
106                              Name 4  "main"
107                              Name 11  "@main(vf4;"
108                              Name 10  "input"
109                              Name 16  "attach"
110                              Name 31  "input"
111                              Name 33  "input"
112                              Name 36  "@entryPointOutput"
113                              Name 37  "param"
114                              Name 41  "S"
115                              MemberName 41(S) 0  "f"
116                              Name 43  "buffer1"
117                              MemberName 43(buffer1) 0  "@data"
118                              Name 45  "buffer1"
119                              Name 46  "buffer3"
120                              Name 47  "ci"
121                              Name 48  "pcBuf"
122                              MemberName 48(pcBuf) 0  "a"
123                              Name 50  ""
124                              Decorate 16(attach) DescriptorSet 0
125                              Decorate 16(attach) InputAttachmentIndex 4
126                              Decorate 33(input) Location 8
127                              Decorate 36(@entryPointOutput) Location 7
128                              MemberDecorate 41(S) 0 Offset 0
129                              Decorate 42 ArrayStride 8
130                              MemberDecorate 43(buffer1) 0 NonWritable
131                              MemberDecorate 43(buffer1) 0 Offset 0
132                              Decorate 43(buffer1) BufferBlock
133                              Decorate 45(buffer1) DescriptorSet 0
134                              Decorate 45(buffer1) Binding 1
135                              Decorate 46(buffer3) DescriptorSet 2
136                              Decorate 46(buffer3) Binding 3
137                              Decorate 47(ci) SpecId 13
138                              MemberDecorate 48(pcBuf) 0 Offset 0
139                              Decorate 48(pcBuf) Block
140               2:             TypeVoid
141               3:             TypeFunction 2
142               6:             TypeFloat 32
143               7:             TypeVector 6(float) 4
144               8:             TypePointer Function 7(fvec4)
145               9:             TypeFunction 7(fvec4) 8(ptr)
146              14:             TypeImage 6(float) 2D sampled format:Unknown
147              15:             TypePointer UniformConstant 14
148      16(attach):     15(ptr) Variable UniformConstant
149              18:             TypeInt 32 1
150              19:             TypeVector 18(int) 2
151              20:     18(int) Constant 0
152              21:   19(ivec2) ConstantComposite 20 20
153              22:             TypeInt 32 0
154              23:     22(int) Constant 0
155              25:     22(int) Constant 1
156              32:             TypePointer Input 7(fvec4)
157       33(input):     32(ptr) Variable Input
158              35:             TypePointer Output 7(fvec4)
15936(@entryPointOutput):     35(ptr) Variable Output
160              40:             TypeVector 6(float) 2
161           41(S):             TypeStruct 40(fvec2)
162              42:             TypeRuntimeArray 41(S)
163     43(buffer1):             TypeStruct 42
164              44:             TypePointer Uniform 43(buffer1)
165     45(buffer1):     44(ptr) Variable Uniform
166     46(buffer3):     44(ptr) Variable Uniform
167          47(ci):     18(int) SpecConstant 11
168       48(pcBuf):             TypeStruct 18(int)
169              49:             TypePointer PushConstant 48(pcBuf)
170              50:     49(ptr) Variable PushConstant
171         4(main):           2 Function None 3
172               5:             Label
173       31(input):      8(ptr) Variable Function
174       37(param):      8(ptr) Variable Function
175              34:    7(fvec4) Load 33(input)
176                              Store 31(input) 34
177              38:    7(fvec4) Load 31(input)
178                              Store 37(param) 38
179              39:    7(fvec4) FunctionCall 11(@main(vf4;) 37(param)
180                              Store 36(@entryPointOutput) 39
181                              Return
182                              FunctionEnd
183  11(@main(vf4;):    7(fvec4) Function None 9
184       10(input):      8(ptr) FunctionParameter
185              12:             Label
186              13:    7(fvec4) Load 10(input)
187              17:          14 Load 16(attach)
188              24:     18(int) CompositeExtract 21 0
189              26:     18(int) CompositeExtract 21 1
190              27:    7(fvec4) ImageFetch 17 24 Lod 26
191              28:    7(fvec4) FAdd 13 27
192                              ReturnValue 28
193                              FunctionEnd
194