Debian Codegraph @

third_party/spirv-cross/shaders-ue4-no-opt/asm/frag/accesschain-invalid-expression.asm.invalid.frag

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Google spiregg; 0
4 ; Bound: 572
5 ; Schema: 0
6 OpCapability Shader
7 OpExtension "SPV_GOOGLE_hlsl_functionality1"
8 %1 = OpExtInstImport "GLSL.std.450"
9 OpMemoryModel Logical GLSL450
10 OpEntryPoint Fragment %Main "main" %in_var_TEXCOORD0 %in_var_TEXCOORD7 %in_var_TEXCOORD8 %gl_FragCoord %gl_FrontFacing %out_var_SV_Target0
11 OpExecutionMode %Main OriginUpperLeft
12 OpSource HLSL 600
13 OpName %type_View "type.View"
14 OpMemberName %type_View 0 "View_TranslatedWorldToClip"
15 OpMemberName %type_View 1 "View_WorldToClip"
16 OpMemberName %type_View 2 "View_TranslatedWorldToView"
17 OpMemberName %type_View 3 "View_ViewToTranslatedWorld"
18 OpMemberName %type_View 4 "View_TranslatedWorldToCameraView"
19 OpMemberName %type_View 5 "View_CameraViewToTranslatedWorld"
20 OpMemberName %type_View 6 "View_ViewToClip"
21 OpMemberName %type_View 7 "View_ViewToClipNoAA"
22 OpMemberName %type_View 8 "View_ClipToView"
23 OpMemberName %type_View 9 "View_ClipToTranslatedWorld"
24 OpMemberName %type_View 10 "View_SVPositionToTranslatedWorld"
25 OpMemberName %type_View 11 "View_ScreenToWorld"
26 OpMemberName %type_View 12 "View_ScreenToTranslatedWorld"
27 OpMemberName %type_View 13 "View_ViewForward"
28 OpMemberName %type_View 14 "PrePadding_View_844"
29 OpMemberName %type_View 15 "View_ViewUp"
30 OpMemberName %type_View 16 "PrePadding_View_860"
31 OpMemberName %type_View 17 "View_ViewRight"
32 OpMemberName %type_View 18 "PrePadding_View_876"
33 OpMemberName %type_View 19 "View_HMDViewNoRollUp"
34 OpMemberName %type_View 20 "PrePadding_View_892"
35 OpMemberName %type_View 21 "View_HMDViewNoRollRight"
36 OpMemberName %type_View 22 "PrePadding_View_908"
37 OpMemberName %type_View 23 "View_InvDeviceZToWorldZTransform"
38 OpMemberName %type_View 24 "View_ScreenPositionScaleBias"
39 OpMemberName %type_View 25 "View_WorldCameraOrigin"
40 OpMemberName %type_View 26 "PrePadding_View_956"
41 OpMemberName %type_View 27 "View_TranslatedWorldCameraOrigin"
42 OpMemberName %type_View 28 "PrePadding_View_972"
43 OpMemberName %type_View 29 "View_WorldViewOrigin"
44 OpMemberName %type_View 30 "PrePadding_View_988"
45 OpMemberName %type_View 31 "View_PreViewTranslation"
46 OpMemberName %type_View 32 "PrePadding_View_1004"
47 OpMemberName %type_View 33 "View_PrevProjection"
48 OpMemberName %type_View 34 "View_PrevViewProj"
49 OpMemberName %type_View 35 "View_PrevViewRotationProj"
50 OpMemberName %type_View 36 "View_PrevViewToClip"
51 OpMemberName %type_View 37 "View_PrevClipToView"
52 OpMemberName %type_View 38 "View_PrevTranslatedWorldToClip"
53 OpMemberName %type_View 39 "View_PrevTranslatedWorldToView"
54 OpMemberName %type_View 40 "View_PrevViewToTranslatedWorld"
55 OpMemberName %type_View 41 "View_PrevTranslatedWorldToCameraView"
56 OpMemberName %type_View 42 "View_PrevCameraViewToTranslatedWorld"
57 OpMemberName %type_View 43 "View_PrevWorldCameraOrigin"
58 OpMemberName %type_View 44 "PrePadding_View_1660"
59 OpMemberName %type_View 45 "View_PrevWorldViewOrigin"
60 OpMemberName %type_View 46 "PrePadding_View_1676"
61 OpMemberName %type_View 47 "View_PrevPreViewTranslation"
62 OpMemberName %type_View 48 "PrePadding_View_1692"
63 OpMemberName %type_View 49 "View_PrevInvViewProj"
64 OpMemberName %type_View 50 "View_PrevScreenToTranslatedWorld"
65 OpMemberName %type_View 51 "View_ClipToPrevClip"
66 OpMemberName %type_View 52 "View_TemporalAAJitter"
67 OpMemberName %type_View 53 "View_GlobalClippingPlane"
68 OpMemberName %type_View 54 "View_FieldOfViewWideAngles"
69 OpMemberName %type_View 55 "View_PrevFieldOfViewWideAngles"
70 OpMemberName %type_View 56 "View_ViewRectMin"
71 OpMemberName %type_View 57 "View_ViewSizeAndInvSize"
72 OpMemberName %type_View 58 "View_BufferSizeAndInvSize"
73 OpMemberName %type_View 59 "View_BufferBilinearUVMinMax"
74 OpMemberName %type_View 60 "View_NumSceneColorMSAASamples"
75 OpMemberName %type_View 61 "View_PreExposure"
76 OpMemberName %type_View 62 "View_OneOverPreExposure"
77 OpMemberName %type_View 63 "PrePadding_View_2012"
78 OpMemberName %type_View 64 "View_DiffuseOverrideParameter"
79 OpMemberName %type_View 65 "View_SpecularOverrideParameter"
80 OpMemberName %type_View 66 "View_NormalOverrideParameter"
81 OpMemberName %type_View 67 "View_RoughnessOverrideParameter"
82 OpMemberName %type_View 68 "View_PrevFrameGameTime"
83 OpMemberName %type_View 69 "View_PrevFrameRealTime"
84 OpMemberName %type_View 70 "View_OutOfBoundsMask"
85 OpMemberName %type_View 71 "PrePadding_View_2084"
86 OpMemberName %type_View 72 "PrePadding_View_2088"
87 OpMemberName %type_View 73 "PrePadding_View_2092"
88 OpMemberName %type_View 74 "View_WorldCameraMovementSinceLastFrame"
89 OpMemberName %type_View 75 "View_CullingSign"
90 OpMemberName %type_View 76 "View_NearPlane"
91 OpMemberName %type_View 77 "View_AdaptiveTessellationFactor"
92 OpMemberName %type_View 78 "View_GameTime"
93 OpMemberName %type_View 79 "View_RealTime"
94 OpMemberName %type_View 80 "View_DeltaTime"
95 OpMemberName %type_View 81 "View_MaterialTextureMipBias"
96 OpMemberName %type_View 82 "View_MaterialTextureDerivativeMultiply"
97 OpMemberName %type_View 83 "View_Random"
98 OpMemberName %type_View 84 "View_FrameNumber"
99 OpMemberName %type_View 85 "View_StateFrameIndexMod8"
100 OpMemberName %type_View 86 "View_StateFrameIndex"
101 OpMemberName %type_View 87 "View_CameraCut"
102 OpMemberName %type_View 88 "View_UnlitViewmodeMask"
103 OpMemberName %type_View 89 "PrePadding_View_2164"
104 OpMemberName %type_View 90 "PrePadding_View_2168"
105 OpMemberName %type_View 91 "PrePadding_View_2172"
106 OpMemberName %type_View 92 "View_DirectionalLightColor"
107 OpMemberName %type_View 93 "View_DirectionalLightDirection"
108 OpMemberName %type_View 94 "PrePadding_View_2204"
109 OpMemberName %type_View 95 "View_TranslucencyLightingVolumeMin"
110 OpMemberName %type_View 96 "View_TranslucencyLightingVolumeInvSize"
111 OpMemberName %type_View 97 "View_TemporalAAParams"
112 OpMemberName %type_View 98 "View_CircleDOFParams"
113 OpMemberName %type_View 99 "View_DepthOfFieldSensorWidth"
114 OpMemberName %type_View 100 "View_DepthOfFieldFocalDistance"
115 OpMemberName %type_View 101 "View_DepthOfFieldScale"
116 OpMemberName %type_View 102 "View_DepthOfFieldFocalLength"
117 OpMemberName %type_View 103 "View_DepthOfFieldFocalRegion"
118 OpMemberName %type_View 104 "View_DepthOfFieldNearTransitionRegion"
119 OpMemberName %type_View 105 "View_DepthOfFieldFarTransitionRegion"
120 OpMemberName %type_View 106 "View_MotionBlurNormalizedToPixel"
121 OpMemberName %type_View 107 "View_bSubsurfacePostprocessEnabled"
122 OpMemberName %type_View 108 "View_GeneralPurposeTweak"
123 OpMemberName %type_View 109 "View_DemosaicVposOffset"
124 OpMemberName %type_View 110 "PrePadding_View_2348"
125 OpMemberName %type_View 111 "View_IndirectLightingColorScale"
126 OpMemberName %type_View 112 "View_HDR32bppEncodingMode"
127 OpMemberName %type_View 113 "View_AtmosphericFogSunDirection"
128 OpMemberName %type_View 114 "View_AtmosphericFogSunPower"
129 OpMemberName %type_View 115 "View_AtmosphericFogPower"
130 OpMemberName %type_View 116 "View_AtmosphericFogDensityScale"
131 OpMemberName %type_View 117 "View_AtmosphericFogDensityOffset"
132 OpMemberName %type_View 118 "View_AtmosphericFogGroundOffset"
133 OpMemberName %type_View 119 "View_AtmosphericFogDistanceScale"
134 OpMemberName %type_View 120 "View_AtmosphericFogAltitudeScale"
135 OpMemberName %type_View 121 "View_AtmosphericFogHeightScaleRayleigh"
136 OpMemberName %type_View 122 "View_AtmosphericFogStartDistance"
137 OpMemberName %type_View 123 "View_AtmosphericFogDistanceOffset"
138 OpMemberName %type_View 124 "View_AtmosphericFogSunDiscScale"
139 OpMemberName %type_View 125 "View_AtmosphericFogRenderMask"
140 OpMemberName %type_View 126 "View_AtmosphericFogInscatterAltitudeSampleNum"
141 OpMemberName %type_View 127 "View_AtmosphericFogSunColor"
142 OpMemberName %type_View 128 "View_NormalCurvatureToRoughnessScaleBias"
143 OpMemberName %type_View 129 "View_RenderingReflectionCaptureMask"
144 OpMemberName %type_View 130 "View_AmbientCubemapTint"
145 OpMemberName %type_View 131 "View_AmbientCubemapIntensity"
146 OpMemberName %type_View 132 "View_SkyLightParameters"
147 OpMemberName %type_View 133 "PrePadding_View_2488"
148 OpMemberName %type_View 134 "PrePadding_View_2492"
149 OpMemberName %type_View 135 "View_SkyLightColor"
150 OpMemberName %type_View 136 "View_SkyIrradianceEnvironmentMap"
151 OpMemberName %type_View 137 "View_MobilePreviewMode"
152 OpMemberName %type_View 138 "View_HMDEyePaddingOffset"
153 OpMemberName %type_View 139 "View_ReflectionCubemapMaxMip"
154 OpMemberName %type_View 140 "View_ShowDecalsMask"
155 OpMemberName %type_View 141 "View_DistanceFieldAOSpecularOcclusionMode"
156 OpMemberName %type_View 142 "View_IndirectCapsuleSelfShadowingIntensity"
157 OpMemberName %type_View 143 "PrePadding_View_2648"
158 OpMemberName %type_View 144 "PrePadding_View_2652"
159 OpMemberName %type_View 145 "View_ReflectionEnvironmentRoughnessMixingScaleBiasAndLargestWeight"
160 OpMemberName %type_View 146 "View_StereoPassIndex"
161 OpMemberName %type_View 147 "View_GlobalVolumeCenterAndExtent"
162 OpMemberName %type_View 148 "View_GlobalVolumeWorldToUVAddAndMul"
163 OpMemberName %type_View 149 "View_GlobalVolumeDimension"
164 OpMemberName %type_View 150 "View_GlobalVolumeTexelSize"
165 OpMemberName %type_View 151 "View_MaxGlobalDistance"
166 OpMemberName %type_View 152 "View_bCheckerboardSubsurfaceProfileRendering"
167 OpMemberName %type_View 153 "View_VolumetricFogInvGridSize"
168 OpMemberName %type_View 154 "PrePadding_View_2828"
169 OpMemberName %type_View 155 "View_VolumetricFogGridZParams"
170 OpMemberName %type_View 156 "PrePadding_View_2844"
171 OpMemberName %type_View 157 "View_VolumetricFogSVPosToVolumeUV"
172 OpMemberName %type_View 158 "View_VolumetricFogMaxDistance"
173 OpMemberName %type_View 159 "PrePadding_View_2860"
174 OpMemberName %type_View 160 "View_VolumetricLightmapWorldToUVScale"
175 OpMemberName %type_View 161 "PrePadding_View_2876"
176 OpMemberName %type_View 162 "View_VolumetricLightmapWorldToUVAdd"
177 OpMemberName %type_View 163 "PrePadding_View_2892"
178 OpMemberName %type_View 164 "View_VolumetricLightmapIndirectionTextureSize"
179 OpMemberName %type_View 165 "View_VolumetricLightmapBrickSize"
180 OpMemberName %type_View 166 "View_VolumetricLightmapBrickTexelSize"
181 OpMemberName %type_View 167 "View_StereoIPD"
182 OpMemberName %type_View 168 "View_IndirectLightingCacheShowFlag"
183 OpMemberName %type_View 169 "View_EyeToPixelSpreadAngle"
184 OpName %View "View"
185 OpName %type_MobileDirectionalLight "type.MobileDirectionalLight"
186 OpMemberName %type_MobileDirectionalLight 0 "MobileDirectionalLight_DirectionalLightColor"
187 OpMemberName %type_MobileDirectionalLight 1 "MobileDirectionalLight_DirectionalLightDirectionAndShadowTransition"
188 OpMemberName %type_MobileDirectionalLight 2 "MobileDirectionalLight_DirectionalLightShadowSize"
189 OpMemberName %type_MobileDirectionalLight 3 "MobileDirectionalLight_DirectionalLightDistanceFadeMAD"
190 OpMemberName %type_MobileDirectionalLight 4 "MobileDirectionalLight_DirectionalLightShadowDistances"
191 OpMemberName %type_MobileDirectionalLight 5 "MobileDirectionalLight_DirectionalLightScreenToShadow"
192 OpName %MobileDirectionalLight "MobileDirectionalLight"
193 OpName %type_2d_image "type.2d.image"
194 OpName %MobileDirectionalLight_DirectionalLightShadowTexture "MobileDirectionalLight_DirectionalLightShadowTexture"
195 OpName %type_sampler "type.sampler"
196 OpName %MobileDirectionalLight_DirectionalLightShadowSampler "MobileDirectionalLight_DirectionalLightShadowSampler"
197 OpName %Material_Texture2D_0 "Material_Texture2D_0"
198 OpName %Material_Texture2D_0Sampler "Material_Texture2D_0Sampler"
199 OpName %Material_Texture2D_1 "Material_Texture2D_1"
200 OpName %Material_Texture2D_1Sampler "Material_Texture2D_1Sampler"
201 OpName %type__Globals "type.$Globals"
202 OpMemberName %type__Globals 0 "NumDynamicPointLights"
203 OpMemberName %type__Globals 1 "LightPositionAndInvRadius"
204 OpMemberName %type__Globals 2 "LightColorAndFalloffExponent"
205 OpMemberName %type__Globals 3 "MobileReflectionParams"
206 OpName %_Globals "$Globals"
207 OpName %type_cube_image "type.cube.image"
208 OpName %ReflectionCubemap "ReflectionCubemap"
209 OpName %ReflectionCubemapSampler "ReflectionCubemapSampler"
210 OpName %in_var_TEXCOORD0 "in.var.TEXCOORD0"
211 OpName %in_var_TEXCOORD7 "in.var.TEXCOORD7"
212 OpName %in_var_TEXCOORD8 "in.var.TEXCOORD8"
213 OpName %out_var_SV_Target0 "out.var.SV_Target0"
214 OpName %Main "Main"
215 OpName %type_sampled_image "type.sampled.image"
216 OpName %type_sampled_image_0 "type.sampled.image"
217 OpDecorateString %in_var_TEXCOORD0 UserSemantic "TEXCOORD0"
218 OpDecorateString %in_var_TEXCOORD7 UserSemantic "TEXCOORD7"
219 OpDecorateString %in_var_TEXCOORD8 UserSemantic "TEXCOORD8"
220 OpDecorate %gl_FragCoord BuiltIn FragCoord
221 OpDecorateString %gl_FragCoord UserSemantic "SV_Position"
222 OpDecorate %gl_FrontFacing BuiltIn FrontFacing
223 OpDecorateString %gl_FrontFacing UserSemantic "SV_IsFrontFace"
224 OpDecorate %gl_FrontFacing Flat
225 OpDecorateString %out_var_SV_Target0 UserSemantic "SV_Target0"
226 OpDecorate %in_var_TEXCOORD0 Location 0
227 OpDecorate %in_var_TEXCOORD7 Location 1
228 OpDecorate %in_var_TEXCOORD8 Location 2
229 OpDecorate %out_var_SV_Target0 Location 0
230 OpDecorate %View DescriptorSet 0
231 OpDecorate %View Binding 0
232 OpDecorate %MobileDirectionalLight DescriptorSet 0
233 OpDecorate %MobileDirectionalLight Binding 1
234 OpDecorate %MobileDirectionalLight_DirectionalLightShadowTexture DescriptorSet 0
235 OpDecorate %MobileDirectionalLight_DirectionalLightShadowTexture Binding 0
236 OpDecorate %MobileDirectionalLight_DirectionalLightShadowSampler DescriptorSet 0
237 OpDecorate %MobileDirectionalLight_DirectionalLightShadowSampler Binding 0
238 OpDecorate %Material_Texture2D_0 DescriptorSet 0
239 OpDecorate %Material_Texture2D_0 Binding 1
240 OpDecorate %Material_Texture2D_0Sampler DescriptorSet 0
241 OpDecorate %Material_Texture2D_0Sampler Binding 1
242 OpDecorate %Material_Texture2D_1 DescriptorSet 0
243 OpDecorate %Material_Texture2D_1 Binding 2
244 OpDecorate %Material_Texture2D_1Sampler DescriptorSet 0
245 OpDecorate %Material_Texture2D_1Sampler Binding 2
246 OpDecorate %_Globals DescriptorSet 0
247 OpDecorate %_Globals Binding 2
248 OpDecorate %ReflectionCubemap DescriptorSet 0
249 OpDecorate %ReflectionCubemap Binding 3
250 OpDecorate %ReflectionCubemapSampler DescriptorSet 0
251 OpDecorate %ReflectionCubemapSampler Binding 3
252 OpDecorate %_arr_v4float_uint_2 ArrayStride 16
253 OpDecorate %_arr_v4float_uint_7 ArrayStride 16
254 OpDecorate %_arr_v4float_uint_4 ArrayStride 16
255 OpMemberDecorate %type_View 0 Offset 0
256 OpMemberDecorate %type_View 0 MatrixStride 16
257 OpMemberDecorate %type_View 0 ColMajor
258 OpMemberDecorate %type_View 1 Offset 64
259 OpMemberDecorate %type_View 1 MatrixStride 16
260 OpMemberDecorate %type_View 1 ColMajor
261 OpMemberDecorate %type_View 2 Offset 128
262 OpMemberDecorate %type_View 2 MatrixStride 16
263 OpMemberDecorate %type_View 2 ColMajor
264 OpMemberDecorate %type_View 3 Offset 192
265 OpMemberDecorate %type_View 3 MatrixStride 16
266 OpMemberDecorate %type_View 3 ColMajor
267 OpMemberDecorate %type_View 4 Offset 256
268 OpMemberDecorate %type_View 4 MatrixStride 16
269 OpMemberDecorate %type_View 4 ColMajor
270 OpMemberDecorate %type_View 5 Offset 320
271 OpMemberDecorate %type_View 5 MatrixStride 16
272 OpMemberDecorate %type_View 5 ColMajor
273 OpMemberDecorate %type_View 6 Offset 384
274 OpMemberDecorate %type_View 6 MatrixStride 16
275 OpMemberDecorate %type_View 6 ColMajor
276 OpMemberDecorate %type_View 7 Offset 448
277 OpMemberDecorate %type_View 7 MatrixStride 16
278 OpMemberDecorate %type_View 7 ColMajor
279 OpMemberDecorate %type_View 8 Offset 512
280 OpMemberDecorate %type_View 8 MatrixStride 16
281 OpMemberDecorate %type_View 8 ColMajor
282 OpMemberDecorate %type_View 9 Offset 576
283 OpMemberDecorate %type_View 9 MatrixStride 16
284 OpMemberDecorate %type_View 9 ColMajor
285 OpMemberDecorate %type_View 10 Offset 640
286 OpMemberDecorate %type_View 10 MatrixStride 16
287 OpMemberDecorate %type_View 10 ColMajor
288 OpMemberDecorate %type_View 11 Offset 704
289 OpMemberDecorate %type_View 11 MatrixStride 16
290 OpMemberDecorate %type_View 11 ColMajor
291 OpMemberDecorate %type_View 12 Offset 768
292 OpMemberDecorate %type_View 12 MatrixStride 16
293 OpMemberDecorate %type_View 12 ColMajor
294 OpMemberDecorate %type_View 13 Offset 832
295 OpMemberDecorate %type_View 14 Offset 844
296 OpMemberDecorate %type_View 15 Offset 848
297 OpMemberDecorate %type_View 16 Offset 860
298 OpMemberDecorate %type_View 17 Offset 864
299 OpMemberDecorate %type_View 18 Offset 876
300 OpMemberDecorate %type_View 19 Offset 880
301 OpMemberDecorate %type_View 20 Offset 892
302 OpMemberDecorate %type_View 21 Offset 896
303 OpMemberDecorate %type_View 22 Offset 908
304 OpMemberDecorate %type_View 23 Offset 912
305 OpMemberDecorate %type_View 24 Offset 928
306 OpMemberDecorate %type_View 25 Offset 944
307 OpMemberDecorate %type_View 26 Offset 956
308 OpMemberDecorate %type_View 27 Offset 960
309 OpMemberDecorate %type_View 28 Offset 972
310 OpMemberDecorate %type_View 29 Offset 976
311 OpMemberDecorate %type_View 30 Offset 988
312 OpMemberDecorate %type_View 31 Offset 992
313 OpMemberDecorate %type_View 32 Offset 1004
314 OpMemberDecorate %type_View 33 Offset 1008
315 OpMemberDecorate %type_View 33 MatrixStride 16
316 OpMemberDecorate %type_View 33 ColMajor
317 OpMemberDecorate %type_View 34 Offset 1072
318 OpMemberDecorate %type_View 34 MatrixStride 16
319 OpMemberDecorate %type_View 34 ColMajor
320 OpMemberDecorate %type_View 35 Offset 1136
321 OpMemberDecorate %type_View 35 MatrixStride 16
322 OpMemberDecorate %type_View 35 ColMajor
323 OpMemberDecorate %type_View 36 Offset 1200
324 OpMemberDecorate %type_View 36 MatrixStride 16
325 OpMemberDecorate %type_View 36 ColMajor
326 OpMemberDecorate %type_View 37 Offset 1264
327 OpMemberDecorate %type_View 37 MatrixStride 16
328 OpMemberDecorate %type_View 37 ColMajor
329 OpMemberDecorate %type_View 38 Offset 1328
330 OpMemberDecorate %type_View 38 MatrixStride 16
331 OpMemberDecorate %type_View 38 ColMajor
332 OpMemberDecorate %type_View 39 Offset 1392
333 OpMemberDecorate %type_View 39 MatrixStride 16
334 OpMemberDecorate %type_View 39 ColMajor
335 OpMemberDecorate %type_View 40 Offset 1456
336 OpMemberDecorate %type_View 40 MatrixStride 16
337 OpMemberDecorate %type_View 40 ColMajor
338 OpMemberDecorate %type_View 41 Offset 1520
339 OpMemberDecorate %type_View 41 MatrixStride 16
340 OpMemberDecorate %type_View 41 ColMajor
341 OpMemberDecorate %type_View 42 Offset 1584
342 OpMemberDecorate %type_View 42 MatrixStride 16
343 OpMemberDecorate %type_View 42 ColMajor
344 OpMemberDecorate %type_View 43 Offset 1648
345 OpMemberDecorate %type_View 44 Offset 1660
346 OpMemberDecorate %type_View 45 Offset 1664
347 OpMemberDecorate %type_View 46 Offset 1676
348 OpMemberDecorate %type_View 47 Offset 1680
349 OpMemberDecorate %type_View 48 Offset 1692
350 OpMemberDecorate %type_View 49 Offset 1696
351 OpMemberDecorate %type_View 49 MatrixStride 16
352 OpMemberDecorate %type_View 49 ColMajor
353 OpMemberDecorate %type_View 50 Offset 1760
354 OpMemberDecorate %type_View 50 MatrixStride 16
355 OpMemberDecorate %type_View 50 ColMajor
356 OpMemberDecorate %type_View 51 Offset 1824
357 OpMemberDecorate %type_View 51 MatrixStride 16
358 OpMemberDecorate %type_View 51 ColMajor
359 OpMemberDecorate %type_View 52 Offset 1888
360 OpMemberDecorate %type_View 53 Offset 1904
361 OpMemberDecorate %type_View 54 Offset 1920
362 OpMemberDecorate %type_View 55 Offset 1928
363 OpMemberDecorate %type_View 56 Offset 1936
364 OpMemberDecorate %type_View 57 Offset 1952
365 OpMemberDecorate %type_View 58 Offset 1968
366 OpMemberDecorate %type_View 59 Offset 1984
367 OpMemberDecorate %type_View 60 Offset 2000
368 OpMemberDecorate %type_View 61 Offset 2004
369 OpMemberDecorate %type_View 62 Offset 2008
370 OpMemberDecorate %type_View 63 Offset 2012
371 OpMemberDecorate %type_View 64 Offset 2016
372 OpMemberDecorate %type_View 65 Offset 2032
373 OpMemberDecorate %type_View 66 Offset 2048
374 OpMemberDecorate %type_View 67 Offset 2064
375 OpMemberDecorate %type_View 68 Offset 2072
376 OpMemberDecorate %type_View 69 Offset 2076
377 OpMemberDecorate %type_View 70 Offset 2080
378 OpMemberDecorate %type_View 71 Offset 2084
379 OpMemberDecorate %type_View 72 Offset 2088
380 OpMemberDecorate %type_View 73 Offset 2092
381 OpMemberDecorate %type_View 74 Offset 2096
382 OpMemberDecorate %type_View 75 Offset 2108
383 OpMemberDecorate %type_View 76 Offset 2112
384 OpMemberDecorate %type_View 77 Offset 2116
385 OpMemberDecorate %type_View 78 Offset 2120
386 OpMemberDecorate %type_View 79 Offset 2124
387 OpMemberDecorate %type_View 80 Offset 2128
388 OpMemberDecorate %type_View 81 Offset 2132
389 OpMemberDecorate %type_View 82 Offset 2136
390 OpMemberDecorate %type_View 83 Offset 2140
391 OpMemberDecorate %type_View 84 Offset 2144
392 OpMemberDecorate %type_View 85 Offset 2148
393 OpMemberDecorate %type_View 86 Offset 2152
394 OpMemberDecorate %type_View 87 Offset 2156
395 OpMemberDecorate %type_View 88 Offset 2160
396 OpMemberDecorate %type_View 89 Offset 2164
397 OpMemberDecorate %type_View 90 Offset 2168
398 OpMemberDecorate %type_View 91 Offset 2172
399 OpMemberDecorate %type_View 92 Offset 2176
400 OpMemberDecorate %type_View 93 Offset 2192
401 OpMemberDecorate %type_View 94 Offset 2204
402 OpMemberDecorate %type_View 95 Offset 2208
403 OpMemberDecorate %type_View 96 Offset 2240
404 OpMemberDecorate %type_View 97 Offset 2272
405 OpMemberDecorate %type_View 98 Offset 2288
406 OpMemberDecorate %type_View 99 Offset 2304
407 OpMemberDecorate %type_View 100 Offset 2308
408 OpMemberDecorate %type_View 101 Offset 2312
409 OpMemberDecorate %type_View 102 Offset 2316
410 OpMemberDecorate %type_View 103 Offset 2320
411 OpMemberDecorate %type_View 104 Offset 2324
412 OpMemberDecorate %type_View 105 Offset 2328
413 OpMemberDecorate %type_View 106 Offset 2332
414 OpMemberDecorate %type_View 107 Offset 2336
415 OpMemberDecorate %type_View 108 Offset 2340
416 OpMemberDecorate %type_View 109 Offset 2344
417 OpMemberDecorate %type_View 110 Offset 2348
418 OpMemberDecorate %type_View 111 Offset 2352
419 OpMemberDecorate %type_View 112 Offset 2364
420 OpMemberDecorate %type_View 113 Offset 2368
421 OpMemberDecorate %type_View 114 Offset 2380
422 OpMemberDecorate %type_View 115 Offset 2384
423 OpMemberDecorate %type_View 116 Offset 2388
424 OpMemberDecorate %type_View 117 Offset 2392
425 OpMemberDecorate %type_View 118 Offset 2396
426 OpMemberDecorate %type_View 119 Offset 2400
427 OpMemberDecorate %type_View 120 Offset 2404
428 OpMemberDecorate %type_View 121 Offset 2408
429 OpMemberDecorate %type_View 122 Offset 2412
430 OpMemberDecorate %type_View 123 Offset 2416
431 OpMemberDecorate %type_View 124 Offset 2420
432 OpMemberDecorate %type_View 125 Offset 2424
433 OpMemberDecorate %type_View 126 Offset 2428
434 OpMemberDecorate %type_View 127 Offset 2432
435 OpMemberDecorate %type_View 128 Offset 2448
436 OpMemberDecorate %type_View 129 Offset 2460
437 OpMemberDecorate %type_View 130 Offset 2464
438 OpMemberDecorate %type_View 131 Offset 2480
439 OpMemberDecorate %type_View 132 Offset 2484
440 OpMemberDecorate %type_View 133 Offset 2488
441 OpMemberDecorate %type_View 134 Offset 2492
442 OpMemberDecorate %type_View 135 Offset 2496
443 OpMemberDecorate %type_View 136 Offset 2512
444 OpMemberDecorate %type_View 137 Offset 2624
445 OpMemberDecorate %type_View 138 Offset 2628
446 OpMemberDecorate %type_View 139 Offset 2632
447 OpMemberDecorate %type_View 140 Offset 2636
448 OpMemberDecorate %type_View 141 Offset 2640
449 OpMemberDecorate %type_View 142 Offset 2644
450 OpMemberDecorate %type_View 143 Offset 2648
451 OpMemberDecorate %type_View 144 Offset 2652
452 OpMemberDecorate %type_View 145 Offset 2656
453 OpMemberDecorate %type_View 146 Offset 2668
454 OpMemberDecorate %type_View 147 Offset 2672
455 OpMemberDecorate %type_View 148 Offset 2736
456 OpMemberDecorate %type_View 149 Offset 2800
457 OpMemberDecorate %type_View 150 Offset 2804
458 OpMemberDecorate %type_View 151 Offset 2808
459 OpMemberDecorate %type_View 152 Offset 2812
460 OpMemberDecorate %type_View 153 Offset 2816
461 OpMemberDecorate %type_View 154 Offset 2828
462 OpMemberDecorate %type_View 155 Offset 2832
463 OpMemberDecorate %type_View 156 Offset 2844
464 OpMemberDecorate %type_View 157 Offset 2848
465 OpMemberDecorate %type_View 158 Offset 2856
466 OpMemberDecorate %type_View 159 Offset 2860
467 OpMemberDecorate %type_View 160 Offset 2864
468 OpMemberDecorate %type_View 161 Offset 2876
469 OpMemberDecorate %type_View 162 Offset 2880
470 OpMemberDecorate %type_View 163 Offset 2892
471 OpMemberDecorate %type_View 164 Offset 2896
472 OpMemberDecorate %type_View 165 Offset 2908
473 OpMemberDecorate %type_View 166 Offset 2912
474 OpMemberDecorate %type_View 167 Offset 2924
475 OpMemberDecorate %type_View 168 Offset 2928
476 OpMemberDecorate %type_View 169 Offset 2932
477 OpDecorate %type_View Block
478 OpDecorate %_arr_mat4v4float_uint_4 ArrayStride 64
479 OpMemberDecorate %type_MobileDirectionalLight 0 Offset 0
480 OpMemberDecorate %type_MobileDirectionalLight 1 Offset 16
481 OpMemberDecorate %type_MobileDirectionalLight 2 Offset 32
482 OpMemberDecorate %type_MobileDirectionalLight 3 Offset 48
483 OpMemberDecorate %type_MobileDirectionalLight 4 Offset 64
484 OpMemberDecorate %type_MobileDirectionalLight 5 Offset 80
485 OpMemberDecorate %type_MobileDirectionalLight 5 MatrixStride 16
486 OpMemberDecorate %type_MobileDirectionalLight 5 ColMajor
487 OpDecorate %type_MobileDirectionalLight Block
488 OpMemberDecorate %type__Globals 0 Offset 0
489 OpMemberDecorate %type__Globals 1 Offset 16
490 OpMemberDecorate %type__Globals 2 Offset 80
491 OpMemberDecorate %type__Globals 3 Offset 144
492 OpDecorate %type__Globals Block
493 %float = OpTypeFloat 32
494 %v4float = OpTypeVector %float 4
495 %mat4v4float = OpTypeMatrix %v4float 4
496 %v3float = OpTypeVector %float 3
497 %v2float = OpTypeVector %float 2
498 %int = OpTypeInt 32 1
499 %uint = OpTypeInt 32 0
500 %uint_2 = OpConstant %uint 2
501 %uint_7 = OpConstant %uint 7
502 %uint_4 = OpConstant %uint 4
503 %int_1 = OpConstant %int 1
504 %int_2 = OpConstant %int 2
505 %int_4 = OpConstant %int 4
506 %float_0 = OpConstant %float 0
507 %int_3 = OpConstant %int 3
508 %47 = OpConstantComposite %v3float %float_0 %float_0 %float_0
509 %float_1 = OpConstant %float 1
510 %int_0 = OpConstant %int 0
511 %bool = OpTypeBool
512 %int_5 = OpConstant %int 5
513 %52 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
514 %float_0_999989986 = OpConstant %float 0.999989986
515 %float_65000 = OpConstant %float 65000
516 %55 = OpConstantComposite %v3float %float_65000 %float_65000 %float_65000
517 %float_0_318309873 = OpConstant %float 0.318309873
518 %57 = OpConstantComposite %v3float %float_0_318309873 %float_0_318309873 %float_0_318309873
519 %float_65500 = OpConstant %float 65500
520 %float_0_5 = OpConstant %float 0.5
521 %60 = OpConstantComposite %v2float %float_0_5 %float_0_5
522 %float_2 = OpConstant %float 2
523 %float_n2 = OpConstant %float -2
524 %63 = OpConstantComposite %v2float %float_2 %float_n2
525 %64 = OpConstantComposite %v3float %float_1 %float_1 %float_1
526 %float_0_119999997 = OpConstant %float 0.119999997
527 %float_n1 = OpConstant %float -1
528 %float_n0_0274999999 = OpConstant %float -0.0274999999
529 %68 = OpConstantComposite %v2float %float_n1 %float_n0_0274999999
530 %float_0_0425000004 = OpConstant %float 0.0425000004
531 %70 = OpConstantComposite %v2float %float_1 %float_0_0425000004
532 %float_n9_27999973 = OpConstant %float -9.27999973
533 %72 = OpConstantComposite %v2float %float_1 %float_1
534 %float_0_25 = OpConstant %float 0.25
535 %float_16 = OpConstant %float 16
536 %int_31 = OpConstant %int 31
537 %int_56 = OpConstant %int 56
538 %int_57 = OpConstant %int 57
539 %int_64 = OpConstant %int 64
540 %int_65 = OpConstant %int 65
541 %int_66 = OpConstant %int 66
542 %int_67 = OpConstant %int 67
543 %int_88 = OpConstant %int 88
544 %int_135 = OpConstant %int 135
545 %int_139 = OpConstant %int 139
546 %mat3v3float = OpTypeMatrix %v3float 3
547 %86 = OpConstantComposite %v2float %float_2 %float_2
548 %float_0_300000012 = OpConstant %float 0.300000012
549 %88 = OpConstantComposite %v3float %float_0_300000012 %float_0_300000012 %float_1
550 %float_20 = OpConstant %float 20
551 %90 = OpConstantComposite %v2float %float_20 %float_20
552 %float_0_400000006 = OpConstant %float 0.400000006
553 %float_24 = OpConstant %float 24
554 %float_0_294999987 = OpConstant %float 0.294999987
555 %float_0_660000026 = OpConstant %float 0.660000026
556 %float_0_699999988 = OpConstant %float 0.699999988
557 %float_65504 = OpConstant %float 65504
558 %float_1_20000005 = OpConstant %float 1.20000005
559 %98 = OpConstantComposite %v3float %float_2 %float_2 %float_2
560 %_arr_v4float_uint_2 = OpTypeArray %v4float %uint_2
561 %_arr_v4float_uint_7 = OpTypeArray %v4float %uint_7
562 %_arr_v4float_uint_4 = OpTypeArray %v4float %uint_4
563 %type_View = OpTypeStruct %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %v3float %float %v3float %float %v3float %float %v3float %float %v3float %float %v4float %v4float %v3float %float %v3float %float %v3float %float %v3float %float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %v3float %float %v3float %float %v3float %float %mat4v4float %mat4v4float %mat4v4float %v4float %v4float %v2float %v2float %v4float %v4float %v4float %v4float %int %float %float %float %v4float %v4float %v4float %v2float %float %float %float %float %float %float %v3float %float %float %float %float %float %float %float %float %uint %uint %uint %uint %float %float %float %float %float %v4float %v3float %float %_arr_v4float_uint_2 %_arr_v4float_uint_2 %v4float %v4float %float %float %float %float %float %float %float %float %float %float %float %float %v3float %float %v3float %float %float %float %float %float %float %float %float %float %float %float %uint %uint %v4float %v3float %float %v4float %float %float %float %float %v4float %_arr_v4float_uint_7 %float %float %float %float %uint %float %float %float %v3float %int %_arr_v4float_uint_4 %_arr_v4float_uint_4 %float %float %float %float %v3float %float %v3float %float %v2float %float %float %v3float %float %v3float %float %v3float %float %v3float %float %float %float
564 %_ptr_Uniform_type_View = OpTypePointer Uniform %type_View
565 %_arr_mat4v4float_uint_4 = OpTypeArray %mat4v4float %uint_4
566 %type_MobileDirectionalLight = OpTypeStruct %v4float %v4float %v4float %v4float %v4float %_arr_mat4v4float_uint_4
567 %_ptr_Uniform_type_MobileDirectionalLight = OpTypePointer Uniform %type_MobileDirectionalLight
568 %type_2d_image = OpTypeImage %float 2D 2 0 0 1 Unknown
569 %_ptr_UniformConstant_type_2d_image = OpTypePointer UniformConstant %type_2d_image
570 %type_sampler = OpTypeSampler
571 %_ptr_UniformConstant_type_sampler = OpTypePointer UniformConstant %type_sampler
572 %type__Globals = OpTypeStruct %int %_arr_v4float_uint_4 %_arr_v4float_uint_4 %v4float
573 %_ptr_Uniform_type__Globals = OpTypePointer Uniform %type__Globals
574 %type_cube_image = OpTypeImage %float Cube 2 0 0 1 Unknown
575 %_ptr_UniformConstant_type_cube_image = OpTypePointer UniformConstant %type_cube_image
576 %_ptr_Input_v2float = OpTypePointer Input %v2float
577 %_ptr_Input_v4float = OpTypePointer Input %v4float
578 %_ptr_Input_bool = OpTypePointer Input %bool
579 %_ptr_Output_v4float = OpTypePointer Output %v4float
580 %void = OpTypeVoid
581 %110 = OpTypeFunction %void
582 %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
583 %_ptr_Uniform_float = OpTypePointer Uniform %float
584 %_ptr_Uniform_mat4v4float = OpTypePointer Uniform %mat4v4float
585 %_ptr_Uniform_int = OpTypePointer Uniform %int
586 %type_sampled_image = OpTypeSampledImage %type_cube_image
587 %_ptr_Uniform_v3float = OpTypePointer Uniform %v3float
588 %_ptr_Uniform_v2float = OpTypePointer Uniform %v2float
589 %type_sampled_image_0 = OpTypeSampledImage %type_2d_image
590 %View = OpVariable %_ptr_Uniform_type_View Uniform
591 %MobileDirectionalLight = OpVariable %_ptr_Uniform_type_MobileDirectionalLight Uniform
592 %MobileDirectionalLight_DirectionalLightShadowTexture = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
593 %MobileDirectionalLight_DirectionalLightShadowSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
594 %Material_Texture2D_0 = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
595 %Material_Texture2D_0Sampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
596 %Material_Texture2D_1 = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
597 %Material_Texture2D_1Sampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
598 %_Globals = OpVariable %_ptr_Uniform_type__Globals Uniform
599 %ReflectionCubemap = OpVariable %_ptr_UniformConstant_type_cube_image UniformConstant
600 %ReflectionCubemapSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
601 %in_var_TEXCOORD0 = OpVariable %_ptr_Input_v2float Input
602 %in_var_TEXCOORD7 = OpVariable %_ptr_Input_v4float Input
603 %in_var_TEXCOORD8 = OpVariable %_ptr_Input_v4float Input
604 %gl_FragCoord = OpVariable %_ptr_Input_v4float Input
605 %gl_FrontFacing = OpVariable %_ptr_Input_bool Input
606 %out_var_SV_Target0 = OpVariable %_ptr_Output_v4float Output
607 %117 = OpConstantComposite %v3float %float_1 %float_0 %float_0
608 %118 = OpConstantComposite %v3float %float_0 %float_1 %float_0
609 %119 = OpConstantComposite %v3float %float_0 %float_0 %float_1
610 %120 = OpConstantComposite %mat3v3float %117 %118 %119
611 %float_10 = OpConstant %float 10
612 %122 = OpConstantComposite %v2float %float_10 %float_10
613 %float_5 = OpConstant %float 5
614 %124 = OpConstantComposite %v2float %float_5 %float_5
615 %float_0_00066666666 = OpConstant %float 0.00066666666
616 %float_n0_5 = OpConstant %float -0.5
617 %127 = OpConstantComposite %v2float %float_n0_5 %float_n0_5
618 %128 = OpConstantComposite %v2float %float_0_5 %float_n0_5
619 %float_1_5 = OpConstant %float 1.5
620 %130 = OpConstantComposite %v2float %float_1_5 %float_n0_5
621 %131 = OpConstantComposite %v2float %float_n0_5 %float_0_5
622 %132 = OpConstantComposite %v2float %float_1_5 %float_0_5
623 %133 = OpConstantComposite %v2float %float_n0_5 %float_1_5
624 %134 = OpConstantComposite %v2float %float_0_5 %float_1_5
625 %135 = OpConstantComposite %v2float %float_1_5 %float_1_5
626 %136 = OpUndef %v3float
627 %137 = OpUndef %v4float
628 %138 = OpUndef %float
629 %139 = OpUndef %v3float
630 %Main = OpFunction %void None %110
631 %140 = OpLabel
632 %141 = OpLoad %v2float %in_var_TEXCOORD0
633 %142 = OpLoad %v4float %in_var_TEXCOORD7
634 %143 = OpLoad %v4float %in_var_TEXCOORD8
635 %144 = OpLoad %v4float %gl_FragCoord
636 %145 = OpAccessChain %_ptr_Uniform_v3float %View %int_31
637 %146 = OpLoad %v3float %145
638 %147 = OpAccessChain %_ptr_Uniform_v4float %View %int_56
639 %148 = OpLoad %v4float %147
640 %149 = OpAccessChain %_ptr_Uniform_v4float %View %int_57
641 %150 = OpLoad %v4float %149
642 %151 = OpAccessChain %_ptr_Uniform_v4float %View %int_64
643 %152 = OpLoad %v4float %151
644 %153 = OpAccessChain %_ptr_Uniform_v4float %View %int_65
645 %154 = OpLoad %v4float %153
646 %155 = OpAccessChain %_ptr_Uniform_v4float %View %int_66
647 %156 = OpLoad %v4float %155
648 %157 = OpAccessChain %_ptr_Uniform_v2float %View %int_67
649 %158 = OpLoad %v2float %157
650 %159 = OpAccessChain %_ptr_Uniform_float %View %int_88
651 %160 = OpLoad %float %159
652 %161 = OpAccessChain %_ptr_Uniform_v4float %View %int_135
653 %162 = OpLoad %v4float %161
654 %163 = OpAccessChain %_ptr_Uniform_float %View %int_139
655 %164 = OpLoad %float %163
656 %165 = OpVectorShuffle %v2float %144 %144 0 1
657 %166 = OpVectorShuffle %v2float %148 %148 0 1
658 %167 = OpFSub %v2float %165 %166
659 %168 = OpVectorShuffle %v2float %150 %150 2 3
660 %169 = OpFMul %v2float %167 %168
661 %170 = OpFSub %v2float %169 %60
662 %171 = OpFMul %v2float %170 %63
663 %172 = OpCompositeExtract %float %171 0
664 %173 = OpCompositeExtract %float %171 1
665 %174 = OpCompositeConstruct %v4float %172 %173 %138 %float_1
666 %175 = OpCompositeExtract %float %144 3
667 %176 = OpCompositeConstruct %v4float %175 %175 %175 %175
668 %177 = OpFMul %v4float %174 %176
669 %178 = OpVectorShuffle %v3float %143 %143 0 1 2
670 %179 = OpFSub %v3float %178 %146
671 %180 = OpFNegate %v3float %178
672 %181 = OpExtInst %v3float %1 Normalize %180
673 %182 = OpFMul %v2float %141 %60
674 %183 = OpFMul %v2float %141 %122
675 %184 = OpLoad %type_2d_image %Material_Texture2D_0
676 %185 = OpLoad %type_sampler %Material_Texture2D_0Sampler
677 %186 = OpSampledImage %type_sampled_image_0 %184 %185
678 %187 = OpImageSampleImplicitLod %v4float %186 %183 None
679 %188 = OpVectorShuffle %v2float %187 %187 0 1
680 %189 = OpFMul %v2float %188 %86
681 %190 = OpFSub %v2float %189 %72
682 %191 = OpDot %float %190 %190
683 %192 = OpFSub %float %float_1 %191
684 %193 = OpExtInst %float %1 FClamp %192 %float_0 %float_1
685 %194 = OpExtInst %float %1 Sqrt %193
686 %195 = OpCompositeExtract %float %190 0
687 %196 = OpCompositeExtract %float %190 1
688 %197 = OpCompositeConstruct %v4float %195 %196 %194 %float_1
689 %198 = OpVectorShuffle %v3float %197 %197 0 1 2
690 %199 = OpFMul %v3float %198 %88
691 %200 = OpVectorShuffle %v3float %156 %156 0 1 2
692 %201 = OpCompositeExtract %float %156 3
693 %202 = OpCompositeConstruct %v3float %201 %201 %201
694 %203 = OpFMul %v3float %199 %202
695 %204 = OpFAdd %v3float %203 %200
696 %205 = OpMatrixTimesVector %v3float %120 %204
697 %206 = OpExtInst %v3float %1 Normalize %205
698 %207 = OpFNegate %v3float %181
699 %208 = OpDot %float %206 %181
700 %209 = OpCompositeConstruct %v3float %208 %208 %208
701 %210 = OpFMul %v3float %206 %209
702 %211 = OpFMul %v3float %210 %98
703 %212 = OpFAdd %v3float %207 %211
704 %213 = OpFMul %v2float %141 %90
705 %214 = OpLoad %type_2d_image %Material_Texture2D_1
706 %215 = OpLoad %type_sampler %Material_Texture2D_1Sampler
707 %216 = OpSampledImage %type_sampled_image_0 %214 %215
708 %217 = OpImageSampleImplicitLod %v4float %216 %213 None
709 %218 = OpCompositeExtract %float %217 0
710 %219 = OpExtInst %float %1 FMix %float_0_400000006 %float_1 %218
711 %220 = OpFSub %float %float_1 %219
712 %221 = OpFMul %v2float %141 %124
713 %222 = OpSampledImage %type_sampled_image_0 %214 %215
714 %223 = OpImageSampleImplicitLod %v4float %222 %221 None
715 %224 = OpCompositeExtract %float %177 3
716 %225 = OpFSub %float %224 %float_24
717 %226 = OpFMul %float %225 %float_0_00066666666
718 %227 = OpExtInst %float %1 FMax %226 %float_0
719 %228 = OpExtInst %float %1 FMin %227 %float_1
720 %229 = OpCompositeExtract %float %223 1
721 %230 = OpExtInst %float %1 FMix %229 %float_1 %228
722 %231 = OpExtInst %float %1 FMix %219 %220 %230
723 %232 = OpSampledImage %type_sampled_image_0 %214 %215
724 %233 = OpImageSampleImplicitLod %v4float %232 %182 None
725 %234 = OpExtInst %float %1 FMix %229 %float_0 %228
726 %235 = OpCompositeExtract %float %233 1
727 %236 = OpFAdd %float %235 %234
728 %237 = OpExtInst %float %1 FMix %236 %float_0_5 %float_0_5
729 %238 = OpExtInst %float %1 FMix %float_0_294999987 %float_0_660000026 %237
730 %239 = OpFMul %float %238 %float_0_5
731 %240 = OpFMul %float %231 %239
732 %241 = OpExtInst %float %1 FMix %float_0 %float_0_5 %235
733 %242 = OpExtInst %float %1 FMix %float_0_699999988 %float_1 %229
734 %243 = OpExtInst %float %1 FMix %242 %float_1 %228
735 %244 = OpFAdd %float %241 %243
736 %245 = OpExtInst %float %1 FMax %244 %float_0
737 %246 = OpExtInst %float %1 FMin %245 %float_1
738 %247 = OpCompositeConstruct %v3float %240 %240 %240
739 %248 = OpExtInst %v3float %1 FClamp %247 %47 %64
740 %249 = OpCompositeExtract %float %158 1
741 %250 = OpFMul %float %246 %249
742 %251 = OpCompositeExtract %float %158 0
743 %252 = OpFAdd %float %250 %251
744 %253 = OpExtInst %float %1 FClamp %252 %float_0_119999997 %float_1
745 %254 = OpExtInst %float %1 FMax %208 %float_0
746 %255 = OpCompositeConstruct %v2float %253 %253
747 %256 = OpFMul %v2float %255 %68
748 %257 = OpFAdd %v2float %256 %70
749 %258 = OpCompositeExtract %float %257 0
750 %259 = OpFMul %float %258 %258
751 %260 = OpFMul %float %float_n9_27999973 %254
752 %261 = OpExtInst %float %1 Exp2 %260
753 %262 = OpExtInst %float %1 FMin %259 %261
754 %263 = OpFMul %float %262 %258
755 %264 = OpCompositeExtract %float %257 1
756 %265 = OpFAdd %float %263 %264
757 %266 = OpCompositeExtract %float %152 3
758 %267 = OpCompositeConstruct %v3float %266 %266 %266
759 %268 = OpFMul %v3float %248 %267
760 %269 = OpVectorShuffle %v3float %152 %152 0 1 2
761 %270 = OpFAdd %v3float %268 %269
762 %271 = OpCompositeExtract %float %154 3
763 %272 = OpFMul %float %265 %271
764 %273 = OpCompositeConstruct %v3float %272 %272 %272
765 %274 = OpVectorShuffle %v3float %154 %154 0 1 2
766 %275 = OpFAdd %v3float %273 %274
767 %276 = OpCompositeExtract %float %275 0
768 %277 = OpExtInst %float %1 FClamp %float_1 %float_0 %float_1
769 %278 = OpLoad %type_2d_image %MobileDirectionalLight_DirectionalLightShadowTexture
770 %279 = OpLoad %type_sampler %MobileDirectionalLight_DirectionalLightShadowSampler
771 %280 = OpAccessChain %_ptr_Uniform_v4float %MobileDirectionalLight %int_1
772 %281 = OpAccessChain %_ptr_Uniform_float %MobileDirectionalLight %int_1 %int_3
773 %282 = OpLoad %float %281
774 %283 = OpAccessChain %_ptr_Uniform_v4float %MobileDirectionalLight %int_2
775 %284 = OpLoad %v4float %283
776 OpBranch %285
777 %285 = OpLabel
778 %286 = OpPhi %int %int_0 %140 %287 %288
779 %289 = OpSLessThan %bool %286 %int_2
780 OpLoopMerge %290 %288 None
781 OpBranchConditional %289 %291 %290
782 %291 = OpLabel
783 %292 = OpBitcast %uint %286
784 %293 = OpAccessChain %_ptr_Uniform_float %MobileDirectionalLight %int_4 %292
785 %294 = OpLoad %float %293
786 %295 = OpFOrdLessThan %bool %224 %294
787 OpSelectionMerge %288 None
788 OpBranchConditional %295 %296 %288
789 %296 = OpLabel
790 %297 = OpCompositeExtract %float %177 0
791 %298 = OpCompositeExtract %float %177 1
792 %299 = OpCompositeConstruct %v4float %297 %298 %224 %float_1
793 %300 = OpAccessChain %_ptr_Uniform_mat4v4float %MobileDirectionalLight %int_5 %286
794 %301 = OpLoad %mat4v4float %300
795 %302 = OpMatrixTimesVector %v4float %301 %299
796 OpBranch %290
797 %288 = OpLabel
798 %287 = OpIAdd %int %286 %int_1
799 OpBranch %285
800 %290 = OpLabel
801 %303 = OpPhi %v4float %52 %285 %302 %296
802 %304 = OpCompositeExtract %float %303 2
803 %305 = OpFOrdGreaterThan %bool %304 %float_0
804 OpSelectionMerge %306 None
805 OpBranchConditional %305 %307 %306
806 %307 = OpLabel
807 %308 = OpExtInst %float %1 FMin %304 %float_0_999989986
808 %309 = OpVectorShuffle %v2float %303 %303 0 1
809 %310 = OpVectorShuffle %v2float %284 %284 0 1
810 %311 = OpFMul %v2float %309 %310
811 %312 = OpExtInst %v2float %1 Fract %311
812 %313 = OpExtInst %v2float %1 Floor %311
813 %314 = OpFAdd %v2float %313 %127
814 %315 = OpVectorShuffle %v2float %284 %284 2 3
815 %316 = OpFMul %v2float %314 %315
816 %317 = OpSampledImage %type_sampled_image_0 %278 %279
817 %318 = OpImageSampleExplicitLod %v4float %317 %316 Lod %float_0
818 %319 = OpCompositeExtract %float %318 0
819 %320 = OpCompositeInsert %v3float %319 %139 0
820 %321 = OpFAdd %v2float %313 %128
821 %322 = OpFMul %v2float %321 %315
822 %323 = OpSampledImage %type_sampled_image_0 %278 %279
823 %324 = OpImageSampleExplicitLod %v4float %323 %322 Lod %float_0
824 %325 = OpCompositeExtract %float %324 0
825 %326 = OpCompositeInsert %v3float %325 %320 1
826 %327 = OpFAdd %v2float %313 %130
827 %328 = OpFMul %v2float %327 %315
828 %329 = OpSampledImage %type_sampled_image_0 %278 %279
829 %330 = OpImageSampleExplicitLod %v4float %329 %328 Lod %float_0
830 %331 = OpCompositeExtract %float %330 0
831 %332 = OpCompositeInsert %v3float %331 %326 2
832 %333 = OpFMul %float %308 %282
833 %334 = OpFSub %float %333 %float_1
834 %335 = OpCompositeConstruct %v3float %282 %282 %282
835 %336 = OpFMul %v3float %332 %335
836 %337 = OpCompositeConstruct %v3float %334 %334 %334
837 %338 = OpFSub %v3float %336 %337
838 %339 = OpExtInst %v3float %1 FClamp %338 %47 %64
839 %340 = OpFAdd %v2float %313 %131
840 %341 = OpFMul %v2float %340 %315
841 %342 = OpSampledImage %type_sampled_image_0 %278 %279
842 %343 = OpImageSampleExplicitLod %v4float %342 %341 Lod %float_0
843 %344 = OpCompositeExtract %float %343 0
844 %345 = OpCompositeInsert %v3float %344 %139 0
845 %346 = OpFAdd %v2float %313 %60
846 %347 = OpFMul %v2float %346 %315
847 %348 = OpSampledImage %type_sampled_image_0 %278 %279
848 %349 = OpImageSampleExplicitLod %v4float %348 %347 Lod %float_0
849 %350 = OpCompositeExtract %float %349 0
850 %351 = OpCompositeInsert %v3float %350 %345 1
851 %352 = OpFAdd %v2float %313 %132
852 %353 = OpFMul %v2float %352 %315
853 %354 = OpSampledImage %type_sampled_image_0 %278 %279
854 %355 = OpImageSampleExplicitLod %v4float %354 %353 Lod %float_0
855 %356 = OpCompositeExtract %float %355 0
856 %357 = OpCompositeInsert %v3float %356 %351 2
857 %358 = OpFMul %v3float %357 %335
858 %359 = OpFSub %v3float %358 %337
859 %360 = OpExtInst %v3float %1 FClamp %359 %47 %64
860 %361 = OpFAdd %v2float %313 %133
861 %362 = OpFMul %v2float %361 %315
862 %363 = OpSampledImage %type_sampled_image_0 %278 %279
863 %364 = OpImageSampleExplicitLod %v4float %363 %362 Lod %float_0
864 %365 = OpCompositeExtract %float %364 0
865 %366 = OpCompositeInsert %v3float %365 %139 0
866 %367 = OpFAdd %v2float %313 %134
867 %368 = OpFMul %v2float %367 %315
868 %369 = OpSampledImage %type_sampled_image_0 %278 %279
869 %370 = OpImageSampleExplicitLod %v4float %369 %368 Lod %float_0
870 %371 = OpCompositeExtract %float %370 0
871 %372 = OpCompositeInsert %v3float %371 %366 1
872 %373 = OpFAdd %v2float %313 %135
873 %374 = OpFMul %v2float %373 %315
874 %375 = OpSampledImage %type_sampled_image_0 %278 %279
875 %376 = OpImageSampleExplicitLod %v4float %375 %374 Lod %float_0
876 %377 = OpCompositeExtract %float %376 0
877 %378 = OpCompositeInsert %v3float %377 %372 2
878 %379 = OpFMul %v3float %378 %335
879 %380 = OpFSub %v3float %379 %337
880 %381 = OpExtInst %v3float %1 FClamp %380 %47 %64
881 %382 = OpCompositeExtract %float %339 0
882 %383 = OpCompositeExtract %float %312 0
883 %384 = OpFSub %float %float_1 %383
884 %385 = OpFMul %float %382 %384
885 %386 = OpCompositeExtract %float %360 0
886 %387 = OpFMul %float %386 %384
887 %388 = OpCompositeExtract %float %381 0
888 %389 = OpFMul %float %388 %384
889 %390 = OpCompositeExtract %float %339 1
890 %391 = OpFAdd %float %385 %390
891 %392 = OpCompositeExtract %float %360 1
892 %393 = OpFAdd %float %387 %392
893 %394 = OpCompositeExtract %float %381 1
894 %395 = OpFAdd %float %389 %394
895 %396 = OpCompositeExtract %float %339 2
896 %397 = OpFMul %float %396 %383
897 %398 = OpFAdd %float %391 %397
898 %399 = OpCompositeInsert %v3float %398 %136 0
899 %400 = OpCompositeExtract %float %360 2
900 %401 = OpFMul %float %400 %383
901 %402 = OpFAdd %float %393 %401
902 %403 = OpCompositeInsert %v3float %402 %399 1
903 %404 = OpCompositeExtract %float %381 2
904 %405 = OpFMul %float %404 %383
905 %406 = OpFAdd %float %395 %405
906 %407 = OpCompositeInsert %v3float %406 %403 2
907 %408 = OpCompositeExtract %float %312 1
908 %409 = OpFSub %float %float_1 %408
909 %410 = OpCompositeConstruct %v3float %409 %float_1 %408
910 %411 = OpDot %float %407 %410
911 %412 = OpFMul %float %float_0_25 %411
912 %413 = OpExtInst %float %1 FClamp %412 %float_0 %float_1
913 %414 = OpAccessChain %_ptr_Uniform_float %MobileDirectionalLight %int_3 %int_0
914 %415 = OpLoad %float %414
915 %416 = OpFMul %float %224 %415
916 %417 = OpAccessChain %_ptr_Uniform_float %MobileDirectionalLight %int_3 %int_1
917 %418 = OpLoad %float %417
918 %419 = OpFAdd %float %416 %418
919 %420 = OpExtInst %float %1 FClamp %419 %float_0 %float_1
920 %421 = OpFMul %float %420 %420
921 %422 = OpExtInst %float %1 FMix %413 %float_1 %421
922 OpBranch %306
923 %306 = OpLabel
924 %423 = OpPhi %float %float_1 %290 %422 %307
925 %424 = OpLoad %v4float %280
926 %425 = OpVectorShuffle %v3float %424 %424 0 1 2
927 %426 = OpDot %float %206 %425
928 %427 = OpExtInst %float %1 FMax %float_0 %426
929 %428 = OpFAdd %v3float %181 %425
930 %429 = OpExtInst %v3float %1 Normalize %428
931 %430 = OpDot %float %206 %429
932 %431 = OpExtInst %float %1 FMax %float_0 %430
933 %432 = OpFMul %float %423 %427
934 %433 = OpCompositeConstruct %v3float %432 %432 %432
935 %434 = OpAccessChain %_ptr_Uniform_v4float %MobileDirectionalLight %int_0
936 %435 = OpLoad %v4float %434
937 %436 = OpVectorShuffle %v3float %435 %435 0 1 2
938 %437 = OpFMul %v3float %433 %436
939 %438 = OpFMul %float %253 %float_0_25
940 %439 = OpFAdd %float %438 %float_0_25
941 %440 = OpExtInst %v3float %1 Cross %206 %429
942 %441 = OpDot %float %440 %440
943 %442 = OpFMul %float %253 %253
944 %443 = OpFMul %float %431 %442
945 %444 = OpFMul %float %443 %443
946 %445 = OpFAdd %float %441 %444
947 %446 = OpFDiv %float %442 %445
948 %447 = OpFMul %float %446 %446
949 %448 = OpExtInst %float %1 FMin %447 %float_65504
950 %449 = OpFMul %float %439 %448
951 %450 = OpFMul %float %276 %449
952 %451 = OpCompositeConstruct %v3float %450 %450 %450
953 %452 = OpFAdd %v3float %270 %451
954 %453 = OpFMul %v3float %437 %452
955 %454 = OpAccessChain %_ptr_Uniform_float %_Globals %int_3 %int_3
956 %455 = OpLoad %float %454
957 %456 = OpFOrdGreaterThan %bool %455 %float_0
958 %457 = OpSelect %float %456 %float_1 %float_0
959 %458 = OpFOrdNotEqual %bool %457 %float_0
960 %459 = OpSelect %float %458 %455 %164
961 %460 = OpExtInst %float %1 Log2 %253
962 %461 = OpFMul %float %float_1_20000005 %460
963 %462 = OpFSub %float %float_1 %461
964 %463 = OpFSub %float %459 %float_1
965 %464 = OpFSub %float %463 %462
966 %465 = OpLoad %type_cube_image %ReflectionCubemap
967 %466 = OpLoad %type_sampler %ReflectionCubemapSampler
968 %467 = OpSampledImage %type_sampled_image %465 %466
969 %468 = OpImageSampleExplicitLod %v4float %467 %212 Lod %464
970 OpSelectionMerge %469 None
971 OpBranchConditional %458 %470 %471
972 %471 = OpLabel
973 %472 = OpVectorShuffle %v3float %468 %468 0 1 2
974 %473 = OpCompositeExtract %float %468 3
975 %474 = OpFMul %float %473 %float_16
976 %475 = OpCompositeConstruct %v3float %474 %474 %474
977 %476 = OpFMul %v3float %472 %475
978 %477 = OpFMul %v3float %476 %476
979 OpBranch %469
980 %470 = OpLabel
981 %478 = OpVectorShuffle %v3float %468 %468 0 1 2
982 %479 = OpVectorShuffle %v3float %162 %162 0 1 2
983 %480 = OpFMul %v3float %478 %479
984 OpBranch %469
985 %469 = OpLabel
986 %481 = OpPhi %v3float %477 %471 %480 %470
987 %482 = OpCompositeConstruct %v3float %277 %277 %277
988 %483 = OpFMul %v3float %481 %482
989 %484 = OpCompositeConstruct %v3float %276 %276 %276
990 %485 = OpFMul %v3float %483 %484
991 %486 = OpFAdd %v3float %453 %485
992 OpBranch %487
993 %487 = OpLabel
994 %488 = OpPhi %v3float %486 %469 %489 %490
995 %491 = OpPhi %int %int_0 %469 %492 %490
996 %493 = OpAccessChain %_ptr_Uniform_int %_Globals %int_0
997 %494 = OpLoad %int %493
998 %495 = OpSLessThan %bool %491 %494
999 OpLoopMerge %496 %490 None
1000 OpBranchConditional %495 %497 %496
1001 %497 = OpLabel
1002 %498 = OpAccessChain %_ptr_Uniform_v4float %_Globals %int_1 %491
1003 %499 = OpLoad %v4float %498
1004 %500 = OpVectorShuffle %v3float %499 %499 0 1 2
1005 %501 = OpFSub %v3float %500 %179
1006 %502 = OpDot %float %501 %501
1007 %503 = OpExtInst %float %1 InverseSqrt %502
1008 %504 = OpCompositeConstruct %v3float %503 %503 %503
1009 %505 = OpFMul %v3float %501 %504
1010 %506 = OpFAdd %v3float %181 %505
1011 %507 = OpExtInst %v3float %1 Normalize %506
1012 %508 = OpDot %float %206 %505
1013 %509 = OpExtInst %float %1 FMax %float_0 %508
1014 %510 = OpDot %float %206 %507
1015 %511 = OpExtInst %float %1 FMax %float_0 %510
1016 %512 = OpAccessChain %_ptr_Uniform_v4float %_Globals %int_2 %491
1017 %513 = OpAccessChain %_ptr_Uniform_float %_Globals %int_2 %491 %int_3
1018 %514 = OpLoad %float %513
1019 %515 = OpFOrdEqual %bool %514 %float_0
1020 OpSelectionMerge %490 None
1021 OpBranchConditional %515 %516 %517
1022 %517 = OpLabel
1023 %518 = OpAccessChain %_ptr_Uniform_float %_Globals %int_1 %491 %int_3
1024 %519 = OpLoad %float %518
1025 %520 = OpCompositeConstruct %v3float %519 %519 %519
1026 %521 = OpFMul %v3float %501 %520
1027 %522 = OpDot %float %521 %521
1028 %523 = OpExtInst %float %1 FClamp %522 %float_0 %float_1
1029 %524 = OpFSub %float %float_1 %523
1030 %525 = OpExtInst %float %1 Pow %524 %514
1031 OpBranch %490
1032 %516 = OpLabel
1033 %526 = OpFAdd %float %502 %float_1
1034 %527 = OpFDiv %float %float_1 %526
1035 %528 = OpAccessChain %_ptr_Uniform_float %_Globals %int_1 %491 %int_3
1036 %529 = OpLoad %float %528
1037 %530 = OpFMul %float %529 %529
1038 %531 = OpFMul %float %502 %530
1039 %532 = OpFMul %float %531 %531
1040 %533 = OpFSub %float %float_1 %532
1041 %534 = OpExtInst %float %1 FClamp %533 %float_0 %float_1
1042 %535 = OpFMul %float %534 %534
1043 %536 = OpFMul %float %527 %535
1044 OpBranch %490
1045 %490 = OpLabel
1046 %537 = OpPhi %float %525 %517 %536 %516
1047 %538 = OpFMul %float %537 %509
1048 %539 = OpCompositeConstruct %v3float %538 %538 %538
1049 %540 = OpLoad %v4float %512
1050 %541 = OpVectorShuffle %v3float %540 %540 0 1 2
1051 %542 = OpFMul %v3float %539 %541
1052 %543 = OpFMul %v3float %542 %57
1053 %544 = OpExtInst %v3float %1 Cross %206 %507
1054 %545 = OpDot %float %544 %544
1055 %546 = OpFMul %float %511 %442
1056 %547 = OpFMul %float %546 %546
1057 %548 = OpFAdd %float %545 %547
1058 %549 = OpFDiv %float %442 %548
1059 %550 = OpFMul %float %549 %549
1060 %551 = OpExtInst %float %1 FMin %550 %float_65504
1061 %552 = OpFMul %float %439 %551
1062 %553 = OpFMul %float %276 %552
1063 %554 = OpCompositeConstruct %v3float %553 %553 %553
1064 %555 = OpFAdd %v3float %270 %554
1065 %556 = OpFMul %v3float %543 %555
1066 %557 = OpExtInst %v3float %1 FMin %55 %556
1067 %489 = OpFAdd %v3float %488 %557
1068 %492 = OpIAdd %int %491 %int_1
1069 OpBranch %487
1070 %496 = OpLabel
1071 %558 = OpExtInst %v3float %1 FMax %47 %47
1072 %559 = OpFAdd %v3float %488 %558
1073 %560 = OpFAdd %v3float %270 %484
1074 %561 = OpCompositeConstruct %v3float %160 %160 %160
1075 %562 = OpExtInst %v3float %1 FMix %559 %560 %561
1076 %563 = OpCompositeExtract %float %142 3
1077 %564 = OpCompositeConstruct %v3float %563 %563 %563
1078 %565 = OpFMul %v3float %562 %564
1079 %566 = OpVectorShuffle %v3float %142 %142 0 1 2
1080 %567 = OpFAdd %v3float %565 %566
1081 %568 = OpVectorShuffle %v4float %137 %567 4 5 6 3
1082 %569 = OpCompositeExtract %float %143 3
1083 %570 = OpExtInst %float %1 FMin %569 %float_65500
1084 %571 = OpCompositeInsert %v4float %570 %568 3
1085 OpStore %out_var_SV_Target0 %571
1086 OpReturn
1087 OpFunctionEnd