1 hlsl.intrinsics.lit.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 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) 9 0:2 'm' ( in float) 10 0:? Sequence 11 0:3 Sequence 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) 15 0:3 Constant: 16 0:3 1.000000 17 0:3 max ( temp float) 18 0:3 'n_dot_l' ( in float) 19 0:3 Constant: 20 0:3 0.000000 21 0:3 Test condition and select ( temp float): no shortcircuit 22 0:3 Condition 23 0:3 Compare Less Than ( temp bool) 24 0:3 min ( temp float) 25 0:3 'n_dot_l' ( in float) 26 0:3 'n_dot_h' ( in float) 27 0:3 Constant: 28 0:3 0.000000 29 0:3 true case 30 0:3 Constant: 31 0:3 0.000000 32 0:3 false case 33 0:3 component-wise multiply ( temp float) 34 0:3 'n_dot_h' ( in float) 35 0:3 'm' ( in float) 36 0:3 Constant: 37 0:3 1.000000 38 0:2 Function Definition: PixelShaderFunction( ( temp void) 39 0:2 Function Parameters: 40 0:? Sequence 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) 48 0:? 'm' ( 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) 53 0:? 'm' ( temp float) 54 0:? Linker Objects 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) 58 59 60 Linked fragment stage: 61 62 63 Shader version: 500 64 gl_FragCoord origin is upper left 65 0:? Sequence 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) 70 0:2 'm' ( in float) 71 0:? Sequence 72 0:3 Sequence 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) 76 0:3 Constant: 77 0:3 1.000000 78 0:3 max ( temp float) 79 0:3 'n_dot_l' ( in float) 80 0:3 Constant: 81 0:3 0.000000 82 0:3 Test condition and select ( temp float): no shortcircuit 83 0:3 Condition 84 0:3 Compare Less Than ( temp bool) 85 0:3 min ( temp float) 86 0:3 'n_dot_l' ( in float) 87 0:3 'n_dot_h' ( in float) 88 0:3 Constant: 89 0:3 0.000000 90 0:3 true case 91 0:3 Constant: 92 0:3 0.000000 93 0:3 false case 94 0:3 component-wise multiply ( temp float) 95 0:3 'n_dot_h' ( in float) 96 0:3 'm' ( in float) 97 0:3 Constant: 98 0:3 1.000000 99 0:2 Function Definition: PixelShaderFunction( ( temp void) 100 0:2 Function Parameters: 101 0:? Sequence 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) 115 0:? Linker Objects 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) 119 120 // Module Version 10000 121 // Generated by (magic number): 80007 122 // Id's are bound by 48 123 124 Capability Shader 125 1: ExtInstImport "GLSL.std.450" 126 MemoryModel Logical GLSL450 127 EntryPoint Fragment 4 "PixelShaderFunction" 33 36 39 128 ExecutionMode 4 OriginUpperLeft 129 Source HLSL 500 130 Name 4 "PixelShaderFunction" 131 Name 12 "@PixelShaderFunction(f1;f1;f1;" 132 Name 9 "n_dot_l" 133 Name 10 "n_dot_h" 134 Name 11 "m" 135 Name 16 "r0" 136 Name 31 "n_dot_l" 137 Name 33 "n_dot_l" 138 Name 35 "n_dot_h" 139 Name 36 "n_dot_h" 140 Name 38 "m" 141 Name 39 "m" 142 Name 41 "param" 143 Name 43 "param" 144 Name 45 "param" 145 Decorate 33(n_dot_l) Location 0 146 Decorate 36(n_dot_h) Location 1 147 Decorate 39(m) Location 2 148 2: TypeVoid 149 3: TypeFunction 2 150 6: TypeFloat 32 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 157 24: TypeBool 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 163 5: Label 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) 171 Store 31(n_dot_l) 34 172 37: 6(float) Load 36(n_dot_h) 173 Store 35(n_dot_h) 37 174 40: 6(float) Load 39(m) 175 Store 38(m) 40 176 42: 6(float) Load 31(n_dot_l) 177 Store 41(param) 42 178 44: 6(float) Load 35(n_dot_h) 179 Store 43(param) 44 180 46: 6(float) Load 38(m) 181 Store 45(param) 46 182 47: 2 FunctionCall 12(@PixelShaderFunction(f1;f1;f1;) 41(param) 43(param) 45(param) 183 Return 184 FunctionEnd 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 189 13: Label 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 202 Store 16(r0) 30 203 Return 204 FunctionEnd 205