1hlsl.typedef.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:4  Function Definition: ShaderFunction(vf4;i1; ( temp 4-component vector of float)
60:4    Function Parameters:
70:4      'input' ( in 4-component vector of float)
80:4      'ii' ( in int)
90:?     Sequence
100:6      Sequence
110:6        move second child to first child ( temp 4-component vector of float)
120:6          'a1' ( temp 4-component vector of float)
130:6          Constant:
140:6            1.000000
150:6            1.000000
160:6            1.000000
170:6            1.000000
180:7      Sequence
190:7        move second child to first child ( temp int)
200:7          'i' ( temp int)
210:7          Constant:
220:7            2 (const int)
230:9      Sequence
240:9        move second child to first child ( temp int)
250:9          'j' ( temp int)
260:9          'ii' ( in int)
270:10      Branch: Return with expression
280:10        add ( temp 4-component vector of float)
290:10          component-wise multiply ( temp 4-component vector of float)
300:10            'input' ( in 4-component vector of float)
310:10            'a1' ( temp 4-component vector of float)
320:10          Construct vec4 ( uniform 4-component vector of float)
330:10            Convert int to float ( temp float)
340:10              add ( temp int)
350:10                'i' ( temp int)
360:10                'j' ( temp int)
370:?   Linker Objects
38
39
40Linked fragment stage:
41
42WARNING: Linking fragment stage: Entry point not found
43
44Shader version: 500
45gl_FragCoord origin is upper left
460:? Sequence
470:4  Function Definition: ShaderFunction(vf4;i1; ( temp 4-component vector of float)
480:4    Function Parameters:
490:4      'input' ( in 4-component vector of float)
500:4      'ii' ( in int)
510:?     Sequence
520:6      Sequence
530:6        move second child to first child ( temp 4-component vector of float)
540:6          'a1' ( temp 4-component vector of float)
550:6          Constant:
560:6            1.000000
570:6            1.000000
580:6            1.000000
590:6            1.000000
600:7      Sequence
610:7        move second child to first child ( temp int)
620:7          'i' ( temp int)
630:7          Constant:
640:7            2 (const int)
650:9      Sequence
660:9        move second child to first child ( temp int)
670:9          'j' ( temp int)
680:9          'ii' ( in int)
690:10      Branch: Return with expression
700:10        add ( temp 4-component vector of float)
710:10          component-wise multiply ( temp 4-component vector of float)
720:10            'input' ( in 4-component vector of float)
730:10            'a1' ( temp 4-component vector of float)
740:10          Construct vec4 ( uniform 4-component vector of float)
750:10            Convert int to float ( temp float)
760:10              add ( temp int)
770:10                'i' ( temp int)
780:10                'j' ( temp int)
790:?   Linker Objects
80
81// Module Version 10000
82// Generated by (magic number): 80007
83// Id's are bound by 34
84
85                              Capability Shader
86               1:             ExtInstImport  "GLSL.std.450"
87                              MemoryModel Logical GLSL450
88                              EntryPoint Fragment 4  "PixelShaderFunction"
89                              ExecutionMode 4 OriginUpperLeft
90                              Source HLSL 500
91                              Name 4  "PixelShaderFunction"
92                              Name 14  "ShaderFunction(vf4;i1;"
93                              Name 12  "input"
94                              Name 13  "ii"
95                              Name 16  "a1"
96                              Name 19  "i"
97                              Name 21  "j"
98               2:             TypeVoid
99               3:             TypeFunction 2
100               6:             TypeFloat 32
101               7:             TypeVector 6(float) 4
102               8:             TypePointer Function 7(fvec4)
103               9:             TypeInt 32 1
104              10:             TypePointer Function 9(int)
105              11:             TypeFunction 7(fvec4) 8(ptr) 10(ptr)
106              17:    6(float) Constant 1065353216
107              18:    7(fvec4) ConstantComposite 17 17 17 17
108              20:      9(int) Constant 2
1094(PixelShaderFunction):           2 Function None 3
110               5:             Label
111                              Return
112                              FunctionEnd
11314(ShaderFunction(vf4;i1;):    7(fvec4) Function None 11
114       12(input):      8(ptr) FunctionParameter
115          13(ii):     10(ptr) FunctionParameter
116              15:             Label
117          16(a1):      8(ptr) Variable Function
118           19(i):     10(ptr) Variable Function
119           21(j):     10(ptr) Variable Function
120                              Store 16(a1) 18
121                              Store 19(i) 20
122              22:      9(int) Load 13(ii)
123                              Store 21(j) 22
124              23:    7(fvec4) Load 12(input)
125              24:    7(fvec4) Load 16(a1)
126              25:    7(fvec4) FMul 23 24
127              26:      9(int) Load 19(i)
128              27:      9(int) Load 21(j)
129              28:      9(int) IAdd 26 27
130              29:    6(float) ConvertSToF 28
131              30:    7(fvec4) CompositeConstruct 29 29 29 29
132              31:    7(fvec4) FAdd 25 30
133                              ReturnValue 31
134                              FunctionEnd
135