1 hlsl.promote.binary.frag
3 gl_FragCoord origin is upper left
5 0:14 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
6 0:14 Function Parameters:
9 0:15 Convert int to float ( temp float)
10 0:15 ival: direct index for structure ( uniform int)
11 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
14 0:15 fval: direct index for structure ( uniform float)
15 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
18 0:16 mod ( temp 4-component vector of float)
19 0:16 Convert int to float ( temp 4-component vector of float)
20 0:16 ival4: direct index for structure ( uniform 4-component vector of int)
21 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
24 0:16 fval4: direct index for structure ( uniform 4-component vector of float)
25 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
28 0:18 mod ( temp float)
29 0:18 Convert bool to float ( temp float)
30 0:18 bval: direct index for structure ( uniform bool)
31 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
34 0:18 fval: direct index for structure ( uniform float)
35 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
38 0:19 mod ( temp 4-component vector of float)
39 0:19 Convert bool to float ( temp 4-component vector of float)
40 0:19 bval4: direct index for structure ( uniform 4-component vector of bool)
41 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
44 0:19 fval4: direct index for structure ( uniform 4-component vector of float)
45 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
49 0:21 move second child to first child ( temp int)
50 0:21 'l_int' ( temp int)
53 0:22 mod second child into first child ( temp int)
54 0:22 'l_int' ( temp int)
55 0:22 Convert float to int ( temp int)
56 0:22 fval: direct index for structure ( uniform float)
57 0:22 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
60 0:25 move second child to first child ( temp 4-component vector of float)
61 0:25 Color: direct index for structure ( temp 4-component vector of float)
62 0:25 'psout' ( temp structure{ temp 4-component vector of float Color})
70 0:26 Branch: Return with expression
71 0:26 'psout' ( temp structure{ temp 4-component vector of float Color})
72 0:14 Function Definition: main( ( temp void)
73 0:14 Function Parameters:
76 0:14 move second child to first child ( temp 4-component vector of float)
77 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
78 0:14 Color: direct index for structure ( temp 4-component vector of float)
79 0:14 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
83 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
84 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
87 Linked fragment stage:
91 gl_FragCoord origin is upper left
93 0:14 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
94 0:14 Function Parameters:
96 0:15 mod ( temp float)
97 0:15 Convert int to float ( temp float)
98 0:15 ival: direct index for structure ( uniform int)
99 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
102 0:15 fval: direct index for structure ( uniform float)
103 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
106 0:16 mod ( temp 4-component vector of float)
107 0:16 Convert int to float ( temp 4-component vector of float)
108 0:16 ival4: direct index for structure ( uniform 4-component vector of int)
109 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
112 0:16 fval4: direct index for structure ( uniform 4-component vector of float)
113 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
116 0:18 mod ( temp float)
117 0:18 Convert bool to float ( temp float)
118 0:18 bval: direct index for structure ( uniform bool)
119 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
122 0:18 fval: direct index for structure ( uniform float)
123 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
126 0:19 mod ( temp 4-component vector of float)
127 0:19 Convert bool to float ( temp 4-component vector of float)
128 0:19 bval4: direct index for structure ( uniform 4-component vector of bool)
129 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
132 0:19 fval4: direct index for structure ( uniform 4-component vector of float)
133 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
137 0:21 move second child to first child ( temp int)
138 0:21 'l_int' ( temp int)
141 0:22 mod second child into first child ( temp int)
142 0:22 'l_int' ( temp int)
143 0:22 Convert float to int ( temp int)
144 0:22 fval: direct index for structure ( uniform float)
145 0:22 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
148 0:25 move second child to first child ( temp 4-component vector of float)
149 0:25 Color: direct index for structure ( temp 4-component vector of float)
150 0:25 'psout' ( temp structure{ temp 4-component vector of float Color})
158 0:26 Branch: Return with expression
159 0:26 'psout' ( temp structure{ temp 4-component vector of float Color})
160 0:14 Function Definition: main( ( temp void)
161 0:14 Function Parameters:
164 0:14 move second child to first child ( temp 4-component vector of float)
165 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
166 0:14 Color: direct index for structure ( temp 4-component vector of float)
167 0:14 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
171 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform bool bval, uniform 4-component vector of bool bval4, uniform int ival, uniform 4-component vector of int ival4, uniform float fval, uniform 4-component vector of float fval4})
172 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
174 // Module Version 10000
175 // Generated by (magic number): 8000b
176 // Id's are bound by 83
179 1: ExtInstImport "GLSL.std.450"
180 MemoryModel Logical GLSL450
181 EntryPoint Fragment 4 "main" 80
182 ExecutionMode 4 OriginUpperLeft
186 MemberName 8(PS_OUTPUT) 0 "Color"
189 MemberName 16($Global) 0 "bval"
190 MemberName 16($Global) 1 "bval4"
191 MemberName 16($Global) 2 "ival"
192 MemberName 16($Global) 3 "ival4"
193 MemberName 16($Global) 4 "fval"
194 MemberName 16($Global) 5 "fval4"
198 Name 80 "@entryPointOutput.Color"
199 MemberDecorate 16($Global) 0 Offset 0
200 MemberDecorate 16($Global) 1 Offset 16
201 MemberDecorate 16($Global) 2 Offset 32
202 MemberDecorate 16($Global) 3 Offset 48
203 MemberDecorate 16($Global) 4 Offset 64
204 MemberDecorate 16($Global) 5 Offset 80
205 Decorate 16($Global) Block
206 Decorate 18 DescriptorSet 0
207 Decorate 18 Binding 0
208 Decorate 80(@entryPointOutput.Color) Location 0
212 7: TypeVector 6(float) 4
213 8(PS_OUTPUT): TypeStruct 7(fvec4)
214 9: TypeFunction 8(PS_OUTPUT)
216 13: TypeVector 12(int) 4
218 15: TypeVector 14(int) 4
219 16($Global): TypeStruct 12(int) 13(ivec4) 14(int) 15(ivec4) 6(float) 7(fvec4)
220 17: TypePointer Uniform 16($Global)
221 18: 17(ptr) Variable Uniform
222 19: 14(int) Constant 2
223 20: TypePointer Uniform 14(int)
224 24: 14(int) Constant 4
225 25: TypePointer Uniform 6(float)
226 29: 14(int) Constant 3
227 30: TypePointer Uniform 15(ivec4)
228 34: 14(int) Constant 5
229 35: TypePointer Uniform 7(fvec4)
230 39: 14(int) Constant 0
231 40: TypePointer Uniform 12(int)
233 44: 12(int) Constant 0
234 46: 6(float) Constant 0
235 47: 6(float) Constant 1065353216
236 52: 14(int) Constant 1
237 53: TypePointer Uniform 13(ivec4)
238 56: TypeVector 43(bool) 4
239 57: 13(ivec4) ConstantComposite 44 44 44 44
240 59: 7(fvec4) ConstantComposite 46 46 46 46
241 60: 7(fvec4) ConstantComposite 47 47 47 47
242 65: TypePointer Function 14(int)
243 72: TypePointer Function 8(PS_OUTPUT)
244 74: TypePointer Function 7(fvec4)
245 79: TypePointer Output 7(fvec4)
246 80(@entryPointOutput.Color): 79(ptr) Variable Output
247 4(main): 2 Function None 3
249 81:8(PS_OUTPUT) FunctionCall 10(@main()
250 82: 7(fvec4) CompositeExtract 81 0
251 Store 80(@entryPointOutput.Color) 82
254 10(@main():8(PS_OUTPUT) Function None 9
256 66(l_int): 65(ptr) Variable Function
257 73(psout): 72(ptr) Variable Function
258 21: 20(ptr) AccessChain 18 19
260 23: 6(float) ConvertSToF 22
261 26: 25(ptr) AccessChain 18 24
263 28: 6(float) FMod 23 27
264 31: 30(ptr) AccessChain 18 29
265 32: 15(ivec4) Load 31
266 33: 7(fvec4) ConvertSToF 32
267 36: 35(ptr) AccessChain 18 34
269 38: 7(fvec4) FMod 33 37
270 41: 40(ptr) AccessChain 18 39
272 45: 43(bool) INotEqual 42 44
273 48: 6(float) Select 45 47 46
274 49: 25(ptr) AccessChain 18 24
276 51: 6(float) FMod 48 50
277 54: 53(ptr) AccessChain 18 52
278 55: 13(ivec4) Load 54
279 58: 56(bvec4) INotEqual 55 57
280 61: 7(fvec4) Select 58 60 59
281 62: 35(ptr) AccessChain 18 34
283 64: 7(fvec4) FMod 61 63
285 67: 25(ptr) AccessChain 18 24
287 69: 14(int) ConvertFToS 68
288 70: 14(int) Load 66(l_int)
289 71: 14(int) SMod 70 69
291 75: 74(ptr) AccessChain 73(psout) 39
293 76:8(PS_OUTPUT) Load 73(psout)