1hlsl.max.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: @PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
60:2    Function Parameters:
70:2      'input1' ( in 4-component vector of float)
80:2      'input2' ( in 4-component vector of float)
90:?     Sequence
100:3      Branch: Return with expression
110:3        max ( temp 4-component vector of float)
120:3          'input1' ( in 4-component vector of float)
130:3          'input2' ( in 4-component vector of float)
140:2  Function Definition: PixelShaderFunction( ( temp void)
150:2    Function Parameters:
160:?     Sequence
170:2      move second child to first child ( temp 4-component vector of float)
180:?         'input1' ( temp 4-component vector of float)
190:?         'input1' (layout( location=0) in 4-component vector of float)
200:2      move second child to first child ( temp 4-component vector of float)
210:?         'input2' ( temp 4-component vector of float)
220:?         'input2' (layout( location=1) in 4-component vector of float)
230:2      move second child to first child ( temp 4-component vector of float)
240:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
250:2        Function Call: @PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
260:?           'input1' ( temp 4-component vector of float)
270:?           'input2' ( temp 4-component vector of float)
280:?   Linker Objects
290:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
300:?     'input1' (layout( location=0) in 4-component vector of float)
310:?     'input2' (layout( location=1) in 4-component vector of float)
32
33
34Linked fragment stage:
35
36
37Shader version: 500
38gl_FragCoord origin is upper left
390:? Sequence
400:2  Function Definition: @PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
410:2    Function Parameters:
420:2      'input1' ( in 4-component vector of float)
430:2      'input2' ( in 4-component vector of float)
440:?     Sequence
450:3      Branch: Return with expression
460:3        max ( temp 4-component vector of float)
470:3          'input1' ( in 4-component vector of float)
480:3          'input2' ( in 4-component vector of float)
490:2  Function Definition: PixelShaderFunction( ( temp void)
500:2    Function Parameters:
510:?     Sequence
520:2      move second child to first child ( temp 4-component vector of float)
530:?         'input1' ( temp 4-component vector of float)
540:?         'input1' (layout( location=0) in 4-component vector of float)
550:2      move second child to first child ( temp 4-component vector of float)
560:?         'input2' ( temp 4-component vector of float)
570:?         'input2' (layout( location=1) in 4-component vector of float)
580:2      move second child to first child ( temp 4-component vector of float)
590:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
600:2        Function Call: @PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
610:?           'input1' ( temp 4-component vector of float)
620:?           'input2' ( temp 4-component vector of float)
630:?   Linker Objects
640:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
650:?     'input1' (layout( location=0) in 4-component vector of float)
660:?     'input2' (layout( location=1) in 4-component vector of float)
67
68// Module Version 10000
69// Generated by (magic number): 80007
70// Id's are bound by 33
71
72                              Capability Shader
73               1:             ExtInstImport  "GLSL.std.450"
74                              MemoryModel Logical GLSL450
75                              EntryPoint Fragment 4  "PixelShaderFunction" 21 24 27
76                              ExecutionMode 4 OriginUpperLeft
77                              Source HLSL 500
78                              Name 4  "PixelShaderFunction"
79                              Name 12  "@PixelShaderFunction(vf4;vf4;"
80                              Name 10  "input1"
81                              Name 11  "input2"
82                              Name 19  "input1"
83                              Name 21  "input1"
84                              Name 23  "input2"
85                              Name 24  "input2"
86                              Name 27  "@entryPointOutput"
87                              Name 28  "param"
88                              Name 30  "param"
89                              Decorate 21(input1) Location 0
90                              Decorate 24(input2) Location 1
91                              Decorate 27(@entryPointOutput) Location 0
92               2:             TypeVoid
93               3:             TypeFunction 2
94               6:             TypeFloat 32
95               7:             TypeVector 6(float) 4
96               8:             TypePointer Function 7(fvec4)
97               9:             TypeFunction 7(fvec4) 8(ptr) 8(ptr)
98              20:             TypePointer Input 7(fvec4)
99      21(input1):     20(ptr) Variable Input
100      24(input2):     20(ptr) Variable Input
101              26:             TypePointer Output 7(fvec4)
10227(@entryPointOutput):     26(ptr) Variable Output
1034(PixelShaderFunction):           2 Function None 3
104               5:             Label
105      19(input1):      8(ptr) Variable Function
106      23(input2):      8(ptr) Variable Function
107       28(param):      8(ptr) Variable Function
108       30(param):      8(ptr) Variable Function
109              22:    7(fvec4) Load 21(input1)
110                              Store 19(input1) 22
111              25:    7(fvec4) Load 24(input2)
112                              Store 23(input2) 25
113              29:    7(fvec4) Load 19(input1)
114                              Store 28(param) 29
115              31:    7(fvec4) Load 23(input2)
116                              Store 30(param) 31
117              32:    7(fvec4) FunctionCall 12(@PixelShaderFunction(vf4;vf4;) 28(param) 30(param)
118                              Store 27(@entryPointOutput) 32
119                              Return
120                              FunctionEnd
12112(@PixelShaderFunction(vf4;vf4;):    7(fvec4) Function None 9
122      10(input1):      8(ptr) FunctionParameter
123      11(input2):      8(ptr) FunctionParameter
124              13:             Label
125              14:    7(fvec4) Load 10(input1)
126              15:    7(fvec4) Load 11(input2)
127              16:    7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 14 15
128                              ReturnValue 16
129                              FunctionEnd
130