blob: 227c7e173895174ca16f44814013c29be9dbdcb1 [file] [log] [blame]
steve-lunarg5964c642016-07-30 07:38:55 -06001hlsl.constructexpr.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
steve-lunarg5964c642016-07-30 07:38:55 -06003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
steve-lunarg5964c642016-07-30 07:38:55 -060060:4 Function Parameters:
70:? Sequence
80:6 Constant:
90:6 3 (const int)
100:7 Constant:
110:7 4 (const int)
120:8 Constant:
130:8 5 (const int)
140:9 Constant:
150:9 6 (const int)
160:10 Constant:
170:10 7 (const int)
180:11 Constant:
190:11 8 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600200:12 Comma ( temp 2-component vector of float)
steve-lunarg5964c642016-07-30 07:38:55 -0600210:? Constant:
220:? 9.000000
230:? 10.000000
240:? Constant:
250:? 11.000000
260:? 12.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600270:15 move second child to first child ( temp 4-component vector of float)
280:15 color: direct index for structure ( temp 4-component vector of float)
290:15 'ps_output' ( temp structure{ temp 4-component vector of float color})
steve-lunarg5964c642016-07-30 07:38:55 -0600300:15 Constant:
310:15 0 (const int)
320:15 Constant:
330:15 1.000000
340:15 1.000000
350:15 1.000000
360:15 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700370:16 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600380:16 'ps_output' ( temp structure{ temp 4-component vector of float color})
390:4 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700400:4 Function Parameters:
410:? Sequence
420:4 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600430:4 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600440:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600450:4 color: direct index for structure ( temp 4-component vector of float)
460:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
John Kessenich02467d82017-01-19 15:41:47 -0700470:4 Constant:
480:4 0 (const int)
steve-lunarg5964c642016-07-30 07:38:55 -0600490:? Linker Objects
John Kesseniche516d432017-08-09 14:29:29 -0600500:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
steve-lunarg5964c642016-07-30 07:38:55 -060051
52
53Linked fragment stage:
54
55
John Kessenich6fa17642017-04-07 15:33:08 -060056Shader version: 500
steve-lunarg5964c642016-07-30 07:38:55 -060057gl_FragCoord origin is upper left
580:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600590:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
steve-lunarg5964c642016-07-30 07:38:55 -0600600:4 Function Parameters:
610:? Sequence
620:6 Constant:
630:6 3 (const int)
640:7 Constant:
650:7 4 (const int)
660:8 Constant:
670:8 5 (const int)
680:9 Constant:
690:9 6 (const int)
700:10 Constant:
710:10 7 (const int)
720:11 Constant:
730:11 8 (const int)
John Kessenich71c100d2017-03-14 19:43:13 -0600740:12 Comma ( temp 2-component vector of float)
steve-lunarg5964c642016-07-30 07:38:55 -0600750:? Constant:
760:? 9.000000
770:? 10.000000
780:? Constant:
790:? 11.000000
800:? 12.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600810:15 move second child to first child ( temp 4-component vector of float)
820:15 color: direct index for structure ( temp 4-component vector of float)
830:15 'ps_output' ( temp structure{ temp 4-component vector of float color})
steve-lunarg5964c642016-07-30 07:38:55 -0600840:15 Constant:
850:15 0 (const int)
860:15 Constant:
870:15 1.000000
880:15 1.000000
890:15 1.000000
900:15 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700910:16 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600920:16 'ps_output' ( temp structure{ temp 4-component vector of float color})
930:4 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700940:4 Function Parameters:
950:? Sequence
960:4 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600970:4 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600980:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600990:4 color: direct index for structure ( temp 4-component vector of float)
1000:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
John Kessenich02467d82017-01-19 15:41:47 -07001010:4 Constant:
1020:4 0 (const int)
steve-lunarg5964c642016-07-30 07:38:55 -06001030:? Linker Objects
John Kesseniche516d432017-08-09 14:29:29 -06001040:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
steve-lunarg5964c642016-07-30 07:38:55 -0600105
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700106// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -0600107// Generated by (magic number): 80007
John Kessenich02467d82017-01-19 15:41:47 -0700108// Id's are bound by 40
steve-lunarg5964c642016-07-30 07:38:55 -0600109
110 Capability Shader
111 1: ExtInstImport "GLSL.std.450"
112 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -0700113 EntryPoint Fragment 4 "main" 37
steve-lunarg5964c642016-07-30 07:38:55 -0600114 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -0600115 Source HLSL 500
steve-lunarg5964c642016-07-30 07:38:55 -0600116 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -0700117 Name 8 "PS_OUTPUT"
118 MemberName 8(PS_OUTPUT) 0 "color"
119 Name 10 "@main("
120 Name 27 "ps_output"
John Kesseniche516d432017-08-09 14:29:29 -0600121 Name 37 "@entryPointOutput.color"
122 Decorate 37(@entryPointOutput.color) Location 0
steve-lunarg5964c642016-07-30 07:38:55 -0600123 2: TypeVoid
124 3: TypeFunction 2
John Kessenich02467d82017-01-19 15:41:47 -0700125 6: TypeFloat 32
126 7: TypeVector 6(float) 4
127 8(PS_OUTPUT): TypeStruct 7(fvec4)
128 9: TypeFunction 8(PS_OUTPUT)
129 12: TypeInt 32 1
130 13: 12(int) Constant 3
131 14: 12(int) Constant 4
132 15: 12(int) Constant 5
133 16: 12(int) Constant 6
134 17: 12(int) Constant 7
135 18: 12(int) Constant 8
136 19: TypeVector 6(float) 2
137 20: 6(float) Constant 1091567616
138 21: 6(float) Constant 1092616192
139 22: 19(fvec2) ConstantComposite 20 21
140 23: 6(float) Constant 1093664768
141 24: 6(float) Constant 1094713344
142 25: 19(fvec2) ConstantComposite 23 24
143 26: TypePointer Function 8(PS_OUTPUT)
144 28: 12(int) Constant 0
145 29: 6(float) Constant 1065353216
146 30: 7(fvec4) ConstantComposite 29 29 29 29
147 31: TypePointer Function 7(fvec4)
148 36: TypePointer Output 7(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -060014937(@entryPointOutput.color): 36(ptr) Variable Output
steve-lunarg5964c642016-07-30 07:38:55 -0600150 4(main): 2 Function None 3
151 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700152 38:8(PS_OUTPUT) FunctionCall 10(@main()
153 39: 7(fvec4) CompositeExtract 38 0
John Kesseniche516d432017-08-09 14:29:29 -0600154 Store 37(@entryPointOutput.color) 39
John Kessenich6a70eb72016-08-28 15:00:23 -0600155 Return
steve-lunarg5964c642016-07-30 07:38:55 -0600156 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -0700157 10(@main():8(PS_OUTPUT) Function None 9
158 11: Label
159 27(ps_output): 26(ptr) Variable Function
160 32: 31(ptr) AccessChain 27(ps_output) 28
161 Store 32 30
162 33:8(PS_OUTPUT) Load 27(ps_output)
163 ReturnValue 33
164 FunctionEnd