1 hlsl.intrinsics.lit.frag
3 gl_FragCoord origin is upper left
5 0:2 Function Definition: @PixelShaderFunction(f1;f1;f1; ( temp void)
6 0:2 Function Parameters:
7 0:2 'n_dot_l' ( in float)
8 0:2 'n_dot_h' ( in float)
12 0:3 move second child to first child ( temp 4-component vector of float)
13 0:3 'r0' ( temp 4-component vector of float)
14 0:3 Construct vec4 ( temp 4-component vector of float)
18 0:3 'n_dot_l' ( in float)
21 0:3 Test condition and select ( temp float): no shortcircuit
23 0:3 Compare Less Than ( temp bool)
25 0:3 'n_dot_l' ( in float)
26 0:3 'n_dot_h' ( in float)
33 0:3 component-wise multiply ( temp float)
34 0:3 'n_dot_h' ( in float)
38 0:2 Function Definition: PixelShaderFunction( ( temp void)
39 0:2 Function Parameters:
41 0:2 move second child to first child ( temp float)
42 0:? 'n_dot_l' ( temp float)
43 0:? 'n_dot_l' (layout( location=0) in float)
44 0:2 move second child to first child ( temp float)
45 0:? 'n_dot_h' ( temp float)
46 0:? 'n_dot_h' (layout( location=1) in float)
47 0:2 move second child to first child ( temp float)
49 0:? 'm' (layout( location=2) in float)
50 0:2 Function Call: @PixelShaderFunction(f1;f1;f1; ( temp void)
51 0:? 'n_dot_l' ( temp float)
52 0:? 'n_dot_h' ( temp float)
55 0:? 'n_dot_l' (layout( location=0) in float)
56 0:? 'n_dot_h' (layout( location=1) in float)
57 0:? 'm' (layout( location=2) in float)
60 Linked fragment stage:
64 gl_FragCoord origin is upper left
66 0:2 Function Definition: @PixelShaderFunction(f1;f1;f1; ( temp void)
67 0:2 Function Parameters:
68 0:2 'n_dot_l' ( in float)
69 0:2 'n_dot_h' ( in float)
73 0:3 move second child to first child ( temp 4-component vector of float)
74 0:3 'r0' ( temp 4-component vector of float)
75 0:3 Construct vec4 ( temp 4-component vector of float)
79 0:3 'n_dot_l' ( in float)
82 0:3 Test condition and select ( temp float): no shortcircuit
84 0:3 Compare Less Than ( temp bool)
86 0:3 'n_dot_l' ( in float)
87 0:3 'n_dot_h' ( in float)
94 0:3 component-wise multiply ( temp float)
95 0:3 'n_dot_h' ( in float)
99 0:2 Function Definition: PixelShaderFunction( ( temp void)
100 0:2 Function Parameters:
102 0:2 move second child to first child ( temp float)
103 0:? 'n_dot_l' ( temp float)
104 0:? 'n_dot_l' (layout( location=0) in float)
105 0:2 move second child to first child ( temp float)
106 0:? 'n_dot_h' ( temp float)
107 0:? 'n_dot_h' (layout( location=1) in float)
108 0:2 move second child to first child ( temp float)
109 0:? 'm' ( temp float)
110 0:? 'm' (layout( location=2) in float)
111 0:2 Function Call: @PixelShaderFunction(f1;f1;f1; ( temp void)
112 0:? 'n_dot_l' ( temp float)
113 0:? 'n_dot_h' ( temp float)
114 0:? 'm' ( temp float)
116 0:? 'n_dot_l' (layout( location=0) in float)
117 0:? 'n_dot_h' (layout( location=1) in float)
118 0:? 'm' (layout( location=2) in float)
120 // Module Version 10000
121 // Generated by (magic number): 8000b
122 // Id's are bound by 48
125 1: ExtInstImport "GLSL.std.450"
126 MemoryModel Logical GLSL450
127 EntryPoint Fragment 4 "PixelShaderFunction" 33 36 39
128 ExecutionMode 4 OriginUpperLeft
130 Name 4 "PixelShaderFunction"
131 Name 12 "@PixelShaderFunction(f1;f1;f1;"
145 Decorate 33(n_dot_l) Location 0
146 Decorate 36(n_dot_h) Location 1
147 Decorate 39(m) Location 2
151 7: TypePointer Function 6(float)
152 8: TypeFunction 2 7(ptr) 7(ptr) 7(ptr)
153 14: TypeVector 6(float) 4
154 15: TypePointer Function 14(fvec4)
155 17: 6(float) Constant 1065353216
156 19: 6(float) Constant 0
158 32: TypePointer Input 6(float)
159 33(n_dot_l): 32(ptr) Variable Input
160 36(n_dot_h): 32(ptr) Variable Input
161 39(m): 32(ptr) Variable Input
162 4(PixelShaderFunction): 2 Function None 3
164 31(n_dot_l): 7(ptr) Variable Function
165 35(n_dot_h): 7(ptr) Variable Function
166 38(m): 7(ptr) Variable Function
167 41(param): 7(ptr) Variable Function
168 43(param): 7(ptr) Variable Function
169 45(param): 7(ptr) Variable Function
170 34: 6(float) Load 33(n_dot_l)
172 37: 6(float) Load 36(n_dot_h)
174 40: 6(float) Load 39(m)
176 42: 6(float) Load 31(n_dot_l)
178 44: 6(float) Load 35(n_dot_h)
180 46: 6(float) Load 38(m)
182 47: 2 FunctionCall 12(@PixelShaderFunction(f1;f1;f1;) 41(param) 43(param) 45(param)
185 12(@PixelShaderFunction(f1;f1;f1;): 2 Function None 8
186 9(n_dot_l): 7(ptr) FunctionParameter
187 10(n_dot_h): 7(ptr) FunctionParameter
188 11(m): 7(ptr) FunctionParameter
190 16(r0): 15(ptr) Variable Function
191 18: 6(float) Load 9(n_dot_l)
192 20: 6(float) ExtInst 1(GLSL.std.450) 40(FMax) 18 19
193 21: 6(float) Load 9(n_dot_l)
194 22: 6(float) Load 10(n_dot_h)
195 23: 6(float) ExtInst 1(GLSL.std.450) 37(FMin) 21 22
196 25: 24(bool) FOrdLessThan 23 19
197 26: 6(float) Load 10(n_dot_h)
198 27: 6(float) Load 11(m)
199 28: 6(float) FMul 26 27
200 29: 6(float) Select 25 19 28
201 30: 14(fvec4) CompositeConstruct 17 20 29 17