blob: c447efc42059aaf7b4236b975aca4e5a63070624 [file] [log] [blame]
steve-lunarg86b510e2017-02-27 13:09:32 -07001hlsl.intrinsics.f3216.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
steve-lunarg86b510e2017-02-27 13:09:32 -07003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:2 Function Definition: PixelShaderFunctionS(f1; ( temp uint)
steve-lunarg86b510e2017-02-27 13:09:32 -070060:2 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -060070:2 'inF0' ( in float)
steve-lunarg86b510e2017-02-27 13:09:32 -070080:? Sequence
90:3 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600100:3 packHalf2x16 ( temp uint)
110:3 Construct vec2 ( temp 2-component vector of float)
120:3 'inF0' ( in float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700130:3 Constant:
140:3 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600150:7 Function Definition: PixelShaderFunction1(vf1; ( temp 1-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -0700160:7 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600170:7 'inF0' ( in 1-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700180:? Sequence
190:8 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600200:8 Construct uint ( temp 1-component vector of uint)
210:8 packHalf2x16 ( temp uint)
220:8 Construct vec2 ( temp 2-component vector of float)
230:8 Construct float ( in float)
240:8 'inF0' ( in 1-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700250:8 Constant:
260:8 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600270:12 Function Definition: PixelShaderFunction2(vf2; ( temp 2-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -0700280:12 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600290:12 'inF0' ( in 2-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700300:? Sequence
310:13 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600320:13 Construct uvec2 ( temp 2-component vector of uint)
330:13 packHalf2x16 ( temp uint)
340:13 Construct vec2 ( temp 2-component vector of float)
350:13 direct index ( temp float)
360:13 'inF0' ( in 2-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700370:13 Constant:
380:13 0 (const int)
390:13 Constant:
400:13 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600410:13 packHalf2x16 ( temp uint)
420:13 Construct vec2 ( temp 2-component vector of float)
430:13 direct index ( temp float)
440:13 'inF0' ( in 2-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700450:13 Constant:
460:13 1 (const int)
470:13 Constant:
480:13 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600490:17 Function Definition: PixelShaderFunction3(vf3; ( temp 3-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -0700500:17 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600510:17 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700520:? Sequence
530:18 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600540:18 Construct uvec3 ( temp 3-component vector of uint)
550:18 packHalf2x16 ( temp uint)
560:18 Construct vec2 ( temp 2-component vector of float)
570:18 direct index ( temp float)
580:18 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700590:18 Constant:
600:18 0 (const int)
610:18 Constant:
620:18 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600630:18 packHalf2x16 ( temp uint)
640:18 Construct vec2 ( temp 2-component vector of float)
650:18 direct index ( temp float)
660:18 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700670:18 Constant:
680:18 1 (const int)
690:18 Constant:
700:18 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600710:18 packHalf2x16 ( temp uint)
720:18 Construct vec2 ( temp 2-component vector of float)
730:18 direct index ( temp float)
740:18 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700750:18 Constant:
760:18 2 (const int)
770:18 Constant:
780:18 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600790:22 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -0700800:22 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600810:22 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700820:? Sequence
830:23 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600840:23 Construct uvec4 ( temp 4-component vector of uint)
850:23 packHalf2x16 ( temp uint)
860:23 Construct vec2 ( temp 2-component vector of float)
870:23 direct index ( temp float)
880:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700890:23 Constant:
900:23 0 (const int)
910:23 Constant:
920:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600930:23 packHalf2x16 ( temp uint)
940:23 Construct vec2 ( temp 2-component vector of float)
950:23 direct index ( temp float)
960:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700970:23 Constant:
980:23 1 (const int)
990:23 Constant:
1000:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001010:23 packHalf2x16 ( temp uint)
1020:23 Construct vec2 ( temp 2-component vector of float)
1030:23 direct index ( temp float)
1040:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001050:23 Constant:
1060:23 2 (const int)
1070:23 Constant:
1080:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001090:23 packHalf2x16 ( temp uint)
1100:23 Construct vec2 ( temp 2-component vector of float)
1110:23 direct index ( temp float)
1120:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001130:23 Constant:
1140:23 3 (const int)
1150:23 Constant:
1160:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001170:27 Function Definition: @main( ( temp 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001180:27 Function Parameters:
1190:? Sequence
1200:28 Branch: Return with expression
1210:28 Constant:
1220:28 0.000000
1230:28 0.000000
1240:28 0.000000
1250:28 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001260:27 Function Definition: main( ( temp void)
steve-lunarg86b510e2017-02-27 13:09:32 -07001270:27 Function Parameters:
1280:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -06001290:27 move second child to first child ( temp 4-component vector of float)
1300:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1310:27 Function Call: @main( ( temp 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001320:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -06001330:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700134
135
136Linked fragment stage:
137
138
John Kessenich6fa17642017-04-07 15:33:08 -0600139Shader version: 500
steve-lunarg86b510e2017-02-27 13:09:32 -0700140gl_FragCoord origin is upper left
1410:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -06001420:2 Function Definition: PixelShaderFunctionS(f1; ( temp uint)
steve-lunarg86b510e2017-02-27 13:09:32 -07001430:2 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -06001440:2 'inF0' ( in float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001450:? Sequence
1460:3 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -06001470:3 packHalf2x16 ( temp uint)
1480:3 Construct vec2 ( temp 2-component vector of float)
1490:3 'inF0' ( in float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001500:3 Constant:
1510:3 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001520:7 Function Definition: PixelShaderFunction1(vf1; ( temp 1-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -07001530:7 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -06001540:7 'inF0' ( in 1-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001550:? Sequence
1560:8 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -06001570:8 Construct uint ( temp 1-component vector of uint)
1580:8 packHalf2x16 ( temp uint)
1590:8 Construct vec2 ( temp 2-component vector of float)
1600:8 Construct float ( in float)
1610:8 'inF0' ( in 1-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001620:8 Constant:
1630:8 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001640:12 Function Definition: PixelShaderFunction2(vf2; ( temp 2-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -07001650:12 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -06001660:12 'inF0' ( in 2-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001670:? Sequence
1680:13 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -06001690:13 Construct uvec2 ( temp 2-component vector of uint)
1700:13 packHalf2x16 ( temp uint)
1710:13 Construct vec2 ( temp 2-component vector of float)
1720:13 direct index ( temp float)
1730:13 'inF0' ( in 2-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001740:13 Constant:
1750:13 0 (const int)
1760:13 Constant:
1770:13 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001780:13 packHalf2x16 ( temp uint)
1790:13 Construct vec2 ( temp 2-component vector of float)
1800:13 direct index ( temp float)
1810:13 'inF0' ( in 2-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001820:13 Constant:
1830:13 1 (const int)
1840:13 Constant:
1850:13 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06001860:17 Function Definition: PixelShaderFunction3(vf3; ( temp 3-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -07001870:17 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -06001880:17 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001890:? Sequence
1900:18 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -06001910:18 Construct uvec3 ( temp 3-component vector of uint)
1920:18 packHalf2x16 ( temp uint)
1930:18 Construct vec2 ( temp 2-component vector of float)
1940:18 direct index ( temp float)
1950:18 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07001960:18 Constant:
1970:18 0 (const int)
1980:18 Constant:
1990:18 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002000:18 packHalf2x16 ( temp uint)
2010:18 Construct vec2 ( temp 2-component vector of float)
2020:18 direct index ( temp float)
2030:18 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002040:18 Constant:
2050:18 1 (const int)
2060:18 Constant:
2070:18 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002080:18 packHalf2x16 ( temp uint)
2090:18 Construct vec2 ( temp 2-component vector of float)
2100:18 direct index ( temp float)
2110:18 'inF0' ( in 3-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002120:18 Constant:
2130:18 2 (const int)
2140:18 Constant:
2150:18 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002160:22 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of uint)
steve-lunarg86b510e2017-02-27 13:09:32 -07002170:22 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -06002180:22 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002190:? Sequence
2200:23 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -06002210:23 Construct uvec4 ( temp 4-component vector of uint)
2220:23 packHalf2x16 ( temp uint)
2230:23 Construct vec2 ( temp 2-component vector of float)
2240:23 direct index ( temp float)
2250:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002260:23 Constant:
2270:23 0 (const int)
2280:23 Constant:
2290:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002300:23 packHalf2x16 ( temp uint)
2310:23 Construct vec2 ( temp 2-component vector of float)
2320:23 direct index ( temp float)
2330:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002340:23 Constant:
2350:23 1 (const int)
2360:23 Constant:
2370:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002380:23 packHalf2x16 ( temp uint)
2390:23 Construct vec2 ( temp 2-component vector of float)
2400:23 direct index ( temp float)
2410:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002420:23 Constant:
2430:23 2 (const int)
2440:23 Constant:
2450:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002460:23 packHalf2x16 ( temp uint)
2470:23 Construct vec2 ( temp 2-component vector of float)
2480:23 direct index ( temp float)
2490:23 'inF0' ( in 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002500:23 Constant:
2510:23 3 (const int)
2520:23 Constant:
2530:23 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002540:27 Function Definition: @main( ( temp 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002550:27 Function Parameters:
2560:? Sequence
2570:28 Branch: Return with expression
2580:28 Constant:
2590:28 0.000000
2600:28 0.000000
2610:28 0.000000
2620:28 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -06002630:27 Function Definition: main( ( temp void)
steve-lunarg86b510e2017-02-27 13:09:32 -07002640:27 Function Parameters:
2650:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -06002660:27 move second child to first child ( temp 4-component vector of float)
2670:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
2680:27 Function Call: @main( ( temp 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -07002690:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -06002700:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
steve-lunarg86b510e2017-02-27 13:09:32 -0700271
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700272// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -0600273// Generated by (magic number): 80007
steve-lunarg86b510e2017-02-27 13:09:32 -0700274// Id's are bound by 106
275
276 Capability Shader
277 1: ExtInstImport "GLSL.std.450"
278 MemoryModel Logical GLSL450
279 EntryPoint Fragment 4 "main" 104
280 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -0600281 Source HLSL 500
steve-lunarg86b510e2017-02-27 13:09:32 -0700282 Name 4 "main"
283 Name 11 "PixelShaderFunctionS(f1;"
284 Name 10 "inF0"
285 Name 14 "PixelShaderFunction1(vf1;"
286 Name 13 "inF0"
287 Name 21 "PixelShaderFunction2(vf2;"
288 Name 20 "inF0"
289 Name 28 "PixelShaderFunction3(vf3;"
290 Name 27 "inF0"
291 Name 35 "PixelShaderFunction(vf4;"
292 Name 34 "inF0"
293 Name 38 "@main("
294 Name 104 "@entryPointOutput"
295 Decorate 104(@entryPointOutput) Location 0
296 2: TypeVoid
297 3: TypeFunction 2
298 6: TypeFloat 32
299 7: TypePointer Function 6(float)
300 8: TypeInt 32 0
301 9: TypeFunction 8(int) 7(ptr)
302 16: TypeVector 6(float) 2
303 17: TypePointer Function 16(fvec2)
304 18: TypeVector 8(int) 2
305 19: TypeFunction 18(ivec2) 17(ptr)
306 23: TypeVector 6(float) 3
307 24: TypePointer Function 23(fvec3)
308 25: TypeVector 8(int) 3
309 26: TypeFunction 25(ivec3) 24(ptr)
310 30: TypeVector 6(float) 4
311 31: TypePointer Function 30(fvec4)
312 32: TypeVector 8(int) 4
313 33: TypeFunction 32(ivec4) 31(ptr)
314 37: TypeFunction 30(fvec4)
315 41: 6(float) Constant 0
316 51: 8(int) Constant 0
317 56: 8(int) Constant 1
318 72: 8(int) Constant 2
319 92: 8(int) Constant 3
320 100: 30(fvec4) ConstantComposite 41 41 41 41
321 103: TypePointer Output 30(fvec4)
322104(@entryPointOutput): 103(ptr) Variable Output
323 4(main): 2 Function None 3
324 5: Label
325 105: 30(fvec4) FunctionCall 38(@main()
326 Store 104(@entryPointOutput) 105
327 Return
328 FunctionEnd
32911(PixelShaderFunctionS(f1;): 8(int) Function None 9
330 10(inF0): 7(ptr) FunctionParameter
331 12: Label
332 40: 6(float) Load 10(inF0)
333 42: 16(fvec2) CompositeConstruct 40 41
334 43: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 42
335 ReturnValue 43
336 FunctionEnd
33714(PixelShaderFunction1(vf1;): 8(int) Function None 9
338 13(inF0): 7(ptr) FunctionParameter
339 15: Label
340 46: 6(float) Load 13(inF0)
341 47: 16(fvec2) CompositeConstruct 46 41
342 48: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 47
343 ReturnValue 48
344 FunctionEnd
34521(PixelShaderFunction2(vf2;): 18(ivec2) Function None 19
346 20(inF0): 17(ptr) FunctionParameter
347 22: Label
348 52: 7(ptr) AccessChain 20(inF0) 51
349 53: 6(float) Load 52
350 54: 16(fvec2) CompositeConstruct 53 41
351 55: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 54
352 57: 7(ptr) AccessChain 20(inF0) 56
353 58: 6(float) Load 57
354 59: 16(fvec2) CompositeConstruct 58 41
355 60: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 59
356 61: 18(ivec2) CompositeConstruct 55 60
357 ReturnValue 61
358 FunctionEnd
35928(PixelShaderFunction3(vf3;): 25(ivec3) Function None 26
360 27(inF0): 24(ptr) FunctionParameter
361 29: Label
362 64: 7(ptr) AccessChain 27(inF0) 51
363 65: 6(float) Load 64
364 66: 16(fvec2) CompositeConstruct 65 41
365 67: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 66
366 68: 7(ptr) AccessChain 27(inF0) 56
367 69: 6(float) Load 68
368 70: 16(fvec2) CompositeConstruct 69 41
369 71: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 70
370 73: 7(ptr) AccessChain 27(inF0) 72
371 74: 6(float) Load 73
372 75: 16(fvec2) CompositeConstruct 74 41
373 76: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 75
374 77: 25(ivec3) CompositeConstruct 67 71 76
375 ReturnValue 77
376 FunctionEnd
37735(PixelShaderFunction(vf4;): 32(ivec4) Function None 33
378 34(inF0): 31(ptr) FunctionParameter
379 36: Label
380 80: 7(ptr) AccessChain 34(inF0) 51
381 81: 6(float) Load 80
382 82: 16(fvec2) CompositeConstruct 81 41
383 83: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 82
384 84: 7(ptr) AccessChain 34(inF0) 56
385 85: 6(float) Load 84
386 86: 16(fvec2) CompositeConstruct 85 41
387 87: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 86
388 88: 7(ptr) AccessChain 34(inF0) 72
389 89: 6(float) Load 88
390 90: 16(fvec2) CompositeConstruct 89 41
391 91: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 90
392 93: 7(ptr) AccessChain 34(inF0) 92
393 94: 6(float) Load 93
394 95: 16(fvec2) CompositeConstruct 94 41
395 96: 8(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 95
396 97: 32(ivec4) CompositeConstruct 83 87 91 96
397 ReturnValue 97
398 FunctionEnd
399 38(@main(): 30(fvec4) Function None 37
400 39: Label
401 ReturnValue 100
402 FunctionEnd