blob: e2577c7aed20ad4a959e0952f4226af3f91bd1a8 [file] [log] [blame]
steve-lunarg36e87d02016-08-24 23:49:36 -06001hlsl.precise.frag
2Shader version: 450
3gl_FragCoord origin is upper left
40:? Sequence
50:8 Function Definition: MyFunction(f1;vf3; (global void)
60:6 Function Parameters:
70:6 'myfloat' (noContraction in float)
80:6 'myfloat3' (noContraction out 3-component vector of float)
90:15 Function Definition: main( (global structure{noContraction temp 4-component vector of float color})
100:9 Function Parameters:
110:? Sequence
120:11 move second child to first child (noContraction temp 4-component vector of float)
130:11 color: direct index for structure (noContraction temp 4-component vector of float)
140:11 'ps_output' (temp structure{noContraction temp 4-component vector of float color})
150:11 Constant:
160:11 0 (const int)
170:11 Constant:
180:11 1.000000
190:11 1.000000
200:11 1.000000
210:11 1.000000
John Kessenich6a70eb72016-08-28 15:00:23 -0600220:12 Sequence
230:12 move second child to first child (temp structure{noContraction temp 4-component vector of float color})
240:? '@entryPointOutput' (out structure{noContraction temp 4-component vector of float color})
250:12 'ps_output' (temp structure{noContraction temp 4-component vector of float color})
260:12 Branch: Return
steve-lunarg36e87d02016-08-24 23:49:36 -0600270:? Linker Objects
280:? 'precisefloat' (noContraction global float)
29
30
31Linked fragment stage:
32
33
34Shader version: 450
35gl_FragCoord origin is upper left
360:? Sequence
370:8 Function Definition: MyFunction(f1;vf3; (global void)
380:6 Function Parameters:
390:6 'myfloat' (noContraction in float)
400:6 'myfloat3' (noContraction out 3-component vector of float)
410:15 Function Definition: main( (global structure{noContraction temp 4-component vector of float color})
420:9 Function Parameters:
430:? Sequence
440:11 move second child to first child (noContraction temp 4-component vector of float)
450:11 color: direct index for structure (noContraction temp 4-component vector of float)
460:11 'ps_output' (temp structure{noContraction temp 4-component vector of float color})
470:11 Constant:
480:11 0 (const int)
490:11 Constant:
500:11 1.000000
510:11 1.000000
520:11 1.000000
530:11 1.000000
John Kessenich6a70eb72016-08-28 15:00:23 -0600540:12 Sequence
550:12 move second child to first child (temp structure{noContraction temp 4-component vector of float color})
560:? '@entryPointOutput' (out structure{noContraction temp 4-component vector of float color})
570:12 'ps_output' (temp structure{noContraction temp 4-component vector of float color})
580:12 Branch: Return
steve-lunarg36e87d02016-08-24 23:49:36 -0600590:? Linker Objects
600:? 'precisefloat' (noContraction global float)
61
62// Module Version 10000
63// Generated by (magic number): 80001
John Kessenich6a70eb72016-08-28 15:00:23 -060064// Id's are bound by 31
steve-lunarg36e87d02016-08-24 23:49:36 -060065
66 Capability Shader
67 1: ExtInstImport "GLSL.std.450"
68 MemoryModel Logical GLSL450
John Kessenich6a70eb72016-08-28 15:00:23 -060069 EntryPoint Fragment 4 "main" 26
steve-lunarg36e87d02016-08-24 23:49:36 -060070 ExecutionMode 4 OriginUpperLeft
71 Name 4 "main"
72 Name 13 "MyFunction(f1;vf3;"
73 Name 11 "myfloat"
74 Name 12 "myfloat3"
75 Name 16 "PS_OUTPUT"
76 MemberName 16(PS_OUTPUT) 0 "color"
77 Name 18 "ps_output"
John Kessenich6a70eb72016-08-28 15:00:23 -060078 Name 26 "@entryPointOutput"
79 Name 30 "precisefloat"
steve-lunarg36e87d02016-08-24 23:49:36 -060080 2: TypeVoid
81 3: TypeFunction 2
82 6: TypeFloat 32
83 7: TypePointer Function 6(float)
84 8: TypeVector 6(float) 3
85 9: TypePointer Function 8(fvec3)
86 10: TypeFunction 2 7(ptr) 9(ptr)
87 15: TypeVector 6(float) 4
88 16(PS_OUTPUT): TypeStruct 15(fvec4)
89 17: TypePointer Function 16(PS_OUTPUT)
90 19: TypeInt 32 1
91 20: 19(int) Constant 0
92 21: 6(float) Constant 1065353216
93 22: 15(fvec4) ConstantComposite 21 21 21 21
94 23: TypePointer Function 15(fvec4)
John Kessenich6a70eb72016-08-28 15:00:23 -060095 25: TypePointer Output 16(PS_OUTPUT)
9626(@entryPointOutput): 25(ptr) Variable Output
97 29: TypePointer Private 6(float)
9830(precisefloat): 29(ptr) Variable Private
steve-lunarg36e87d02016-08-24 23:49:36 -060099 4(main): 2 Function None 3
100 5: Label
101 18(ps_output): 17(ptr) Variable Function
102 24: 23(ptr) AccessChain 18(ps_output) 20
103 Store 24 22
John Kessenich6a70eb72016-08-28 15:00:23 -0600104 27:16(PS_OUTPUT) Load 18(ps_output)
105 Store 26(@entryPointOutput) 27
106 Return
steve-lunarg36e87d02016-08-24 23:49:36 -0600107 FunctionEnd
10813(MyFunction(f1;vf3;): 2 Function None 10
109 11(myfloat): 7(ptr) FunctionParameter
110 12(myfloat3): 9(ptr) FunctionParameter
111 14: Label
112 Return
113 FunctionEnd