1hlsl.attribute.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: @PixelShaderFunction(vf4; ( temp void)
60:2    Function Parameters:
70:2      'input' ( in 4-component vector of float)
80:?     Sequence
90:11      Test condition and select ( temp void): DontFlatten
100:11        Condition
110:11        Constant:
120:11          false (const bool)
130:11        true case is null
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:?         'input' ( temp 4-component vector of float)
190:?         'input' (layout( location=0) in 4-component vector of float)
200:2      Function Call: @PixelShaderFunction(vf4; ( temp void)
210:?         'input' ( temp 4-component vector of float)
220:?   Linker Objects
230:?     'input' (layout( location=0) in 4-component vector of float)
24
25
26Linked fragment stage:
27
28
29Shader version: 500
30gl_FragCoord origin is upper left
310:? Sequence
320:2  Function Definition: @PixelShaderFunction(vf4; ( temp void)
330:2    Function Parameters:
340:2      'input' ( in 4-component vector of float)
350:?     Sequence
360:11      Test condition and select ( temp void): DontFlatten
370:11        Condition
380:11        Constant:
390:11          false (const bool)
400:11        true case is null
410:2  Function Definition: PixelShaderFunction( ( temp void)
420:2    Function Parameters:
430:?     Sequence
440:2      move second child to first child ( temp 4-component vector of float)
450:?         'input' ( temp 4-component vector of float)
460:?         'input' (layout( location=0) in 4-component vector of float)
470:2      Function Call: @PixelShaderFunction(vf4; ( temp void)
480:?         'input' ( temp 4-component vector of float)
490:?   Linker Objects
500:?     'input' (layout( location=0) in 4-component vector of float)
51
52// Module Version 10000
53// Generated by (magic number): 80007
54// Id's are bound by 24
55
56                              Capability Shader
57               1:             ExtInstImport  "GLSL.std.450"
58                              MemoryModel Logical GLSL450
59                              EntryPoint Fragment 4  "PixelShaderFunction" 19
60                              ExecutionMode 4 OriginUpperLeft
61                              Source HLSL 500
62                              Name 4  "PixelShaderFunction"
63                              Name 11  "@PixelShaderFunction(vf4;"
64                              Name 10  "input"
65                              Name 17  "input"
66                              Name 19  "input"
67                              Name 21  "param"
68                              Decorate 19(input) Location 0
69               2:             TypeVoid
70               3:             TypeFunction 2
71               6:             TypeFloat 32
72               7:             TypeVector 6(float) 4
73               8:             TypePointer Function 7(fvec4)
74               9:             TypeFunction 2 8(ptr)
75              13:             TypeBool
76              14:    13(bool) ConstantFalse
77              18:             TypePointer Input 7(fvec4)
78       19(input):     18(ptr) Variable Input
794(PixelShaderFunction):           2 Function None 3
80               5:             Label
81       17(input):      8(ptr) Variable Function
82       21(param):      8(ptr) Variable Function
83              20:    7(fvec4) Load 19(input)
84                              Store 17(input) 20
85              22:    7(fvec4) Load 17(input)
86                              Store 21(param) 22
87              23:           2 FunctionCall 11(@PixelShaderFunction(vf4;) 21(param)
88                              Return
89                              FunctionEnd
9011(@PixelShaderFunction(vf4;):           2 Function None 9
91       10(input):      8(ptr) FunctionParameter
92              12:             Label
93                              SelectionMerge 16 DontFlatten
94                              BranchConditional 14 15 16
95              15:               Label
96                                Branch 16
97              16:             Label
98                              Return
99                              FunctionEnd
100