1 hlsl.intrinsics.f1632.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:2 Function Definition: PixelShaderFunctionS(u1; ( temp float) 6 0:2 Function Parameters: 7 0:2 'inF0' ( in uint) 8 0:? Sequence 9 0:3 Branch: Return with expression 10 0:3 direct index ( temp float) 11 0:3 unpackHalf2x16 ( temp 2-component vector of float) 12 0:3 'inF0' ( in uint) 13 0:3 Constant: 14 0:3 0 (const int) 15 0:7 Function Definition: PixelShaderFunction1(vu1; ( temp 1-component vector of float) 16 0:7 Function Parameters: 17 0:7 'inF0' ( in 1-component vector of uint) 18 0:? Sequence 19 0:8 Branch: Return with expression 20 0:8 Constant: 21 0:8 0.000000 22 0:12 Function Definition: PixelShaderFunction2(vu2; ( temp 2-component vector of float) 23 0:12 Function Parameters: 24 0:12 'inF0' ( in 2-component vector of uint) 25 0:? Sequence 26 0:13 Branch: Return with expression 27 0:13 Construct vec2 ( temp 2-component vector of float) 28 0:13 direct index ( temp float) 29 0:13 unpackHalf2x16 ( temp 2-component vector of float) 30 0:13 direct index ( temp uint) 31 0:13 'inF0' ( in 2-component vector of uint) 32 0:13 Constant: 33 0:13 0 (const int) 34 0:13 Constant: 35 0:13 0 (const int) 36 0:13 direct index ( temp float) 37 0:13 unpackHalf2x16 ( temp 2-component vector of float) 38 0:13 direct index ( temp uint) 39 0:13 'inF0' ( in 2-component vector of uint) 40 0:13 Constant: 41 0:13 1 (const int) 42 0:13 Constant: 43 0:13 0 (const int) 44 0:17 Function Definition: PixelShaderFunction3(vu3; ( temp 3-component vector of float) 45 0:17 Function Parameters: 46 0:17 'inF0' ( in 3-component vector of uint) 47 0:? Sequence 48 0:18 Branch: Return with expression 49 0:18 Construct vec3 ( temp 3-component vector of float) 50 0:18 direct index ( temp float) 51 0:18 unpackHalf2x16 ( temp 2-component vector of float) 52 0:18 direct index ( temp uint) 53 0:18 'inF0' ( in 3-component vector of uint) 54 0:18 Constant: 55 0:18 0 (const int) 56 0:18 Constant: 57 0:18 0 (const int) 58 0:18 direct index ( temp float) 59 0:18 unpackHalf2x16 ( temp 2-component vector of float) 60 0:18 direct index ( temp uint) 61 0:18 'inF0' ( in 3-component vector of uint) 62 0:18 Constant: 63 0:18 1 (const int) 64 0:18 Constant: 65 0:18 0 (const int) 66 0:18 direct index ( temp float) 67 0:18 unpackHalf2x16 ( temp 2-component vector of float) 68 0:18 direct index ( temp uint) 69 0:18 'inF0' ( in 3-component vector of uint) 70 0:18 Constant: 71 0:18 2 (const int) 72 0:18 Constant: 73 0:18 0 (const int) 74 0:22 Function Definition: PixelShaderFunction(vu4; ( temp 4-component vector of float) 75 0:22 Function Parameters: 76 0:22 'inF0' ( in 4-component vector of uint) 77 0:? Sequence 78 0:23 Branch: Return with expression 79 0:23 Construct vec4 ( temp 4-component vector of float) 80 0:23 direct index ( temp float) 81 0:23 unpackHalf2x16 ( temp 2-component vector of float) 82 0:23 direct index ( temp uint) 83 0:23 'inF0' ( in 4-component vector of uint) 84 0:23 Constant: 85 0:23 0 (const int) 86 0:23 Constant: 87 0:23 0 (const int) 88 0:23 direct index ( temp float) 89 0:23 unpackHalf2x16 ( temp 2-component vector of float) 90 0:23 direct index ( temp uint) 91 0:23 'inF0' ( in 4-component vector of uint) 92 0:23 Constant: 93 0:23 1 (const int) 94 0:23 Constant: 95 0:23 0 (const int) 96 0:23 direct index ( temp float) 97 0:23 unpackHalf2x16 ( temp 2-component vector of float) 98 0:23 direct index ( temp uint) 99 0:23 'inF0' ( in 4-component vector of uint) 100 0:23 Constant: 101 0:23 2 (const int) 102 0:23 Constant: 103 0:23 0 (const int) 104 0:23 direct index ( temp float) 105 0:23 unpackHalf2x16 ( temp 2-component vector of float) 106 0:23 direct index ( temp uint) 107 0:23 'inF0' ( in 4-component vector of uint) 108 0:23 Constant: 109 0:23 3 (const int) 110 0:23 Constant: 111 0:23 0 (const int) 112 0:27 Function Definition: @main( ( temp 4-component vector of float) 113 0:27 Function Parameters: 114 0:? Sequence 115 0:28 Branch: Return with expression 116 0:28 Constant: 117 0:28 0.000000 118 0:28 0.000000 119 0:28 0.000000 120 0:28 0.000000 121 0:27 Function Definition: main( ( temp void) 122 0:27 Function Parameters: 123 0:? Sequence 124 0:27 move second child to first child ( temp 4-component vector of float) 125 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 126 0:27 Function Call: @main( ( temp 4-component vector of float) 127 0:? Linker Objects 128 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 129 130 131 Linked fragment stage: 132 133 134 Shader version: 500 135 gl_FragCoord origin is upper left 136 0:? Sequence 137 0:2 Function Definition: PixelShaderFunctionS(u1; ( temp float) 138 0:2 Function Parameters: 139 0:2 'inF0' ( in uint) 140 0:? Sequence 141 0:3 Branch: Return with expression 142 0:3 direct index ( temp float) 143 0:3 unpackHalf2x16 ( temp 2-component vector of float) 144 0:3 'inF0' ( in uint) 145 0:3 Constant: 146 0:3 0 (const int) 147 0:7 Function Definition: PixelShaderFunction1(vu1; ( temp 1-component vector of float) 148 0:7 Function Parameters: 149 0:7 'inF0' ( in 1-component vector of uint) 150 0:? Sequence 151 0:8 Branch: Return with expression 152 0:8 Constant: 153 0:8 0.000000 154 0:12 Function Definition: PixelShaderFunction2(vu2; ( temp 2-component vector of float) 155 0:12 Function Parameters: 156 0:12 'inF0' ( in 2-component vector of uint) 157 0:? Sequence 158 0:13 Branch: Return with expression 159 0:13 Construct vec2 ( temp 2-component vector of float) 160 0:13 direct index ( temp float) 161 0:13 unpackHalf2x16 ( temp 2-component vector of float) 162 0:13 direct index ( temp uint) 163 0:13 'inF0' ( in 2-component vector of uint) 164 0:13 Constant: 165 0:13 0 (const int) 166 0:13 Constant: 167 0:13 0 (const int) 168 0:13 direct index ( temp float) 169 0:13 unpackHalf2x16 ( temp 2-component vector of float) 170 0:13 direct index ( temp uint) 171 0:13 'inF0' ( in 2-component vector of uint) 172 0:13 Constant: 173 0:13 1 (const int) 174 0:13 Constant: 175 0:13 0 (const int) 176 0:17 Function Definition: PixelShaderFunction3(vu3; ( temp 3-component vector of float) 177 0:17 Function Parameters: 178 0:17 'inF0' ( in 3-component vector of uint) 179 0:? Sequence 180 0:18 Branch: Return with expression 181 0:18 Construct vec3 ( temp 3-component vector of float) 182 0:18 direct index ( temp float) 183 0:18 unpackHalf2x16 ( temp 2-component vector of float) 184 0:18 direct index ( temp uint) 185 0:18 'inF0' ( in 3-component vector of uint) 186 0:18 Constant: 187 0:18 0 (const int) 188 0:18 Constant: 189 0:18 0 (const int) 190 0:18 direct index ( temp float) 191 0:18 unpackHalf2x16 ( temp 2-component vector of float) 192 0:18 direct index ( temp uint) 193 0:18 'inF0' ( in 3-component vector of uint) 194 0:18 Constant: 195 0:18 1 (const int) 196 0:18 Constant: 197 0:18 0 (const int) 198 0:18 direct index ( temp float) 199 0:18 unpackHalf2x16 ( temp 2-component vector of float) 200 0:18 direct index ( temp uint) 201 0:18 'inF0' ( in 3-component vector of uint) 202 0:18 Constant: 203 0:18 2 (const int) 204 0:18 Constant: 205 0:18 0 (const int) 206 0:22 Function Definition: PixelShaderFunction(vu4; ( temp 4-component vector of float) 207 0:22 Function Parameters: 208 0:22 'inF0' ( in 4-component vector of uint) 209 0:? Sequence 210 0:23 Branch: Return with expression 211 0:23 Construct vec4 ( temp 4-component vector of float) 212 0:23 direct index ( temp float) 213 0:23 unpackHalf2x16 ( temp 2-component vector of float) 214 0:23 direct index ( temp uint) 215 0:23 'inF0' ( in 4-component vector of uint) 216 0:23 Constant: 217 0:23 0 (const int) 218 0:23 Constant: 219 0:23 0 (const int) 220 0:23 direct index ( temp float) 221 0:23 unpackHalf2x16 ( temp 2-component vector of float) 222 0:23 direct index ( temp uint) 223 0:23 'inF0' ( in 4-component vector of uint) 224 0:23 Constant: 225 0:23 1 (const int) 226 0:23 Constant: 227 0:23 0 (const int) 228 0:23 direct index ( temp float) 229 0:23 unpackHalf2x16 ( temp 2-component vector of float) 230 0:23 direct index ( temp uint) 231 0:23 'inF0' ( in 4-component vector of uint) 232 0:23 Constant: 233 0:23 2 (const int) 234 0:23 Constant: 235 0:23 0 (const int) 236 0:23 direct index ( temp float) 237 0:23 unpackHalf2x16 ( temp 2-component vector of float) 238 0:23 direct index ( temp uint) 239 0:23 'inF0' ( in 4-component vector of uint) 240 0:23 Constant: 241 0:23 3 (const int) 242 0:23 Constant: 243 0:23 0 (const int) 244 0:27 Function Definition: @main( ( temp 4-component vector of float) 245 0:27 Function Parameters: 246 0:? Sequence 247 0:28 Branch: Return with expression 248 0:28 Constant: 249 0:28 0.000000 250 0:28 0.000000 251 0:28 0.000000 252 0:28 0.000000 253 0:27 Function Definition: main( ( temp void) 254 0:27 Function Parameters: 255 0:? Sequence 256 0:27 move second child to first child ( temp 4-component vector of float) 257 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 258 0:27 Function Call: @main( ( temp 4-component vector of float) 259 0:? Linker Objects 260 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 261 262 // Module Version 10000 263 // Generated by (magic number): 80007 264 // Id's are bound by 103 265 266 Capability Shader 267 1: ExtInstImport "GLSL.std.450" 268 MemoryModel Logical GLSL450 269 EntryPoint Fragment 4 "main" 101 270 ExecutionMode 4 OriginUpperLeft 271 Source HLSL 500 272 Name 4 "main" 273 Name 11 "PixelShaderFunctionS(u1;" 274 Name 10 "inF0" 275 Name 14 "PixelShaderFunction1(vu1;" 276 Name 13 "inF0" 277 Name 21 "PixelShaderFunction2(vu2;" 278 Name 20 "inF0" 279 Name 28 "PixelShaderFunction3(vu3;" 280 Name 27 "inF0" 281 Name 35 "PixelShaderFunction(vu4;" 282 Name 34 "inF0" 283 Name 38 "@main(" 284 Name 101 "@entryPointOutput" 285 Decorate 101(@entryPointOutput) Location 0 286 2: TypeVoid 287 3: TypeFunction 2 288 6: TypeInt 32 0 289 7: TypePointer Function 6(int) 290 8: TypeFloat 32 291 9: TypeFunction 8(float) 7(ptr) 292 16: TypeVector 6(int) 2 293 17: TypePointer Function 16(ivec2) 294 18: TypeVector 8(float) 2 295 19: TypeFunction 18(fvec2) 17(ptr) 296 23: TypeVector 6(int) 3 297 24: TypePointer Function 23(ivec3) 298 25: TypeVector 8(float) 3 299 26: TypeFunction 25(fvec3) 24(ptr) 300 30: TypeVector 6(int) 4 301 31: TypePointer Function 30(ivec4) 302 32: TypeVector 8(float) 4 303 33: TypeFunction 32(fvec4) 31(ptr) 304 37: TypeFunction 32(fvec4) 305 42: 6(int) Constant 0 306 46: 8(float) Constant 0 307 53: 6(int) Constant 1 308 69: 6(int) Constant 2 309 89: 6(int) Constant 3 310 97: 32(fvec4) ConstantComposite 46 46 46 46 311 100: TypePointer Output 32(fvec4) 312 101(@entryPointOutput): 100(ptr) Variable Output 313 4(main): 2 Function None 3 314 5: Label 315 102: 32(fvec4) FunctionCall 38(@main() 316 Store 101(@entryPointOutput) 102 317 Return 318 FunctionEnd 319 11(PixelShaderFunctionS(u1;): 8(float) Function None 9 320 10(inF0): 7(ptr) FunctionParameter 321 12: Label 322 40: 6(int) Load 10(inF0) 323 41: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 40 324 43: 8(float) CompositeExtract 41 0 325 ReturnValue 43 326 FunctionEnd 327 14(PixelShaderFunction1(vu1;): 8(float) Function None 9 328 13(inF0): 7(ptr) FunctionParameter 329 15: Label 330 ReturnValue 46 331 FunctionEnd 332 21(PixelShaderFunction2(vu2;): 18(fvec2) Function None 19 333 20(inF0): 17(ptr) FunctionParameter 334 22: Label 335 49: 7(ptr) AccessChain 20(inF0) 42 336 50: 6(int) Load 49 337 51: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 50 338 52: 8(float) CompositeExtract 51 0 339 54: 7(ptr) AccessChain 20(inF0) 53 340 55: 6(int) Load 54 341 56: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 55 342 57: 8(float) CompositeExtract 56 0 343 58: 18(fvec2) CompositeConstruct 52 57 344 ReturnValue 58 345 FunctionEnd 346 28(PixelShaderFunction3(vu3;): 25(fvec3) Function None 26 347 27(inF0): 24(ptr) FunctionParameter 348 29: Label 349 61: 7(ptr) AccessChain 27(inF0) 42 350 62: 6(int) Load 61 351 63: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 62 352 64: 8(float) CompositeExtract 63 0 353 65: 7(ptr) AccessChain 27(inF0) 53 354 66: 6(int) Load 65 355 67: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 66 356 68: 8(float) CompositeExtract 67 0 357 70: 7(ptr) AccessChain 27(inF0) 69 358 71: 6(int) Load 70 359 72: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 71 360 73: 8(float) CompositeExtract 72 0 361 74: 25(fvec3) CompositeConstruct 64 68 73 362 ReturnValue 74 363 FunctionEnd 364 35(PixelShaderFunction(vu4;): 32(fvec4) Function None 33 365 34(inF0): 31(ptr) FunctionParameter 366 36: Label 367 77: 7(ptr) AccessChain 34(inF0) 42 368 78: 6(int) Load 77 369 79: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 78 370 80: 8(float) CompositeExtract 79 0 371 81: 7(ptr) AccessChain 34(inF0) 53 372 82: 6(int) Load 81 373 83: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 82 374 84: 8(float) CompositeExtract 83 0 375 85: 7(ptr) AccessChain 34(inF0) 69 376 86: 6(int) Load 85 377 87: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 86 378 88: 8(float) CompositeExtract 87 0 379 90: 7(ptr) AccessChain 34(inF0) 89 380 91: 6(int) Load 90 381 92: 18(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 91 382 93: 8(float) CompositeExtract 92 0 383 94: 32(fvec4) CompositeConstruct 80 84 88 93 384 ReturnValue 94 385 FunctionEnd 386 38(@main(): 32(fvec4) Function None 37 387 39: Label 388 ReturnValue 97 389 FunctionEnd 390