xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/hlsl.inf.vert.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1hlsl.inf.vert
2Shader version: 500
30:? Sequence
40:2  Function Definition: @main( ( temp 4-component vector of float)
50:2    Function Parameters:
60:?     Sequence
70:3      Sequence
80:3        move second child to first child ( temp float)
90:3          'f1' ( temp float)
100:3          Constant:
110:3            -1.#INF
120:4      Sequence
130:4        move second child to first child ( temp float)
140:4          'f2' ( temp float)
150:4          Constant:
160:4            +1.#INF
170:5      Sequence
180:5        move second child to first child ( temp float)
190:5          'f3' ( temp float)
200:5          Constant:
210:5            +1.#INF
220:6      Sequence
230:6        move second child to first child ( temp float)
240:6          'f4' ( temp float)
250:6          add ( temp float)
260:6            component-wise multiply ( temp float)
270:6              'f2' ( temp float)
280:6              Constant:
290:6                +1.#INF
300:6            Constant:
310:6              +1.#INF
320:15      Branch: Return with expression
330:15        Construct vec4 ( temp 4-component vector of float)
340:15          add ( temp float)
350:15            add ( temp float)
360:15              add ( temp float)
370:15                add ( temp float)
380:15                  add ( temp float)
390:15                    'f1' ( temp float)
400:15                    'f2' ( temp float)
410:15                  'f3' ( temp float)
420:15                'f4' ( temp float)
430:15              Constant:
440:15                -1.#INF
450:15            Constant:
460:15              1.#IND
470:2  Function Definition: main( ( temp void)
480:2    Function Parameters:
490:?     Sequence
500:2      move second child to first child ( temp 4-component vector of float)
510:?         '@entryPointOutput' ( out 4-component vector of float Position)
520:2        Function Call: @main( ( temp 4-component vector of float)
530:?   Linker Objects
540:?     '@entryPointOutput' ( out 4-component vector of float Position)
55
56
57Linked vertex stage:
58
59
60Shader version: 500
610:? Sequence
620:2  Function Definition: @main( ( temp 4-component vector of float)
630:2    Function Parameters:
640:?     Sequence
650:3      Sequence
660:3        move second child to first child ( temp float)
670:3          'f1' ( temp float)
680:3          Constant:
690:3            -1.#INF
700:4      Sequence
710:4        move second child to first child ( temp float)
720:4          'f2' ( temp float)
730:4          Constant:
740:4            +1.#INF
750:5      Sequence
760:5        move second child to first child ( temp float)
770:5          'f3' ( temp float)
780:5          Constant:
790:5            +1.#INF
800:6      Sequence
810:6        move second child to first child ( temp float)
820:6          'f4' ( temp float)
830:6          add ( temp float)
840:6            component-wise multiply ( temp float)
850:6              'f2' ( temp float)
860:6              Constant:
870:6                +1.#INF
880:6            Constant:
890:6              +1.#INF
900:15      Branch: Return with expression
910:15        Construct vec4 ( temp 4-component vector of float)
920:15          add ( temp float)
930:15            add ( temp float)
940:15              add ( temp float)
950:15                add ( temp float)
960:15                  add ( temp float)
970:15                    'f1' ( temp float)
980:15                    'f2' ( temp float)
990:15                  'f3' ( temp float)
1000:15                'f4' ( temp float)
1010:15              Constant:
1020:15                -1.#INF
1030:15            Constant:
1040:15              1.#IND
1050:2  Function Definition: main( ( temp void)
1060:2    Function Parameters:
1070:?     Sequence
1080:2      move second child to first child ( temp 4-component vector of float)
1090:?         '@entryPointOutput' ( out 4-component vector of float Position)
1100:2        Function Call: @main( ( temp 4-component vector of float)
1110:?   Linker Objects
1120:?     '@entryPointOutput' ( out 4-component vector of float Position)
113
114// Module Version 10000
115// Generated by (magic number): 8000b
116// Id's are bound by 37
117
118                              Capability Shader
119               1:             ExtInstImport  "GLSL.std.450"
120                              MemoryModel Logical GLSL450
121                              EntryPoint Vertex 4  "main" 35
122                              Source HLSL 500
123                              Name 4  "main"
124                              Name 9  "@main("
125                              Name 12  "f1"
126                              Name 14  "f2"
127                              Name 16  "f3"
128                              Name 17  "f4"
129                              Name 35  "@entryPointOutput"
130                              Decorate 35(@entryPointOutput) BuiltIn Position
131               2:             TypeVoid
132               3:             TypeFunction 2
133               6:             TypeFloat 32
134               7:             TypeVector 6(float) 4
135               8:             TypeFunction 7(fvec4)
136              11:             TypePointer Function 6(float)
137              13:    6(float) Constant 4286578688
138              15:    6(float) Constant 2139095040
139              29:    6(float) Constant 2143289344
140              34:             TypePointer Output 7(fvec4)
14135(@entryPointOutput):     34(ptr) Variable Output
142         4(main):           2 Function None 3
143               5:             Label
144              36:    7(fvec4) FunctionCall 9(@main()
145                              Store 35(@entryPointOutput) 36
146                              Return
147                              FunctionEnd
148       9(@main():    7(fvec4) Function None 8
149              10:             Label
150          12(f1):     11(ptr) Variable Function
151          14(f2):     11(ptr) Variable Function
152          16(f3):     11(ptr) Variable Function
153          17(f4):     11(ptr) Variable Function
154                              Store 12(f1) 13
155                              Store 14(f2) 15
156                              Store 16(f3) 15
157              18:    6(float) Load 14(f2)
158              19:    6(float) FMul 18 15
159              20:    6(float) FAdd 19 15
160                              Store 17(f4) 20
161              21:    6(float) Load 12(f1)
162              22:    6(float) Load 14(f2)
163              23:    6(float) FAdd 21 22
164              24:    6(float) Load 16(f3)
165              25:    6(float) FAdd 23 24
166              26:    6(float) Load 17(f4)
167              27:    6(float) FAdd 25 26
168              28:    6(float) FAdd 27 13
169              30:    6(float) FAdd 28 29
170              31:    7(fvec4) CompositeConstruct 30 30 30 30
171                              ReturnValue 31
172                              FunctionEnd
173