Debian Codegraph @

third_party/spirv-cross/shaders-ue4/asm/frag/depth-compare.asm.frag

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Google spiregg; 0
4 ; Bound: 452
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 %MainOnePassPointLightPS "main" %gl_FragCoord %out_var_SV_Target0
11 OpExecutionMode %MainOnePassPointLightPS 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_2d_image "type.2d.image"
186 OpName %SceneTexturesStruct_SceneDepthTexture "SceneTexturesStruct_SceneDepthTexture"
187 OpName %type_sampler "type.sampler"
188 OpName %SceneTexturesStruct_SceneDepthTextureSampler "SceneTexturesStruct_SceneDepthTextureSampler"
189 OpName %SceneTexturesStruct_GBufferATexture "SceneTexturesStruct_GBufferATexture"
190 OpName %SceneTexturesStruct_GBufferBTexture "SceneTexturesStruct_GBufferBTexture"
191 OpName %SceneTexturesStruct_GBufferDTexture "SceneTexturesStruct_GBufferDTexture"
192 OpName %SceneTexturesStruct_GBufferATextureSampler "SceneTexturesStruct_GBufferATextureSampler"
193 OpName %SceneTexturesStruct_GBufferBTextureSampler "SceneTexturesStruct_GBufferBTextureSampler"
194 OpName %SceneTexturesStruct_GBufferDTextureSampler "SceneTexturesStruct_GBufferDTextureSampler"
195 OpName %ShadowDepthTextureSampler "ShadowDepthTextureSampler"
196 OpName %type__Globals "type.$Globals"
197 OpMemberName %type__Globals 0 "SoftTransitionScale"
198 OpMemberName %type__Globals 1 "ShadowViewProjectionMatrices"
199 OpMemberName %type__Globals 2 "InvShadowmapResolution"
200 OpMemberName %type__Globals 3 "ShadowFadeFraction"
201 OpMemberName %type__Globals 4 "ShadowSharpen"
202 OpMemberName %type__Globals 5 "LightPositionAndInvRadius"
203 OpMemberName %type__Globals 6 "ProjectionDepthBiasParameters"
204 OpMemberName %type__Globals 7 "PointLightDepthBiasAndProjParameters"
205 OpName %_Globals "$Globals"
206 OpName %type_cube_image "type.cube.image"
207 OpName %ShadowDepthCubeTexture "ShadowDepthCubeTexture"
208 OpName %ShadowDepthCubeTextureSampler "ShadowDepthCubeTextureSampler"
209 OpName %SSProfilesTexture "SSProfilesTexture"
210 OpName %out_var_SV_Target0 "out.var.SV_Target0"
211 OpName %MainOnePassPointLightPS "MainOnePassPointLightPS"
212 OpName %type_sampled_image "type.sampled.image"
213 OpName %type_sampled_image_0 "type.sampled.image"
214 OpDecorate %gl_FragCoord BuiltIn FragCoord
215 OpDecorateString %gl_FragCoord UserSemantic "SV_POSITION"
216 OpDecorateString %out_var_SV_Target0 UserSemantic "SV_Target0"
217 OpDecorate %out_var_SV_Target0 Location 0
218 OpDecorate %View DescriptorSet 0
219 OpDecorate %View Binding 0
220 OpDecorate %SceneTexturesStruct_SceneDepthTexture DescriptorSet 0
221 OpDecorate %SceneTexturesStruct_SceneDepthTexture Binding 0
222 OpDecorate %SceneTexturesStruct_SceneDepthTextureSampler DescriptorSet 0
223 OpDecorate %SceneTexturesStruct_SceneDepthTextureSampler Binding 0
224 OpDecorate %SceneTexturesStruct_GBufferATexture DescriptorSet 0
225 OpDecorate %SceneTexturesStruct_GBufferATexture Binding 1
226 OpDecorate %SceneTexturesStruct_GBufferBTexture DescriptorSet 0
227 OpDecorate %SceneTexturesStruct_GBufferBTexture Binding 2
228 OpDecorate %SceneTexturesStruct_GBufferDTexture DescriptorSet 0
229 OpDecorate %SceneTexturesStruct_GBufferDTexture Binding 3
230 OpDecorate %SceneTexturesStruct_GBufferATextureSampler DescriptorSet 0
231 OpDecorate %SceneTexturesStruct_GBufferATextureSampler Binding 1
232 OpDecorate %SceneTexturesStruct_GBufferBTextureSampler DescriptorSet 0
233 OpDecorate %SceneTexturesStruct_GBufferBTextureSampler Binding 2
234 OpDecorate %SceneTexturesStruct_GBufferDTextureSampler DescriptorSet 0
235 OpDecorate %SceneTexturesStruct_GBufferDTextureSampler Binding 3
236 OpDecorate %ShadowDepthTextureSampler DescriptorSet 0
237 OpDecorate %ShadowDepthTextureSampler Binding 4
238 OpDecorate %_Globals DescriptorSet 0
239 OpDecorate %_Globals Binding 1
240 OpDecorate %ShadowDepthCubeTexture DescriptorSet 0
241 OpDecorate %ShadowDepthCubeTexture Binding 4
242 OpDecorate %ShadowDepthCubeTextureSampler DescriptorSet 0
243 OpDecorate %ShadowDepthCubeTextureSampler Binding 5
244 OpDecorate %SSProfilesTexture DescriptorSet 0
245 OpDecorate %SSProfilesTexture Binding 5
246 OpDecorate %_arr_v4float_uint_2 ArrayStride 16
247 OpDecorate %_arr_v4float_uint_7 ArrayStride 16
248 OpDecorate %_arr_v4float_uint_4 ArrayStride 16
249 OpMemberDecorate %type_View 0 Offset 0
250 OpMemberDecorate %type_View 0 MatrixStride 16
251 OpMemberDecorate %type_View 0 ColMajor
252 OpMemberDecorate %type_View 1 Offset 64
253 OpMemberDecorate %type_View 1 MatrixStride 16
254 OpMemberDecorate %type_View 1 ColMajor
255 OpMemberDecorate %type_View 2 Offset 128
256 OpMemberDecorate %type_View 2 MatrixStride 16
257 OpMemberDecorate %type_View 2 ColMajor
258 OpMemberDecorate %type_View 3 Offset 192
259 OpMemberDecorate %type_View 3 MatrixStride 16
260 OpMemberDecorate %type_View 3 ColMajor
261 OpMemberDecorate %type_View 4 Offset 256
262 OpMemberDecorate %type_View 4 MatrixStride 16
263 OpMemberDecorate %type_View 4 ColMajor
264 OpMemberDecorate %type_View 5 Offset 320
265 OpMemberDecorate %type_View 5 MatrixStride 16
266 OpMemberDecorate %type_View 5 ColMajor
267 OpMemberDecorate %type_View 6 Offset 384
268 OpMemberDecorate %type_View 6 MatrixStride 16
269 OpMemberDecorate %type_View 6 ColMajor
270 OpMemberDecorate %type_View 7 Offset 448
271 OpMemberDecorate %type_View 7 MatrixStride 16
272 OpMemberDecorate %type_View 7 ColMajor
273 OpMemberDecorate %type_View 8 Offset 512
274 OpMemberDecorate %type_View 8 MatrixStride 16
275 OpMemberDecorate %type_View 8 ColMajor
276 OpMemberDecorate %type_View 9 Offset 576
277 OpMemberDecorate %type_View 9 MatrixStride 16
278 OpMemberDecorate %type_View 9 ColMajor
279 OpMemberDecorate %type_View 10 Offset 640
280 OpMemberDecorate %type_View 10 MatrixStride 16
281 OpMemberDecorate %type_View 10 ColMajor
282 OpMemberDecorate %type_View 11 Offset 704
283 OpMemberDecorate %type_View 11 MatrixStride 16
284 OpMemberDecorate %type_View 11 ColMajor
285 OpMemberDecorate %type_View 12 Offset 768
286 OpMemberDecorate %type_View 12 MatrixStride 16
287 OpMemberDecorate %type_View 12 ColMajor
288 OpMemberDecorate %type_View 13 Offset 832
289 OpMemberDecorate %type_View 14 Offset 844
290 OpMemberDecorate %type_View 15 Offset 848
291 OpMemberDecorate %type_View 16 Offset 860
292 OpMemberDecorate %type_View 17 Offset 864
293 OpMemberDecorate %type_View 18 Offset 876
294 OpMemberDecorate %type_View 19 Offset 880
295 OpMemberDecorate %type_View 20 Offset 892
296 OpMemberDecorate %type_View 21 Offset 896
297 OpMemberDecorate %type_View 22 Offset 908
298 OpMemberDecorate %type_View 23 Offset 912
299 OpMemberDecorate %type_View 24 Offset 928
300 OpMemberDecorate %type_View 25 Offset 944
301 OpMemberDecorate %type_View 26 Offset 956
302 OpMemberDecorate %type_View 27 Offset 960
303 OpMemberDecorate %type_View 28 Offset 972
304 OpMemberDecorate %type_View 29 Offset 976
305 OpMemberDecorate %type_View 30 Offset 988
306 OpMemberDecorate %type_View 31 Offset 992
307 OpMemberDecorate %type_View 32 Offset 1004
308 OpMemberDecorate %type_View 33 Offset 1008
309 OpMemberDecorate %type_View 33 MatrixStride 16
310 OpMemberDecorate %type_View 33 ColMajor
311 OpMemberDecorate %type_View 34 Offset 1072
312 OpMemberDecorate %type_View 34 MatrixStride 16
313 OpMemberDecorate %type_View 34 ColMajor
314 OpMemberDecorate %type_View 35 Offset 1136
315 OpMemberDecorate %type_View 35 MatrixStride 16
316 OpMemberDecorate %type_View 35 ColMajor
317 OpMemberDecorate %type_View 36 Offset 1200
318 OpMemberDecorate %type_View 36 MatrixStride 16
319 OpMemberDecorate %type_View 36 ColMajor
320 OpMemberDecorate %type_View 37 Offset 1264
321 OpMemberDecorate %type_View 37 MatrixStride 16
322 OpMemberDecorate %type_View 37 ColMajor
323 OpMemberDecorate %type_View 38 Offset 1328
324 OpMemberDecorate %type_View 38 MatrixStride 16
325 OpMemberDecorate %type_View 38 ColMajor
326 OpMemberDecorate %type_View 39 Offset 1392
327 OpMemberDecorate %type_View 39 MatrixStride 16
328 OpMemberDecorate %type_View 39 ColMajor
329 OpMemberDecorate %type_View 40 Offset 1456
330 OpMemberDecorate %type_View 40 MatrixStride 16
331 OpMemberDecorate %type_View 40 ColMajor
332 OpMemberDecorate %type_View 41 Offset 1520
333 OpMemberDecorate %type_View 41 MatrixStride 16
334 OpMemberDecorate %type_View 41 ColMajor
335 OpMemberDecorate %type_View 42 Offset 1584
336 OpMemberDecorate %type_View 42 MatrixStride 16
337 OpMemberDecorate %type_View 42 ColMajor
338 OpMemberDecorate %type_View 43 Offset 1648
339 OpMemberDecorate %type_View 44 Offset 1660
340 OpMemberDecorate %type_View 45 Offset 1664
341 OpMemberDecorate %type_View 46 Offset 1676
342 OpMemberDecorate %type_View 47 Offset 1680
343 OpMemberDecorate %type_View 48 Offset 1692
344 OpMemberDecorate %type_View 49 Offset 1696
345 OpMemberDecorate %type_View 49 MatrixStride 16
346 OpMemberDecorate %type_View 49 ColMajor
347 OpMemberDecorate %type_View 50 Offset 1760
348 OpMemberDecorate %type_View 50 MatrixStride 16
349 OpMemberDecorate %type_View 50 ColMajor
350 OpMemberDecorate %type_View 51 Offset 1824
351 OpMemberDecorate %type_View 51 MatrixStride 16
352 OpMemberDecorate %type_View 51 ColMajor
353 OpMemberDecorate %type_View 52 Offset 1888
354 OpMemberDecorate %type_View 53 Offset 1904
355 OpMemberDecorate %type_View 54 Offset 1920
356 OpMemberDecorate %type_View 55 Offset 1928
357 OpMemberDecorate %type_View 56 Offset 1936
358 OpMemberDecorate %type_View 57 Offset 1952
359 OpMemberDecorate %type_View 58 Offset 1968
360 OpMemberDecorate %type_View 59 Offset 1984
361 OpMemberDecorate %type_View 60 Offset 2000
362 OpMemberDecorate %type_View 61 Offset 2004
363 OpMemberDecorate %type_View 62 Offset 2008
364 OpMemberDecorate %type_View 63 Offset 2012
365 OpMemberDecorate %type_View 64 Offset 2016
366 OpMemberDecorate %type_View 65 Offset 2032
367 OpMemberDecorate %type_View 66 Offset 2048
368 OpMemberDecorate %type_View 67 Offset 2064
369 OpMemberDecorate %type_View 68 Offset 2072
370 OpMemberDecorate %type_View 69 Offset 2076
371 OpMemberDecorate %type_View 70 Offset 2080
372 OpMemberDecorate %type_View 71 Offset 2084
373 OpMemberDecorate %type_View 72 Offset 2088
374 OpMemberDecorate %type_View 73 Offset 2092
375 OpMemberDecorate %type_View 74 Offset 2096
376 OpMemberDecorate %type_View 75 Offset 2108
377 OpMemberDecorate %type_View 76 Offset 2112
378 OpMemberDecorate %type_View 77 Offset 2116
379 OpMemberDecorate %type_View 78 Offset 2120
380 OpMemberDecorate %type_View 79 Offset 2124
381 OpMemberDecorate %type_View 80 Offset 2128
382 OpMemberDecorate %type_View 81 Offset 2132
383 OpMemberDecorate %type_View 82 Offset 2136
384 OpMemberDecorate %type_View 83 Offset 2140
385 OpMemberDecorate %type_View 84 Offset 2144
386 OpMemberDecorate %type_View 85 Offset 2148
387 OpMemberDecorate %type_View 86 Offset 2152
388 OpMemberDecorate %type_View 87 Offset 2156
389 OpMemberDecorate %type_View 88 Offset 2160
390 OpMemberDecorate %type_View 89 Offset 2164
391 OpMemberDecorate %type_View 90 Offset 2168
392 OpMemberDecorate %type_View 91 Offset 2172
393 OpMemberDecorate %type_View 92 Offset 2176
394 OpMemberDecorate %type_View 93 Offset 2192
395 OpMemberDecorate %type_View 94 Offset 2204
396 OpMemberDecorate %type_View 95 Offset 2208
397 OpMemberDecorate %type_View 96 Offset 2240
398 OpMemberDecorate %type_View 97 Offset 2272
399 OpMemberDecorate %type_View 98 Offset 2288
400 OpMemberDecorate %type_View 99 Offset 2304
401 OpMemberDecorate %type_View 100 Offset 2308
402 OpMemberDecorate %type_View 101 Offset 2312
403 OpMemberDecorate %type_View 102 Offset 2316
404 OpMemberDecorate %type_View 103 Offset 2320
405 OpMemberDecorate %type_View 104 Offset 2324
406 OpMemberDecorate %type_View 105 Offset 2328
407 OpMemberDecorate %type_View 106 Offset 2332
408 OpMemberDecorate %type_View 107 Offset 2336
409 OpMemberDecorate %type_View 108 Offset 2340
410 OpMemberDecorate %type_View 109 Offset 2344
411 OpMemberDecorate %type_View 110 Offset 2348
412 OpMemberDecorate %type_View 111 Offset 2352
413 OpMemberDecorate %type_View 112 Offset 2364
414 OpMemberDecorate %type_View 113 Offset 2368
415 OpMemberDecorate %type_View 114 Offset 2380
416 OpMemberDecorate %type_View 115 Offset 2384
417 OpMemberDecorate %type_View 116 Offset 2388
418 OpMemberDecorate %type_View 117 Offset 2392
419 OpMemberDecorate %type_View 118 Offset 2396
420 OpMemberDecorate %type_View 119 Offset 2400
421 OpMemberDecorate %type_View 120 Offset 2404
422 OpMemberDecorate %type_View 121 Offset 2408
423 OpMemberDecorate %type_View 122 Offset 2412
424 OpMemberDecorate %type_View 123 Offset 2416
425 OpMemberDecorate %type_View 124 Offset 2420
426 OpMemberDecorate %type_View 125 Offset 2424
427 OpMemberDecorate %type_View 126 Offset 2428
428 OpMemberDecorate %type_View 127 Offset 2432
429 OpMemberDecorate %type_View 128 Offset 2448
430 OpMemberDecorate %type_View 129 Offset 2460
431 OpMemberDecorate %type_View 130 Offset 2464
432 OpMemberDecorate %type_View 131 Offset 2480
433 OpMemberDecorate %type_View 132 Offset 2484
434 OpMemberDecorate %type_View 133 Offset 2488
435 OpMemberDecorate %type_View 134 Offset 2492
436 OpMemberDecorate %type_View 135 Offset 2496
437 OpMemberDecorate %type_View 136 Offset 2512
438 OpMemberDecorate %type_View 137 Offset 2624
439 OpMemberDecorate %type_View 138 Offset 2628
440 OpMemberDecorate %type_View 139 Offset 2632
441 OpMemberDecorate %type_View 140 Offset 2636
442 OpMemberDecorate %type_View 141 Offset 2640
443 OpMemberDecorate %type_View 142 Offset 2644
444 OpMemberDecorate %type_View 143 Offset 2648
445 OpMemberDecorate %type_View 144 Offset 2652
446 OpMemberDecorate %type_View 145 Offset 2656
447 OpMemberDecorate %type_View 146 Offset 2668
448 OpMemberDecorate %type_View 147 Offset 2672
449 OpMemberDecorate %type_View 148 Offset 2736
450 OpMemberDecorate %type_View 149 Offset 2800
451 OpMemberDecorate %type_View 150 Offset 2804
452 OpMemberDecorate %type_View 151 Offset 2808
453 OpMemberDecorate %type_View 152 Offset 2812
454 OpMemberDecorate %type_View 153 Offset 2816
455 OpMemberDecorate %type_View 154 Offset 2828
456 OpMemberDecorate %type_View 155 Offset 2832
457 OpMemberDecorate %type_View 156 Offset 2844
458 OpMemberDecorate %type_View 157 Offset 2848
459 OpMemberDecorate %type_View 158 Offset 2856
460 OpMemberDecorate %type_View 159 Offset 2860
461 OpMemberDecorate %type_View 160 Offset 2864
462 OpMemberDecorate %type_View 161 Offset 2876
463 OpMemberDecorate %type_View 162 Offset 2880
464 OpMemberDecorate %type_View 163 Offset 2892
465 OpMemberDecorate %type_View 164 Offset 2896
466 OpMemberDecorate %type_View 165 Offset 2908
467 OpMemberDecorate %type_View 166 Offset 2912
468 OpMemberDecorate %type_View 167 Offset 2924
469 OpMemberDecorate %type_View 168 Offset 2928
470 OpMemberDecorate %type_View 169 Offset 2932
471 OpDecorate %type_View Block
472 OpDecorate %_arr_mat4v4float_uint_6 ArrayStride 64
473 OpMemberDecorate %type__Globals 0 Offset 0
474 OpMemberDecorate %type__Globals 1 Offset 16
475 OpMemberDecorate %type__Globals 1 MatrixStride 16
476 OpMemberDecorate %type__Globals 1 ColMajor
477 OpMemberDecorate %type__Globals 2 Offset 400
478 OpMemberDecorate %type__Globals 3 Offset 404
479 OpMemberDecorate %type__Globals 4 Offset 408
480 OpMemberDecorate %type__Globals 5 Offset 416
481 OpMemberDecorate %type__Globals 6 Offset 432
482 OpMemberDecorate %type__Globals 7 Offset 448
483 OpDecorate %type__Globals Block
484 %float = OpTypeFloat 32
485 %v4float = OpTypeVector %float 4
486 %mat4v4float = OpTypeMatrix %v4float 4
487 %v3float = OpTypeVector %float 3
488 %v2float = OpTypeVector %float 2
489 %int = OpTypeInt 32 1
490 %uint = OpTypeInt 32 0
491 %uint_2 = OpConstant %uint 2
492 %uint_7 = OpConstant %uint 7
493 %uint_4 = OpConstant %uint 4
494 %float_0 = OpConstant %float 0
495 %float_2_5 = OpConstant %float 2.5
496 %float_2_37764096 = OpConstant %float 2.37764096
497 %float_0_772542 = OpConstant %float 0.772542
498 %float_1_46946299 = OpConstant %float 1.46946299
499 %float_n2_02254295 = OpConstant %float -2.02254295
500 %float_n1_46946299 = OpConstant %float -1.46946299
501 %float_n2_022542 = OpConstant %float -2.022542
502 %float_n2_37764096 = OpConstant %float -2.37764096
503 %float_0_772543013 = OpConstant %float 0.772543013
504 %float_1 = OpConstant %float 1
505 %int_0 = OpConstant %int 0
506 %int_1 = OpConstant %int 1
507 %int_3 = OpConstant %int 3
508 %int_7 = OpConstant %int 7
509 %int_58 = OpConstant %int 58
510 %int_24 = OpConstant %int 24
511 %int_11 = OpConstant %int 11
512 %int_5 = OpConstant %int 5
513 %float_0_5 = OpConstant %float 0.5
514 %int_4 = OpConstant %int 4
515 %int_2 = OpConstant %int 2
516 %62 = OpConstantComposite %v3float %float_1 %float_1 %float_1
517 %bool = OpTypeBool
518 %uint_5 = OpConstant %uint 5
519 %65 = OpConstantComposite %v3float %float_0 %float_0 %float_1
520 %66 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
521 %float_10 = OpConstant %float 10
522 %float_5 = OpConstant %float 5
523 %uint_0 = OpConstant %uint 0
524 %int_23 = OpConstant %int 23
525 %uint_1 = OpConstant %uint 1
526 %uint_3 = OpConstant %uint 3
527 %uint_16 = OpConstant %uint 16
528 %float_0_150000006 = OpConstant %float 0.150000006
529 %float_0_25 = OpConstant %float 0.25
530 %float_2 = OpConstant %float 2
531 %77 = OpConstantComposite %v3float %float_2 %float_2 %float_2
532 %float_255 = OpConstant %float 255
533 %uint_15 = OpConstant %uint 15
534 %uint_4294967280 = OpConstant %uint 4294967280
535 %_arr_v4float_uint_2 = OpTypeArray %v4float %uint_2
536 %_arr_v4float_uint_7 = OpTypeArray %v4float %uint_7
537 %_arr_v4float_uint_4 = OpTypeArray %v4float %uint_4
538 %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
539 %_ptr_Uniform_type_View = OpTypePointer Uniform %type_View
540 %type_2d_image = OpTypeImage %float 2D 2 0 0 1 Unknown
541 %_ptr_UniformConstant_type_2d_image = OpTypePointer UniformConstant %type_2d_image
542 %type_sampler = OpTypeSampler
543 %_ptr_UniformConstant_type_sampler = OpTypePointer UniformConstant %type_sampler
544 %uint_6 = OpConstant %uint 6
545 %_arr_mat4v4float_uint_6 = OpTypeArray %mat4v4float %uint_6
546 %type__Globals = OpTypeStruct %v3float %_arr_mat4v4float_uint_6 %float %float %float %v4float %v2float %v4float
547 %_ptr_Uniform_type__Globals = OpTypePointer Uniform %type__Globals
548 %type_cube_image = OpTypeImage %float Cube 2 0 0 1 Unknown
549 %_ptr_UniformConstant_type_cube_image = OpTypePointer UniformConstant %type_cube_image
550 %v2int = OpTypeVector %int 2
551 %_ptr_Input_v4float = OpTypePointer Input %v4float
552 %_ptr_Output_v4float = OpTypePointer Output %v4float
553 %void = OpTypeVoid
554 %91 = OpTypeFunction %void
555 %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
556 %_ptr_Uniform_mat4v4float = OpTypePointer Uniform %mat4v4float
557 %_ptr_Uniform_float = OpTypePointer Uniform %float
558 %type_sampled_image = OpTypeSampledImage %type_cube_image
559 %v3int = OpTypeVector %int 3
560 %type_sampled_image_0 = OpTypeSampledImage %type_2d_image
561 %v4bool = OpTypeVector %bool 4
562 %View = OpVariable %_ptr_Uniform_type_View Uniform
563 %SceneTexturesStruct_SceneDepthTexture = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
564 %SceneTexturesStruct_SceneDepthTextureSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
565 %SceneTexturesStruct_GBufferATexture = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
566 %SceneTexturesStruct_GBufferBTexture = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
567 %SceneTexturesStruct_GBufferDTexture = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
568 %SceneTexturesStruct_GBufferATextureSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
569 %SceneTexturesStruct_GBufferBTextureSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
570 %SceneTexturesStruct_GBufferDTextureSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
571 %ShadowDepthTextureSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
572 %_Globals = OpVariable %_ptr_Uniform_type__Globals Uniform
573 %ShadowDepthCubeTexture = OpVariable %_ptr_UniformConstant_type_cube_image UniformConstant
574 %ShadowDepthCubeTextureSampler = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
575 %SSProfilesTexture = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant
576 %gl_FragCoord = OpVariable %_ptr_Input_v4float Input
577 %out_var_SV_Target0 = OpVariable %_ptr_Output_v4float Output
578 %float_0_200000003 = OpConstant %float 0.200000003
579 %98 = OpConstantComposite %v3float %float_2_5 %float_2_5 %float_2_5
580 %99 = OpConstantComposite %v3float %float_2_37764096 %float_2_37764096 %float_2_37764096
581 %100 = OpConstantComposite %v3float %float_0_772542 %float_0_772542 %float_0_772542
582 %101 = OpConstantComposite %v3float %float_1_46946299 %float_1_46946299 %float_1_46946299
583 %102 = OpConstantComposite %v3float %float_n2_02254295 %float_n2_02254295 %float_n2_02254295
584 %103 = OpConstantComposite %v3float %float_n1_46946299 %float_n1_46946299 %float_n1_46946299
585 %104 = OpConstantComposite %v3float %float_n2_022542 %float_n2_022542 %float_n2_022542
586 %105 = OpConstantComposite %v3float %float_n2_37764096 %float_n2_37764096 %float_n2_37764096
587 %106 = OpConstantComposite %v3float %float_0_772543013 %float_0_772543013 %float_0_772543013
588 %107 = OpUndef %v4float
589 %MainOnePassPointLightPS = OpFunction %void None %91
590 %108 = OpLabel
591 %109 = OpLoad %v4float %gl_FragCoord
592 %110 = OpVectorShuffle %v2float %109 %109 0 1
593 %111 = OpAccessChain %_ptr_Uniform_v4float %View %int_58
594 %112 = OpLoad %v4float %111
595 %113 = OpVectorShuffle %v2float %112 %112 2 3
596 %114 = OpFMul %v2float %110 %113
597 %115 = OpLoad %type_2d_image %SceneTexturesStruct_SceneDepthTexture
598 %116 = OpLoad %type_sampler %SceneTexturesStruct_SceneDepthTextureSampler
599 %117 = OpSampledImage %type_sampled_image_0 %115 %116
600 %118 = OpImageSampleExplicitLod %v4float %117 %114 Lod %float_0
601 %119 = OpCompositeExtract %float %118 0
602 %120 = OpAccessChain %_ptr_Uniform_float %View %int_23 %uint_0
603 %121 = OpLoad %float %120
604 %122 = OpFMul %float %119 %121
605 %123 = OpAccessChain %_ptr_Uniform_float %View %int_23 %uint_1
606 %124 = OpLoad %float %123
607 %125 = OpFAdd %float %122 %124
608 %126 = OpAccessChain %_ptr_Uniform_float %View %int_23 %uint_2
609 %127 = OpLoad %float %126
610 %128 = OpFMul %float %119 %127
611 %129 = OpAccessChain %_ptr_Uniform_float %View %int_23 %uint_3
612 %130 = OpLoad %float %129
613 %131 = OpFSub %float %128 %130
614 %132 = OpFDiv %float %float_1 %131
615 %133 = OpFAdd %float %125 %132
616 %134 = OpAccessChain %_ptr_Uniform_v4float %View %int_24
617 %135 = OpLoad %v4float %134
618 %136 = OpVectorShuffle %v2float %135 %135 3 2
619 %137 = OpFSub %v2float %114 %136
620 %138 = OpVectorShuffle %v2float %135 %135 0 1
621 %139 = OpFDiv %v2float %137 %138
622 %140 = OpCompositeConstruct %v2float %133 %133
623 %141 = OpFMul %v2float %139 %140
624 %142 = OpCompositeExtract %float %141 0
625 %143 = OpCompositeExtract %float %141 1
626 %144 = OpCompositeConstruct %v4float %142 %143 %133 %float_1
627 %145 = OpAccessChain %_ptr_Uniform_mat4v4float %View %int_11
628 %146 = OpLoad %mat4v4float %145
629 %147 = OpMatrixTimesVector %v4float %146 %144
630 %148 = OpVectorShuffle %v3float %147 %147 0 1 2
631 %149 = OpAccessChain %_ptr_Uniform_v4float %_Globals %int_5
632 %150 = OpLoad %v4float %149
633 %151 = OpVectorShuffle %v3float %150 %150 0 1 2
634 %152 = OpFSub %v3float %151 %148
635 %153 = OpAccessChain %_ptr_Uniform_float %_Globals %int_5 %int_3
636 %154 = OpLoad %float %153
637 %155 = OpAccessChain %_ptr_Uniform_v4float %_Globals %int_7
638 %156 = OpAccessChain %_ptr_Uniform_float %_Globals %int_7 %int_0
639 %157 = OpLoad %float %156
640 %158 = OpExtInst %float %1 Length %152
641 %159 = OpFMul %float %158 %154
642 %160 = OpFOrdLessThan %bool %159 %float_1
643 OpSelectionMerge %161 DontFlatten
644 OpBranchConditional %160 %162 %161
645 %162 = OpLabel
646 %163 = OpCompositeConstruct %v3float %158 %158 %158
647 %164 = OpFDiv %v3float %152 %163
648 %165 = OpExtInst %v3float %1 FAbs %152
649 %166 = OpCompositeExtract %float %165 0
650 %167 = OpCompositeExtract %float %165 1
651 %168 = OpCompositeExtract %float %165 2
652 %169 = OpExtInst %float %1 FMax %167 %168
653 %170 = OpExtInst %float %1 FMax %166 %169
654 %171 = OpFOrdEqual %bool %170 %166
655 OpSelectionMerge %172 None
656 OpBranchConditional %171 %173 %174
657 %174 = OpLabel
658 %175 = OpFOrdEqual %bool %170 %167
659 OpSelectionMerge %176 None
660 OpBranchConditional %175 %177 %178
661 %178 = OpLabel
662 %179 = OpCompositeExtract %float %152 2
663 %180 = OpFOrdEqual %bool %168 %179
664 %181 = OpSelect %int %180 %int_4 %int_5
665 OpBranch %176
666 %177 = OpLabel
667 %182 = OpCompositeExtract %float %152 1
668 %183 = OpFOrdEqual %bool %167 %182
669 %184 = OpSelect %int %183 %int_2 %int_3
670 OpBranch %176
671 %176 = OpLabel
672 %185 = OpPhi %int %184 %177 %181 %178
673 OpBranch %172
674 %173 = OpLabel
675 %186 = OpCompositeExtract %float %152 0
676 %187 = OpFOrdEqual %bool %166 %186
677 %188 = OpSelect %int %187 %int_0 %int_1
678 OpBranch %172
679 %172 = OpLabel
680 %189 = OpPhi %int %188 %173 %185 %176
681 %190 = OpCompositeExtract %float %147 0
682 %191 = OpCompositeExtract %float %147 1
683 %192 = OpCompositeExtract %float %147 2
684 %193 = OpCompositeConstruct %v4float %190 %191 %192 %float_1
685 %194 = OpAccessChain %_ptr_Uniform_mat4v4float %_Globals %int_1 %189
686 %195 = OpLoad %mat4v4float %194
687 %196 = OpMatrixTimesVector %v4float %195 %193
688 %197 = OpCompositeExtract %float %196 2
689 %198 = OpCompositeExtract %float %196 3
690 %199 = OpFDiv %float %197 %198
691 %200 = OpFNegate %float %157
692 %201 = OpFDiv %float %200 %198
693 %202 = OpLoad %type_cube_image %ShadowDepthCubeTexture
694 %203 = OpLoad %type_sampler %ShadowDepthCubeTextureSampler
695 %204 = OpFAdd %float %199 %201
696 %205 = OpSampledImage %type_sampled_image %202 %203
697 %206 = OpImageSampleDrefExplicitLod %float %205 %164 %204 Lod %float_0
698 OpBranch %161
699 %161 = OpLabel
700 %207 = OpPhi %float %float_1 %108 %206 %172
701 %208 = OpFSub %float %207 %float_0_5
702 %209 = OpAccessChain %_ptr_Uniform_float %_Globals %int_4
703 %210 = OpLoad %float %209
704 %211 = OpFMul %float %208 %210
705 %212 = OpFAdd %float %211 %float_0_5
706 %213 = OpExtInst %float %1 FClamp %212 %float_0 %float_1
707 %214 = OpFMul %float %213 %213
708 %215 = OpAccessChain %_ptr_Uniform_float %_Globals %int_3
709 %216 = OpLoad %float %215
710 %217 = OpExtInst %float %1 FMix %float_1 %214 %216
711 %218 = OpExtInst %float %1 Sqrt %217
712 %219 = OpCompositeInsert %v4float %218 %107 2
713 %220 = OpVectorShuffle %v4float %219 %62 4 5 2 6
714 %221 = OpLoad %type_2d_image %SceneTexturesStruct_GBufferATexture
715 %222 = OpLoad %type_sampler %SceneTexturesStruct_GBufferATextureSampler
716 %223 = OpSampledImage %type_sampled_image_0 %221 %222
717 %224 = OpImageSampleExplicitLod %v4float %223 %114 Lod %float_0
718 %225 = OpLoad %type_2d_image %SceneTexturesStruct_GBufferBTexture
719 %226 = OpLoad %type_sampler %SceneTexturesStruct_GBufferBTextureSampler
720 %227 = OpSampledImage %type_sampled_image_0 %225 %226
721 %228 = OpImageSampleExplicitLod %v4float %227 %114 Lod %float_0
722 %229 = OpLoad %type_2d_image %SceneTexturesStruct_GBufferDTexture
723 %230 = OpLoad %type_sampler %SceneTexturesStruct_GBufferDTextureSampler
724 %231 = OpSampledImage %type_sampled_image_0 %229 %230
725 %232 = OpImageSampleExplicitLod %v4float %231 %114 Lod %float_0
726 %233 = OpVectorShuffle %v3float %224 %224 0 1 2
727 %234 = OpFMul %v3float %233 %77
728 %235 = OpFSub %v3float %234 %62
729 %236 = OpExtInst %v3float %1 Normalize %235
730 %237 = OpCompositeExtract %float %228 3
731 %238 = OpFMul %float %237 %float_255
732 %239 = OpExtInst %float %1 Round %238
733 %240 = OpConvertFToU %uint %239
734 %241 = OpBitwiseAnd %uint %240 %uint_15
735 %242 = OpBitwiseAnd %uint %240 %uint_4294967280
736 %243 = OpBitwiseAnd %uint %242 %uint_16
737 %244 = OpINotEqual %bool %243 %uint_0
738 %245 = OpLogicalNot %bool %244
739 %246 = OpCompositeConstruct %v4bool %245 %245 %245 %245
740 %247 = OpSelect %v4float %246 %232 %66
741 %248 = OpIEqual %bool %241 %uint_5
742 OpSelectionMerge %249 None
743 OpBranchConditional %248 %250 %249
744 %250 = OpLabel
745 %251 = OpLoad %v4float %155
746 %252 = OpCompositeExtract %float %247 0
747 %253 = OpFMul %float %252 %float_255
748 %254 = OpFAdd %float %253 %float_0_5
749 %255 = OpConvertFToU %uint %254
750 %256 = OpBitcast %int %255
751 %257 = OpCompositeConstruct %v3int %int_1 %256 %int_0
752 %258 = OpVectorShuffle %v2int %257 %257 0 1
753 %259 = OpLoad %type_2d_image %SSProfilesTexture
754 %260 = OpImageFetch %v4float %259 %258 Lod %int_0
755 %261 = OpCompositeExtract %float %260 0
756 %262 = OpCompositeExtract %float %260 1
757 %263 = OpFMul %float %262 %float_0_5
758 %264 = OpCompositeConstruct %v3float %263 %263 %263
759 %265 = OpFMul %v3float %236 %264
760 %266 = OpFSub %v3float %148 %265
761 %267 = OpDot %float %152 %152
762 %268 = OpExtInst %float %1 InverseSqrt %267
763 %269 = OpCompositeConstruct %v3float %268 %268 %268
764 %270 = OpFMul %v3float %152 %269
765 %271 = OpFNegate %v3float %270
766 %272 = OpDot %float %271 %236
767 %273 = OpExtInst %float %1 FClamp %272 %float_0 %float_1
768 %274 = OpExtInst %float %1 Pow %273 %float_1
769 OpSelectionMerge %275 DontFlatten
770 OpBranchConditional %160 %276 %275
771 %276 = OpLabel
772 %277 = OpCompositeConstruct %v3float %158 %158 %158
773 %278 = OpFDiv %v3float %152 %277
774 %279 = OpExtInst %v3float %1 Cross %278 %65
775 %280 = OpExtInst %v3float %1 Normalize %279
776 %281 = OpExtInst %v3float %1 Cross %280 %278
777 %282 = OpAccessChain %_ptr_Uniform_float %_Globals %int_2
778 %283 = OpLoad %float %282
779 %284 = OpCompositeConstruct %v3float %283 %283 %283
780 %285 = OpFMul %v3float %280 %284
781 %286 = OpFMul %v3float %281 %284
782 %287 = OpExtInst %v3float %1 FAbs %278
783 %288 = OpCompositeExtract %float %287 0
784 %289 = OpCompositeExtract %float %287 1
785 %290 = OpCompositeExtract %float %287 2
786 %291 = OpExtInst %float %1 FMax %289 %290
787 %292 = OpExtInst %float %1 FMax %288 %291
788 %293 = OpFOrdEqual %bool %292 %288
789 OpSelectionMerge %294 None
790 OpBranchConditional %293 %295 %296
791 %296 = OpLabel
792 %297 = OpFOrdEqual %bool %292 %289
793 OpSelectionMerge %298 None
794 OpBranchConditional %297 %299 %300
795 %300 = OpLabel
796 %301 = OpCompositeExtract %float %278 2
797 %302 = OpFOrdEqual %bool %290 %301
798 %303 = OpSelect %int %302 %int_4 %int_5
799 OpBranch %298
800 %299 = OpLabel
801 %304 = OpCompositeExtract %float %278 1
802 %305 = OpFOrdEqual %bool %289 %304
803 %306 = OpSelect %int %305 %int_2 %int_3
804 OpBranch %298
805 %298 = OpLabel
806 %307 = OpPhi %int %306 %299 %303 %300
807 OpBranch %294
808 %295 = OpLabel
809 %308 = OpCompositeExtract %float %278 0
810 %309 = OpFOrdEqual %bool %288 %308
811 %310 = OpSelect %int %309 %int_0 %int_1
812 OpBranch %294
813 %294 = OpLabel
814 %311 = OpPhi %int %310 %295 %307 %298
815 %312 = OpCompositeExtract %float %266 0
816 %313 = OpCompositeExtract %float %266 1
817 %314 = OpCompositeExtract %float %266 2
818 %315 = OpCompositeConstruct %v4float %312 %313 %314 %float_1
819 %316 = OpAccessChain %_ptr_Uniform_mat4v4float %_Globals %int_1 %311
820 %317 = OpLoad %mat4v4float %316
821 %318 = OpMatrixTimesVector %v4float %317 %315
822 %319 = OpCompositeExtract %float %318 2
823 %320 = OpCompositeExtract %float %318 3
824 %321 = OpFDiv %float %319 %320
825 %322 = OpFDiv %float %float_10 %154
826 %323 = OpFMul %float %261 %322
827 %324 = OpCompositeExtract %float %251 2
828 %325 = OpFMul %float %321 %324
829 %326 = OpCompositeExtract %float %251 3
830 %327 = OpFSub %float %325 %326
831 %328 = OpFDiv %float %float_1 %327
832 %329 = OpFMul %float %328 %154
833 %330 = OpFMul %v3float %286 %98
834 %331 = OpFAdd %v3float %278 %330
835 %332 = OpLoad %type_cube_image %ShadowDepthCubeTexture
836 %333 = OpLoad %type_sampler %ShadowDepthTextureSampler
837 %334 = OpSampledImage %type_sampled_image %332 %333
838 %335 = OpImageSampleExplicitLod %v4float %334 %331 Lod %float_0
839 %336 = OpCompositeExtract %float %335 0
840 %337 = OpFMul %float %336 %324
841 %338 = OpFSub %float %337 %326
842 %339 = OpFDiv %float %float_1 %338
843 %340 = OpFMul %float %339 %154
844 %341 = OpFSub %float %329 %340
845 %342 = OpFMul %float %341 %323
846 %343 = OpFOrdGreaterThan %bool %342 %float_0
847 %344 = OpFAdd %float %342 %263
848 %345 = OpFMul %float %342 %274
849 %346 = OpFAdd %float %345 %263
850 %347 = OpExtInst %float %1 FMax %float_0 %346
851 %348 = OpSelect %float %343 %344 %347
852 %349 = OpExtInst %float %1 FAbs %348
853 %350 = OpExtInst %float %1 FClamp %349 %float_0_150000006 %float_5
854 %351 = OpFAdd %float %350 %float_0_25
855 %352 = OpFMul %v3float %285 %99
856 %353 = OpFAdd %v3float %278 %352
857 %354 = OpFMul %v3float %286 %100
858 %355 = OpFAdd %v3float %353 %354
859 %356 = OpSampledImage %type_sampled_image %332 %333
860 %357 = OpImageSampleExplicitLod %v4float %356 %355 Lod %float_0
861 %358 = OpCompositeExtract %float %357 0
862 %359 = OpFMul %float %358 %324
863 %360 = OpFSub %float %359 %326
864 %361 = OpFDiv %float %float_1 %360
865 %362 = OpFMul %float %361 %154
866 %363 = OpFSub %float %329 %362
867 %364 = OpFMul %float %363 %323
868 %365 = OpFOrdGreaterThan %bool %364 %float_0
869 %366 = OpFAdd %float %364 %263
870 %367 = OpFMul %float %364 %274
871 %368 = OpFAdd %float %367 %263
872 %369 = OpExtInst %float %1 FMax %float_0 %368
873 %370 = OpSelect %float %365 %366 %369
874 %371 = OpExtInst %float %1 FAbs %370
875 %372 = OpExtInst %float %1 FClamp %371 %float_0_150000006 %float_5
876 %373 = OpFAdd %float %372 %float_0_25
877 %374 = OpFAdd %float %351 %373
878 %375 = OpFMul %v3float %285 %101
879 %376 = OpFAdd %v3float %278 %375
880 %377 = OpFMul %v3float %286 %102
881 %378 = OpFAdd %v3float %376 %377
882 %379 = OpSampledImage %type_sampled_image %332 %333
883 %380 = OpImageSampleExplicitLod %v4float %379 %378 Lod %float_0
884 %381 = OpCompositeExtract %float %380 0
885 %382 = OpFMul %float %381 %324
886 %383 = OpFSub %float %382 %326
887 %384 = OpFDiv %float %float_1 %383
888 %385 = OpFMul %float %384 %154
889 %386 = OpFSub %float %329 %385
890 %387 = OpFMul %float %386 %323
891 %388 = OpFOrdGreaterThan %bool %387 %float_0
892 %389 = OpFAdd %float %387 %263
893 %390 = OpFMul %float %387 %274
894 %391 = OpFAdd %float %390 %263
895 %392 = OpExtInst %float %1 FMax %float_0 %391
896 %393 = OpSelect %float %388 %389 %392
897 %394 = OpExtInst %float %1 FAbs %393
898 %395 = OpExtInst %float %1 FClamp %394 %float_0_150000006 %float_5
899 %396 = OpFAdd %float %395 %float_0_25
900 %397 = OpFAdd %float %374 %396
901 %398 = OpFMul %v3float %285 %103
902 %399 = OpFAdd %v3float %278 %398
903 %400 = OpFMul %v3float %286 %104
904 %401 = OpFAdd %v3float %399 %400
905 %402 = OpSampledImage %type_sampled_image %332 %333
906 %403 = OpImageSampleExplicitLod %v4float %402 %401 Lod %float_0
907 %404 = OpCompositeExtract %float %403 0
908 %405 = OpFMul %float %404 %324
909 %406 = OpFSub %float %405 %326
910 %407 = OpFDiv %float %float_1 %406
911 %408 = OpFMul %float %407 %154
912 %409 = OpFSub %float %329 %408
913 %410 = OpFMul %float %409 %323
914 %411 = OpFOrdGreaterThan %bool %410 %float_0
915 %412 = OpFAdd %float %410 %263
916 %413 = OpFMul %float %410 %274
917 %414 = OpFAdd %float %413 %263
918 %415 = OpExtInst %float %1 FMax %float_0 %414
919 %416 = OpSelect %float %411 %412 %415
920 %417 = OpExtInst %float %1 FAbs %416
921 %418 = OpExtInst %float %1 FClamp %417 %float_0_150000006 %float_5
922 %419 = OpFAdd %float %418 %float_0_25
923 %420 = OpFAdd %float %397 %419
924 %421 = OpFMul %v3float %285 %105
925 %422 = OpFAdd %v3float %278 %421
926 %423 = OpFMul %v3float %286 %106
927 %424 = OpFAdd %v3float %422 %423
928 %425 = OpSampledImage %type_sampled_image %332 %333
929 %426 = OpImageSampleExplicitLod %v4float %425 %424 Lod %float_0
930 %427 = OpCompositeExtract %float %426 0
931 %428 = OpFMul %float %427 %324
932 %429 = OpFSub %float %428 %326
933 %430 = OpFDiv %float %float_1 %429
934 %431 = OpFMul %float %430 %154
935 %432 = OpFSub %float %329 %431
936 %433 = OpFMul %float %432 %323
937 %434 = OpFOrdGreaterThan %bool %433 %float_0
938 %435 = OpFAdd %float %433 %263
939 %436 = OpFMul %float %433 %274
940 %437 = OpFAdd %float %436 %263
941 %438 = OpExtInst %float %1 FMax %float_0 %437
942 %439 = OpSelect %float %434 %435 %438
943 %440 = OpExtInst %float %1 FAbs %439
944 %441 = OpExtInst %float %1 FClamp %440 %float_0_150000006 %float_5
945 %442 = OpFAdd %float %441 %float_0_25
946 %443 = OpFAdd %float %420 %442
947 %444 = OpFMul %float %443 %float_0_200000003
948 OpBranch %275
949 %275 = OpLabel
950 %445 = OpPhi %float %float_1 %250 %444 %294
951 %446 = OpFMul %float %445 %float_0_200000003
952 %447 = OpFSub %float %float_1 %446
953 OpBranch %249
954 %249 = OpLabel
955 %448 = OpPhi %float %float_1 %161 %447 %275
956 %449 = OpExtInst %float %1 Sqrt %448
957 %450 = OpSelect %float %248 %449 %218
958 %451 = OpCompositeInsert %v4float %450 %220 3
959 OpStore %out_var_SV_Target0 %451
960 OpReturn
961 OpFunctionEnd