blob: 2d134b82fc6b6a72d4cc7d68aa0b7049b1f70362 [file] [log] [blame]
steve-lunarg36e87d02016-08-24 23:49:36 -06001hlsl.precise.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
steve-lunarg36e87d02016-08-24 23:49:36 -06003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:6 Function Definition: MyFunction(f1;vf3; ( temp void)
steve-lunarg36e87d02016-08-24 23:49:36 -060060:6 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -060070:6 'myfloat' ( noContraction in float)
80:6 'myfloat3' ( noContraction out 3-component vector of float)
90:9 Function Definition: @main( ( temp structure{ noContraction temp 4-component vector of float color})
steve-lunarg36e87d02016-08-24 23:49:36 -0600100:9 Function Parameters:
110:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600120: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})
steve-lunarg36e87d02016-08-24 23:49:36 -0600150: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 Kessenich02467d82017-01-19 15:41:47 -0700220:12 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600230:12 'ps_output' ( temp structure{ noContraction temp 4-component vector of float color})
240:9 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700250:9 Function Parameters:
260:? Sequence
270:9 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600280:9 move second child to first child ( noContraction temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600290:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600300:9 color: direct index for structure ( noContraction temp 4-component vector of float)
310:9 Function Call: @main( ( temp structure{ noContraction temp 4-component vector of float color})
John Kessenich02467d82017-01-19 15:41:47 -0700320:9 Constant:
330:9 0 (const int)
steve-lunarg36e87d02016-08-24 23:49:36 -0600340:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600350:? 'precisefloat' ( noContraction global float)
John Kesseniche516d432017-08-09 14:29:29 -0600360:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
steve-lunarg36e87d02016-08-24 23:49:36 -060037
38
39Linked fragment stage:
40
41
John Kessenich6fa17642017-04-07 15:33:08 -060042Shader version: 500
steve-lunarg36e87d02016-08-24 23:49:36 -060043gl_FragCoord origin is upper left
440:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600450:6 Function Definition: MyFunction(f1;vf3; ( temp void)
steve-lunarg36e87d02016-08-24 23:49:36 -0600460:6 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600470:6 'myfloat' ( noContraction in float)
480:6 'myfloat3' ( noContraction out 3-component vector of float)
490:9 Function Definition: @main( ( temp structure{ noContraction temp 4-component vector of float color})
steve-lunarg36e87d02016-08-24 23:49:36 -0600500:9 Function Parameters:
510:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600520:11 move second child to first child ( noContraction temp 4-component vector of float)
530:11 color: direct index for structure ( noContraction temp 4-component vector of float)
540:11 'ps_output' ( temp structure{ noContraction temp 4-component vector of float color})
steve-lunarg36e87d02016-08-24 23:49:36 -0600550:11 Constant:
560:11 0 (const int)
570:11 Constant:
580:11 1.000000
590:11 1.000000
600:11 1.000000
610:11 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700620:12 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600630:12 'ps_output' ( temp structure{ noContraction temp 4-component vector of float color})
640:9 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700650:9 Function Parameters:
660:? Sequence
670:9 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600680:9 move second child to first child ( noContraction temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600690:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600700:9 color: direct index for structure ( noContraction temp 4-component vector of float)
710:9 Function Call: @main( ( temp structure{ noContraction temp 4-component vector of float color})
John Kessenich02467d82017-01-19 15:41:47 -0700720:9 Constant:
730:9 0 (const int)
steve-lunarg36e87d02016-08-24 23:49:36 -0600740:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600750:? 'precisefloat' ( noContraction global float)
John Kesseniche516d432017-08-09 14:29:29 -0600760:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
steve-lunarg36e87d02016-08-24 23:49:36 -060077
John Kessenich2b5ea9f2018-01-31 18:35:56 -070078// Module Version 10000
Jeremy Hayes78221d62022-10-12 18:16:41 -060079// Generated by (magic number): 8000b
John Kessenich02467d82017-01-19 15:41:47 -070080// Id's are bound by 37
steve-lunarg36e87d02016-08-24 23:49:36 -060081
82 Capability Shader
83 1: ExtInstImport "GLSL.std.450"
84 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070085 EntryPoint Fragment 4 "main" 32
steve-lunarg36e87d02016-08-24 23:49:36 -060086 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060087 Source HLSL 500
steve-lunarg36e87d02016-08-24 23:49:36 -060088 Name 4 "main"
89 Name 13 "MyFunction(f1;vf3;"
90 Name 11 "myfloat"
91 Name 12 "myfloat3"
92 Name 16 "PS_OUTPUT"
93 MemberName 16(PS_OUTPUT) 0 "color"
John Kessenich02467d82017-01-19 15:41:47 -070094 Name 18 "@main("
95 Name 21 "ps_output"
John Kesseniche516d432017-08-09 14:29:29 -060096 Name 32 "@entryPointOutput.color"
John Kessenich02467d82017-01-19 15:41:47 -070097 Name 36 "precisefloat"
John Kesseniche516d432017-08-09 14:29:29 -060098 Decorate 32(@entryPointOutput.color) Location 0
steve-lunarg36e87d02016-08-24 23:49:36 -060099 2: TypeVoid
100 3: TypeFunction 2
101 6: TypeFloat 32
102 7: TypePointer Function 6(float)
103 8: TypeVector 6(float) 3
104 9: TypePointer Function 8(fvec3)
105 10: TypeFunction 2 7(ptr) 9(ptr)
106 15: TypeVector 6(float) 4
107 16(PS_OUTPUT): TypeStruct 15(fvec4)
John Kessenich02467d82017-01-19 15:41:47 -0700108 17: TypeFunction 16(PS_OUTPUT)
109 20: TypePointer Function 16(PS_OUTPUT)
110 22: TypeInt 32 1
111 23: 22(int) Constant 0
112 24: 6(float) Constant 1065353216
113 25: 15(fvec4) ConstantComposite 24 24 24 24
114 26: TypePointer Function 15(fvec4)
115 31: TypePointer Output 15(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -060011632(@entryPointOutput.color): 31(ptr) Variable Output
John Kessenich02467d82017-01-19 15:41:47 -0700117 35: TypePointer Private 6(float)
11836(precisefloat): 35(ptr) Variable Private
steve-lunarg36e87d02016-08-24 23:49:36 -0600119 4(main): 2 Function None 3
120 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700121 33:16(PS_OUTPUT) FunctionCall 18(@main()
122 34: 15(fvec4) CompositeExtract 33 0
John Kesseniche516d432017-08-09 14:29:29 -0600123 Store 32(@entryPointOutput.color) 34
John Kessenich6a70eb72016-08-28 15:00:23 -0600124 Return
steve-lunarg36e87d02016-08-24 23:49:36 -0600125 FunctionEnd
12613(MyFunction(f1;vf3;): 2 Function None 10
127 11(myfloat): 7(ptr) FunctionParameter
128 12(myfloat3): 9(ptr) FunctionParameter
129 14: Label
130 Return
131 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -0700132 18(@main():16(PS_OUTPUT) Function None 17
133 19: Label
134 21(ps_output): 20(ptr) Variable Function
135 27: 26(ptr) AccessChain 21(ps_output) 23
136 Store 27 25
137 28:16(PS_OUTPUT) Load 21(ps_output)
138 ReturnValue 28
139 FunctionEnd