Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=0x8e81) Using binned. 4.3.0-0+UE4 7038 3077 379 0 GLSL IR for linked fragment program 0: ( (declare (shader_in ) vec4 gl_Color) (declare (shader_out ) vec4 gl_FragColor) (declare (temporary ) vec4 gl_FragColor) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref gl_FragColor) (var_ref gl_Color) ) (assign (xyzw) (var_ref gl_FragColor@2) (var_ref gl_FragColor) ) )) ) ) GLSL IR for linked fragment program 0: ( (declare (shader_in ) vec4 gl_Color) (declare (shader_out ) vec4 gl_FragColor) (declare (temporary ) vec4 gl_FragColor) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref gl_FragColor) (var_ref gl_Color) ) (assign (xyzw) (var_ref gl_FragColor@3) (var_ref gl_FragColor) ) )) ) ) GLSL IR for linked fragment program 0: ( (declare (shader_in ) vec4 gl_Color) (declare (shader_out ) vec4 gl_FragColor) (declare (temporary ) vec4 gl_FragColor) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref gl_FragColor) (var_ref gl_Color) ) (assign (xyzw) (var_ref gl_FragColor@4) (var_ref gl_FragColor) ) )) ) ) GLSL source for vertex shader 1: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; uniform highp vec4 vu_h[6]; in highp vec4 in_ATTRIBUTE0; out TEXCOORD6 { float Data; } out_TEXCOORD6; void main() { highp float t0; t0 = vu_h[5].x; highp vec2 t1; t1.xy = vu_h[4].xy; highp vec4 t2; highp vec4 t3; t3.w = 1.000000e+000; t3.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec4 t4; highp vec4 t5; t5.xyzw = (vu_h[3]+((vu_h[2]*t3.zzzz)+((vu_h[1]*t3.yyyy)+(vu_h[0]*t3.xxxx)))); t4.xyzw = t5; if ((bool(t0)&&(t5.z<0.000000e+000))) { t4.z = 1.000000e-006; t4.w = 1.000000e+000; } t4.z = (((t4.z*t1.y)+t1.x)*t4.w); t2.xyzw = t4; out_TEXCOORD6.Data = 0.000000e+000; t2.y = (-t5.y); t2.z = ((2.000000e+000*t4.z)+(-t4.w)); gl_Position.xyzw = t2; } GLSL IR for shader 1: ( (declare (shader_out ) TEXCOORD6 out_TEXCOORD6) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 6) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () vec2 t1) (declare () float t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref vu_h) (constant int (5)) ) )) (assign (xy) (var_ref t1) (swiz xy (array_ref (var_ref vu_h) (constant int (4)) ) )) (assign (w) (var_ref t3) (constant float (1.000000)) ) (assign (xyz) (var_ref t3) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xyzw) (var_ref t5) (expression vec4 + (array_ref (var_ref vu_h) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (2)) ) (swiz zzzz (var_ref t3) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (1)) ) (swiz yyyy (var_ref t3) )) (expression vec4 * (array_ref (var_ref vu_h) (constant int (0)) ) (swiz xxxx (var_ref t3) )) ) ) ) ) (assign (xyzw) (var_ref t4) (var_ref t5) ) (if (expression bool && (expression bool f2b (var_ref t0) ) (expression bool < (swiz z (var_ref t5) )(constant float (0.000000)) ) ) ( (assign (z) (var_ref t4) (constant float (0.000001)) ) (assign (w) (var_ref t4) (constant float (1.000000)) ) ) ()) (assign (z) (var_ref t4) (expression float * (expression float + (expression float * (swiz z (var_ref t4) )(swiz y (var_ref t1) )) (swiz x (var_ref t1) )) (swiz w (var_ref t4) )) ) (assign (xw) (var_ref t2) (swiz xw (var_ref t4) )) (assign (x) (record_ref (var_ref out_TEXCOORD6) Data) (constant float (0.000000)) ) (assign (y) (var_ref t2) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t2) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t4) )) (expression float neg (swiz w (var_ref t4) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t2) ) )) ) ) GLSL source for fragment shader 2: #version 150 out highp vec4 out_Target0; void main() { out_Target0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); } GLSL IR for shader 2: ( (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) )) ) ) GLSL IR for linked vertex program 3: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) (array vec4 6) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () vec2 t1) (declare () float t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref vu_h) (constant int (5)) ) )) (assign (xy) (var_ref t1) (swiz xy (array_ref (var_ref vu_h) (constant int (4)) ) )) (assign (w) (var_ref t3) (constant float (1.000000)) ) (assign (xyz) (var_ref t3) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (1)) (constant uint (736)) ) ) ) ) (assign (xyzw) (var_ref t5) (expression vec4 + (array_ref (var_ref vu_h) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (2)) ) (swiz zzzz (var_ref t3) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (1)) ) (swiz yyyy (var_ref t3) )) (expression vec4 * (array_ref (var_ref vu_h) (constant int (0)) ) (swiz xxxx (var_ref t3) )) ) ) ) ) (assign (xyzw) (var_ref t4) (var_ref t5) ) (if (expression bool && (expression bool f2b (var_ref t0) ) (expression bool < (swiz z (var_ref t5) )(constant float (0.000000)) ) ) ( (assign (z) (var_ref t4) (constant float (0.000001)) ) (assign (w) (var_ref t4) (constant float (1.000000)) ) ) ()) (assign (z) (var_ref t4) (expression float * (expression float + (expression float * (swiz z (var_ref t4) )(swiz y (var_ref t1) )) (swiz x (var_ref t1) )) (swiz w (var_ref t4) )) ) (assign (xw) (var_ref t2) (swiz xw (var_ref t4) )) (assign (y) (var_ref t2) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t2) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t4) )) (expression float neg (swiz w (var_ref t4) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t2) ) (assign (xyzw) (var_ref gl_Position@5) (var_ref gl_Position) ) )) ) ) GLSL IR for linked fragment program 3: ( (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0@6) (var_ref out_Target0) ) )) ) ) GLSL source for vertex shader 4: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; in highp vec4 in_ATTRIBUTE0; void main() { highp vec4 t0; highp vec4 t1; t1.w = 1.000000e+000; t1.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec4 t2; t2.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t1.zzzz)+((View_TranslatedWorldToClip[1]*t1.yyyy)+(View_TranslatedWorldToClip[0]*t1.xxxx)))); t0.xyzw = t2; t0.y = (-t2.y); t0.z = ((2.000000e+000*t2.z)+(-t2.w)); gl_Position.xyzw = t0; } GLSL IR for shader 4: ( (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (w) (var_ref t1) (constant float (1.000000)) ) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xyzw) (var_ref t2) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t1) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t1) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t1) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t2) )) (expression float neg (swiz w (var_ref t2) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL IR for linked vertex program 5: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (w) (var_ref t1) (constant float (1.000000)) ) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (1)) (constant uint (736)) ) ) ) ) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) (swiz zzzz (var_ref t1) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) (swiz yyyy (var_ref t1) )) (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) (swiz xxxx (var_ref t1) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t2) )) (expression float neg (swiz w (var_ref t2) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@7) (var_ref gl_Position) ) )) ) ) GLSL IR for linked fragment program 5: ( (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0@8) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 6: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform pb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldpb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalpb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiuspb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundspb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignpb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionpb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskpb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationpb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationpb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalepb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalepb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinpb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxpb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultiplierpb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform pb2 { #define Material_VectorExpressions Material_VectorExpressionspb2 vec4 Material_VectorExpressions[1]; }; uniform highp vec4 pu_h[4]; uniform highp sampler3D ps2; uniform highp sampler3D ps1; uniform highp sampler3D ps0; uniform highp sampler2D ps4; uniform highp sampler2D ps3; in TEXCOORD10 { vec4 Data; } in_TEXCOORD10; in TEXCOORD11 { vec4 Data; } in_TEXCOORD11; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; in TEXCOORD7 { vec4 Data; } in_TEXCOORD7; out highp vec4 out_Target0; out highp vec4 out_Target1; out highp vec4 out_Target2; out highp vec4 out_Target3; out highp vec4 out_Target4; out highp vec4 out_Target5; void main() { highp vec4 t0; t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); highp vec4 t1; t1.xyzw = ((View_TranslatedWorldToClip[3]*in_TEXCOORD7.Data.wwww)+((View_TranslatedWorldToClip[2]*in_TEXCOORD7.Data.zzzz)+((View_TranslatedWorldToClip[1]*in_TEXCOORD7.Data.yyyy)+(View_TranslatedWorldToClip[0]*in_TEXCOORD7.Data.xxxx)))); t0.xy = (((((t1.xy/t1.ww)*vec2(5.000000e-001,-5.000000e-001))+vec2(5.000000e-001,5.000000e-001))*View_ViewSizeAndSceneTexelSize.xy)+View_ScreenTexelBias.xy); t0.z = (1.0/(((t1.w+View_InvDeviceZToWorldZTransform.w)*View_InvDeviceZToWorldZTransform.z))); t0.w = t1.w; highp vec2 t2; t2.xy = ((texture(ps3,((in_TEXCOORD0.Data.xy/vec2(2.000000e+000,2.000000e+000))/vec2(5.000000e-002,5.000000e-002))).xy*vec2(2.000000e+000,2.000000e+000))+vec2(-1.000000e+000,-1.000000e+000)); highp vec4 t3; t3.w = 1.000000e+000; t3.xy = t2; t3.z = sqrt(clamp((1.000000e+000+(-dot(t2,t2))),0.000000e+000,1.000000e+000)); highp vec3 t4; t4.xyz = normalize((((t3.xyz*vec3(3.000000e-001,3.000000e-001,1.000000e+000))*View_NormalOverrideParameter.www)+View_NormalOverrideParameter.xyz)); highp vec3 t5; t5.xyz = normalize(((in_TEXCOORD11.Data.xyz*t4.zzz)+(((cross(in_TEXCOORD11.Data.xyz,in_TEXCOORD10.Data.xyz)*in_TEXCOORD11.Data.www)*t4.yyy)+(in_TEXCOORD10.Data.xyz*t4.xxx)))); highp float t6; t6 = mix(4.000000e-001,1.000000e+000,texture(ps4,(in_TEXCOORD0.Data.xy*vec2(2.000000e+001,2.000000e+001))).x); highp vec2 t7; t7.xy = (in_TEXCOORD0.Data.xy/vec2(2.000000e+000,2.000000e+000)); highp vec4 t8; t8.xyzw = texture(ps4,(t7/vec2(1.000000e-001,1.000000e-001))); highp float t9; t9 = min(max(((t1.w+-2.400000e+001)/1.500000e+003),0.000000e+000),1.000000e+000); highp vec3 t10; t10.xyz = clamp((vec3((mix(t6,(1.000000e+000+(-t6)),mix(t8.y,1.000000e+000,t9))*(mix(2.950000e-001,6.600000e-001,mix((texture(ps4,t7).y+mix(t8.y,0.000000e+000,t9)),5.000000e-001,5.000000e-001))*5.000000e-001)))*(vec3(1.000000e+000,1.000000e+000,1.000000e+000)+(-Material_VectorExpressions[0].xyz))),vec3(0.000000e+000,0.000000e+000,0.000000e+000),vec3(1.000000e+000,1.000000e+000,1.000000e+000)); highp vec2 t11; t11.xy = (in_TEXCOORD0.Data.xy/vec2(2.000000e+000,2.000000e+000)); highp float t12; t12 = max(4.000000e-002,((min(max((mix(0.000000e+000,5.000000e-001,texture(ps4,t11).y)+mix(mix(7.000000e-001,1.000000e+000,texture(ps4,(t11/vec2(1.000000e-001,1.000000e-001))).y),1.000000e+000,min(max(((t1.w+-2.400000e+001)/1.500000e+003),0.000000e+000),1.000000e+000))),0.000000e+000),1.000000e+000)*View_RoughnessOverrideParameter.y)+View_RoughnessOverrideParameter.x)); highp vec3 t13; t13.xyz = ((t10*View_DiffuseOverrideParameter.www)+View_DiffuseOverrideParameter.xyz); highp vec3 t14; t14.xyz = ((mix(vec3(4.000000e-002,4.000000e-002,4.000000e-002),t10,vec3(0.000000e+000,0.000000e+000,0.000000e+000))*View_SpecularOverrideParameter.www)+View_SpecularOverrideParameter.xyz); highp vec3 t15; highp vec3 t16; t16.xyz = clamp((((in_TEXCOORD7.Data.xyz+(-View_PreViewTranslation))*pu_h[3].xyz)+pu_h[2].xyz),pu_h[1].xyz,pu_h[0].xyz); highp vec4 t17; t17.xyzw = texture(ps0,t16); highp vec4 t18; t18.xyzw = texture(ps1,t16); highp vec4 t19; t19.xyzw = texture(ps2,t16); highp vec4 t20; t20.x = t17.x; t20.y = t18.x; t20.z = t19.x; t20.w = t17.w; highp vec4 t21; t21.x = t17.y; t21.y = t18.y; t21.z = t19.y; t21.w = t18.w; highp vec4 t22; t22.x = t17.z; t22.y = t18.z; t22.z = t19.z; t22.w = t19.w; highp vec4 t23; highp vec4 t24; t24.x = 2.820950e-001; t24.y = (-4.886030e-001*t5.y); t24.z = (4.886030e-001*t5.z); t24.w = (-4.886030e-001*t5.x); t23.xyzw = t24; t23.x = 8.862275e-001; t23.yzw = (t24.yzw*vec3(2.094395e+000,2.094395e+000,2.094395e+000)); highp vec3 t25; t25.xyz = vec3(0.000000e+000,0.000000e+000,0.000000e+000); t25.x = dot(t20,t23); t25.y = dot(t21,t23); t25.z = dot(t22,t23); highp vec3 t26; t26.xyz = (max(vec3(0.000000e+000,0.000000e+000,0.000000e+000),t25)/vec3(3.141593e+000,3.141593e+000,3.141593e+000)); t15.xyz = t26; if ((View_UseLightmaps>0.000000e+000)) { t15.xyz = t26; } highp vec3 t27; t27.xyz = (t15*View_IndirectLightingColorScale); highp vec4 t28; t28.w = 0.000000e+000; t28.xyz = (mix((t27*t13),(t13+t14),vec3(View_UnlitViewmodeMask))+Material_VectorExpressions[0].xyz); highp vec2 t29; t29.xy = ((fract((t0.xy/vec2(1.280000e+002,1.280000e+002)))*vec2(1.280000e+002,1.280000e+002))+vec2(-6.434062e+001,-7.246562e+001)); highp vec4 t30; highp vec4 t31; highp vec4 t32; t30.xyz = ((t5*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t33; t33 = float(((uint(Primitive_DecalReceiverMask)*2u)+uint(Primitive_HasDistanceFieldRepresentation))); t30.w = (t33*3.333333e-001); t31.xyz = t10; t31.w = (((log2((dot(t27,vec3(3.000000e-001,5.900000e-001,1.100000e-001))+3.906250e-003))/1.600000e+001)+5.000000e-001)+(((fract(dot((t29.xyx*t29.xyy),vec3(2.039063e+001,6.070313e+001,2.428121e+000)))*5.000000e-001)+-5.000000e-001)*3.921569e-003)); t32.x = t12; t32.yzw = vec3(0.000000e+000,0.000000e+000,0.000000e+000); out_Target0.xyzw = t28; out_Target1.xyzw = t30; out_Target2.xyzw = vec4(0.000000e+000,5.000000e-001,0.000000e+000,3.921569e-003); out_Target3.xyzw = t31; out_Target4.xyzw = t32; out_Target5.xyzw = vec4(1.000000e+000,1.000000e+000,1.000000e+000,1.000000e+000); } GLSL IR for shader 6: ( (declare (shader_in ) TEXCOORD7 in_TEXCOORD7) (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_in ) TEXCOORD11 in_TEXCOORD11) (declare (shader_in ) TEXCOORD10 in_TEXCOORD10) (declare (uniform ) (array vec4 1) Material_VectorExpressionspb2) (declare (uniform ) float Primitive_LpvBiasMultiplierpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinpb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalepb1) (declare (uniform ) vec4 Primitive_NonUniformScalepb1) (declare (uniform ) vec4 Primitive_ObjectOrientationpb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionpb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignpb1) (declare (uniform ) vec3 Primitive_ObjectBoundspb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiuspb1) (declare (uniform ) mat4 Primitive_WorldToLocalpb1) (declare (uniform ) mat4 Primitive_LocalToWorldpb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 4) pu_h) (declare (uniform ) sampler3D ps2) (declare (uniform ) sampler3D ps1) (declare (uniform ) sampler3D ps0) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps3) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t32) (declare () vec4 t31) (declare () vec4 t30) (declare () vec2 t29) (declare () vec4 t28) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec4 t24) (declare () vec4 t23) (declare () vec4 t22) (declare () vec4 t21) (declare () vec4 t20) (declare () vec4 t18) (declare () vec4 t17) (declare () vec3 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec3 t13) (declare () float t12) (declare () vec2 t11) (declare () vec3 t10) (declare () float t9) (declare () vec4 t8) (declare () vec2 t7) (declare () float t6) (declare () vec3 t5) (declare () vec3 t4) (declare () vec4 t3) (declare () vec2 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t1) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (3)) ) (swiz wwww (record_ref (var_ref in_TEXCOORD7) Data) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (2)) ) (swiz zzzz (record_ref (var_ref in_TEXCOORD7) Data) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (1)) ) (swiz yyyy (record_ref (var_ref in_TEXCOORD7) Data) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (0)) ) (swiz xxxx (record_ref (var_ref in_TEXCOORD7) Data) )) ) ) ) ) (assign (xy) (var_ref t0) (expression vec2 + (expression vec2 * (expression vec2 + (expression vec2 * (expression vec2 / (swiz xy (var_ref t1) )(swiz ww (var_ref t1) )) (constant vec2 (0.500000 -0.500000)) ) (constant vec2 (0.500000 0.500000)) ) (swiz xy (var_ref View_ViewSizeAndSceneTexelSizepb0) )) (swiz xy (var_ref View_ScreenTexelBiaspb0) )) ) (assign (z) (var_ref t0) (expression float rcp (expression float * (expression float + (swiz w (var_ref t1) )(swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) (swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) (assign (w) (var_ref t0) (swiz w (var_ref t1) )) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps3) (expression vec2 / (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant vec2 (2.000000 2.000000)) ) (constant vec2 (0.050000 0.050000)) ) )) (assign (xy) (var_ref t2) (expression vec2 + (expression vec2 * (swiz xy (var_ref texture_retval) )(constant vec2 (2.000000 2.000000)) ) (constant vec2 (-1.000000 -1.000000)) ) ) (assign (w) (var_ref t3) (constant float (1.000000)) ) (assign (xy) (var_ref t3) (var_ref t2) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t2) (var_ref t2) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float + (constant float (1.000000)) (expression float neg (var_ref dot_retval) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float sqrt_retval) (call sqrt (var_ref sqrt_retval) ((var_ref clamp_retval) )) (assign (z) (var_ref t3) (var_ref sqrt_retval) ) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (expression vec3 * (swiz xyz (var_ref t3) )(constant vec3 (0.300000 0.300000 1.000000)) ) (swiz www (var_ref View_NormalOverrideParameterpb0) )) (swiz xyz (var_ref View_NormalOverrideParameterpb0) )) )) (assign (xyz) (var_ref t4) (var_ref normalize_retval) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) ))) (declare (temporary ) vec3 normalize_retval@9) (call normalize (var_ref normalize_retval@9) ((expression vec3 + (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz zzz (var_ref t4) )) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref cross_retval) (swiz www (record_ref (var_ref in_TEXCOORD11) Data) )) (swiz yyy (var_ref t4) )) (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) )(swiz xxx (var_ref t4) )) ) ) )) (assign (xyz) (var_ref t5) (var_ref normalize_retval@9) ) (declare (temporary ) vec4 texture_retval@10) (call texture (var_ref texture_retval@10) ((var_ref ps4) (expression vec2 * (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant vec2 (20.000000 20.000000)) ) )) (declare (temporary ) float mix_retval) (call mix (var_ref mix_retval) ((constant float (0.400000)) (constant float (1.000000)) (swiz x (var_ref texture_retval@10) ))) (assign (x) (var_ref t6) (var_ref mix_retval) ) (assign (xy) (var_ref t7) (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant vec2 (2.000000 2.000000)) ) ) (declare (temporary ) vec4 texture_retval@11) (call texture (var_ref texture_retval@11) ((var_ref ps4) (expression vec2 / (var_ref t7) (constant vec2 (0.100000 0.100000)) ) )) (assign (xyzw) (var_ref t8) (var_ref texture_retval@11) ) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((expression float / (expression float + (swiz w (var_ref t1) )(expression float neg (constant float (24.000000)) ) ) (constant float (1500.000000)) ) (constant float (0.000000)) )) (declare (temporary ) float min_retval) (call min (var_ref min_retval) ((var_ref max_retval) (constant float (1.000000)) )) (assign (x) (var_ref t9) (var_ref min_retval) ) (declare (temporary ) float mix_retval@12) (call mix (var_ref mix_retval@12) ((swiz y (var_ref t8) )(constant float (1.000000)) (var_ref min_retval) )) (declare (temporary ) float mix_retval@13) (call mix (var_ref mix_retval@13) ((var_ref t6) (expression float + (constant float (1.000000)) (expression float neg (var_ref t6) ) ) (var_ref mix_retval@12) )) (declare (temporary ) vec4 texture_retval@14) (call texture (var_ref texture_retval@14) ((var_ref ps4) (var_ref t7) )) (declare (temporary ) float mix_retval@15) (call mix (var_ref mix_retval@15) ((swiz y (var_ref t8) )(constant float (0.000000)) (var_ref t9) )) (declare (temporary ) float mix_retval@16) (call mix (var_ref mix_retval@16) ((expression float + (swiz y (var_ref texture_retval@14) )(var_ref mix_retval@15) ) (constant float (0.500000)) (constant float (0.500000)) )) (declare (temporary ) float mix_retval@17) (call mix (var_ref mix_retval@17) ((constant float (0.295000)) (constant float (0.660000)) (var_ref mix_retval@16) )) (declare (temporary ) vec3 clamp_retval@18) (call clamp (var_ref clamp_retval@18) ((expression vec3 * (swiz xxx (expression float * (var_ref mix_retval@13) (expression float * (var_ref mix_retval@17) (constant float (0.500000)) ) ) )(expression vec3 + (constant vec3 (1.000000 1.000000 1.000000)) (expression vec3 neg (swiz xyz (array_ref (var_ref Material_VectorExpressionspb2) (constant int (0)) ) )) ) ) (constant vec3 (0.000000 0.000000 0.000000)) (constant vec3 (1.000000 1.000000 1.000000)) )) (assign (xyz) (var_ref t10) (var_ref clamp_retval@18) ) (assign (xy) (var_ref t11) (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant vec2 (2.000000 2.000000)) ) ) (declare (temporary ) vec4 texture_retval@19) (call texture (var_ref texture_retval@19) ((var_ref ps4) (var_ref t11) )) (declare (temporary ) float mix_retval@20) (call mix (var_ref mix_retval@20) ((constant float (0.000000)) (constant float (0.500000)) (swiz y (var_ref texture_retval@19) ))) (declare (temporary ) vec4 texture_retval@21) (call texture (var_ref texture_retval@21) ((var_ref ps4) (expression vec2 / (var_ref t11) (constant vec2 (0.100000 0.100000)) ) )) (declare (temporary ) float mix_retval@22) (call mix (var_ref mix_retval@22) ((constant float (0.700000)) (constant float (1.000000)) (swiz y (var_ref texture_retval@21) ))) (declare (temporary ) float max_retval@23) (call max (var_ref max_retval@23) ((expression float / (expression float + (swiz w (var_ref t1) )(expression float neg (constant float (24.000000)) ) ) (constant float (1500.000000)) ) (constant float (0.000000)) )) (declare (temporary ) float min_retval@24) (call min (var_ref min_retval@24) ((var_ref max_retval@23) (constant float (1.000000)) )) (declare (temporary ) float mix_retval@25) (call mix (var_ref mix_retval@25) ((var_ref mix_retval@22) (constant float (1.000000)) (var_ref min_retval@24) )) (declare (temporary ) float max_retval@26) (call max (var_ref max_retval@26) ((expression float + (var_ref mix_retval@20) (var_ref mix_retval@25) ) (constant float (0.000000)) )) (declare (temporary ) float min_retval@27) (call min (var_ref min_retval@27) ((var_ref max_retval@26) (constant float (1.000000)) )) (declare (temporary ) float max_retval@28) (call max (var_ref max_retval@28) ((constant float (0.040000)) (expression float + (expression float * (var_ref min_retval@27) (swiz y (var_ref View_RoughnessOverrideParameterpb0) )) (swiz x (var_ref View_RoughnessOverrideParameterpb0) )) )) (assign (x) (var_ref t12) (var_ref max_retval@28) ) (assign (xyz) (var_ref t13) (expression vec3 + (expression vec3 * (var_ref t10) (swiz www (var_ref View_DiffuseOverrideParameterpb0) )) (swiz xyz (var_ref View_DiffuseOverrideParameterpb0) )) ) (declare (temporary ) vec3 mix_retval@29) (call mix (var_ref mix_retval@29) ((constant vec3 (0.040000 0.040000 0.040000)) (var_ref t10) (constant vec3 (0.000000 0.000000 0.000000)) )) (assign (xyz) (var_ref t14) (expression vec3 + (expression vec3 * (var_ref mix_retval@29) (swiz www (var_ref View_SpecularOverrideParameterpb0) )) (swiz xyz (var_ref View_SpecularOverrideParameterpb0) )) ) (declare (temporary ) vec3 clamp_retval@30) (call clamp (var_ref clamp_retval@30) ((expression vec3 + (expression vec3 * (expression vec3 + (swiz xyz (record_ref (var_ref in_TEXCOORD7) Data) )(expression vec3 neg (var_ref View_PreViewTranslationpb0) ) ) (swiz xyz (array_ref (var_ref pu_h) (constant int (3)) ) )) (swiz xyz (array_ref (var_ref pu_h) (constant int (2)) ) )) (swiz xyz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xyz (array_ref (var_ref pu_h) (constant int (0)) ) ))) (assign (xyz) (var_ref t16) (var_ref clamp_retval@30) ) (declare (temporary ) vec4 texture_retval@31) (call texture (var_ref texture_retval@31) ((var_ref ps0) (var_ref clamp_retval@30) )) (assign (xyzw) (var_ref t17) (var_ref texture_retval@31) ) (declare (temporary ) vec4 texture_retval@32) (call texture (var_ref texture_retval@32) ((var_ref ps1) (var_ref t16) )) (assign (xyzw) (var_ref t18) (var_ref texture_retval@32) ) (declare (temporary ) vec4 texture_retval@33) (call texture (var_ref texture_retval@33) ((var_ref ps2) (var_ref t16) )) (assign (x) (var_ref t20) (swiz x (var_ref t17) )) (assign (y) (var_ref t20) (swiz x (var_ref t18) )) (assign (z) (var_ref t20) (swiz x (var_ref texture_retval@33) )) (assign (w) (var_ref t20) (swiz w (var_ref t17) )) (assign (x) (var_ref t21) (swiz y (var_ref t17) )) (assign (y) (var_ref t21) (swiz y (var_ref t18) )) (assign (z) (var_ref t21) (swiz y (var_ref texture_retval@33) )) (assign (w) (var_ref t21) (swiz w (var_ref t18) )) (assign (x) (var_ref t22) (swiz z (var_ref t17) )) (assign (y) (var_ref t22) (swiz z (var_ref t18) )) (assign (z) (var_ref t22) (swiz z (var_ref texture_retval@33) )) (assign (w) (var_ref t22) (swiz w (var_ref texture_retval@33) )) (assign (x) (var_ref t24) (constant float (0.282095)) ) (assign (y) (var_ref t24) (expression float * (constant float (-0.488603)) (swiz y (var_ref t5) )) ) (assign (z) (var_ref t24) (expression float * (constant float (0.488603)) (swiz z (var_ref t5) )) ) (assign (w) (var_ref t24) (expression float * (constant float (-0.488603)) (swiz x (var_ref t5) )) ) (assign (x) (var_ref t23) (constant float (0.886227)) ) (assign (yzw) (var_ref t23) (expression vec3 * (swiz yzw (var_ref t24) )(constant vec3 (2.094395 2.094395 2.094395)) ) ) (assign (xyz) (var_ref t25) (constant vec3 (0.000000 0.000000 0.000000)) ) (declare (temporary ) float dot_retval@34) (call dot (var_ref dot_retval@34) ((var_ref t20) (var_ref t23) )) (assign (x) (var_ref t25) (var_ref dot_retval@34) ) (declare (temporary ) float dot_retval@35) (call dot (var_ref dot_retval@35) ((var_ref t21) (var_ref t23) )) (assign (y) (var_ref t25) (var_ref dot_retval@35) ) (declare (temporary ) float dot_retval@36) (call dot (var_ref dot_retval@36) ((var_ref t22) (var_ref t23) )) (assign (z) (var_ref t25) (var_ref dot_retval@36) ) (declare (temporary ) vec3 max_retval@37) (call max (var_ref max_retval@37) ((constant vec3 (0.000000 0.000000 0.000000)) (var_ref t25) )) (assign (xyz) (var_ref t26) (expression vec3 / (var_ref max_retval@37) (constant vec3 (3.141593 3.141593 3.141593)) ) ) (assign (xyz) (var_ref t15) (var_ref t26) ) (if (expression bool > (var_ref View_UseLightmapspb0) (constant float (0.000000)) ) ( (assign (xyz) (var_ref t15) (var_ref t26) ) ) ()) (assign (xyz) (var_ref t27) (expression vec3 * (var_ref t15) (var_ref View_IndirectLightingColorScalepb0) ) ) (assign (w) (var_ref t28) (constant float (0.000000)) ) (declare (temporary ) vec3 mix_retval@38) (call mix (var_ref mix_retval@38) ((expression vec3 * (var_ref t27) (var_ref t13) ) (expression vec3 + (var_ref t13) (var_ref t14) ) (swiz xxx (var_ref View_UnlitViewmodeMaskpb0) ))) (assign (xyz) (var_ref t28) (expression vec3 + (var_ref mix_retval@38) (swiz xyz (array_ref (var_ref Material_VectorExpressionspb2) (constant int (0)) ) )) ) (declare (temporary ) vec2 fract_retval) (call fract (var_ref fract_retval) ((expression vec2 / (swiz xy (var_ref t0) )(constant vec2 (128.000000 128.000000)) ) )) (assign (xy) (var_ref t29) (expression vec2 + (expression vec2 * (var_ref fract_retval) (constant vec2 (128.000000 128.000000)) ) (constant vec2 (-64.340622 -72.465622)) ) ) (assign (xyz) (var_ref t30) (expression vec3 + (expression vec3 * (var_ref t5) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t30) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (var_ref Primitive_DecalReceiverMaskpb1) ) (constant uint (2)) ) (expression uint f2u (var_ref Primitive_HasDistanceFieldRepresentationpb1) ) ) ) (constant float (0.333333)) ) ) (assign (xyz) (var_ref t31) (var_ref t10) ) (declare (temporary ) float dot_retval@39) (call dot (var_ref dot_retval@39) ((var_ref t27) (constant vec3 (0.300000 0.590000 0.110000)) )) (declare (temporary ) float log2_retval) (call log2 (var_ref log2_retval) ((expression float + (var_ref dot_retval@39) (constant float (0.003906)) ) )) (declare (temporary ) float dot_retval@40) (call dot (var_ref dot_retval@40) ((expression vec3 * (swiz xyx (var_ref t29) )(swiz xyy (var_ref t29) )) (constant vec3 (20.390631 60.703129 2.428121)) )) (declare (temporary ) float fract_retval@41) (call fract (var_ref fract_retval@41) ((var_ref dot_retval@40) )) (assign (w) (var_ref t31) (expression float + (expression float + (expression float / (var_ref log2_retval) (constant float (16.000000)) ) (constant float (0.500000)) ) (expression float * (expression float + (expression float * (var_ref fract_retval@41) (constant float (0.500000)) ) (constant float (-0.500000)) ) (constant float (0.003922)) ) ) ) (assign (x) (var_ref t32) (var_ref t12) ) (assign (yzw) (var_ref t32) (constant vec3 (0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t28) ) (assign (xyzw) (var_ref out_Target1) (var_ref t30) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.500000 0.000000 0.003922)) ) (assign (xyzw) (var_ref out_Target3) (var_ref t31) ) (assign (xyzw) (var_ref out_Target4) (var_ref t32) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) (signature vec4 (parameters (declare (in ) sampler3D sampler) (declare (in ) vec3 P) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) (signature float (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) ) ( )) (signature float (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 minVal) (declare (in ) vec3 maxVal) ) ( )) ) (function sqrt (signature float (parameters (declare (in ) float x) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) (function mix (signature float (parameters (declare (in ) float x) (declare (in ) float y) (declare (in ) float a) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) (declare (in ) vec3 a) ) ( )) ) (function max (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function min (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function fract (signature vec2 (parameters (declare (in ) vec2 x) ) ( )) (signature float (parameters (declare (in ) float x) ) ( )) ) (function log2 (signature float (parameters (declare (in ) float x) ) ( )) ) ) GLSL source for vertex shader 7: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; in highp vec4 in_ATTRIBUTE0; in highp vec3 in_ATTRIBUTE1; in highp vec4 in_ATTRIBUTE2; in highp vec2 in_ATTRIBUTE4; out TEXCOORD10 { vec4 Data; } out_TEXCOORD10; out TEXCOORD11 { vec4 Data; } out_TEXCOORD11; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; out TEXCOORD7 { vec4 Data; } out_TEXCOORD7; void main() { highp vec4 t0; highp vec3 t1; highp vec4 t2; t2.xyzw = ((in_ATTRIBUTE2*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000)); t1.xyz = (cross((cross(t2.xyz,((in_ATTRIBUTE1*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*t2.www),t2.xyz)*t2.www); highp mat3 t3; highp mat3 t4; t4[0].xyz = Primitive_LocalToWorld[0].xyz; t4[1].xyz = Primitive_LocalToWorld[1].xyz; t4[2].xyz = Primitive_LocalToWorld[2].xyz; t3 = t4; t3[0].xyz = (t4[0]*Primitive_InvNonUniformScale.xxx); t3[1].xyz = (t3[1]*Primitive_InvNonUniformScale.yyy); t3[2].xyz = (t3[2]*Primitive_InvNonUniformScale.zzz); highp vec4 t5; t5.w = 1.000000e+000; t5.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec2 t6[1]; t6[0].xy = vec2(0.000000e+000,0.000000e+000); t6[(1+(-1))].xy = in_ATTRIBUTE4; highp vec4 t7; t7.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t5.zzzz)+((View_TranslatedWorldToClip[1]*t5.yyyy)+(View_TranslatedWorldToClip[0]*t5.xxxx)))); highp vec4 t8[1]; t8[0].xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); t8[(0/2)].xy = t6[0]; highp vec4 t9; t9.w = 0.000000e+000; t9.xyz = ((t1.zzz*t3[2])+((t1.yyy*t3[1])+(t1.xxx*t3[0]))); highp vec4 t10; t10.xyz = ((t2.zzz*t3[2])+((t2.yyy*t3[1])+(t2.xxx*t3[0]))); t10.w = (((in_ATTRIBUTE2.w*2.000000e+000)+-1.000000e+000)*Primitive_LocalToWorldDeterminantSign); t0.xyzw = t7; out_TEXCOORD10.Data.xyzw = t9; out_TEXCOORD11.Data.xyzw = t10; out_TEXCOORD0.Data.xyzw = t8[0]; out_TEXCOORD7.Data.xyzw = t5; t0.y = (-t7.y); t0.z = ((2.000000e+000*t7.z)+(-t7.w)); gl_Position.xyzw = t0; } GLSL IR for shader 7: ( (declare (shader_out ) TEXCOORD7 out_TEXCOORD7) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (shader_out ) TEXCOORD11 out_TEXCOORD11) (declare (shader_out ) TEXCOORD10 out_TEXCOORD10) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t10) (declare () vec4 t9) (declare () (array vec4 1) t8) (declare () vec4 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (var_ref t2) )(expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (declare (temporary ) vec3 cross_retval@42) (call cross (var_ref cross_retval@42) ((expression vec3 * (var_ref cross_retval) (swiz www (var_ref t2) )) (swiz xyz (var_ref t2) ))) (assign (xyz) (var_ref t1) (expression vec3 * (var_ref cross_retval@42) (swiz www (var_ref t2) )) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )) (assign () (var_ref t3) (var_ref t4) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (var_ref t7) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xyzw) (array_ref (var_ref t8) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t8) (expression int / (constant int (0)) (constant int (2)) ) ) (array_ref (var_ref t6) (constant int (0)) ) ) (assign (w) (var_ref t9) (constant float (0.000000)) ) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t10) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (var_ref Primitive_LocalToWorldDeterminantSignvb1) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t7) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD10) Data) (var_ref t9) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD11) Data) (var_ref t10) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (array_ref (var_ref t8) (constant int (0)) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD7) Data) (var_ref t5) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t7) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t7) )) (expression float neg (swiz w (var_ref t7) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL IR for linked vertex program 8: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t10) (declare () vec4 t9) (declare () (array vec4 1) t8) (declare () vec4 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 b) (assign (xyz) (var_ref b) (expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 a) (assign (xyz) (var_ref a) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref t2) )(swiz zxy (var_ref b) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref t2) )(swiz yzx (var_ref b) )) ) ) (swiz www (var_ref t2) )) ) (assign (xyz) (var_ref t1) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref a) )(swiz zxy (var_ref t2) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref a) )(swiz yzx (var_ref t2) )) ) ) (swiz www (var_ref t2) )) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (var_ref cse) )) (declare () vec4 cse@43) (assign (xyzw) (var_ref cse@43) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (var_ref cse@43) )) (declare () vec4 cse@44) (assign (xyzw) (var_ref cse@44) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (var_ref cse@44) )) (assign () (var_ref t3) (var_ref t4) ) (declare () vec4 cse@45) (assign (xyzw) (var_ref cse@45) (expression vec4 ubo_load (constant uint (0)) (constant uint (224)) ) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref cse@45) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref cse@45) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref cse@45) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (var_ref cse) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (var_ref cse@43) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (var_ref cse@44) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (1)) (constant uint (736)) ) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (var_ref t7) (expression vec4 + (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xyzw) (array_ref (var_ref t8) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t8) (expression int / (constant int (0)) (constant int (2)) ) ) (array_ref (var_ref t6) (constant int (0)) ) ) (assign (w) (var_ref t9) (constant float (0.000000)) ) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t10) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (expression float ubo_load (constant uint (0)) (constant uint (156)) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t7) )) (assign (xyzw) (var_ref Data) (var_ref t9) ) (assign (xyzw) (var_ref Data@46) (var_ref t10) ) (assign (xyzw) (var_ref Data@47) (array_ref (var_ref t8) (constant int (0)) ) ) (assign (xyzw) (var_ref Data@48) (var_ref t5) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t7) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t7) )) (expression float neg (swiz w (var_ref t7) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@49) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@50) (var_ref Data@48) ) (assign (xyzw) (var_ref Data@51) (var_ref Data@47) ) (assign (xyzw) (var_ref Data@52) (var_ref Data@46) ) (assign (xyzw) (var_ref Data@53) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 8: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 1) Material_VectorExpressionspb2) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (uniform ) (array vec4 4) pu_h) (declare (uniform ) sampler3D ps2) (declare (uniform ) sampler3D ps1) (declare (uniform ) sampler3D ps0) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps3) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (temporary ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (temporary ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (temporary ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (declare (temporary ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t32) (declare () vec4 t31) (declare () vec4 t30) (declare () vec2 t29) (declare () vec4 t28) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec4 t24) (declare () vec4 t23) (declare () vec4 t22) (declare () vec4 t21) (declare () vec4 t20) (declare () vec3 t15) (declare () vec3 t14) (declare () vec3 t13) (declare () vec2 t11) (declare () vec2 t7) (declare () vec4 t3) (declare () vec2 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t1) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) (swiz wwww (var_ref Data) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) (swiz zzzz (var_ref Data) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) (swiz yyyy (var_ref Data) )) (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) (swiz xxxx (var_ref Data) )) ) ) ) ) (assign (xy) (var_ref t0) (expression vec2 + (expression vec2 * (expression vec2 + (expression vec2 * (expression vec2 * (swiz xy (var_ref t1) )(expression vec2 rcp (swiz ww (var_ref t1) )) ) (constant vec2 (0.500000 -0.500000)) ) (constant vec2 (0.500000 0.500000)) ) (swiz xy (expression vec4 ubo_load (constant uint (1)) (constant uint (608)) ) )) (swiz xy (expression vec4 ubo_load (constant uint (1)) (constant uint (592)) ) )) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (1)) (constant uint (560)) ) ) (assign (z) (var_ref t0) (expression float rcp (expression float * (expression float + (swiz w (var_ref t1) )(swiz w (var_ref cse) )) (swiz z (var_ref cse) )) ) ) (assign (w) (var_ref t0) (swiz w (var_ref t1) )) (assign (xy) (var_ref t2) (expression vec2 + (expression vec2 * (swiz xy (tex vec4 (var_ref ps3) (expression vec2 * (constant vec2 (10.000000 10.000000)) (swiz xy (var_ref Data@54) )) 0 1 () ))(constant vec2 (2.000000 2.000000)) ) (constant vec2 (-1.000000 -1.000000)) ) ) (assign (w) (var_ref t3) (constant float (1.000000)) ) (assign (xy) (var_ref t3) (var_ref t2) ) (assign (z) (var_ref t3) (expression float sqrt (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float dot (var_ref t2) (var_ref t2) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (declare () vec4 cse@55) (assign (xyzw) (var_ref cse@55) (expression vec4 ubo_load (constant uint (1)) (constant uint (704)) ) ) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (expression vec3 * (swiz xyz (var_ref t3) )(constant vec3 (0.300000 0.300000 1.000000)) ) (swiz www (var_ref cse@55) )) (swiz xyz (var_ref cse@55) )) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (declare (temporary ) vec3 normalize_retval@56) (declare () vec3 x@57) (assign (xyz) (var_ref x@57) (expression vec3 + (expression vec3 * (swiz xyz (var_ref Data@58) )(swiz zzz (var_ref normalize_retval) )) (expression vec3 + (expression vec3 * (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref Data@58) )(swiz zxy (var_ref Data@59) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref Data@58) )(swiz yzx (var_ref Data@59) )) ) ) (swiz www (var_ref Data@58) )) (swiz yyy (var_ref normalize_retval) )) (expression vec3 * (swiz xyz (var_ref Data@59) )(swiz xxx (var_ref normalize_retval) )) ) ) ) (assign (xyz) (var_ref normalize_retval@56) (expression vec3 * (var_ref x@57) (expression float rsq (expression float dot (var_ref x@57) (var_ref x@57) ) ) ) ) (declare (temporary ) float mix_retval) (assign (x) (var_ref mix_retval) (expression float lrp (constant float (0.400000)) (constant float (1.000000)) (swiz x (tex vec4 (var_ref ps4) (expression vec2 * (swiz xy (var_ref Data@54) )(constant vec2 (20.000000 20.000000)) ) 0 1 () ))) ) (assign (xy) (var_ref t7) (expression vec2 * (swiz xy (var_ref Data@54) )(constant vec2 (0.500000 0.500000)) ) ) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps4) (expression vec2 * (var_ref t7) (constant vec2 (10.000000 10.000000)) ) 0 1 () )) (declare (temporary ) float min_retval) (assign (x) (var_ref min_retval) (expression float min (expression float max (expression float * (expression float + (swiz w (var_ref t1) )(constant float (-24.000000)) ) (constant float (0.000667)) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) vec3 clamp_retval) (assign (xyz) (var_ref clamp_retval) (expression vec3 min (expression vec3 max (expression vec3 * (swiz xxx (expression float * (expression float lrp (var_ref mix_retval) (expression float + (constant float (1.000000)) (expression float neg (var_ref mix_retval) ) ) (expression float lrp (swiz y (var_ref texture_retval) )(constant float (1.000000)) (var_ref min_retval) ) ) (expression float * (expression float lrp (constant float (0.295000)) (constant float (0.660000)) (expression float lrp (expression float + (swiz y (tex vec4 (var_ref ps4) (var_ref t7) 0 1 () ))(expression float * (swiz y (var_ref texture_retval) )(expression float + (constant float (1.000000)) (expression float neg (var_ref min_retval) ) ) ) ) (constant float (0.500000)) (constant float (0.500000)) ) ) (constant float (0.500000)) ) ) )(expression vec3 + (constant vec3 (1.000000 1.000000 1.000000)) (expression vec3 neg (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) )) ) ) (constant vec3 (0.000000 0.000000 0.000000)) ) (constant vec3 (1.000000 1.000000 1.000000)) ) ) (assign (xy) (var_ref t11) (expression vec2 * (swiz xy (var_ref Data@54) )(constant vec2 (0.500000 0.500000)) ) ) (declare (temporary ) float max_retval) (declare () vec2 cse@60) (assign (xy) (var_ref cse@60) (expression vec2 ubo_load (constant uint (1)) (constant uint (720)) ) ) (assign (x) (var_ref max_retval) (expression float max (constant float (0.040000)) (expression float + (expression float * (expression float min (expression float max (expression float + (expression float * (constant float (0.500000)) (swiz y (tex vec4 (var_ref ps4) (var_ref t11) 0 1 () ))) (expression float lrp (expression float lrp (constant float (0.700000)) (constant float (1.000000)) (swiz y (tex vec4 (var_ref ps4) (expression vec2 * (var_ref t11) (constant vec2 (10.000000 10.000000)) ) 0 1 () ))) (constant float (1.000000)) (expression float min (expression float max (expression float * (expression float + (swiz w (var_ref t1) )(constant float (-24.000000)) ) (constant float (0.000667)) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (swiz y (var_ref cse@60) )) (swiz x (var_ref cse@60) )) ) ) (declare () vec4 cse@61) (assign (xyzw) (var_ref cse@61) (expression vec4 ubo_load (constant uint (1)) (constant uint (672)) ) ) (assign (xyz) (var_ref t13) (expression vec3 + (expression vec3 * (var_ref clamp_retval) (swiz www (var_ref cse@61) )) (swiz xyz (var_ref cse@61) )) ) (declare () vec4 cse@62) (assign (xyzw) (var_ref cse@62) (expression vec4 ubo_load (constant uint (1)) (constant uint (688)) ) ) (assign (xyz) (var_ref t14) (expression vec3 + (expression vec3 * (constant vec3 (0.040000 0.040000 0.040000)) (swiz www (var_ref cse@62) )) (swiz xyz (var_ref cse@62) )) ) (declare (temporary ) vec3 clamp_retval@63) (assign (xyz) (var_ref clamp_retval@63) (expression vec3 min (expression vec3 max (expression vec3 + (expression vec3 * (expression vec3 + (swiz xyz (var_ref Data) )(expression vec3 neg (expression vec3 ubo_load (constant uint (1)) (constant uint (736)) ) ) ) (swiz xyz (array_ref (var_ref pu_h) (constant int (3)) ) )) (swiz xyz (array_ref (var_ref pu_h) (constant int (2)) ) )) (swiz xyz (array_ref (var_ref pu_h) (constant int (1)) ) )) (swiz xyz (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (declare (temporary ) vec4 texture_retval@64) (assign (xyzw) (var_ref texture_retval@64) (tex vec4 (var_ref ps0) (var_ref clamp_retval@63) 0 1 () )) (declare (temporary ) vec4 texture_retval@65) (assign (xyzw) (var_ref texture_retval@65) (tex vec4 (var_ref ps1) (var_ref clamp_retval@63) 0 1 () )) (declare (temporary ) vec4 texture_retval@66) (assign (xyzw) (var_ref texture_retval@66) (tex vec4 (var_ref ps2) (var_ref clamp_retval@63) 0 1 () )) (assign (x) (var_ref t20) (swiz x (var_ref texture_retval@64) )) (assign (y) (var_ref t20) (swiz x (var_ref texture_retval@65) )) (assign (z) (var_ref t20) (swiz x (var_ref texture_retval@66) )) (assign (w) (var_ref t20) (swiz w (var_ref texture_retval@64) )) (assign (x) (var_ref t21) (swiz y (var_ref texture_retval@64) )) (assign (y) (var_ref t21) (swiz y (var_ref texture_retval@65) )) (assign (z) (var_ref t21) (swiz y (var_ref texture_retval@66) )) (assign (w) (var_ref t21) (swiz w (var_ref texture_retval@65) )) (assign (x) (var_ref t22) (swiz z (var_ref texture_retval@64) )) (assign (y) (var_ref t22) (swiz z (var_ref texture_retval@65) )) (assign (z) (var_ref t22) (swiz z (var_ref texture_retval@66) )) (assign (w) (var_ref t22) (swiz w (var_ref texture_retval@66) )) (assign (x) (var_ref t24) (constant float (0.282095)) ) (assign (y) (var_ref t24) (expression float * (constant float (-0.488603)) (swiz y (var_ref normalize_retval@56) )) ) (assign (z) (var_ref t24) (expression float * (constant float (0.488603)) (swiz z (var_ref normalize_retval@56) )) ) (assign (w) (var_ref t24) (expression float * (constant float (-0.488603)) (swiz x (var_ref normalize_retval@56) )) ) (assign (x) (var_ref t23) (constant float (0.886227)) ) (assign (yzw) (var_ref t23) (expression vec3 * (swiz yzw (var_ref t24) )(constant vec3 (2.094395 2.094395 2.094395)) ) ) (assign (x) (var_ref t25) (expression float dot (var_ref t20) (var_ref t23) ) ) (assign (y) (var_ref t25) (expression float dot (var_ref t21) (var_ref t23) ) ) (assign (z) (var_ref t25) (expression float dot (var_ref t22) (var_ref t23) ) ) (assign (xyz) (var_ref t26) (expression vec3 * (expression vec3 max (constant vec3 (0.000000 0.000000 0.000000)) (var_ref t25) ) (constant vec3 (0.318310 0.318310 0.318310)) ) ) (assign (xyz) (var_ref t15) (var_ref t26) ) (declare (temporary ) float ubo_load_temp) (assign (x) (var_ref ubo_load_temp) (expression float ubo_load (constant uint (1)) (constant uint (792)) ) ) (if (expression bool > (var_ref ubo_load_temp) (constant float (0.000000)) ) ( (assign (xyz) (var_ref t15) (var_ref t26) ) ) ()) (assign (xyz) (var_ref t27) (expression vec3 * (var_ref t15) (expression vec3 ubo_load (constant uint (1)) (constant uint (1424)) ) ) ) (assign (w) (var_ref t28) (constant float (0.000000)) ) (assign (xyz) (var_ref t28) (expression vec3 + (expression vec3 lrp (expression vec3 * (var_ref t27) (var_ref t13) ) (expression vec3 + (var_ref t13) (var_ref t14) ) (swiz xxx (expression float ubo_load (constant uint (1)) (constant uint (796)) ) )) (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) )) ) (assign (xy) (var_ref t29) (expression vec2 + (expression vec2 * (expression vec2 fract (expression vec2 * (swiz xy (var_ref t0) )(constant vec2 (0.007812 0.007812)) ) ) (constant vec2 (128.000000 128.000000)) ) (constant vec2 (-64.340622 -72.465622)) ) ) (assign (xyz) (var_ref t30) (expression vec3 + (expression vec3 * (var_ref normalize_retval@56) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t30) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (expression float ubo_load (constant uint (2)) (constant uint (172)) ) ) (constant uint (2)) ) (expression uint f2u (expression float ubo_load (constant uint (2)) (constant uint (176)) ) ) ) ) (constant float (0.333333)) ) ) (assign (xyz) (var_ref t31) (var_ref clamp_retval) ) (assign (w) (var_ref t31) (expression float + (expression float + (expression float * (expression float log2 (expression float + (expression float dot (var_ref t27) (constant vec3 (0.300000 0.590000 0.110000)) ) (constant float (0.003906)) ) ) (constant float (0.062500)) ) (constant float (0.500000)) ) (expression float * (expression float + (expression float * (expression float fract (expression float dot (expression vec3 * (swiz xyx (var_ref t29) )(swiz xyy (var_ref t29) )) (constant vec3 (20.390631 60.703129 2.428121)) ) ) (constant float (0.500000)) ) (constant float (-0.500000)) ) (constant float (0.003922)) ) ) ) (assign (x) (var_ref t32) (var_ref max_retval) ) (assign (yzw) (var_ref t32) (constant vec3 (0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t28) ) (assign (xyzw) (var_ref out_Target1) (var_ref t30) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.500000 0.000000 0.003922)) ) (assign (xyzw) (var_ref out_Target3) (var_ref t31) ) (assign (xyzw) (var_ref out_Target4) (var_ref t32) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) (assign (xyzw) (var_ref out_Target0@67) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@68) (var_ref out_Target1) ) (assign (xyzw) (var_ref out_Target2@69) (var_ref out_Target2) ) (assign (xyzw) (var_ref out_Target3@70) (var_ref out_Target3) ) (assign (xyzw) (var_ref out_Target4@71) (var_ref out_Target4) ) (assign (xyzw) (var_ref out_Target5@72) (var_ref out_Target5) ) )) ) ) GLSL source for fragment shader 9: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform pb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldpb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalpb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiuspb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundspb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignpb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionpb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskpb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationpb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationpb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalepb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalepb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinpb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxpb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultiplierpb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform pb2 { #define MaterialCollection0_Vectors MaterialCollection0_Vectorspb2 vec4 MaterialCollection0_Vectors[5]; }; layout(std140) uniform pb3 { #define Material_VectorExpressions Material_VectorExpressionspb3 vec4 Material_VectorExpressions[2]; #define Material_ScalarExpressions Material_ScalarExpressionspb3 vec4 Material_ScalarExpressions[2]; }; uniform highp sampler2D ps0; in TEXCOORD10 { vec4 Data; } in_TEXCOORD10; in TEXCOORD11 { vec4 Data; } in_TEXCOORD11; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; out highp vec4 out_Target1; out highp vec4 out_Target2; out highp vec4 out_Target3; out highp vec4 out_Target4; out highp vec4 out_Target5; void main() { highp vec3 t0; t0.xyz = normalize(((vec3(0.000000e+000,0.000000e+000,1.000000e+000)*View_NormalOverrideParameter.www)+View_NormalOverrideParameter.xyz)); if (((texture(ps0,in_TEXCOORD0.Data.xy).w+-3.333000e-001)<0.000000e+000)) discard; highp vec4 t1; t1.w = 0.000000e+000; t1.xyz = (((MaterialCollection0_Vectors[4].xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))*texture(ps0,in_TEXCOORD0.Data.xy).xyz)+Material_VectorExpressions[0].xyz); highp vec4 t2; t2.xyz = ((normalize(((in_TEXCOORD11.Data.xyz*t0.zzz)+(((cross(in_TEXCOORD11.Data.xyz,in_TEXCOORD10.Data.xyz)*in_TEXCOORD11.Data.www)*t0.yyy)+(in_TEXCOORD10.Data.xyz*t0.xxx))))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t3; t3 = float(((uint(Primitive_DecalReceiverMask)*2u)+uint(Primitive_HasDistanceFieldRepresentation))); t2.w = (t3*3.333333e-001); out_Target0.xyzw = t1; out_Target1.xyzw = t2; out_Target2.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target3.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target4.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target5.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); } GLSL IR for shader 9: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_in ) TEXCOORD11 in_TEXCOORD11) (declare (shader_in ) TEXCOORD10 in_TEXCOORD10) (declare (uniform ) (array vec4 2) Material_ScalarExpressionspb3) (declare (uniform ) (array vec4 2) Material_VectorExpressionspb3) (declare (uniform ) (array vec4 5) MaterialCollection0_Vectorspb2) (declare (uniform ) float Primitive_LpvBiasMultiplierpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinpb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalepb1) (declare (uniform ) vec4 Primitive_NonUniformScalepb1) (declare (uniform ) vec4 Primitive_ObjectOrientationpb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionpb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignpb1) (declare (uniform ) vec3 Primitive_ObjectBoundspb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiuspb1) (declare (uniform ) mat4 Primitive_WorldToLocalpb1) (declare (uniform ) mat4 Primitive_LocalToWorldpb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec3 t0) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (constant vec3 (0.000000 0.000000 1.000000)) (swiz www (var_ref View_NormalOverrideParameterpb0) )) (swiz xyz (var_ref View_NormalOverrideParameterpb0) )) )) (assign (xyz) (var_ref t0) (var_ref normalize_retval) ) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (if (expression bool < (swiz w (var_ref texture_retval) )(constant float (0.333300)) ) ( (discard ) ) ()) (assign (w) (var_ref t1) (constant float (0.000000)) ) (declare (temporary ) vec4 texture_retval@73) (call texture (var_ref texture_retval@73) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 * (swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (4)) ) )(constant vec3 (2.000000 2.000000 2.000000)) ) (swiz xyz (var_ref texture_retval@73) )) (swiz xyz (array_ref (var_ref Material_VectorExpressionspb3) (constant int (0)) ) )) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) ))) (declare (temporary ) vec3 normalize_retval@74) (call normalize (var_ref normalize_retval@74) ((expression vec3 + (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz zzz (var_ref t0) )) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref cross_retval) (swiz www (record_ref (var_ref in_TEXCOORD11) Data) )) (swiz yyy (var_ref t0) )) (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) )(swiz xxx (var_ref t0) )) ) ) )) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (var_ref normalize_retval@74) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t2) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (var_ref Primitive_DecalReceiverMaskpb1) ) (constant uint (2)) ) (expression uint f2u (var_ref Primitive_HasDistanceFieldRepresentationpb1) ) ) ) (constant float (0.333333)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target1) (var_ref t2) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target3) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target4) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL source for vertex shader 10: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform vb2 { #define Material_VectorExpressions Material_VectorExpressionsvb2 vec4 Material_VectorExpressions[2]; #define Material_ScalarExpressions Material_ScalarExpressionsvb2 vec4 Material_ScalarExpressions[2]; }; in highp vec4 in_ATTRIBUTE0; in highp vec3 in_ATTRIBUTE1; in highp vec4 in_ATTRIBUTE2; in highp vec2 in_ATTRIBUTE4; out TEXCOORD10 { vec4 Data; } out_TEXCOORD10; out TEXCOORD11 { vec4 Data; } out_TEXCOORD11; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; out TEXCOORD7 { vec4 Data; } out_TEXCOORD7; void main() { highp vec4 t0; highp vec3 t1; highp vec4 t2; t2.xyzw = ((in_ATTRIBUTE2*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000)); t1.xyz = (cross((cross(t2.xyz,((in_ATTRIBUTE1*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*t2.www),t2.xyz)*t2.www); highp mat3 t3; highp mat3 t4; t4[0].xyz = Primitive_LocalToWorld[0].xyz; t4[1].xyz = Primitive_LocalToWorld[1].xyz; t4[2].xyz = Primitive_LocalToWorld[2].xyz; t3 = t4; t3[0].xyz = (t4[0]*Primitive_InvNonUniformScale.xxx); t3[1].xyz = (t3[1]*Primitive_InvNonUniformScale.yyy); t3[2].xyz = (t3[2]*Primitive_InvNonUniformScale.zzz); highp vec4 t5; t5.w = 1.000000e+000; t5.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec2 t6[1]; t6[0].xy = vec2(0.000000e+000,0.000000e+000); t6[(1+(-1))].xy = in_ATTRIBUTE4; highp vec4 t7; t7.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t5.zzzz)+((View_TranslatedWorldToClip[1]*t5.yyyy)+(View_TranslatedWorldToClip[0]*t5.xxxx)))); highp vec2 t8; t8.x = (t6[0].x*Material_ScalarExpressions[0].y); t8.y = (t6[0].y*Material_ScalarExpressions[0].y); highp vec4 t9[1]; t9[0].xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); t9[(0/2)].xy = (t8+Material_VectorExpressions[1].xy); highp vec4 t10; t10.w = 0.000000e+000; t10.xyz = ((t1.zzz*t3[2])+((t1.yyy*t3[1])+(t1.xxx*t3[0]))); highp vec4 t11; t11.xyz = ((t2.zzz*t3[2])+((t2.yyy*t3[1])+(t2.xxx*t3[0]))); t11.w = (((in_ATTRIBUTE2.w*2.000000e+000)+-1.000000e+000)*Primitive_LocalToWorldDeterminantSign); t0.xyzw = t7; out_TEXCOORD10.Data.xyzw = t10; out_TEXCOORD11.Data.xyzw = t11; out_TEXCOORD0.Data.xyzw = t9[0]; out_TEXCOORD7.Data.xyzw = t5; t0.y = (-t7.y); t0.z = ((2.000000e+000*t7.z)+(-t7.w)); gl_Position.xyzw = t0; } GLSL IR for shader 10: ( (declare (shader_out ) TEXCOORD7 out_TEXCOORD7) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (shader_out ) TEXCOORD11 out_TEXCOORD11) (declare (shader_out ) TEXCOORD10 out_TEXCOORD10) (declare (uniform ) (array vec4 2) Material_ScalarExpressionsvb2) (declare (uniform ) (array vec4 2) Material_VectorExpressionsvb2) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () (array vec4 1) t9) (declare () vec2 t8) (declare () vec4 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (var_ref t2) )(expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (declare (temporary ) vec3 cross_retval@75) (call cross (var_ref cross_retval@75) ((expression vec3 * (var_ref cross_retval) (swiz www (var_ref t2) )) (swiz xyz (var_ref t2) ))) (assign (xyz) (var_ref t1) (expression vec3 * (var_ref cross_retval@75) (swiz www (var_ref t2) )) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )) (assign () (var_ref t3) (var_ref t4) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (var_ref t7) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (x) (var_ref t8) (expression float * (swiz x (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (array_ref (var_ref Material_ScalarExpressionsvb2) (constant int (0)) ) )) ) (assign (y) (var_ref t8) (expression float * (swiz y (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (array_ref (var_ref Material_ScalarExpressionsvb2) (constant int (0)) ) )) ) (assign (xyzw) (array_ref (var_ref t9) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t9) (expression int / (constant int (0)) (constant int (2)) ) ) (expression vec2 + (var_ref t8) (swiz xy (array_ref (var_ref Material_VectorExpressionsvb2) (constant int (1)) ) )) ) (assign (w) (var_ref t10) (constant float (0.000000)) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t11) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (var_ref Primitive_LocalToWorldDeterminantSignvb1) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t7) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD10) Data) (var_ref t10) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD11) Data) (var_ref t11) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (array_ref (var_ref t9) (constant int (0)) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD7) Data) (var_ref t5) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t7) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t7) )) (expression float neg (swiz w (var_ref t7) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL IR for linked vertex program 11: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) (array vec4 2) Material_ScalarExpressionsvb2) (declare (uniform ) (array vec4 2) Material_VectorExpressionsvb2) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () (array vec4 1) t9) (declare () vec2 t8) (declare () vec4 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 b) (assign (xyz) (var_ref b) (expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 a) (assign (xyz) (var_ref a) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref t2) )(swiz zxy (var_ref b) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref t2) )(swiz yzx (var_ref b) )) ) ) (swiz www (var_ref t2) )) ) (assign (xyz) (var_ref t1) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref a) )(swiz zxy (var_ref t2) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref a) )(swiz yzx (var_ref t2) )) ) ) (swiz www (var_ref t2) )) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (var_ref cse) )) (declare () vec4 cse@76) (assign (xyzw) (var_ref cse@76) (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (var_ref cse@76) )) (declare () vec4 cse@77) (assign (xyzw) (var_ref cse@77) (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (var_ref cse@77) )) (assign () (var_ref t3) (var_ref t4) ) (declare () vec4 cse@78) (assign (xyzw) (var_ref cse@78) (expression vec4 ubo_load (constant uint (1)) (constant uint (224)) ) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref cse@78) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref cse@78) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref cse@78) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (var_ref cse) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (var_ref cse@76) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (var_ref cse@77) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (0)) (constant uint (736)) ) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (var_ref t7) (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (declare () vec4 cse@79) (assign (xyzw) (var_ref cse@79) (expression vec4 ubo_load (constant uint (2)) (constant uint (32)) ) ) (assign (x) (var_ref t8) (expression float * (swiz x (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (var_ref cse@79) )) ) (assign (y) (var_ref t8) (expression float * (swiz y (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (var_ref cse@79) )) ) (assign (xyzw) (array_ref (var_ref t9) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t9) (expression int / (constant int (0)) (constant int (2)) ) ) (expression vec2 + (var_ref t8) (swiz xy (expression vec4 ubo_load (constant uint (2)) (constant uint (16)) ) )) ) (assign (w) (var_ref t10) (constant float (0.000000)) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t11) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (expression float ubo_load (constant uint (1)) (constant uint (156)) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t7) )) (assign (xyzw) (var_ref Data) (var_ref t10) ) (assign (xyzw) (var_ref Data@80) (var_ref t11) ) (assign (xyzw) (var_ref Data@81) (array_ref (var_ref t9) (constant int (0)) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t7) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t7) )) (expression float neg (swiz w (var_ref t7) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@82) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@83) (var_ref Data@81) ) (assign (xyzw) (var_ref Data@84) (var_ref Data@80) ) (assign (xyzw) (var_ref Data@85) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 11: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 2) Material_VectorExpressionspb3) (declare (uniform ) (array vec4 5) MaterialCollection0_Vectorspb2) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (temporary ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (temporary ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (temporary ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (declare (temporary ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (2)) (constant uint (704)) ) ) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (constant vec3 (0.000000 0.000000 1.000000)) (swiz www (var_ref cse) )) (swiz xyz (var_ref cse) )) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () )) (if (expression bool < (swiz w (var_ref texture_retval) )(constant float (0.333300)) ) ( (discard ) ) ()) (assign (w) (var_ref t1) (constant float (0.000000)) ) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (64)) ) )(constant vec3 (2.000000 2.000000 2.000000)) ) (swiz xyz (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () ))) (swiz xyz (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) )) ) (declare () vec3 x@86) (assign (xyz) (var_ref x@86) (expression vec3 + (expression vec3 * (swiz xyz (var_ref Data@87) )(swiz zzz (var_ref normalize_retval) )) (expression vec3 + (expression vec3 * (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref Data@87) )(swiz zxy (var_ref Data@88) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref Data@87) )(swiz yzx (var_ref Data@88) )) ) ) (swiz www (var_ref Data@87) )) (swiz yyy (var_ref normalize_retval) )) (expression vec3 * (swiz xyz (var_ref Data@88) )(swiz xxx (var_ref normalize_retval) )) ) ) ) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x@86) (expression float rsq (expression float dot (var_ref x@86) (var_ref x@86) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t2) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (expression float ubo_load (constant uint (3)) (constant uint (172)) ) ) (constant uint (2)) ) (expression uint f2u (expression float ubo_load (constant uint (3)) (constant uint (176)) ) ) ) ) (constant float (0.333333)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target1) (var_ref t2) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target3) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target4) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0@89) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@90) (var_ref out_Target1) ) (assign (xyzw) (var_ref out_Target2@91) (var_ref out_Target2) ) (assign (xyzw) (var_ref out_Target3@92) (var_ref out_Target3) ) (assign (xyzw) (var_ref out_Target4@93) (var_ref out_Target4) ) (assign (xyzw) (var_ref out_Target5@94) (var_ref out_Target5) ) )) ) ) GLSL source for vertex shader 12: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform vb2 { #define Material_VectorExpressions Material_VectorExpressionsvb2 vec4 Material_VectorExpressions[2]; #define Material_ScalarExpressions Material_ScalarExpressionsvb2 vec4 Material_ScalarExpressions[2]; }; uniform highp vec4 vu_h[4]; in highp vec4 in_ATTRIBUTE0; in highp vec3 in_ATTRIBUTE1; in highp vec4 in_ATTRIBUTE2; in highp vec2 in_ATTRIBUTE4; out TEXCOORD6 { vec4 Data; } out_TEXCOORD6; out TEXCOORD7 { vec4 Data; } out_TEXCOORD7; out TEXCOORD10 { vec4 Data; } out_TEXCOORD10; out TEXCOORD11 { vec4 Data; } out_TEXCOORD11; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; void main() { highp vec4 t0; highp vec3 t1; highp vec4 t2; t2.xyzw = ((in_ATTRIBUTE2*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000)); t1.xyz = (cross((cross(t2.xyz,((in_ATTRIBUTE1*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*t2.www),t2.xyz)*t2.www); highp mat3 t3; highp mat3 t4; t4[0].xyz = Primitive_LocalToWorld[0].xyz; t4[1].xyz = Primitive_LocalToWorld[1].xyz; t4[2].xyz = Primitive_LocalToWorld[2].xyz; t3 = t4; t3[0].xyz = (t4[0]*Primitive_InvNonUniformScale.xxx); t3[1].xyz = (t3[1]*Primitive_InvNonUniformScale.yyy); t3[2].xyz = (t3[2]*Primitive_InvNonUniformScale.zzz); highp vec4 t5; t5.w = 1.000000e+000; t5.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec2 t6[1]; t6[0].xy = vec2(0.000000e+000,0.000000e+000); t6[(1+(-1))].xy = in_ATTRIBUTE4; highp vec2 t7; t7.x = (t6[0].x*Material_ScalarExpressions[0].y); t7.y = (t6[0].y*Material_ScalarExpressions[0].y); highp vec4 t8[1]; t8[0].xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); t8[(0/2)].xy = (t7+Material_VectorExpressions[1].xy); highp vec4 t9; t9.w = 0.000000e+000; t9.xyz = ((t1.zzz*t3[2])+((t1.yyy*t3[1])+(t1.xxx*t3[0]))); highp vec4 t10; t10.xyz = ((t2.zzz*t3[2])+((t2.yyy*t3[1])+(t2.xxx*t3[0]))); t10.w = (((in_ATTRIBUTE2.w*2.000000e+000)+-1.000000e+000)*Primitive_LocalToWorldDeterminantSign); highp vec4 t11; t11.xyzw = ((vu_h[3]*in_ATTRIBUTE0.wwww)+((vu_h[2]*in_ATTRIBUTE0.zzzz)+((vu_h[1]*in_ATTRIBUTE0.yyyy)+(vu_h[0]*in_ATTRIBUTE0.xxxx)))); highp vec4 t12; t12.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t5.zzzz)+((View_TranslatedWorldToClip[1]*t5.yyyy)+(View_TranslatedWorldToClip[0]*t5.xxxx)))); t0.xyzw = t12; out_TEXCOORD6.Data.xyzw = t12; out_TEXCOORD7.Data.xyzw = (View_PrevTranslatedWorldToClip[3]+((View_PrevTranslatedWorldToClip[2]*t11.zzzz)+((View_PrevTranslatedWorldToClip[1]*t11.yyyy)+(View_PrevTranslatedWorldToClip[0]*t11.xxxx)))); out_TEXCOORD10.Data.xyzw = t9; out_TEXCOORD11.Data.xyzw = t10; out_TEXCOORD0.Data.xyzw = t8[0]; t0.y = (-t12.y); t0.z = ((2.000000e+000*t12.z)+(-t12.w)); gl_Position.xyzw = t0; } GLSL IR for shader 12: ( (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (shader_out ) TEXCOORD11 out_TEXCOORD11) (declare (shader_out ) TEXCOORD10 out_TEXCOORD10) (declare (shader_out ) TEXCOORD7 out_TEXCOORD7) (declare (shader_out ) TEXCOORD6 out_TEXCOORD6) (declare (uniform ) (array vec4 2) Material_ScalarExpressionsvb2) (declare (uniform ) (array vec4 2) Material_VectorExpressionsvb2) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 4) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t12) (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () (array vec4 1) t8) (declare () vec2 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (var_ref t2) )(expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (declare (temporary ) vec3 cross_retval@95) (call cross (var_ref cross_retval@95) ((expression vec3 * (var_ref cross_retval) (swiz www (var_ref t2) )) (swiz xyz (var_ref t2) ))) (assign (xyz) (var_ref t1) (expression vec3 * (var_ref cross_retval@95) (swiz www (var_ref t2) )) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )) (assign () (var_ref t3) (var_ref t4) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (x) (var_ref t7) (expression float * (swiz x (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (array_ref (var_ref Material_ScalarExpressionsvb2) (constant int (0)) ) )) ) (assign (y) (var_ref t7) (expression float * (swiz y (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (array_ref (var_ref Material_ScalarExpressionsvb2) (constant int (0)) ) )) ) (assign (xyzw) (array_ref (var_ref t8) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t8) (expression int / (constant int (0)) (constant int (2)) ) ) (expression vec2 + (var_ref t7) (swiz xy (array_ref (var_ref Material_VectorExpressionsvb2) (constant int (1)) ) )) ) (assign (w) (var_ref t9) (constant float (0.000000)) ) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t10) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (var_ref Primitive_LocalToWorldDeterminantSignvb1) ) ) (assign (xyzw) (var_ref t11) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (3)) ) (swiz wwww (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (2)) ) (swiz zzzz (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (1)) ) (swiz yyyy (var_ref in_ATTRIBUTE0) )) (expression vec4 * (array_ref (var_ref vu_h) (constant int (0)) ) (swiz xxxx (var_ref in_ATTRIBUTE0) )) ) ) ) ) (assign (xyzw) (var_ref t12) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t12) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD6) Data) (var_ref t12) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD7) Data) (expression vec4 + (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t11) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t11) )) (expression vec4 * (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t11) )) ) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD10) Data) (var_ref t9) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD11) Data) (var_ref t10) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (array_ref (var_ref t8) (constant int (0)) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t12) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t12) )) (expression float neg (swiz w (var_ref t12) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL source for fragment shader 13: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp sampler2D ps0; in TEXCOORD6 { vec4 Data; } in_TEXCOORD6; in TEXCOORD7 { vec4 Data; } in_TEXCOORD7; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; if (((texture(ps0,in_TEXCOORD0.Data.xy).w+-3.333000e-001)<0.000000e+000)) discard; t0.xy = (((((in_TEXCOORD6.Data.xy/in_TEXCOORD6.Data.ww)+(-View_ViewToClip[2].xy))+(-((in_TEXCOORD7.Data.xy/in_TEXCOORD7.Data.ww)+(-View_PrevProjection[2].xy))))*vec2(2.495000e-001,2.495000e-001))+vec2(4.999924e-001,4.999924e-001)); t0.zw = vec2(0.000000e+000,0.000000e+000); out_Target0.xyzw = t0; } GLSL IR for shader 13: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_in ) TEXCOORD7 in_TEXCOORD7) (declare (shader_in ) TEXCOORD6 in_TEXCOORD6) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t0) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (if (expression bool < (swiz w (var_ref texture_retval) )(constant float (0.333300)) ) ( (discard ) ) ()) (assign (xy) (var_ref t0) (expression vec2 + (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD6) Data) )(swiz ww (record_ref (var_ref in_TEXCOORD6) Data) )) (expression vec2 neg (swiz xy (array_ref (var_ref View_ViewToClippb0) (constant int (2)) ) )) ) (expression vec2 neg (expression vec2 + (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD7) Data) )(swiz ww (record_ref (var_ref in_TEXCOORD7) Data) )) (expression vec2 neg (swiz xy (array_ref (var_ref View_PrevProjectionpb0) (constant int (2)) ) )) ) ) ) (constant vec2 (0.249500 0.249500)) ) (constant vec2 (0.499992 0.499992)) ) ) (assign (zw) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) ) GLSL IR for linked vertex program 14: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) (array vec4 2) Material_ScalarExpressionsvb2) (declare (uniform ) (array vec4 2) Material_VectorExpressionsvb2) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (uniform ) (array vec4 4) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t12) (declare () vec4 t11) (declare () (array vec4 1) t8) (declare () vec2 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t0) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (var_ref cse) )) (declare () vec4 cse@96) (assign (xyzw) (var_ref cse@96) (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (var_ref cse@96) )) (declare () vec4 cse@97) (assign (xyzw) (var_ref cse@97) (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (var_ref cse@97) )) (assign () (var_ref t3) (var_ref t4) ) (declare () vec4 cse@98) (assign (xyzw) (var_ref cse@98) (expression vec4 ubo_load (constant uint (1)) (constant uint (224)) ) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref cse@98) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref cse@98) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref cse@98) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (var_ref cse) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (var_ref cse@96) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (var_ref cse@97) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (0)) (constant uint (736)) ) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (declare () vec4 cse@99) (assign (xyzw) (var_ref cse@99) (expression vec4 ubo_load (constant uint (2)) (constant uint (32)) ) ) (assign (x) (var_ref t7) (expression float * (swiz x (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (var_ref cse@99) )) ) (assign (y) (var_ref t7) (expression float * (swiz y (array_ref (var_ref t6) (constant int (0)) ) )(swiz y (var_ref cse@99) )) ) (assign (xyzw) (array_ref (var_ref t8) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t8) (expression int / (constant int (0)) (constant int (2)) ) ) (expression vec2 + (var_ref t7) (swiz xy (expression vec4 ubo_load (constant uint (2)) (constant uint (16)) ) )) ) (assign (xyzw) (var_ref t11) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (3)) ) (swiz wwww (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (2)) ) (swiz zzzz (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (1)) ) (swiz yyyy (var_ref in_ATTRIBUTE0) )) (expression vec4 * (array_ref (var_ref vu_h) (constant int (0)) ) (swiz xxxx (var_ref in_ATTRIBUTE0) )) ) ) ) ) (assign (xyzw) (var_ref t12) (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t12) )) (assign (xyzw) (var_ref Data) (var_ref t12) ) (assign (xyzw) (var_ref Data@100) (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (1248)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (1232)) ) (swiz zzzz (var_ref t11) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (1216)) ) (swiz yyyy (var_ref t11) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (1200)) ) (swiz xxxx (var_ref t11) )) ) ) ) ) (assign (xyzw) (var_ref Data@101) (array_ref (var_ref t8) (constant int (0)) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t12) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t12) )) (expression float neg (swiz w (var_ref t12) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@102) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@103) (var_ref Data@101) ) (assign (xyzw) (var_ref Data@104) (var_ref Data@100) ) (assign (xyzw) (var_ref Data@105) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 14: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t0) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () )) (if (expression bool < (swiz w (var_ref texture_retval) )(constant float (0.333300)) ) ( (discard ) ) ()) (assign (xy) (var_ref t0) (expression vec2 + (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (swiz xy (var_ref Data@106) )(expression vec2 rcp (swiz ww (var_ref Data@106) )) ) (expression vec2 neg (swiz xy (expression vec4 ubo_load (constant uint (0)) (constant uint (288)) ) )) ) (expression vec2 neg (expression vec2 + (expression vec2 * (swiz xy (var_ref Data@107) )(expression vec2 rcp (swiz ww (var_ref Data@107) )) ) (expression vec2 neg (swiz xy (expression vec4 ubo_load (constant uint (0)) (constant uint (1040)) ) )) ) ) ) (constant vec2 (0.249500 0.249500)) ) (constant vec2 (0.499992 0.499992)) ) ) (assign (zw) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@108) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 15: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform pb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldpb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalpb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiuspb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundspb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignpb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionpb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskpb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationpb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationpb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalepb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalepb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinpb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxpb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultiplierpb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform pb2 { #define MaterialCollection0_Vectors MaterialCollection0_Vectorspb2 vec4 MaterialCollection0_Vectors[5]; }; layout(std140) uniform pb3 { #define Material_VectorExpressions Material_VectorExpressionspb3 vec4 Material_VectorExpressions[2]; #define Material_ScalarExpressions Material_ScalarExpressionspb3 vec4 Material_ScalarExpressions[2]; }; uniform highp sampler2D ps0; in TEXCOORD10 { vec4 Data; } in_TEXCOORD10; in TEXCOORD11 { vec4 Data; } in_TEXCOORD11; in COLOR0 { vec4 Data; } in_COLOR0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; out highp vec4 out_Target1; out highp vec4 out_Target2; out highp vec4 out_Target3; out highp vec4 out_Target4; out highp vec4 out_Target5; void main() { highp vec3 t0; t0.xyz = normalize(((vec3(0.000000e+000,0.000000e+000,1.000000e+000)*View_NormalOverrideParameter.www)+View_NormalOverrideParameter.xyz)); highp vec4 t1; t1.w = 0.000000e+000; t1.xyz = (((((texture(ps0,in_TEXCOORD0.Data.xy).xyz+(MaterialCollection0_Vectors[3].xyz*in_COLOR0.Data.xxx))*MaterialCollection0_Vectors[4].xyz)+(MaterialCollection0_Vectors[1].xyz*MaterialCollection0_Vectors[0].xxx))*vec3((1.000000e+000+(-MaterialCollection0_Vectors[0].y))))+Material_VectorExpressions[0].xyz); highp vec4 t2; t2.xyz = ((normalize(((in_TEXCOORD11.Data.xyz*t0.zzz)+(((cross(in_TEXCOORD11.Data.xyz,in_TEXCOORD10.Data.xyz)*in_TEXCOORD11.Data.www)*t0.yyy)+(in_TEXCOORD10.Data.xyz*t0.xxx))))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t3; t3 = float(((uint(Primitive_DecalReceiverMask)*2u)+uint(Primitive_HasDistanceFieldRepresentation))); t2.w = (t3*3.333333e-001); out_Target0.xyzw = t1; out_Target1.xyzw = t2; out_Target2.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target3.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target4.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target5.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); } GLSL IR for shader 15: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_in ) COLOR0 in_COLOR0) (declare (shader_in ) TEXCOORD11 in_TEXCOORD11) (declare (shader_in ) TEXCOORD10 in_TEXCOORD10) (declare (uniform ) (array vec4 2) Material_ScalarExpressionspb3) (declare (uniform ) (array vec4 2) Material_VectorExpressionspb3) (declare (uniform ) (array vec4 5) MaterialCollection0_Vectorspb2) (declare (uniform ) float Primitive_LpvBiasMultiplierpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinpb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalepb1) (declare (uniform ) vec4 Primitive_NonUniformScalepb1) (declare (uniform ) vec4 Primitive_ObjectOrientationpb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionpb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignpb1) (declare (uniform ) vec3 Primitive_ObjectBoundspb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiuspb1) (declare (uniform ) mat4 Primitive_WorldToLocalpb1) (declare (uniform ) mat4 Primitive_LocalToWorldpb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec3 t0) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (constant vec3 (0.000000 0.000000 1.000000)) (swiz www (var_ref View_NormalOverrideParameterpb0) )) (swiz xyz (var_ref View_NormalOverrideParameterpb0) )) )) (assign (xyz) (var_ref t0) (var_ref normalize_retval) ) (assign (w) (var_ref t1) (constant float (0.000000)) ) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 + (expression vec3 * (expression vec3 + (swiz xyz (var_ref texture_retval) )(expression vec3 * (swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (3)) ) )(swiz xxx (record_ref (var_ref in_COLOR0) Data) )) ) (swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (4)) ) )) (expression vec3 * (swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (1)) ) )(swiz xxx (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (0)) ) )) ) (swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz y (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (0)) ) )) ) )) (swiz xyz (array_ref (var_ref Material_VectorExpressionspb3) (constant int (0)) ) )) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) ))) (declare (temporary ) vec3 normalize_retval@109) (call normalize (var_ref normalize_retval@109) ((expression vec3 + (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz zzz (var_ref t0) )) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref cross_retval) (swiz www (record_ref (var_ref in_TEXCOORD11) Data) )) (swiz yyy (var_ref t0) )) (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) )(swiz xxx (var_ref t0) )) ) ) )) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (var_ref normalize_retval@109) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t2) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (var_ref Primitive_DecalReceiverMaskpb1) ) (constant uint (2)) ) (expression uint f2u (var_ref Primitive_HasDistanceFieldRepresentationpb1) ) ) ) (constant float (0.333333)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target1) (var_ref t2) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target3) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target4) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL source for vertex shader 16: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform vb2 { #define Material_VectorExpressions Material_VectorExpressionsvb2 vec4 Material_VectorExpressions[2]; #define Material_ScalarExpressions Material_ScalarExpressionsvb2 vec4 Material_ScalarExpressions[2]; }; in highp vec4 in_ATTRIBUTE0; in highp vec3 in_ATTRIBUTE1; in highp vec4 in_ATTRIBUTE2; in highp vec4 in_ATTRIBUTE3; in highp vec2 in_ATTRIBUTE4; out TEXCOORD10 { vec4 Data; } out_TEXCOORD10; out TEXCOORD11 { vec4 Data; } out_TEXCOORD11; out COLOR0 { vec4 Data; } out_COLOR0; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; out TEXCOORD7 { vec4 Data; } out_TEXCOORD7; void main() { highp vec4 t0; highp vec3 t1; highp vec4 t2; t2.xyzw = ((in_ATTRIBUTE2*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000)); t1.xyz = (cross((cross(t2.xyz,((in_ATTRIBUTE1*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*t2.www),t2.xyz)*t2.www); highp mat3 t3; highp mat3 t4; t4[0].xyz = Primitive_LocalToWorld[0].xyz; t4[1].xyz = Primitive_LocalToWorld[1].xyz; t4[2].xyz = Primitive_LocalToWorld[2].xyz; t3 = t4; t3[0].xyz = (t4[0]*Primitive_InvNonUniformScale.xxx); t3[1].xyz = (t3[1]*Primitive_InvNonUniformScale.yyy); t3[2].xyz = (t3[2]*Primitive_InvNonUniformScale.zzz); highp vec4 t5; t5.w = 1.000000e+000; t5.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec2 t6[1]; t6[0].xy = vec2(0.000000e+000,0.000000e+000); t6[(1+(-1))].xy = in_ATTRIBUTE4; highp vec4 t7; t7.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t5.zzzz)+((View_TranslatedWorldToClip[1]*t5.yyyy)+(View_TranslatedWorldToClip[0]*t5.xxxx)))); highp vec4 t8[1]; t8[0].xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); t8[(0/2)].xy = (Material_VectorExpressions[1].xy+t6[0]); highp vec4 t9; t9.w = 0.000000e+000; t9.xyz = ((t1.zzz*t3[2])+((t1.yyy*t3[1])+(t1.xxx*t3[0]))); highp vec4 t10; t10.xyz = ((t2.zzz*t3[2])+((t2.yyy*t3[1])+(t2.xxx*t3[0]))); t10.w = (((in_ATTRIBUTE2.w*2.000000e+000)+-1.000000e+000)*Primitive_LocalToWorldDeterminantSign); t0.xyzw = t7; out_TEXCOORD10.Data.xyzw = t9; out_TEXCOORD11.Data.xyzw = t10; out_COLOR0.Data.xyzw = in_ATTRIBUTE3; out_TEXCOORD0.Data.xyzw = t8[0]; out_TEXCOORD7.Data.xyzw = t5; t0.y = (-t7.y); t0.z = ((2.000000e+000*t7.z)+(-t7.w)); gl_Position.xyzw = t0; } GLSL IR for shader 16: ( (declare (shader_out ) TEXCOORD7 out_TEXCOORD7) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (shader_out ) COLOR0 out_COLOR0) (declare (shader_out ) TEXCOORD11 out_TEXCOORD11) (declare (shader_out ) TEXCOORD10 out_TEXCOORD10) (declare (uniform ) (array vec4 2) Material_ScalarExpressionsvb2) (declare (uniform ) (array vec4 2) Material_VectorExpressionsvb2) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec4 in_ATTRIBUTE3) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t10) (declare () vec4 t9) (declare () (array vec4 1) t8) (declare () vec4 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (var_ref t2) )(expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (declare (temporary ) vec3 cross_retval@110) (call cross (var_ref cross_retval@110) ((expression vec3 * (var_ref cross_retval) (swiz www (var_ref t2) )) (swiz xyz (var_ref t2) ))) (assign (xyz) (var_ref t1) (expression vec3 * (var_ref cross_retval@110) (swiz www (var_ref t2) )) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )) (assign () (var_ref t3) (var_ref t4) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (var_ref t7) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xyzw) (array_ref (var_ref t8) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t8) (expression int / (constant int (0)) (constant int (2)) ) ) (expression vec2 + (swiz xy (array_ref (var_ref Material_VectorExpressionsvb2) (constant int (1)) ) )(array_ref (var_ref t6) (constant int (0)) ) ) ) (assign (w) (var_ref t9) (constant float (0.000000)) ) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t10) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (var_ref Primitive_LocalToWorldDeterminantSignvb1) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t7) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD10) Data) (var_ref t9) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD11) Data) (var_ref t10) ) (assign (xyzw) (record_ref (var_ref out_COLOR0) Data) (var_ref in_ATTRIBUTE3) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (array_ref (var_ref t8) (constant int (0)) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD7) Data) (var_ref t5) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t7) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t7) )) (expression float neg (swiz w (var_ref t7) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL IR for linked vertex program 17: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) (array vec4 2) Material_VectorExpressionsvb2) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec4 in_ATTRIBUTE3) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t10) (declare () vec4 t9) (declare () (array vec4 1) t8) (declare () vec4 t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 b) (assign (xyz) (var_ref b) (expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 a) (assign (xyz) (var_ref a) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref t2) )(swiz zxy (var_ref b) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref t2) )(swiz yzx (var_ref b) )) ) ) (swiz www (var_ref t2) )) ) (assign (xyz) (var_ref t1) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref a) )(swiz zxy (var_ref t2) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref a) )(swiz yzx (var_ref t2) )) ) ) (swiz www (var_ref t2) )) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (var_ref cse) )) (declare () vec4 cse@111) (assign (xyzw) (var_ref cse@111) (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (var_ref cse@111) )) (declare () vec4 cse@112) (assign (xyzw) (var_ref cse@112) (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (var_ref cse@112) )) (assign () (var_ref t3) (var_ref t4) ) (declare () vec4 cse@113) (assign (xyzw) (var_ref cse@113) (expression vec4 ubo_load (constant uint (1)) (constant uint (224)) ) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref cse@113) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref cse@113) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref cse@113) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (var_ref cse) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (var_ref cse@111) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (var_ref cse@112) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (0)) (constant uint (736)) ) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (var_ref t7) (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xyzw) (array_ref (var_ref t8) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t8) (expression int / (constant int (0)) (constant int (2)) ) ) (expression vec2 + (swiz xy (expression vec4 ubo_load (constant uint (2)) (constant uint (16)) ) )(array_ref (var_ref t6) (constant int (0)) ) ) ) (assign (w) (var_ref t9) (constant float (0.000000)) ) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t10) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t10) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (expression float ubo_load (constant uint (1)) (constant uint (156)) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t7) )) (assign (xyzw) (var_ref Data) (var_ref t9) ) (assign (xyzw) (var_ref Data@114) (var_ref t10) ) (assign (xyzw) (var_ref Data@115) (var_ref in_ATTRIBUTE3) ) (assign (xyzw) (var_ref Data@116) (array_ref (var_ref t8) (constant int (0)) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t7) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t7) )) (expression float neg (swiz w (var_ref t7) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@117) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@118) (var_ref Data@116) ) (assign (xyzw) (var_ref Data@119) (var_ref Data@115) ) (assign (xyzw) (var_ref Data@120) (var_ref Data@114) ) (assign (xyzw) (var_ref Data@121) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 17: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 2) Material_VectorExpressionspb3) (declare (uniform ) (array vec4 5) MaterialCollection0_Vectorspb2) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (temporary ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (temporary ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (temporary ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (declare (temporary ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (2)) (constant uint (704)) ) ) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (constant vec3 (0.000000 0.000000 1.000000)) (swiz www (var_ref cse) )) (swiz xyz (var_ref cse) )) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (w) (var_ref t1) (constant float (0.000000)) ) (declare () vec4 cse@122) (assign (xyzw) (var_ref cse@122) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 + (expression vec3 * (expression vec3 + (swiz xyz (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () ))(expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(swiz xxx (var_ref Data@123) )) ) (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (64)) ) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) )(swiz xxx (var_ref cse@122) )) ) (swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz y (var_ref cse@122) )) ) )) (swiz xyz (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) )) ) (declare () vec3 x@124) (assign (xyz) (var_ref x@124) (expression vec3 + (expression vec3 * (swiz xyz (var_ref Data@125) )(swiz zzz (var_ref normalize_retval) )) (expression vec3 + (expression vec3 * (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref Data@125) )(swiz zxy (var_ref Data@126) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref Data@125) )(swiz yzx (var_ref Data@126) )) ) ) (swiz www (var_ref Data@125) )) (swiz yyy (var_ref normalize_retval) )) (expression vec3 * (swiz xyz (var_ref Data@126) )(swiz xxx (var_ref normalize_retval) )) ) ) ) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x@124) (expression float rsq (expression float dot (var_ref x@124) (var_ref x@124) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t2) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (expression float ubo_load (constant uint (3)) (constant uint (172)) ) ) (constant uint (2)) ) (expression uint f2u (expression float ubo_load (constant uint (3)) (constant uint (176)) ) ) ) ) (constant float (0.333333)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target1) (var_ref t2) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target3) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target4) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0@127) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@128) (var_ref out_Target1) ) (assign (xyzw) (var_ref out_Target2@129) (var_ref out_Target2) ) (assign (xyzw) (var_ref out_Target3@130) (var_ref out_Target3) ) (assign (xyzw) (var_ref out_Target4@131) (var_ref out_Target4) ) (assign (xyzw) (var_ref out_Target5@132) (var_ref out_Target5) ) )) ) ) GLSL source for vertex shader 18: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; uniform highp vec4 vu_h[4]; in highp vec4 in_ATTRIBUTE0; in highp vec3 in_ATTRIBUTE1; in highp vec4 in_ATTRIBUTE2; in highp vec2 in_ATTRIBUTE4; out TEXCOORD6 { vec4 Data; } out_TEXCOORD6; out TEXCOORD7 { vec4 Data; } out_TEXCOORD7; out TEXCOORD10 { vec4 Data; } out_TEXCOORD10; out TEXCOORD11 { vec4 Data; } out_TEXCOORD11; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; void main() { highp vec4 t0; highp vec3 t1; highp vec4 t2; t2.xyzw = ((in_ATTRIBUTE2*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000)); t1.xyz = (cross((cross(t2.xyz,((in_ATTRIBUTE1*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*t2.www),t2.xyz)*t2.www); highp mat3 t3; highp mat3 t4; t4[0].xyz = Primitive_LocalToWorld[0].xyz; t4[1].xyz = Primitive_LocalToWorld[1].xyz; t4[2].xyz = Primitive_LocalToWorld[2].xyz; t3 = t4; t3[0].xyz = (t4[0]*Primitive_InvNonUniformScale.xxx); t3[1].xyz = (t3[1]*Primitive_InvNonUniformScale.yyy); t3[2].xyz = (t3[2]*Primitive_InvNonUniformScale.zzz); highp vec4 t5; t5.w = 1.000000e+000; t5.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec2 t6[1]; t6[0].xy = vec2(0.000000e+000,0.000000e+000); t6[(1+(-1))].xy = in_ATTRIBUTE4; highp vec4 t7[1]; t7[0].xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); t7[(0/2)].xy = t6[0]; highp vec4 t8; t8.w = 0.000000e+000; t8.xyz = ((t1.zzz*t3[2])+((t1.yyy*t3[1])+(t1.xxx*t3[0]))); highp vec4 t9; t9.xyz = ((t2.zzz*t3[2])+((t2.yyy*t3[1])+(t2.xxx*t3[0]))); t9.w = (((in_ATTRIBUTE2.w*2.000000e+000)+-1.000000e+000)*Primitive_LocalToWorldDeterminantSign); highp vec4 t10; t10.xyzw = ((vu_h[3]*in_ATTRIBUTE0.wwww)+((vu_h[2]*in_ATTRIBUTE0.zzzz)+((vu_h[1]*in_ATTRIBUTE0.yyyy)+(vu_h[0]*in_ATTRIBUTE0.xxxx)))); highp vec4 t11; t11.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t5.zzzz)+((View_TranslatedWorldToClip[1]*t5.yyyy)+(View_TranslatedWorldToClip[0]*t5.xxxx)))); t0.xyzw = t11; out_TEXCOORD6.Data.xyzw = t11; out_TEXCOORD7.Data.xyzw = (View_PrevTranslatedWorldToClip[3]+((View_PrevTranslatedWorldToClip[2]*t10.zzzz)+((View_PrevTranslatedWorldToClip[1]*t10.yyyy)+(View_PrevTranslatedWorldToClip[0]*t10.xxxx)))); out_TEXCOORD10.Data.xyzw = t8; out_TEXCOORD11.Data.xyzw = t9; out_TEXCOORD0.Data.xyzw = t7[0]; t0.y = (-t11.y); t0.z = ((2.000000e+000*t11.z)+(-t11.w)); gl_Position.xyzw = t0; } GLSL IR for shader 18: ( (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (shader_out ) TEXCOORD11 out_TEXCOORD11) (declare (shader_out ) TEXCOORD10 out_TEXCOORD10) (declare (shader_out ) TEXCOORD7 out_TEXCOORD7) (declare (shader_out ) TEXCOORD6 out_TEXCOORD6) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 4) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec2 in_ATTRIBUTE4) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () vec4 t8) (declare () (array vec4 1) t7) (declare () (array vec2 1) t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (var_ref t2) )(expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (declare (temporary ) vec3 cross_retval@133) (call cross (var_ref cross_retval@133) ((expression vec3 * (var_ref cross_retval) (swiz www (var_ref t2) )) (swiz xyz (var_ref t2) ))) (assign (xyz) (var_ref t1) (expression vec3 * (var_ref cross_retval@133) (swiz www (var_ref t2) )) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )) (assign () (var_ref t3) (var_ref t4) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xy) (array_ref (var_ref t6) (constant int (0)) ) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t6) (expression int + (constant int (1)) (expression int neg (constant int (1)) ) ) ) (var_ref in_ATTRIBUTE4) ) (assign (xyzw) (array_ref (var_ref t7) (constant int (0)) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xy) (array_ref (var_ref t7) (expression int / (constant int (0)) (constant int (2)) ) ) (array_ref (var_ref t6) (constant int (0)) ) ) (assign (w) (var_ref t8) (constant float (0.000000)) ) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t9) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (var_ref Primitive_LocalToWorldDeterminantSignvb1) ) ) (assign (xyzw) (var_ref t10) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (3)) ) (swiz wwww (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (2)) ) (swiz zzzz (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (1)) ) (swiz yyyy (var_ref in_ATTRIBUTE0) )) (expression vec4 * (array_ref (var_ref vu_h) (constant int (0)) ) (swiz xxxx (var_ref in_ATTRIBUTE0) )) ) ) ) ) (assign (xyzw) (var_ref t11) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t11) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD6) Data) (var_ref t11) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD7) Data) (expression vec4 + (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t10) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t10) )) (expression vec4 * (array_ref (var_ref View_PrevTranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t10) )) ) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD10) Data) (var_ref t8) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD11) Data) (var_ref t9) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (array_ref (var_ref t7) (constant int (0)) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t11) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t11) )) (expression float neg (swiz w (var_ref t11) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL source for fragment shader 19: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; in TEXCOORD6 { vec4 Data; } in_TEXCOORD6; in TEXCOORD7 { vec4 Data; } in_TEXCOORD7; out highp vec4 out_Target0; void main() { highp vec4 t0; t0.xy = (((((in_TEXCOORD6.Data.xy/in_TEXCOORD6.Data.ww)+(-View_ViewToClip[2].xy))+(-((in_TEXCOORD7.Data.xy/in_TEXCOORD7.Data.ww)+(-View_PrevProjection[2].xy))))*vec2(2.495000e-001,2.495000e-001))+vec2(4.999924e-001,4.999924e-001)); t0.zw = vec2(0.000000e+000,0.000000e+000); out_Target0.xyzw = t0; } GLSL IR for shader 19: ( (declare (shader_in ) TEXCOORD7 in_TEXCOORD7) (declare (shader_in ) TEXCOORD6 in_TEXCOORD6) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t0) (assign (xy) (var_ref t0) (expression vec2 + (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD6) Data) )(swiz ww (record_ref (var_ref in_TEXCOORD6) Data) )) (expression vec2 neg (swiz xy (array_ref (var_ref View_ViewToClippb0) (constant int (2)) ) )) ) (expression vec2 neg (expression vec2 + (expression vec2 / (swiz xy (record_ref (var_ref in_TEXCOORD7) Data) )(swiz ww (record_ref (var_ref in_TEXCOORD7) Data) )) (expression vec2 neg (swiz xy (array_ref (var_ref View_PrevProjectionpb0) (constant int (2)) ) )) ) ) ) (constant vec2 (0.249500 0.249500)) ) (constant vec2 (0.499992 0.499992)) ) ) (assign (zw) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) ) GLSL IR for linked vertex program 20: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (uniform ) (array vec4 4) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t0) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (var_ref cse) )) (declare () vec4 cse@134) (assign (xyzw) (var_ref cse@134) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (var_ref cse@134) )) (declare () vec4 cse@135) (assign (xyzw) (var_ref cse@135) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (var_ref cse@135) )) (assign () (var_ref t3) (var_ref t4) ) (declare () vec4 cse@136) (assign (xyzw) (var_ref cse@136) (expression vec4 ubo_load (constant uint (0)) (constant uint (224)) ) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref cse@136) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref cse@136) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref cse@136) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (var_ref cse) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (var_ref cse@134) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (var_ref cse@135) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (1)) (constant uint (736)) ) ) ) ) (assign (xyzw) (var_ref t10) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (3)) ) (swiz wwww (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (2)) ) (swiz zzzz (var_ref in_ATTRIBUTE0) )) (expression vec4 + (expression vec4 * (array_ref (var_ref vu_h) (constant int (1)) ) (swiz yyyy (var_ref in_ATTRIBUTE0) )) (expression vec4 * (array_ref (var_ref vu_h) (constant int (0)) ) (swiz xxxx (var_ref in_ATTRIBUTE0) )) ) ) ) ) (assign (xyzw) (var_ref t11) (expression vec4 + (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t11) )) (assign (xyzw) (var_ref Data) (var_ref t11) ) (assign (xyzw) (var_ref Data@137) (expression vec4 + (expression vec4 ubo_load (constant uint (1)) (constant uint (1248)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (1232)) ) (swiz zzzz (var_ref t10) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (1216)) ) (swiz yyyy (var_ref t10) )) (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (1200)) ) (swiz xxxx (var_ref t10) )) ) ) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t11) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t11) )) (expression float neg (swiz w (var_ref t11) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@138) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@139) (var_ref Data@137) ) (assign (xyzw) (var_ref Data@140) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 20: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t0) (assign (xy) (var_ref t0) (expression vec2 + (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (swiz xy (var_ref Data) )(expression vec2 rcp (swiz ww (var_ref Data) )) ) (expression vec2 neg (swiz xy (expression vec4 ubo_load (constant uint (0)) (constant uint (288)) ) )) ) (expression vec2 neg (expression vec2 + (expression vec2 * (swiz xy (var_ref Data@141) )(expression vec2 rcp (swiz ww (var_ref Data@141) )) ) (expression vec2 neg (swiz xy (expression vec4 ubo_load (constant uint (0)) (constant uint (1040)) ) )) ) ) ) (constant vec2 (0.249500 0.249500)) ) (constant vec2 (0.499992 0.499992)) ) ) (assign (zw) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@142) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 21: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform pb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldpb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalpb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiuspb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundspb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignpb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionpb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskpb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationpb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationpb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalepb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalepb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinpb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxpb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultiplierpb1 float Primitive_LpvBiasMultiplier; }; layout(std140) uniform pb2 { #define MaterialCollection0_Vectors MaterialCollection0_Vectorspb2 vec4 MaterialCollection0_Vectors[5]; }; layout(std140) uniform pb3 { #define Material_VectorExpressions Material_VectorExpressionspb3 vec4 Material_VectorExpressions[1]; }; in TEXCOORD10 { vec4 Data; } in_TEXCOORD10; in TEXCOORD11 { vec4 Data; } in_TEXCOORD11; in COLOR0 { vec4 Data; } in_COLOR0; out highp vec4 out_Target0; out highp vec4 out_Target1; out highp vec4 out_Target2; out highp vec4 out_Target3; out highp vec4 out_Target4; out highp vec4 out_Target5; void main() { highp vec3 t0; t0.xyz = normalize(((vec3(0.000000e+000,0.000000e+000,1.000000e+000)*View_NormalOverrideParameter.www)+View_NormalOverrideParameter.xyz)); highp vec4 t1; t1.w = 0.000000e+000; t1.xyz = (((mix(MaterialCollection0_Vectors[2].xyz,MaterialCollection0_Vectors[3].xyz,in_COLOR0.Data.xxx)+(MaterialCollection0_Vectors[1].xyz*MaterialCollection0_Vectors[0].xxx))*vec3((1.000000e+000+(-MaterialCollection0_Vectors[0].y))))+Material_VectorExpressions[0].xyz); highp vec4 t2; t2.xyz = ((normalize(((in_TEXCOORD11.Data.xyz*t0.zzz)+(((cross(in_TEXCOORD11.Data.xyz,in_TEXCOORD10.Data.xyz)*in_TEXCOORD11.Data.www)*t0.yyy)+(in_TEXCOORD10.Data.xyz*t0.xxx))))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t3; t3 = float(((uint(Primitive_DecalReceiverMask)*2u)+uint(Primitive_HasDistanceFieldRepresentation))); t2.w = (t3*3.333333e-001); out_Target0.xyzw = t1; out_Target1.xyzw = t2; out_Target2.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target3.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target4.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); out_Target5.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); } GLSL IR for shader 21: ( (declare (shader_in ) COLOR0 in_COLOR0) (declare (shader_in ) TEXCOORD11 in_TEXCOORD11) (declare (shader_in ) TEXCOORD10 in_TEXCOORD10) (declare (uniform ) (array vec4 1) Material_VectorExpressionspb3) (declare (uniform ) (array vec4 5) MaterialCollection0_Vectorspb2) (declare (uniform ) float Primitive_LpvBiasMultiplierpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxpb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinpb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalepb1) (declare (uniform ) vec4 Primitive_NonUniformScalepb1) (declare (uniform ) vec4 Primitive_ObjectOrientationpb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionpb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignpb1) (declare (uniform ) vec3 Primitive_ObjectBoundspb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiuspb1) (declare (uniform ) mat4 Primitive_WorldToLocalpb1) (declare (uniform ) mat4 Primitive_LocalToWorldpb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec3 t0) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (constant vec3 (0.000000 0.000000 1.000000)) (swiz www (var_ref View_NormalOverrideParameterpb0) )) (swiz xyz (var_ref View_NormalOverrideParameterpb0) )) )) (assign (xyz) (var_ref t0) (var_ref normalize_retval) ) (assign (w) (var_ref t1) (constant float (0.000000)) ) (declare (temporary ) vec3 mix_retval) (call mix (var_ref mix_retval) ((swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (2)) ) )(swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (3)) ) )(swiz xxx (record_ref (var_ref in_COLOR0) Data) ))) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 + (var_ref mix_retval) (expression vec3 * (swiz xyz (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (1)) ) )(swiz xxx (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (0)) ) )) ) (swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz y (array_ref (var_ref MaterialCollection0_Vectorspb2) (constant int (0)) ) )) ) )) (swiz xyz (array_ref (var_ref Material_VectorExpressionspb3) (constant int (0)) ) )) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) ))) (declare (temporary ) vec3 normalize_retval@143) (call normalize (var_ref normalize_retval@143) ((expression vec3 + (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD11) Data) )(swiz zzz (var_ref t0) )) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref cross_retval) (swiz www (record_ref (var_ref in_TEXCOORD11) Data) )) (swiz yyy (var_ref t0) )) (expression vec3 * (swiz xyz (record_ref (var_ref in_TEXCOORD10) Data) )(swiz xxx (var_ref t0) )) ) ) )) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (var_ref normalize_retval@143) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t2) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (var_ref Primitive_DecalReceiverMaskpb1) ) (constant uint (2)) ) (expression uint f2u (var_ref Primitive_HasDistanceFieldRepresentationpb1) ) ) ) (constant float (0.333333)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target1) (var_ref t2) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target3) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target4) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function mix (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) (declare (in ) vec3 a) ) ( )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL source for vertex shader 22: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; layout(std140) uniform vb1 { #define Primitive_LocalToWorld Primitive_LocalToWorldvb1 mat4 Primitive_LocalToWorld; #define Primitive_WorldToLocal Primitive_WorldToLocalvb1 mat4 Primitive_WorldToLocal; #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1 vec4 Primitive_ObjectWorldPositionAndRadius; #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1 vec3 Primitive_ObjectBounds; #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1 float Primitive_LocalToWorldDeterminantSign; #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1 vec3 Primitive_ActorWorldPosition; #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1 float Primitive_DecalReceiverMask; #define Primitive_HasDistanceFieldRepresentation Primitive_HasDistanceFieldRepresentationvb1 float Primitive_HasDistanceFieldRepresentation; #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1 vec4 Primitive_ObjectOrientation; #define Primitive_NonUniformScale Primitive_NonUniformScalevb1 vec4 Primitive_NonUniformScale; #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1 vec4 Primitive_InvNonUniformScale; #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1 vec3 Primitive_LocalObjectBoundsMin; #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1 vec3 Primitive_LocalObjectBoundsMax; #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1 float Primitive_LpvBiasMultiplier; }; in highp vec4 in_ATTRIBUTE0; in highp vec3 in_ATTRIBUTE1; in highp vec4 in_ATTRIBUTE2; in highp vec4 in_ATTRIBUTE3; out TEXCOORD10 { vec4 Data; } out_TEXCOORD10; out TEXCOORD11 { vec4 Data; } out_TEXCOORD11; out COLOR0 { vec4 Data; } out_COLOR0; out TEXCOORD7 { vec4 Data; } out_TEXCOORD7; void main() { highp vec4 t0; highp vec3 t1; highp vec4 t2; t2.xyzw = ((in_ATTRIBUTE2*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000)); t1.xyz = (cross((cross(t2.xyz,((in_ATTRIBUTE1*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*t2.www),t2.xyz)*t2.www); highp mat3 t3; highp mat3 t4; t4[0].xyz = Primitive_LocalToWorld[0].xyz; t4[1].xyz = Primitive_LocalToWorld[1].xyz; t4[2].xyz = Primitive_LocalToWorld[2].xyz; t3 = t4; t3[0].xyz = (t4[0]*Primitive_InvNonUniformScale.xxx); t3[1].xyz = (t3[1]*Primitive_InvNonUniformScale.yyy); t3[2].xyz = (t3[2]*Primitive_InvNonUniformScale.zzz); highp vec4 t5; t5.w = 1.000000e+000; t5.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation)); highp vec4 t6; t6.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t5.zzzz)+((View_TranslatedWorldToClip[1]*t5.yyyy)+(View_TranslatedWorldToClip[0]*t5.xxxx)))); highp vec4 t7; t7.w = 0.000000e+000; t7.xyz = ((t1.zzz*t3[2])+((t1.yyy*t3[1])+(t1.xxx*t3[0]))); highp vec4 t8; t8.xyz = ((t2.zzz*t3[2])+((t2.yyy*t3[1])+(t2.xxx*t3[0]))); t8.w = (((in_ATTRIBUTE2.w*2.000000e+000)+-1.000000e+000)*Primitive_LocalToWorldDeterminantSign); t0.xyzw = t6; out_TEXCOORD10.Data.xyzw = t7; out_TEXCOORD11.Data.xyzw = t8; out_COLOR0.Data.xyzw = in_ATTRIBUTE3; out_TEXCOORD7.Data.xyzw = t5; t0.y = (-t6.y); t0.z = ((2.000000e+000*t6.z)+(-t6.w)); gl_Position.xyzw = t0; } GLSL IR for shader 22: ( (declare (shader_out ) TEXCOORD7 out_TEXCOORD7) (declare (shader_out ) COLOR0 out_COLOR0) (declare (shader_out ) TEXCOORD11 out_TEXCOORD11) (declare (shader_out ) TEXCOORD10 out_TEXCOORD10) (declare (uniform ) float Primitive_LpvBiasMultipliervb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMaxvb1) (declare (uniform ) vec3 Primitive_LocalObjectBoundsMinvb1) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) vec4 Primitive_NonUniformScalevb1) (declare (uniform ) vec4 Primitive_ObjectOrientationvb1) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationvb1) (declare (uniform ) float Primitive_DecalReceiverMaskvb1) (declare (uniform ) vec3 Primitive_ActorWorldPositionvb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) vec3 Primitive_ObjectBoundsvb1) (declare (uniform ) vec4 Primitive_ObjectWorldPositionAndRadiusvb1) (declare (uniform ) mat4 Primitive_WorldToLocalvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec4 in_ATTRIBUTE3) (function main (signature void (parameters ) ( (declare () vec4 t8) (declare () vec4 t7) (declare () vec4 t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 cross_retval) (call cross (var_ref cross_retval) ((swiz xyz (var_ref t2) )(expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (declare (temporary ) vec3 cross_retval@144) (call cross (var_ref cross_retval@144) ((expression vec3 * (var_ref cross_retval) (swiz www (var_ref t2) )) (swiz xyz (var_ref t2) ))) (assign (xyz) (var_ref t1) (expression vec3 * (var_ref cross_retval@144) (swiz www (var_ref t2) )) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )) (assign () (var_ref t3) (var_ref t4) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref Primitive_InvNonUniformScalevb1) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (0)) ) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (1)) ) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (2)) ) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (array_ref (var_ref Primitive_LocalToWorldvb1) (constant int (3)) ) )(var_ref View_PreViewTranslationvb0) ) ) ) (assign (xyzw) (var_ref t6) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (w) (var_ref t7) (constant float (0.000000)) ) (assign (xyz) (var_ref t7) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t8) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (var_ref Primitive_LocalToWorldDeterminantSignvb1) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t6) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD10) Data) (var_ref t7) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD11) Data) (var_ref t8) ) (assign (xyzw) (record_ref (var_ref out_COLOR0) Data) (var_ref in_ATTRIBUTE3) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD7) Data) (var_ref t5) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t6) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t6) )) (expression float neg (swiz w (var_ref t6) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function cross (signature vec3 (parameters (declare (in ) vec3 a) (declare (in ) vec3 b) ) ( )) ) ) GLSL IR for linked vertex program 23: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 Primitive_InvNonUniformScalevb1) (declare (uniform ) float Primitive_LocalToWorldDeterminantSignvb1) (declare (uniform ) mat4 Primitive_LocalToWorldvb1) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec3 in_ATTRIBUTE1) (declare (shader_in ) vec4 in_ATTRIBUTE2) (declare (shader_in ) vec4 in_ATTRIBUTE3) (function main (signature void (parameters ) ( (declare () vec4 t8) (declare () vec4 t7) (declare () vec4 t6) (declare () vec4 t5) (declare () mat3 t4) (declare () mat3 t3) (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 * (var_ref in_ATTRIBUTE2) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 b) (assign (xyz) (var_ref b) (expression vec3 + (expression vec3 * (var_ref in_ATTRIBUTE1) (constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare () vec3 a) (assign (xyz) (var_ref a) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref t2) )(swiz zxy (var_ref b) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref t2) )(swiz yzx (var_ref b) )) ) ) (swiz www (var_ref t2) )) ) (assign (xyz) (var_ref t1) (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref a) )(swiz zxy (var_ref t2) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref a) )(swiz yzx (var_ref t2) )) ) ) (swiz www (var_ref t2) )) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (0)) ) (swiz xyz (var_ref cse) )) (declare () vec4 cse@145) (assign (xyzw) (var_ref cse@145) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (1)) ) (swiz xyz (var_ref cse@145) )) (declare () vec4 cse@146) (assign (xyzw) (var_ref cse@146) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xyz) (array_ref (var_ref t4) (constant int (2)) ) (swiz xyz (var_ref cse@146) )) (assign () (var_ref t3) (var_ref t4) ) (declare () vec4 cse@147) (assign (xyzw) (var_ref cse@147) (expression vec4 ubo_load (constant uint (0)) (constant uint (224)) ) ) (assign (xyz) (array_ref (var_ref t3) (constant int (0)) ) (expression vec3 * (array_ref (var_ref t4) (constant int (0)) ) (swiz xxx (var_ref cse@147) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (1)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (1)) ) (swiz yyy (var_ref cse@147) )) ) (assign (xyz) (array_ref (var_ref t3) (constant int (2)) ) (expression vec3 * (array_ref (var_ref t3) (constant int (2)) ) (swiz zzz (var_ref cse@147) )) ) (assign (w) (var_ref t5) (constant float (1.000000)) ) (assign (xyz) (var_ref t5) (expression vec3 + (expression vec3 + (expression vec3 + (expression vec3 * (swiz xyz (var_ref cse) )(swiz xxx (var_ref in_ATTRIBUTE0) )) (expression vec3 * (swiz xyz (var_ref cse@145) )(swiz yyy (var_ref in_ATTRIBUTE0) )) ) (expression vec3 * (swiz xyz (var_ref cse@146) )(swiz zzz (var_ref in_ATTRIBUTE0) )) ) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(expression vec3 ubo_load (constant uint (1)) (constant uint (736)) ) ) ) ) (assign (xyzw) (var_ref t6) (expression vec4 + (expression vec4 ubo_load (constant uint (1)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (32)) ) (swiz zzzz (var_ref t5) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (16)) ) (swiz yyyy (var_ref t5) )) (expression vec4 * (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) (swiz xxxx (var_ref t5) )) ) ) ) ) (assign (w) (var_ref t7) (constant float (0.000000)) ) (assign (xyz) (var_ref t7) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t1) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t1) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t1) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz zzz (var_ref t2) )(array_ref (var_ref t3) (constant int (2)) ) ) (expression vec3 + (expression vec3 * (swiz yyy (var_ref t2) )(array_ref (var_ref t3) (constant int (1)) ) ) (expression vec3 * (swiz xxx (var_ref t2) )(array_ref (var_ref t3) (constant int (0)) ) ) ) ) ) (assign (w) (var_ref t8) (expression float * (expression float + (expression float * (swiz w (var_ref in_ATTRIBUTE2) )(constant float (2.000000)) ) (constant float (-1.000000)) ) (expression float ubo_load (constant uint (0)) (constant uint (156)) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t6) )) (assign (xyzw) (var_ref Data) (var_ref t7) ) (assign (xyzw) (var_ref Data@148) (var_ref t8) ) (assign (xyzw) (var_ref Data@149) (var_ref in_ATTRIBUTE3) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t6) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t6) )) (expression float neg (swiz w (var_ref t6) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@150) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@151) (var_ref Data@149) ) (assign (xyzw) (var_ref Data@152) (var_ref Data@148) ) (assign (xyzw) (var_ref Data@153) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 23: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 1) Material_VectorExpressionspb3) (declare (uniform ) (array vec4 5) MaterialCollection0_Vectorspb2) (declare (uniform ) float Primitive_HasDistanceFieldRepresentationpb1) (declare (uniform ) float Primitive_DecalReceiverMaskpb1) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (temporary ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (temporary ) vec4 out_Target3) (declare (shader_out ) vec4 out_Target4) (declare (temporary ) vec4 out_Target4) (declare (shader_out ) vec4 out_Target5) (declare (temporary ) vec4 out_Target5) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (2)) (constant uint (704)) ) ) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (constant vec3 (0.000000 0.000000 1.000000)) (swiz www (var_ref cse) )) (swiz xyz (var_ref cse) )) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (w) (var_ref t1) (constant float (0.000000)) ) (declare () vec4 cse@154) (assign (xyzw) (var_ref cse@154) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 + (expression vec3 lrp (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) )(swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) )(swiz xxx (var_ref Data) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) )(swiz xxx (var_ref cse@154) )) ) (swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz y (var_ref cse@154) )) ) )) (swiz xyz (expression vec4 ubo_load (constant uint (1)) (constant uint (0)) ) )) ) (declare () vec3 x@155) (assign (xyz) (var_ref x@155) (expression vec3 + (expression vec3 * (swiz xyz (var_ref Data@156) )(swiz zzz (var_ref normalize_retval) )) (expression vec3 + (expression vec3 * (expression vec3 * (expression vec3 + (expression vec3 * (swiz yzx (var_ref Data@156) )(swiz zxy (var_ref Data@157) )) (expression vec3 neg (expression vec3 * (swiz zxy (var_ref Data@156) )(swiz yzx (var_ref Data@157) )) ) ) (swiz www (var_ref Data@156) )) (swiz yyy (var_ref normalize_retval) )) (expression vec3 * (swiz xyz (var_ref Data@157) )(swiz xxx (var_ref normalize_retval) )) ) ) ) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x@155) (expression float rsq (expression float dot (var_ref x@155) (var_ref x@155) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (w) (var_ref t2) (expression float * (expression float u2f (expression uint + (expression uint * (expression uint f2u (expression float ubo_load (constant uint (3)) (constant uint (172)) ) ) (constant uint (2)) ) (expression uint f2u (expression float ubo_load (constant uint (3)) (constant uint (176)) ) ) ) ) (constant float (0.333333)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target1) (var_ref t2) ) (assign (xyzw) (var_ref out_Target2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target3) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target4) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target5) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0@158) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@159) (var_ref out_Target1) ) (assign (xyzw) (var_ref out_Target2@160) (var_ref out_Target2) ) (assign (xyzw) (var_ref out_Target3@161) (var_ref out_Target3) ) (assign (xyzw) (var_ref out_Target4@162) (var_ref out_Target4) ) (assign (xyzw) (var_ref out_Target5@163) (var_ref out_Target5) ) )) ) ) GLSL source for vertex shader 24: #version 150 layout(std140) uniform vb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClipvb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClipvb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldvb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardvb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUpvb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightvb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiasvb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizevb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginvb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginvb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalevb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParametervb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationvb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltavb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignvb0 float View_CullingSign; #define View_NearPlane View_NearPlanevb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimevb0 float View_GameTime; #define View_RealTime View_RealTimevb0 float View_RealTime; #define View_Random View_Randomvb0 uint View_Random; #define View_FrameNumber View_FrameNumbervb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapsvb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskvb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorvb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorvb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorvb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamsvb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalevb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionvb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjvb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjvb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginvb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjvb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicvb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowervb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintvb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizevb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParametersvb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxvb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorvb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 vu_h[1]; in highp vec4 in_ATTRIBUTE0; void main() { highp vec4 t0; highp vec3 t1; t1.xyz = ((in_ATTRIBUTE0*vu_h[0].wwww).xyz+vu_h[0].xyz); highp vec4 t2; t2.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t1.zzzz)+((View_TranslatedWorldToClip[1]*t1.yyyy)+(View_TranslatedWorldToClip[0]*t1.xxxx)))); t0.xyzw = t2; t0.y = (-t2.y); t0.z = ((2.000000e+000*t2.z)+(-t2.w)); gl_Position.xyzw = t0; } GLSL IR for shader 24: ( (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMapvb0) (declare (uniform ) vec4 View_SkyLightColorvb0) (declare (uniform ) vec4 View_SceneTextureMinMaxvb0) (declare (uniform ) float View_SkyLightParametersvb0) (declare (uniform ) vec2 View_RenderTargetSizevb0) (declare (uniform ) float View_AmbientCubemapIntensityvb0) (declare (uniform ) vec4 View_AmbientCubemapTintvb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorvb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumvb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskvb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetvb0) (declare (uniform ) float View_AtmosphericFogStartDistancevb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighvb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalevb0) (declare (uniform ) float View_AtmosphericFogDistanceScalevb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetvb0) (declare (uniform ) float View_AtmosphericFogDensityScalevb0) (declare (uniform ) float View_AtmosphericFogPowervb0) (declare (uniform ) float View_AtmosphericFogSunPowervb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionvb0) (declare (uniform ) float View_HdrMosaicvb0) (declare (uniform ) vec3 View_IndirectLightingColorScalevb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_PrevInvViewProjvb0) (declare (uniform ) vec3 View_PrevPreViewTranslationvb0) (declare (uniform ) vec3 View_PrevViewOriginvb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClipvb0) (declare (uniform ) mat4 View_PrevViewRotationProjvb0) (declare (uniform ) mat4 View_PrevViewProjvb0) (declare (uniform ) mat4 View_PrevProjectionvb0) (declare (uniform ) float View_DemosaicVposOffsetvb0) (declare (uniform ) float View_GeneralPurposeTweakvb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelvb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalRegionvb0) (declare (uniform ) float View_DepthOfFieldFocalLengthvb0) (declare (uniform ) float View_DepthOfFieldScalevb0) (declare (uniform ) float View_DepthOfFieldFocalDistancevb0) (declare (uniform ) vec4 View_TemporalAAParamsvb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizevb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinvb0) (declare (uniform ) vec4 View_LowerSkyColorvb0) (declare (uniform ) vec4 View_UpperSkyColorvb0) (declare (uniform ) vec3 View_DirectionalLightDirectionvb0) (declare (uniform ) vec4 View_DirectionalLightColorvb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskvb0) (declare (uniform ) float View_UnlitViewmodeMaskvb0) (declare (uniform ) float View_UseLightmapsvb0) (declare (uniform ) uint View_FrameNumbervb0) (declare (uniform ) uint View_Randomvb0) (declare (uniform ) float View_RealTimevb0) (declare (uniform ) float View_GameTimevb0) (declare (uniform ) float View_AdaptiveTessellationFactorvb0) (declare (uniform ) float View_NearPlanevb0) (declare (uniform ) float View_CullingSignvb0) (declare (uniform ) vec3 View_ViewOriginDeltavb0) (declare (uniform ) float View_OutOfBoundsMaskvb0) (declare (uniform ) vec3 View_PreViewTranslationvb0) (declare (uniform ) vec2 View_RoughnessOverrideParametervb0) (declare (uniform ) vec4 View_NormalOverrideParametervb0) (declare (uniform ) vec4 View_SpecularOverrideParametervb0) (declare (uniform ) vec4 View_DiffuseOverrideParametervb0) (declare (uniform ) vec4 View_ExposureScalevb0) (declare (uniform ) vec4 View_TranslatedViewOriginvb0) (declare (uniform ) vec4 View_ViewOriginvb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizevb0) (declare (uniform ) vec4 View_ScreenTexelBiasvb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiasvb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformvb0) (declare (uniform ) vec3 View_ViewRightvb0) (declare (uniform ) vec3 View_ViewUpvb0) (declare (uniform ) vec3 View_ViewForwardvb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldvb0) (declare (uniform ) mat4 View_ScreenToWorldvb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldvb0) (declare (uniform ) mat4 View_ViewToClipvb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldvb0) (declare (uniform ) mat4 View_TranslatedWorldToViewvb0) (declare (uniform ) mat4 View_WorldToClipvb0) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 1) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyz) (var_ref t1) (expression vec3 + (swiz xyz (expression vec4 * (var_ref in_ATTRIBUTE0) (swiz wwww (array_ref (var_ref vu_h) (constant int (0)) ) )) )(swiz xyz (array_ref (var_ref vu_h) (constant int (0)) ) )) ) (assign (xyzw) (var_ref t2) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (2)) ) (swiz zzzz (var_ref t1) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (1)) ) (swiz yyyy (var_ref t1) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClipvb0) (constant int (0)) ) (swiz xxxx (var_ref t1) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t2) )) (expression float neg (swiz w (var_ref t2) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL IR for linked vertex program 25: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (uniform ) mat4 View_TranslatedWorldToClipvb0) (declare (uniform ) (array vec4 1) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec3 t1) (declare () vec4 t0) (assign (xyz) (var_ref t1) (expression vec3 + (swiz xyz (expression vec4 * (var_ref in_ATTRIBUTE0) (swiz wwww (array_ref (var_ref vu_h) (constant int (0)) ) )) )(swiz xyz (array_ref (var_ref vu_h) (constant int (0)) ) )) ) (assign (xyzw) (var_ref t2) (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) (swiz zzzz (var_ref t1) )) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) (swiz yyyy (var_ref t1) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) (swiz xxxx (var_ref t1) )) ) ) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t2) )) (expression float neg (swiz w (var_ref t2) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@164) (var_ref gl_Position) ) )) ) ) GLSL IR for linked fragment program 25: ( (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (xyzw) (var_ref out_Target0@165) (var_ref out_Target0) ) )) ) ) GLSL source for vertex shader 26: #version 150 layout(std140) uniform vb0 { #define DrawRectangleParameters_PosScaleBias DrawRectangleParameters_PosScaleBiasvb0 vec4 DrawRectangleParameters_PosScaleBias; #define DrawRectangleParameters_UVScaleBias DrawRectangleParameters_UVScaleBiasvb0 vec4 DrawRectangleParameters_UVScaleBias; #define DrawRectangleParameters_InvTargetSizeAndTextureSize DrawRectangleParameters_InvTargetSizeAndTextureSizevb0 vec4 DrawRectangleParameters_InvTargetSizeAndTextureSize; }; in highp vec4 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; void main() { highp vec4 t0; highp vec4 t1; highp vec4 t2; t2.xyzw = in_ATTRIBUTE0; t2.xy = (vec2(-1.000000e+000,-1.000000e+000)+((vec2(2.000000e+000,2.000000e+000)*(DrawRectangleParameters_PosScaleBias.zw+(in_ATTRIBUTE0.xy*DrawRectangleParameters_PosScaleBias.xy)))*DrawRectangleParameters_InvTargetSizeAndTextureSize.xy)); t2.xy = (t2.xy*vec2(1.000000e+000,-1.000000e+000)); t1.xy = ((DrawRectangleParameters_UVScaleBias.zw+(in_ATTRIBUTE1*DrawRectangleParameters_UVScaleBias.xy))*DrawRectangleParameters_InvTargetSizeAndTextureSize.zw); t1.zw = t2.xy; t0.xyzw = t2; out_TEXCOORD0.Data.xyzw = t1; t0.y = (-t2.y); t0.z = ((2.000000e+000*in_ATTRIBUTE0.z)+(-in_ATTRIBUTE0.w)); gl_Position.xyzw = t0; } GLSL IR for shader 26: ( (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_PosScaleBiasvb0) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref DrawRectangleParameters_PosScaleBiasvb0) )) ) ) (swiz xy (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_UVScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref DrawRectangleParameters_UVScaleBiasvb0) )) ) (swiz zw (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL source for fragment shader 27: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[2]; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; highp vec4 t2; highp vec4 t3; highp vec4 t4; highp vec2 t5; highp vec2 t6; highp vec2 t7; highp vec2 t8; t5.xy = (in_TEXCOORD0.Data.xy+(vec2(-5.000000e-001,-5.000000e-001)*pu_h[1].zw)); t6.xy = (in_TEXCOORD0.Data.xy+(vec2(5.000000e-001,-5.000000e-001)*pu_h[1].zw)); t7.xy = (in_TEXCOORD0.Data.xy+(vec2(-5.000000e-001,5.000000e-001)*pu_h[1].zw)); t8.xy = (in_TEXCOORD0.Data.xy+(vec2(5.000000e-001,5.000000e-001)*pu_h[1].zw)); t1.xyz = ((normalize(((textureLod(ps0,t5,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t9; t9 = (1.0/(((textureLod(ps1,t5,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); t1.w = t9; t2.xyz = ((normalize(((textureLod(ps0,t6,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t10; t10 = (1.0/(((textureLod(ps1,t6,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); t2.w = t10; t3.xyz = ((normalize(((textureLod(ps0,t7,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t11; t11 = (1.0/(((textureLod(ps1,t7,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); t3.w = t11; t4.xyz = ((normalize(((textureLod(ps0,t8,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))*vec3(5.000000e-001,5.000000e-001,5.000000e-001))+vec3(5.000000e-001,5.000000e-001,5.000000e-001)); highp float t12; t12 = (1.0/(((textureLod(ps1,t8,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); t4.w = t12; highp float t13; t13 = max(max(t9,t10),max(t11,t12)); highp vec4 t14; t14.w = 1.000000e+000; t14.xyz = t1.xyz; t0.xyzw = (vec4(1.000000e-004,1.000000e-004,1.000000e-004,1.000000e-004)+(t14*vec4(clamp((1.000000e+000+(-(abs((t9+(-t13)))*pu_h[0].y))),0.000000e+000,1.000000e+000)))); highp vec4 t15; t15.w = 1.000000e+000; t15.xyz = t2.xyz; t0.xyzw = (t0+(t15*vec4(clamp((1.000000e+000+(-(abs((t10+(-t13)))*pu_h[0].y))),0.000000e+000,1.000000e+000)))); highp vec4 t16; t16.w = 1.000000e+000; t16.xyz = t3.xyz; t0.xyzw = (t0+(t16*vec4(clamp((1.000000e+000+(-(abs((t11+(-t13)))*pu_h[0].y))),0.000000e+000,1.000000e+000)))); highp vec4 t17; t17.w = 1.000000e+000; t17.xyz = t4.xyz; t0.xyzw = (t0+(t17*vec4(clamp((1.000000e+000+(-(abs((t12+(-t13)))*pu_h[0].y))),0.000000e+000,1.000000e+000)))); t0.xyz = (t0.xyz/t0.www); highp vec4 t18; t18.xyz = t0.xyz; t18.w = (t13/1.310720e+005); out_Target0.xyzw = t18; } GLSL IR for shader 27: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 2) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t18) (declare () vec4 t17) (declare () vec4 t16) (declare () vec4 t15) (declare () vec4 t14) (declare () float t13) (declare () float t12) (declare () float t11) (declare () float t10) (declare () float t9) (declare () vec2 t8) (declare () vec2 t7) (declare () vec2 t6) (declare () vec2 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xy) (var_ref t5) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (assign (xy) (var_ref t6) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (assign (xy) (var_ref t7) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (assign (xy) (var_ref t8) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps0) (var_ref t5) (constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (var_ref normalize_retval) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (declare (temporary ) vec4 textureLod_retval@166) (call textureLod (var_ref textureLod_retval@166) ((var_ref ps1) (var_ref t5) (constant float (0.000000)) )) (assign (x) (var_ref t9) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval@166) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (w) (var_ref t1) (var_ref t9) ) (declare (temporary ) vec4 textureLod_retval@167) (call textureLod (var_ref textureLod_retval@167) ((var_ref ps0) (var_ref t6) (constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval@168) (call normalize (var_ref normalize_retval@168) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@167) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (var_ref normalize_retval@168) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (declare (temporary ) vec4 textureLod_retval@169) (call textureLod (var_ref textureLod_retval@169) ((var_ref ps1) (var_ref t6) (constant float (0.000000)) )) (assign (x) (var_ref t10) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval@169) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (w) (var_ref t2) (var_ref t10) ) (declare (temporary ) vec4 textureLod_retval@170) (call textureLod (var_ref textureLod_retval@170) ((var_ref ps0) (var_ref t7) (constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval@171) (call normalize (var_ref normalize_retval@171) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@170) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (assign (xyz) (var_ref t3) (expression vec3 + (expression vec3 * (var_ref normalize_retval@171) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (declare (temporary ) vec4 textureLod_retval@172) (call textureLod (var_ref textureLod_retval@172) ((var_ref ps1) (var_ref t7) (constant float (0.000000)) )) (assign (x) (var_ref t11) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval@172) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (w) (var_ref t3) (var_ref t11) ) (declare (temporary ) vec4 textureLod_retval@173) (call textureLod (var_ref textureLod_retval@173) ((var_ref ps0) (var_ref t8) (constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval@174) (call normalize (var_ref normalize_retval@174) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@173) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (assign (xyz) (var_ref t4) (expression vec3 + (expression vec3 * (var_ref normalize_retval@174) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (declare (temporary ) vec4 textureLod_retval@175) (call textureLod (var_ref textureLod_retval@175) ((var_ref ps1) (var_ref t8) (constant float (0.000000)) )) (assign (x) (var_ref t12) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval@175) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (w) (var_ref t4) (var_ref t12) ) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((var_ref t9) (var_ref t10) )) (declare (temporary ) float max_retval@176) (call max (var_ref max_retval@176) ((var_ref t11) (var_ref t12) )) (declare (temporary ) float max_retval@177) (call max (var_ref max_retval@177) ((var_ref max_retval) (var_ref max_retval@176) )) (assign (x) (var_ref t13) (var_ref max_retval@177) ) (assign (w) (var_ref t14) (constant float (1.000000)) ) (assign (xyz) (var_ref t14) (swiz xyz (var_ref t1) )) (declare (temporary ) float abs_retval) (call abs (var_ref abs_retval) ((expression float + (var_ref t9) (expression float neg (var_ref max_retval@177) ) ) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t0) (expression vec4 + (constant vec4 (0.000100 0.000100 0.000100 0.000100)) (expression vec4 * (var_ref t14) (swiz xxxx (var_ref clamp_retval) )) ) ) (assign (w) (var_ref t15) (constant float (1.000000)) ) (assign (xyz) (var_ref t15) (swiz xyz (var_ref t2) )) (declare (temporary ) float abs_retval@178) (call abs (var_ref abs_retval@178) ((expression float + (var_ref t10) (expression float neg (var_ref t13) ) ) )) (declare (temporary ) float clamp_retval@179) (call clamp (var_ref clamp_retval@179) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@178) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t0) (expression vec4 + (var_ref t0) (expression vec4 * (var_ref t15) (swiz xxxx (var_ref clamp_retval@179) )) ) ) (assign (w) (var_ref t16) (constant float (1.000000)) ) (assign (xyz) (var_ref t16) (swiz xyz (var_ref t3) )) (declare (temporary ) float abs_retval@180) (call abs (var_ref abs_retval@180) ((expression float + (var_ref t11) (expression float neg (var_ref t13) ) ) )) (declare (temporary ) float clamp_retval@181) (call clamp (var_ref clamp_retval@181) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@180) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t0) (expression vec4 + (var_ref t0) (expression vec4 * (var_ref t16) (swiz xxxx (var_ref clamp_retval@181) )) ) ) (assign (w) (var_ref t17) (constant float (1.000000)) ) (assign (xyz) (var_ref t17) (swiz xyz (var_ref t4) )) (declare (temporary ) float abs_retval@182) (call abs (var_ref abs_retval@182) ((expression float + (var_ref t12) (expression float neg (var_ref t13) ) ) )) (declare (temporary ) float clamp_retval@183) (call clamp (var_ref clamp_retval@183) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@182) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t0) (expression vec4 + (var_ref t0) (expression vec4 * (var_ref t17) (swiz xxxx (var_ref clamp_retval@183) )) ) ) (assign (xyz) (var_ref t0) (expression vec3 / (swiz xyz (var_ref t0) )(swiz www (var_ref t0) )) ) (assign (xyz) (var_ref t18) (swiz xyz (var_ref t0) )) (assign (w) (var_ref t18) (expression float / (var_ref t13) (constant float (131072.000000)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t18) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function max (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function abs (signature float (parameters (declare (in ) float x) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) ) GLSL IR for linked vertex program 28: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@184) (assign (xyzw) (var_ref cse@184) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@184) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@185) (assign (xyzw) (var_ref cse@185) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@185) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@185) )) ) (swiz zw (var_ref cse@184) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@186) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@187) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 28: ( (declare (shader_in ) vec4 Data) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) (array vec4 2) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t18) (declare () vec4 t17) (declare () vec4 t16) (declare () vec4 t15) (declare () vec4 t14) (declare () float t12) (declare () float t11) (declare () float t10) (declare () float t9) (declare () vec2 t8) (declare () vec2 t7) (declare () vec2 t6) (declare () vec2 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xy) (var_ref t5) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (assign (xy) (var_ref t6) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (assign (xy) (var_ref t7) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (assign (xy) (var_ref t8) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ) (declare () vec3 x) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (var_ref t5) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (assign (xyz) (var_ref t1) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (560)) ) ) (assign (x) (var_ref t9) (expression float rcp (expression float + (expression float * (swiz x (txl vec4 (var_ref ps1) (var_ref t5) 0 1 () (constant float (0.000000)) ))(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (w) (var_ref t1) (var_ref t9) ) (declare () vec3 x@188) (assign (xyz) (var_ref x@188) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (var_ref t6) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (assign (xyz) (var_ref t2) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x@188) (expression float rsq (expression float dot (var_ref x@188) (var_ref x@188) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (x) (var_ref t10) (expression float rcp (expression float + (expression float * (swiz x (txl vec4 (var_ref ps1) (var_ref t6) 0 1 () (constant float (0.000000)) ))(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (w) (var_ref t2) (var_ref t10) ) (declare () vec3 x@189) (assign (xyz) (var_ref x@189) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (var_ref t7) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (assign (xyz) (var_ref t3) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x@189) (expression float rsq (expression float dot (var_ref x@189) (var_ref x@189) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (x) (var_ref t11) (expression float rcp (expression float + (expression float * (swiz x (txl vec4 (var_ref ps1) (var_ref t7) 0 1 () (constant float (0.000000)) ))(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (w) (var_ref t3) (var_ref t11) ) (declare () vec3 x@190) (assign (xyz) (var_ref x@190) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (var_ref t8) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (assign (xyz) (var_ref t4) (expression vec3 + (expression vec3 * (expression vec3 * (var_ref x@190) (expression float rsq (expression float dot (var_ref x@190) (var_ref x@190) ) ) ) (constant vec3 (0.500000 0.500000 0.500000)) ) (constant vec3 (0.500000 0.500000 0.500000)) ) ) (assign (x) (var_ref t12) (expression float rcp (expression float + (expression float * (swiz x (txl vec4 (var_ref ps1) (var_ref t8) 0 1 () (constant float (0.000000)) ))(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (w) (var_ref t4) (var_ref t12) ) (declare (temporary ) float max_retval) (assign (x) (var_ref max_retval) (expression float max (expression float max (var_ref t9) (var_ref t10) ) (expression float max (var_ref t11) (var_ref t12) ) ) ) (assign (w) (var_ref t14) (constant float (1.000000)) ) (assign (xyz) (var_ref t14) (swiz xyz (var_ref t1) )) (assign (xyzw) (var_ref t0) (expression vec4 + (constant vec4 (0.000100 0.000100 0.000100 0.000100)) (expression vec4 * (var_ref t14) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (var_ref t9) (expression float neg (var_ref max_retval) ) ) ) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) (assign (w) (var_ref t15) (constant float (1.000000)) ) (assign (xyz) (var_ref t15) (swiz xyz (var_ref t2) )) (assign (xyzw) (var_ref t0) (expression vec4 + (var_ref t0) (expression vec4 * (var_ref t15) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (var_ref t10) (expression float neg (var_ref max_retval) ) ) ) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) (assign (w) (var_ref t16) (constant float (1.000000)) ) (assign (xyz) (var_ref t16) (swiz xyz (var_ref t3) )) (assign (xyzw) (var_ref t0) (expression vec4 + (var_ref t0) (expression vec4 * (var_ref t16) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (var_ref t11) (expression float neg (var_ref max_retval) ) ) ) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) (assign (w) (var_ref t17) (constant float (1.000000)) ) (assign (xyz) (var_ref t17) (swiz xyz (var_ref t4) )) (assign (xyzw) (var_ref t0) (expression vec4 + (var_ref t0) (expression vec4 * (var_ref t17) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (var_ref t12) (expression float neg (var_ref max_retval) ) ) ) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref t0) )(expression vec3 rcp (swiz www (var_ref t0) )) ) ) (assign (xyz) (var_ref t18) (swiz xyz (var_ref t0) )) (assign (w) (var_ref t18) (expression float * (var_ref max_retval) (constant float (0.000008)) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t18) ) (assign (xyzw) (var_ref out_Target0@191) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 29: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[8]; uniform highp sampler2D ps3; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; highp float t2; highp float t3; highp float t4; t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); highp vec3 t5; t5.z = 1.000000e+000; t5.x = pu_h[3].w; t5.y = (pu_h[1].w*pu_h[3].w); highp vec3 t6; t6.xyz = (1.0/(t5)); highp float t7; t7 = (texture(ps0,in_TEXCOORD0.Data.xy).w*1.310720e+005); highp vec3 t8; t8.xyz = ((texture(ps0,in_TEXCOORD0.Data.xy).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)); highp vec3 t9; t9.xyz = normalize(((View_TranslatedWorldToView[2].xyz*t8.zzz)+((View_TranslatedWorldToView[1].xyz*t8.yyy)+(View_TranslatedWorldToView[0].xyz*t8.xxx)))); highp vec3 t10; t10.xy = (in_TEXCOORD0.Data.zw*vec2(t7)); t10.z = t7; highp vec3 t11; t11.xyz = ((t10*t6)+((t9*vec3((pu_h[0].y*t7)))*pu_h[2].xxx)); t4 = (1.000000e+000+(-(t11.z*pu_h[0].z))); t3 = 1.000000e-004; t2 = 1.000000e-004; t1.xyzw = (((texture(ps3,(((vec2(mod(View_TemporalAAParams.x,8.000000e+000))*vec2(2.000000e+000,7.000000e+000))/vec2(6.400000e+001,6.400000e+001))+(in_TEXCOORD0.Data.xy*pu_h[1].xy)))*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000))*((pu_h[1].zz*vec2(mix(t7,1.000000e+000,pu_h[2].z)))*t6.xy).xyxy); highp vec3 t12; highp vec2 t13; t13.xy = (vec2(2.000000e-001,2.000000e-001)*t1.zw); highp vec3 t14; t14.z = 0.000000e+000; t14.xy = t13; highp vec3 t15; t15.z = 0.000000e+000; t15.xy = t13; highp vec2 t16; highp vec3 t17; t17.xyz = ((t11+t14)*t5); t16.xy = (t17.xy/t17.zz); highp vec2 t18; highp vec3 t19; t19.xyz = ((t11+(-t15))*t5); t18.xy = (t19.xy/t19.zz); highp float t20; t20 = (texture(ps1,((((t16*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t21; t21 = (texture(ps1,((((t18*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t22; t22.xy = (t16*vec2(t20)); t22.z = t20; highp vec3 t23; t23.xyz = (t22*t6); highp vec3 t24; t24.xy = (t18*vec2(t21)); t24.z = t21; highp vec3 t25; t25.xyz = (t24*t6); highp vec3 t26; t26.xyz = (t23+(-t11)); highp vec3 t27; t27.xyz = (t25+(-t11)); t12.xyz = t27; highp float t28; t28 = dot(t26,t9); highp float t29; t29 = length(t26); highp float t30; t30 = (1.000000e+000+(-clamp((t28/t29),0.000000e+000,1.000000e+000))); highp float t31; highp float t32; t32 = float(all(lessThan(abs(t16),vec2(1.000000e+000,1.000000e+000)))); t31 = (clamp((1.000000e+000+((t23.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t32); highp float t33; t33 = (1.000000e-004+((t30*t30)*t31)); t2 = t33; highp float t34; t34 = (1.000000e-004+t31); t3 = t34; highp float t35; t35 = dot(t27,t9); highp float t36; t36 = length(t12); highp float t37; t37 = (1.000000e+000+(-clamp((t35/t36),0.000000e+000,1.000000e+000))); highp float t38; highp float t39; t39 = float(all(lessThan(abs(t18),vec2(1.000000e+000,1.000000e+000)))); t38 = (clamp(((t25.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t39); t2 = (t33+((t37*t37)*t38)); t3 = (t34+t38); highp vec3 t40; highp vec2 t41; t41.xy = ((vec2(3.250000e-001,3.250000e-001)*t1.xy)+(vec2(1.010000e-001,1.010000e-001)*t1.zw)); highp vec3 t42; t42.z = 0.000000e+000; t42.xy = t41; highp vec3 t43; t43.z = 0.000000e+000; t43.xy = t41; highp vec2 t44; highp vec3 t45; t45.xyz = ((t11+t42)*t5); t44.xy = (t45.xy/t45.zz); highp vec2 t46; highp vec3 t47; t47.xyz = ((t11+(-t43))*t5); t46.xy = (t47.xy/t47.zz); highp float t48; t48 = (texture(ps1,((((t44*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t49; t49 = (texture(ps1,((((t46*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t50; t50.xy = (t44*vec2(t48)); t50.z = t48; highp vec3 t51; t51.xyz = (t50*t6); highp vec3 t52; t52.xy = (t46*vec2(t49)); t52.z = t49; highp vec3 t53; t53.xyz = (t52*t6); highp vec3 t54; t54.xyz = (t51+(-t11)); highp vec3 t55; t55.xyz = (t53+(-t11)); t40.xyz = t55; highp float t56; t56 = dot(t54,t9); highp float t57; t57 = length(t54); highp float t58; t58 = (1.000000e+000+(-clamp((t56/t57),0.000000e+000,1.000000e+000))); highp float t59; highp float t60; t60 = float(all(lessThan(abs(t44),vec2(1.000000e+000,1.000000e+000)))); t59 = (clamp((1.000000e+000+((t51.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t60); highp float t61; t61 = (t2+((t58*t58)*t59)); t2 = t61; highp float t62; t62 = (t3+t59); t3 = t62; highp float t63; t63 = dot(t55,t9); highp float t64; t64 = length(t40); highp float t65; t65 = (1.000000e+000+(-clamp((t63/t64),0.000000e+000,1.000000e+000))); highp float t66; highp float t67; t67 = float(all(lessThan(abs(t46),vec2(1.000000e+000,1.000000e+000)))); t66 = (clamp(((t53.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t67); t2 = (t61+((t65*t65)*t66)); t3 = (t62+t66); highp vec3 t68; highp vec2 t69; t69.xy = ((vec2(2.720000e-001,2.720000e-001)*t1.xy)+(vec2(-3.960000e-001,-3.960000e-001)*t1.zw)); highp vec3 t70; t70.z = 0.000000e+000; t70.xy = t69; highp vec3 t71; t71.z = 0.000000e+000; t71.xy = t69; highp vec2 t72; highp vec3 t73; t73.xyz = ((t11+t70)*t5); t72.xy = (t73.xy/t73.zz); highp vec2 t74; highp vec3 t75; t75.xyz = ((t11+(-t71))*t5); t74.xy = (t75.xy/t75.zz); highp float t76; t76 = (texture(ps1,((((t72*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t77; t77 = (texture(ps1,((((t74*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t78; t78.xy = (t72*vec2(t76)); t78.z = t76; highp vec3 t79; t79.xyz = (t78*t6); highp vec3 t80; t80.xy = (t74*vec2(t77)); t80.z = t77; highp vec3 t81; t81.xyz = (t80*t6); highp vec3 t82; t82.xyz = (t79+(-t11)); highp vec3 t83; t83.xyz = (t81+(-t11)); t68.xyz = t83; highp float t84; t84 = dot(t82,t9); highp float t85; t85 = length(t82); highp float t86; t86 = (1.000000e+000+(-clamp((t84/t85),0.000000e+000,1.000000e+000))); highp float t87; highp float t88; t88 = float(all(lessThan(abs(t72),vec2(1.000000e+000,1.000000e+000)))); t87 = (clamp((1.000000e+000+((t79.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t88); highp float t89; t89 = (t2+((t86*t86)*t87)); t2 = t89; highp float t90; t90 = (t3+t87); t3 = t90; highp float t91; t91 = dot(t83,t9); highp float t92; t92 = length(t68); highp float t93; t93 = (1.000000e+000+(-clamp((t91/t92),0.000000e+000,1.000000e+000))); highp float t94; highp float t95; t95 = float(all(lessThan(abs(t74),vec2(1.000000e+000,1.000000e+000)))); t94 = (clamp(((t81.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t95); t2 = (t89+((t93*t93)*t94)); t3 = (t90+t94); highp vec3 t96; highp vec2 t97; t97.xy = ((vec2(-3.850000e-001,-3.850000e-001)*t1.xy)+(vec2(-4.880000e-001,-4.880000e-001)*t1.zw)); highp vec3 t98; t98.z = 0.000000e+000; t98.xy = t97; highp vec3 t99; t99.z = 0.000000e+000; t99.xy = t97; highp vec2 t100; highp vec3 t101; t101.xyz = ((t11+t98)*t5); t100.xy = (t101.xy/t101.zz); highp vec2 t102; highp vec3 t103; t103.xyz = ((t11+(-t99))*t5); t102.xy = (t103.xy/t103.zz); highp float t104; t104 = (texture(ps1,((((t100*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t105; t105 = (texture(ps1,((((t102*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t106; t106.xy = (t100*vec2(t104)); t106.z = t104; highp vec3 t107; t107.xyz = (t106*t6); highp vec3 t108; t108.xy = (t102*vec2(t105)); t108.z = t105; highp vec3 t109; t109.xyz = (t108*t6); highp vec3 t110; t110.xyz = (t107+(-t11)); highp vec3 t111; t111.xyz = (t109+(-t11)); t96.xyz = t111; highp float t112; t112 = dot(t110,t9); highp float t113; t113 = length(t110); highp float t114; t114 = (1.000000e+000+(-clamp((t112/t113),0.000000e+000,1.000000e+000))); highp float t115; highp float t116; t116 = float(all(lessThan(abs(t100),vec2(1.000000e+000,1.000000e+000)))); t115 = (clamp((1.000000e+000+((t107.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t116); highp float t117; t117 = (t2+((t114*t114)*t115)); t2 = t117; highp float t118; t118 = (t3+t115); t3 = t118; highp float t119; t119 = dot(t111,t9); highp float t120; t120 = length(t96); highp float t121; t121 = (1.000000e+000+(-clamp((t119/t120),0.000000e+000,1.000000e+000))); highp float t122; highp float t123; t123 = float(all(lessThan(abs(t102),vec2(1.000000e+000,1.000000e+000)))); t122 = (clamp(((t109.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t123); t2 = (t117+((t121*t121)*t122)); t3 = (t118+t122); highp vec3 t124; highp vec2 t125; t125.xy = ((vec2(-7.110000e-001,-7.110000e-001)*t1.xy)+(vec2(2.740000e-001,2.740000e-001)*t1.zw)); highp vec3 t126; t126.z = 0.000000e+000; t126.xy = t125; highp vec3 t127; t127.z = 0.000000e+000; t127.xy = t125; highp vec2 t128; highp vec3 t129; t129.xyz = ((t11+t126)*t5); t128.xy = (t129.xy/t129.zz); highp vec2 t130; highp vec3 t131; t131.xyz = ((t11+(-t127))*t5); t130.xy = (t131.xy/t131.zz); highp float t132; t132 = (texture(ps1,((((t128*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t133; t133 = (texture(ps1,((((t130*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t134; t134.xy = (t128*vec2(t132)); t134.z = t132; highp vec3 t135; t135.xyz = (t134*t6); highp vec3 t136; t136.xy = (t130*vec2(t133)); t136.z = t133; highp vec3 t137; t137.xyz = (t136*t6); highp vec3 t138; t138.xyz = (t135+(-t11)); highp vec3 t139; t139.xyz = (t137+(-t11)); t124.xyz = t139; highp float t140; t140 = dot(t138,t9); highp float t141; t141 = length(t138); highp float t142; t142 = (1.000000e+000+(-clamp((t140/t141),0.000000e+000,1.000000e+000))); highp float t143; highp float t144; t144 = float(all(lessThan(abs(t128),vec2(1.000000e+000,1.000000e+000)))); t143 = (clamp((1.000000e+000+((t135.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t144); highp float t145; t145 = (t2+((t142*t142)*t143)); t2 = t145; highp float t146; t146 = (t3+t143); t3 = t146; highp float t147; t147 = dot(t139,t9); highp float t148; t148 = length(t124); highp float t149; t149 = (1.000000e+000+(-clamp((t147/t148),0.000000e+000,1.000000e+000))); highp float t150; highp float t151; t151 = float(all(lessThan(abs(t130),vec2(1.000000e+000,1.000000e+000)))); t150 = (clamp(((t137.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t151); t2 = (t145+((t149*t149)*t150)); t3 = (t146+t150); highp vec3 t152; highp vec2 t153; t153.xy = ((vec2(6.000000e-002,6.000000e-002)*t1.xy)+(vec2(9.000000e-001,9.000000e-001)*t1.zw)); highp vec3 t154; t154.z = 0.000000e+000; t154.xy = t153; highp vec3 t155; t155.z = 0.000000e+000; t155.xy = t153; highp vec2 t156; highp vec3 t157; t157.xyz = ((t11+t154)*t5); t156.xy = (t157.xy/t157.zz); highp vec2 t158; highp vec3 t159; t159.xyz = ((t11+(-t155))*t5); t158.xy = (t159.xy/t159.zz); highp float t160; t160 = (texture(ps1,((((t156*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t161; t161 = (texture(ps1,((((t158*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t162; t162.xy = (t156*vec2(t160)); t162.z = t160; highp vec3 t163; t163.xyz = (t162*t6); highp vec3 t164; t164.xy = (t158*vec2(t161)); t164.z = t161; highp vec3 t165; t165.xyz = (t164*t6); highp vec3 t166; t166.xyz = (t163+(-t11)); highp vec3 t167; t167.xyz = (t165+(-t11)); t152.xyz = t167; highp float t168; t168 = dot(t166,t9); highp float t169; t169 = length(t166); highp float t170; t170 = (1.000000e+000+(-clamp((t168/t169),0.000000e+000,1.000000e+000))); highp float t171; highp float t172; t172 = float(all(lessThan(abs(t156),vec2(1.000000e+000,1.000000e+000)))); t171 = (clamp((1.000000e+000+((t163.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t172); highp float t173; t173 = (t2+((t170*t170)*t171)); t2 = t173; highp float t174; t174 = (t3+t171); t3 = t174; highp float t175; t175 = dot(t167,t9); highp float t176; t176 = length(t152); highp float t177; t177 = (1.000000e+000+(-clamp((t175/t176),0.000000e+000,1.000000e+000))); highp float t178; highp float t179; t179 = float(all(lessThan(abs(t158),vec2(1.000000e+000,1.000000e+000)))); t178 = (clamp(((t165.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t179); t2 = (t173+((t177*t177)*t178)); t3 = (t174+t178); t2 = (t2/t3); t0.x = t2; t0.yz = vec2(0.000000e+000,0.000000e+000); highp vec4 t180; highp float t181; highp vec2 t182; highp vec2 t183; highp vec2 t184; highp vec2 t185; highp vec2 t186; highp vec2 t187; highp vec2 t188; highp vec2 t189; t182.xy = (in_TEXCOORD0.Data.xy+(vec2(-1.000000e+000,-1.000000e+000)*pu_h[6].zw)); t183.xy = (in_TEXCOORD0.Data.xy+(vec2(0.000000e+000,-1.000000e+000)*pu_h[6].zw)); t184.xy = (in_TEXCOORD0.Data.xy+(vec2(1.000000e+000,-1.000000e+000)*pu_h[6].zw)); t185.xy = (in_TEXCOORD0.Data.xy+(vec2(-1.000000e+000,0.000000e+000)*pu_h[6].zw)); t186.xy = (in_TEXCOORD0.Data.xy+(vec2(1.000000e+000,0.000000e+000)*pu_h[6].zw)); t187.xy = (in_TEXCOORD0.Data.xy+(vec2(-1.000000e+000,1.000000e+000)*pu_h[6].zw)); t188.xy = (in_TEXCOORD0.Data.xy+(vec2(0.000000e+000,1.000000e+000)*pu_h[6].zw)); t189.xy = (in_TEXCOORD0.Data.xy+pu_h[6].zw); highp vec4 t190; t190.xyzw = texture(ps1,t182); highp float t191; t191 = (clamp((1.000000e+000+(-(abs(((t190.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t190.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t192; t192.w = 1.000000e+000; t192.xyz = texture(ps2,t182).xyz; t180.xyzw = (vec4(1.000000e-004,0.000000e+000,0.000000e+000,0.000000e+000)+(t192*vec4(t191))); t181 = (1.000000e-004+t191); highp vec4 t193; t193.xyzw = texture(ps1,t183); highp float t194; t194 = (clamp((1.000000e+000+(-(abs(((t193.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t193.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t195; t195.w = 1.000000e+000; t195.xyz = texture(ps2,t183).xyz; t180.xyzw = (t180+(t195*vec4(t194))); t181 = (t181+t194); highp vec4 t196; t196.xyzw = texture(ps1,t184); highp float t197; t197 = (clamp((1.000000e+000+(-(abs(((t196.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t196.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t198; t198.w = 1.000000e+000; t198.xyz = texture(ps2,t184).xyz; t180.xyzw = (t180+(t198*vec4(t197))); t181 = (t181+t197); highp vec4 t199; t199.xyzw = texture(ps1,t185); highp float t200; t200 = (clamp((1.000000e+000+(-(abs(((t199.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t199.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t201; t201.w = 1.000000e+000; t201.xyz = texture(ps2,t185).xyz; t180.xyzw = (t180+(t201*vec4(t200))); t181 = (t181+t200); highp vec4 t202; t202.xyzw = texture(ps1,in_TEXCOORD0.Data.xy); highp float t203; t203 = (clamp((1.000000e+000+(-(abs(((t202.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t202.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t204; t204.w = 1.000000e+000; t204.xyz = texture(ps2,in_TEXCOORD0.Data.xy).xyz; t180.xyzw = (t180+(t204*vec4(t203))); t181 = (t181+t203); highp vec4 t205; t205.xyzw = texture(ps1,t186); highp float t206; t206 = (clamp((1.000000e+000+(-(abs(((t205.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t205.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t207; t207.w = 1.000000e+000; t207.xyz = texture(ps2,t186).xyz; t180.xyzw = (t180+(t207*vec4(t206))); t181 = (t181+t206); highp vec4 t208; t208.xyzw = texture(ps1,t187); highp float t209; t209 = (clamp((1.000000e+000+(-(abs(((t208.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t208.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t210; t210.w = 1.000000e+000; t210.xyz = texture(ps2,t187).xyz; t180.xyzw = (t180+(t210*vec4(t209))); t181 = (t181+t209); highp vec4 t211; t211.xyzw = texture(ps1,t188); highp float t212; t212 = (clamp((1.000000e+000+(-(abs(((t211.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t211.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t213; t213.w = 1.000000e+000; t213.xyz = texture(ps2,t188).xyz; t180.xyzw = (t180+(t213*vec4(t212))); t181 = (t181+t212); highp vec4 t214; t214.xyzw = texture(ps1,t189); highp float t215; t215 = (clamp((1.000000e+000+(-(abs(((t214.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t214.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t216; t216.w = 1.000000e+000; t216.xyz = texture(ps2,t189).xyz; t180.xyzw = (t180+(t216*vec4(t215))); t181 = (t181+t215); t0.x = mix(t2,(t180/vec4(t181)).x,0.000000e+000); out_Target0.xyzw = t0; } GLSL IR for shader 29: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t216) (declare () float t215) (declare () vec4 t214) (declare () vec4 t213) (declare () float t212) (declare () vec4 t211) (declare () vec4 t210) (declare () float t209) (declare () vec4 t208) (declare () vec4 t207) (declare () float t206) (declare () vec4 t205) (declare () vec4 t204) (declare () float t203) (declare () vec4 t202) (declare () vec4 t201) (declare () float t200) (declare () vec4 t199) (declare () vec4 t198) (declare () float t197) (declare () vec4 t196) (declare () vec4 t195) (declare () float t194) (declare () vec4 t193) (declare () vec4 t192) (declare () float t191) (declare () vec4 t190) (declare () vec2 t189) (declare () vec2 t188) (declare () vec2 t187) (declare () vec2 t186) (declare () vec2 t185) (declare () vec2 t184) (declare () vec2 t183) (declare () vec2 t182) (declare () float t181) (declare () vec4 t180) (declare () float t179) (declare () float t178) (declare () float t177) (declare () float t175) (declare () float t174) (declare () float t173) (declare () float t172) (declare () float t171) (declare () float t170) (declare () float t168) (declare () vec3 t167) (declare () vec3 t166) (declare () vec3 t165) (declare () vec3 t164) (declare () vec3 t163) (declare () vec3 t162) (declare () float t161) (declare () float t160) (declare () vec3 t159) (declare () vec2 t158) (declare () vec3 t157) (declare () vec2 t156) (declare () vec3 t155) (declare () vec3 t154) (declare () vec2 t153) (declare () vec3 t152) (declare () float t151) (declare () float t150) (declare () float t149) (declare () float t147) (declare () float t146) (declare () float t145) (declare () float t144) (declare () float t143) (declare () float t142) (declare () float t140) (declare () vec3 t139) (declare () vec3 t138) (declare () vec3 t137) (declare () vec3 t136) (declare () vec3 t135) (declare () vec3 t134) (declare () float t133) (declare () float t132) (declare () vec3 t131) (declare () vec2 t130) (declare () vec3 t129) (declare () vec2 t128) (declare () vec3 t127) (declare () vec3 t126) (declare () vec2 t125) (declare () vec3 t124) (declare () float t123) (declare () float t122) (declare () float t121) (declare () float t119) (declare () float t118) (declare () float t117) (declare () float t116) (declare () float t115) (declare () float t114) (declare () float t112) (declare () vec3 t111) (declare () vec3 t110) (declare () vec3 t109) (declare () vec3 t108) (declare () vec3 t107) (declare () vec3 t106) (declare () float t105) (declare () float t104) (declare () vec3 t103) (declare () vec2 t102) (declare () vec3 t101) (declare () vec2 t100) (declare () vec3 t99) (declare () vec3 t98) (declare () vec2 t97) (declare () vec3 t96) (declare () float t95) (declare () float t94) (declare () float t93) (declare () float t91) (declare () float t90) (declare () float t89) (declare () float t88) (declare () float t87) (declare () float t86) (declare () float t84) (declare () vec3 t83) (declare () vec3 t82) (declare () vec3 t81) (declare () vec3 t80) (declare () vec3 t79) (declare () vec3 t78) (declare () float t77) (declare () float t76) (declare () vec3 t75) (declare () vec2 t74) (declare () vec3 t73) (declare () vec2 t72) (declare () vec3 t71) (declare () vec3 t70) (declare () vec2 t69) (declare () vec3 t68) (declare () float t67) (declare () float t66) (declare () float t65) (declare () float t63) (declare () float t62) (declare () float t61) (declare () float t60) (declare () float t59) (declare () float t58) (declare () float t56) (declare () vec3 t55) (declare () vec3 t54) (declare () vec3 t53) (declare () vec3 t52) (declare () vec3 t51) (declare () vec3 t50) (declare () float t49) (declare () float t48) (declare () vec3 t47) (declare () vec2 t46) (declare () vec3 t45) (declare () vec2 t44) (declare () vec3 t43) (declare () vec3 t42) (declare () vec2 t41) (declare () vec3 t40) (declare () float t39) (declare () float t38) (declare () float t37) (declare () float t35) (declare () float t34) (declare () float t33) (declare () float t32) (declare () float t31) (declare () float t30) (declare () float t28) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec3 t24) (declare () vec3 t23) (declare () vec3 t22) (declare () float t21) (declare () float t20) (declare () vec3 t19) (declare () vec2 t18) (declare () vec3 t17) (declare () vec2 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec3 t12) (declare () vec3 t11) (declare () vec3 t10) (declare () vec3 t9) (declare () vec3 t8) (declare () float t7) (declare () vec3 t6) (declare () vec3 t5) (declare () float t4) (declare () float t3) (declare () float t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (z) (var_ref t5) (constant float (1.000000)) ) (assign (x) (var_ref t5) (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) (assign (y) (var_ref t5) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 rcp (var_ref t5) ) ) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (x) (var_ref t7) (expression float * (swiz w (var_ref texture_retval) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@192) (call texture (var_ref texture_retval@192) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@192) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (2)) ) )(swiz zzz (var_ref t8) )) (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (1)) ) )(swiz yyy (var_ref t8) )) (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (0)) ) )(swiz xxx (var_ref t8) )) ) ) )) (assign (xyz) (var_ref t9) (var_ref normalize_retval) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xx (var_ref t7) )) ) (assign (z) (var_ref t10) (var_ref t7) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (var_ref t10) (var_ref t6) ) (expression vec3 * (expression vec3 * (var_ref normalize_retval) (swiz xxx (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )(var_ref t7) ) )) (swiz xxx (array_ref (var_ref pu_h) (constant int (2)) ) )) ) ) (assign (x) (var_ref t4) (expression float + (constant float (1.000000)) (expression float neg (expression float * (swiz z (var_ref t11) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (x) (var_ref t3) (constant float (0.000100)) ) (assign (x) (var_ref t2) (constant float (0.000100)) ) (declare (temporary ) float mod_retval) (call mod (var_ref mod_retval) ((swiz x (var_ref View_TemporalAAParamspb0) )(constant float (8.000000)) )) (declare (temporary ) vec4 texture_retval@193) (call texture (var_ref texture_retval@193) ((var_ref ps3) (expression vec2 + (expression vec2 / (expression vec2 * (swiz xx (var_ref mod_retval) )(constant vec2 (2.000000 7.000000)) ) (constant vec2 (64.000000 64.000000)) ) (expression vec2 * (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) )) (declare (temporary ) float mix_retval) (call mix (var_ref mix_retval) ((var_ref t7) (constant float (1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) ))) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 * (var_ref texture_retval@193) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (swiz xyxy (expression vec2 * (expression vec2 * (swiz zz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xx (var_ref mix_retval) )) (swiz xy (var_ref t6) )) )) ) (assign (xy) (var_ref t13) (expression vec2 * (constant vec2 (0.200000 0.200000)) (swiz zw (var_ref t1) )) ) (assign (z) (var_ref t14) (constant float (0.000000)) ) (assign (xy) (var_ref t14) (var_ref t13) ) (assign (z) (var_ref t15) (constant float (0.000000)) ) (assign (xy) (var_ref t15) (var_ref t13) ) (assign (xyz) (var_ref t17) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t14) ) (var_ref t5) ) ) (assign (xy) (var_ref t16) (expression vec2 / (swiz xy (var_ref t17) )(swiz zz (var_ref t17) )) ) (assign (xyz) (var_ref t19) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t15) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t18) (expression vec2 / (swiz xy (var_ref t19) )(swiz zz (var_ref t19) )) ) (declare (temporary ) vec4 texture_retval@194) (call texture (var_ref texture_retval@194) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t16) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t20) (expression float * (swiz w (var_ref texture_retval@194) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@195) (call texture (var_ref texture_retval@195) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t18) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t21) (expression float * (swiz w (var_ref texture_retval@195) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t22) (expression vec2 * (var_ref t16) (swiz xx (var_ref t20) )) ) (assign (z) (var_ref t22) (var_ref t20) ) (assign (xyz) (var_ref t23) (expression vec3 * (var_ref t22) (var_ref t6) ) ) (assign (xy) (var_ref t24) (expression vec2 * (var_ref t18) (swiz xx (var_ref t21) )) ) (assign (z) (var_ref t24) (var_ref t21) ) (assign (xyz) (var_ref t25) (expression vec3 * (var_ref t24) (var_ref t6) ) ) (assign (xyz) (var_ref t26) (expression vec3 + (var_ref t23) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t27) (expression vec3 + (var_ref t25) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t12) (var_ref t27) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t26) (var_ref t9) )) (assign (x) (var_ref t28) (var_ref dot_retval) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((var_ref t26) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float / (var_ref t28) (var_ref length_retval) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t30) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval) ) ) ) (declare (temporary ) vec2 abs_retval) (call abs (var_ref abs_retval) ((var_ref t16) )) (declare (temporary ) bvec2 lessThan_retval) (call lessThan (var_ref lessThan_retval) ((var_ref abs_retval) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval) (call all (var_ref all_retval) ((var_ref lessThan_retval) )) (assign (x) (var_ref t32) (expression float b2f (var_ref all_retval) ) ) (declare (temporary ) float clamp_retval@196) (call clamp (var_ref clamp_retval@196) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t23) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t31) (expression float * (var_ref clamp_retval@196) (var_ref t32) ) ) (assign (x) (var_ref t33) (expression float + (constant float (0.000100)) (expression float * (expression float * (var_ref t30) (var_ref t30) ) (var_ref t31) ) ) ) (assign (x) (var_ref t2) (var_ref t33) ) (assign (x) (var_ref t34) (expression float + (constant float (0.000100)) (var_ref t31) ) ) (assign (x) (var_ref t3) (var_ref t34) ) (declare (temporary ) float dot_retval@197) (call dot (var_ref dot_retval@197) ((var_ref t27) (var_ref t9) )) (assign (x) (var_ref t35) (var_ref dot_retval@197) ) (declare (temporary ) float length_retval@198) (call length (var_ref length_retval@198) ((var_ref t12) )) (declare (temporary ) float clamp_retval@199) (call clamp (var_ref clamp_retval@199) ((expression float / (var_ref t35) (var_ref length_retval@198) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t37) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@199) ) ) ) (declare (temporary ) vec2 abs_retval@200) (call abs (var_ref abs_retval@200) ((var_ref t18) )) (declare (temporary ) bvec2 lessThan_retval@201) (call lessThan (var_ref lessThan_retval@201) ((var_ref abs_retval@200) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@202) (call all (var_ref all_retval@202) ((var_ref lessThan_retval@201) )) (assign (x) (var_ref t39) (expression float b2f (var_ref all_retval@202) ) ) (declare (temporary ) float clamp_retval@203) (call clamp (var_ref clamp_retval@203) ((expression float + (expression float * (swiz z (var_ref t25) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t38) (expression float * (var_ref clamp_retval@203) (var_ref t39) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t33) (expression float * (expression float * (var_ref t37) (var_ref t37) ) (var_ref t38) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t34) (var_ref t38) ) ) (assign (xy) (var_ref t41) (expression vec2 + (expression vec2 * (constant vec2 (0.325000 0.325000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.101000 0.101000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t42) (constant float (0.000000)) ) (assign (xy) (var_ref t42) (var_ref t41) ) (assign (z) (var_ref t43) (constant float (0.000000)) ) (assign (xy) (var_ref t43) (var_ref t41) ) (assign (xyz) (var_ref t45) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t42) ) (var_ref t5) ) ) (assign (xy) (var_ref t44) (expression vec2 / (swiz xy (var_ref t45) )(swiz zz (var_ref t45) )) ) (assign (xyz) (var_ref t47) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t43) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t46) (expression vec2 / (swiz xy (var_ref t47) )(swiz zz (var_ref t47) )) ) (declare (temporary ) vec4 texture_retval@204) (call texture (var_ref texture_retval@204) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t44) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t48) (expression float * (swiz w (var_ref texture_retval@204) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@205) (call texture (var_ref texture_retval@205) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t46) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t49) (expression float * (swiz w (var_ref texture_retval@205) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t50) (expression vec2 * (var_ref t44) (swiz xx (var_ref t48) )) ) (assign (z) (var_ref t50) (var_ref t48) ) (assign (xyz) (var_ref t51) (expression vec3 * (var_ref t50) (var_ref t6) ) ) (assign (xy) (var_ref t52) (expression vec2 * (var_ref t46) (swiz xx (var_ref t49) )) ) (assign (z) (var_ref t52) (var_ref t49) ) (assign (xyz) (var_ref t53) (expression vec3 * (var_ref t52) (var_ref t6) ) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t51) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t55) (expression vec3 + (var_ref t53) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t40) (var_ref t55) ) (declare (temporary ) float dot_retval@206) (call dot (var_ref dot_retval@206) ((var_ref t54) (var_ref t9) )) (assign (x) (var_ref t56) (var_ref dot_retval@206) ) (declare (temporary ) float length_retval@207) (call length (var_ref length_retval@207) ((var_ref t54) )) (declare (temporary ) float clamp_retval@208) (call clamp (var_ref clamp_retval@208) ((expression float / (var_ref t56) (var_ref length_retval@207) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t58) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@208) ) ) ) (declare (temporary ) vec2 abs_retval@209) (call abs (var_ref abs_retval@209) ((var_ref t44) )) (declare (temporary ) bvec2 lessThan_retval@210) (call lessThan (var_ref lessThan_retval@210) ((var_ref abs_retval@209) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@211) (call all (var_ref all_retval@211) ((var_ref lessThan_retval@210) )) (assign (x) (var_ref t60) (expression float b2f (var_ref all_retval@211) ) ) (declare (temporary ) float clamp_retval@212) (call clamp (var_ref clamp_retval@212) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t51) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t59) (expression float * (var_ref clamp_retval@212) (var_ref t60) ) ) (assign (x) (var_ref t61) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t58) (var_ref t58) ) (var_ref t59) ) ) ) (assign (x) (var_ref t2) (var_ref t61) ) (assign (x) (var_ref t62) (expression float + (var_ref t3) (var_ref t59) ) ) (assign (x) (var_ref t3) (var_ref t62) ) (declare (temporary ) float dot_retval@213) (call dot (var_ref dot_retval@213) ((var_ref t55) (var_ref t9) )) (assign (x) (var_ref t63) (var_ref dot_retval@213) ) (declare (temporary ) float length_retval@214) (call length (var_ref length_retval@214) ((var_ref t40) )) (declare (temporary ) float clamp_retval@215) (call clamp (var_ref clamp_retval@215) ((expression float / (var_ref t63) (var_ref length_retval@214) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t65) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@215) ) ) ) (declare (temporary ) vec2 abs_retval@216) (call abs (var_ref abs_retval@216) ((var_ref t46) )) (declare (temporary ) bvec2 lessThan_retval@217) (call lessThan (var_ref lessThan_retval@217) ((var_ref abs_retval@216) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@218) (call all (var_ref all_retval@218) ((var_ref lessThan_retval@217) )) (assign (x) (var_ref t67) (expression float b2f (var_ref all_retval@218) ) ) (declare (temporary ) float clamp_retval@219) (call clamp (var_ref clamp_retval@219) ((expression float + (expression float * (swiz z (var_ref t53) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t66) (expression float * (var_ref clamp_retval@219) (var_ref t67) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t61) (expression float * (expression float * (var_ref t65) (var_ref t65) ) (var_ref t66) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t62) (var_ref t66) ) ) (assign (xy) (var_ref t69) (expression vec2 + (expression vec2 * (constant vec2 (0.272000 0.272000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.396000 -0.396000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t70) (constant float (0.000000)) ) (assign (xy) (var_ref t70) (var_ref t69) ) (assign (z) (var_ref t71) (constant float (0.000000)) ) (assign (xy) (var_ref t71) (var_ref t69) ) (assign (xyz) (var_ref t73) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t70) ) (var_ref t5) ) ) (assign (xy) (var_ref t72) (expression vec2 / (swiz xy (var_ref t73) )(swiz zz (var_ref t73) )) ) (assign (xyz) (var_ref t75) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t71) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t74) (expression vec2 / (swiz xy (var_ref t75) )(swiz zz (var_ref t75) )) ) (declare (temporary ) vec4 texture_retval@220) (call texture (var_ref texture_retval@220) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t72) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t76) (expression float * (swiz w (var_ref texture_retval@220) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@221) (call texture (var_ref texture_retval@221) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t74) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t77) (expression float * (swiz w (var_ref texture_retval@221) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t78) (expression vec2 * (var_ref t72) (swiz xx (var_ref t76) )) ) (assign (z) (var_ref t78) (var_ref t76) ) (assign (xyz) (var_ref t79) (expression vec3 * (var_ref t78) (var_ref t6) ) ) (assign (xy) (var_ref t80) (expression vec2 * (var_ref t74) (swiz xx (var_ref t77) )) ) (assign (z) (var_ref t80) (var_ref t77) ) (assign (xyz) (var_ref t81) (expression vec3 * (var_ref t80) (var_ref t6) ) ) (assign (xyz) (var_ref t82) (expression vec3 + (var_ref t79) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t83) (expression vec3 + (var_ref t81) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t68) (var_ref t83) ) (declare (temporary ) float dot_retval@222) (call dot (var_ref dot_retval@222) ((var_ref t82) (var_ref t9) )) (assign (x) (var_ref t84) (var_ref dot_retval@222) ) (declare (temporary ) float length_retval@223) (call length (var_ref length_retval@223) ((var_ref t82) )) (declare (temporary ) float clamp_retval@224) (call clamp (var_ref clamp_retval@224) ((expression float / (var_ref t84) (var_ref length_retval@223) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t86) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@224) ) ) ) (declare (temporary ) vec2 abs_retval@225) (call abs (var_ref abs_retval@225) ((var_ref t72) )) (declare (temporary ) bvec2 lessThan_retval@226) (call lessThan (var_ref lessThan_retval@226) ((var_ref abs_retval@225) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@227) (call all (var_ref all_retval@227) ((var_ref lessThan_retval@226) )) (assign (x) (var_ref t88) (expression float b2f (var_ref all_retval@227) ) ) (declare (temporary ) float clamp_retval@228) (call clamp (var_ref clamp_retval@228) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t79) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t87) (expression float * (var_ref clamp_retval@228) (var_ref t88) ) ) (assign (x) (var_ref t89) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t86) (var_ref t86) ) (var_ref t87) ) ) ) (assign (x) (var_ref t2) (var_ref t89) ) (assign (x) (var_ref t90) (expression float + (var_ref t3) (var_ref t87) ) ) (assign (x) (var_ref t3) (var_ref t90) ) (declare (temporary ) float dot_retval@229) (call dot (var_ref dot_retval@229) ((var_ref t83) (var_ref t9) )) (assign (x) (var_ref t91) (var_ref dot_retval@229) ) (declare (temporary ) float length_retval@230) (call length (var_ref length_retval@230) ((var_ref t68) )) (declare (temporary ) float clamp_retval@231) (call clamp (var_ref clamp_retval@231) ((expression float / (var_ref t91) (var_ref length_retval@230) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t93) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@231) ) ) ) (declare (temporary ) vec2 abs_retval@232) (call abs (var_ref abs_retval@232) ((var_ref t74) )) (declare (temporary ) bvec2 lessThan_retval@233) (call lessThan (var_ref lessThan_retval@233) ((var_ref abs_retval@232) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@234) (call all (var_ref all_retval@234) ((var_ref lessThan_retval@233) )) (assign (x) (var_ref t95) (expression float b2f (var_ref all_retval@234) ) ) (declare (temporary ) float clamp_retval@235) (call clamp (var_ref clamp_retval@235) ((expression float + (expression float * (swiz z (var_ref t81) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t94) (expression float * (var_ref clamp_retval@235) (var_ref t95) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t89) (expression float * (expression float * (var_ref t93) (var_ref t93) ) (var_ref t94) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t90) (var_ref t94) ) ) (assign (xy) (var_ref t97) (expression vec2 + (expression vec2 * (constant vec2 (-0.385000 -0.385000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.488000 -0.488000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t98) (constant float (0.000000)) ) (assign (xy) (var_ref t98) (var_ref t97) ) (assign (z) (var_ref t99) (constant float (0.000000)) ) (assign (xy) (var_ref t99) (var_ref t97) ) (assign (xyz) (var_ref t101) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t98) ) (var_ref t5) ) ) (assign (xy) (var_ref t100) (expression vec2 / (swiz xy (var_ref t101) )(swiz zz (var_ref t101) )) ) (assign (xyz) (var_ref t103) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t99) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t102) (expression vec2 / (swiz xy (var_ref t103) )(swiz zz (var_ref t103) )) ) (declare (temporary ) vec4 texture_retval@236) (call texture (var_ref texture_retval@236) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t100) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t104) (expression float * (swiz w (var_ref texture_retval@236) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@237) (call texture (var_ref texture_retval@237) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t102) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t105) (expression float * (swiz w (var_ref texture_retval@237) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t106) (expression vec2 * (var_ref t100) (swiz xx (var_ref t104) )) ) (assign (z) (var_ref t106) (var_ref t104) ) (assign (xyz) (var_ref t107) (expression vec3 * (var_ref t106) (var_ref t6) ) ) (assign (xy) (var_ref t108) (expression vec2 * (var_ref t102) (swiz xx (var_ref t105) )) ) (assign (z) (var_ref t108) (var_ref t105) ) (assign (xyz) (var_ref t109) (expression vec3 * (var_ref t108) (var_ref t6) ) ) (assign (xyz) (var_ref t110) (expression vec3 + (var_ref t107) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t111) (expression vec3 + (var_ref t109) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t96) (var_ref t111) ) (declare (temporary ) float dot_retval@238) (call dot (var_ref dot_retval@238) ((var_ref t110) (var_ref t9) )) (assign (x) (var_ref t112) (var_ref dot_retval@238) ) (declare (temporary ) float length_retval@239) (call length (var_ref length_retval@239) ((var_ref t110) )) (declare (temporary ) float clamp_retval@240) (call clamp (var_ref clamp_retval@240) ((expression float / (var_ref t112) (var_ref length_retval@239) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t114) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@240) ) ) ) (declare (temporary ) vec2 abs_retval@241) (call abs (var_ref abs_retval@241) ((var_ref t100) )) (declare (temporary ) bvec2 lessThan_retval@242) (call lessThan (var_ref lessThan_retval@242) ((var_ref abs_retval@241) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@243) (call all (var_ref all_retval@243) ((var_ref lessThan_retval@242) )) (assign (x) (var_ref t116) (expression float b2f (var_ref all_retval@243) ) ) (declare (temporary ) float clamp_retval@244) (call clamp (var_ref clamp_retval@244) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t107) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t115) (expression float * (var_ref clamp_retval@244) (var_ref t116) ) ) (assign (x) (var_ref t117) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t114) (var_ref t114) ) (var_ref t115) ) ) ) (assign (x) (var_ref t2) (var_ref t117) ) (assign (x) (var_ref t118) (expression float + (var_ref t3) (var_ref t115) ) ) (assign (x) (var_ref t3) (var_ref t118) ) (declare (temporary ) float dot_retval@245) (call dot (var_ref dot_retval@245) ((var_ref t111) (var_ref t9) )) (assign (x) (var_ref t119) (var_ref dot_retval@245) ) (declare (temporary ) float length_retval@246) (call length (var_ref length_retval@246) ((var_ref t96) )) (declare (temporary ) float clamp_retval@247) (call clamp (var_ref clamp_retval@247) ((expression float / (var_ref t119) (var_ref length_retval@246) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t121) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@247) ) ) ) (declare (temporary ) vec2 abs_retval@248) (call abs (var_ref abs_retval@248) ((var_ref t102) )) (declare (temporary ) bvec2 lessThan_retval@249) (call lessThan (var_ref lessThan_retval@249) ((var_ref abs_retval@248) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@250) (call all (var_ref all_retval@250) ((var_ref lessThan_retval@249) )) (assign (x) (var_ref t123) (expression float b2f (var_ref all_retval@250) ) ) (declare (temporary ) float clamp_retval@251) (call clamp (var_ref clamp_retval@251) ((expression float + (expression float * (swiz z (var_ref t109) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t122) (expression float * (var_ref clamp_retval@251) (var_ref t123) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t117) (expression float * (expression float * (var_ref t121) (var_ref t121) ) (var_ref t122) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t118) (var_ref t122) ) ) (assign (xy) (var_ref t125) (expression vec2 + (expression vec2 * (constant vec2 (-0.711000 -0.711000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.274000 0.274000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t126) (constant float (0.000000)) ) (assign (xy) (var_ref t126) (var_ref t125) ) (assign (z) (var_ref t127) (constant float (0.000000)) ) (assign (xy) (var_ref t127) (var_ref t125) ) (assign (xyz) (var_ref t129) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t126) ) (var_ref t5) ) ) (assign (xy) (var_ref t128) (expression vec2 / (swiz xy (var_ref t129) )(swiz zz (var_ref t129) )) ) (assign (xyz) (var_ref t131) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t127) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t130) (expression vec2 / (swiz xy (var_ref t131) )(swiz zz (var_ref t131) )) ) (declare (temporary ) vec4 texture_retval@252) (call texture (var_ref texture_retval@252) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t128) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t132) (expression float * (swiz w (var_ref texture_retval@252) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@253) (call texture (var_ref texture_retval@253) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t130) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t133) (expression float * (swiz w (var_ref texture_retval@253) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t134) (expression vec2 * (var_ref t128) (swiz xx (var_ref t132) )) ) (assign (z) (var_ref t134) (var_ref t132) ) (assign (xyz) (var_ref t135) (expression vec3 * (var_ref t134) (var_ref t6) ) ) (assign (xy) (var_ref t136) (expression vec2 * (var_ref t130) (swiz xx (var_ref t133) )) ) (assign (z) (var_ref t136) (var_ref t133) ) (assign (xyz) (var_ref t137) (expression vec3 * (var_ref t136) (var_ref t6) ) ) (assign (xyz) (var_ref t138) (expression vec3 + (var_ref t135) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t139) (expression vec3 + (var_ref t137) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t124) (var_ref t139) ) (declare (temporary ) float dot_retval@254) (call dot (var_ref dot_retval@254) ((var_ref t138) (var_ref t9) )) (assign (x) (var_ref t140) (var_ref dot_retval@254) ) (declare (temporary ) float length_retval@255) (call length (var_ref length_retval@255) ((var_ref t138) )) (declare (temporary ) float clamp_retval@256) (call clamp (var_ref clamp_retval@256) ((expression float / (var_ref t140) (var_ref length_retval@255) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t142) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@256) ) ) ) (declare (temporary ) vec2 abs_retval@257) (call abs (var_ref abs_retval@257) ((var_ref t128) )) (declare (temporary ) bvec2 lessThan_retval@258) (call lessThan (var_ref lessThan_retval@258) ((var_ref abs_retval@257) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@259) (call all (var_ref all_retval@259) ((var_ref lessThan_retval@258) )) (assign (x) (var_ref t144) (expression float b2f (var_ref all_retval@259) ) ) (declare (temporary ) float clamp_retval@260) (call clamp (var_ref clamp_retval@260) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t135) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t143) (expression float * (var_ref clamp_retval@260) (var_ref t144) ) ) (assign (x) (var_ref t145) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t142) (var_ref t142) ) (var_ref t143) ) ) ) (assign (x) (var_ref t2) (var_ref t145) ) (assign (x) (var_ref t146) (expression float + (var_ref t3) (var_ref t143) ) ) (assign (x) (var_ref t3) (var_ref t146) ) (declare (temporary ) float dot_retval@261) (call dot (var_ref dot_retval@261) ((var_ref t139) (var_ref t9) )) (assign (x) (var_ref t147) (var_ref dot_retval@261) ) (declare (temporary ) float length_retval@262) (call length (var_ref length_retval@262) ((var_ref t124) )) (declare (temporary ) float clamp_retval@263) (call clamp (var_ref clamp_retval@263) ((expression float / (var_ref t147) (var_ref length_retval@262) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t149) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@263) ) ) ) (declare (temporary ) vec2 abs_retval@264) (call abs (var_ref abs_retval@264) ((var_ref t130) )) (declare (temporary ) bvec2 lessThan_retval@265) (call lessThan (var_ref lessThan_retval@265) ((var_ref abs_retval@264) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@266) (call all (var_ref all_retval@266) ((var_ref lessThan_retval@265) )) (assign (x) (var_ref t151) (expression float b2f (var_ref all_retval@266) ) ) (declare (temporary ) float clamp_retval@267) (call clamp (var_ref clamp_retval@267) ((expression float + (expression float * (swiz z (var_ref t137) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t150) (expression float * (var_ref clamp_retval@267) (var_ref t151) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t145) (expression float * (expression float * (var_ref t149) (var_ref t149) ) (var_ref t150) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t146) (var_ref t150) ) ) (assign (xy) (var_ref t153) (expression vec2 + (expression vec2 * (constant vec2 (0.060000 0.060000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.900000 0.900000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t154) (constant float (0.000000)) ) (assign (xy) (var_ref t154) (var_ref t153) ) (assign (z) (var_ref t155) (constant float (0.000000)) ) (assign (xy) (var_ref t155) (var_ref t153) ) (assign (xyz) (var_ref t157) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t154) ) (var_ref t5) ) ) (assign (xy) (var_ref t156) (expression vec2 / (swiz xy (var_ref t157) )(swiz zz (var_ref t157) )) ) (assign (xyz) (var_ref t159) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t155) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t158) (expression vec2 / (swiz xy (var_ref t159) )(swiz zz (var_ref t159) )) ) (declare (temporary ) vec4 texture_retval@268) (call texture (var_ref texture_retval@268) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t156) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t160) (expression float * (swiz w (var_ref texture_retval@268) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@269) (call texture (var_ref texture_retval@269) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t158) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t161) (expression float * (swiz w (var_ref texture_retval@269) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t162) (expression vec2 * (var_ref t156) (swiz xx (var_ref t160) )) ) (assign (z) (var_ref t162) (var_ref t160) ) (assign (xyz) (var_ref t163) (expression vec3 * (var_ref t162) (var_ref t6) ) ) (assign (xy) (var_ref t164) (expression vec2 * (var_ref t158) (swiz xx (var_ref t161) )) ) (assign (z) (var_ref t164) (var_ref t161) ) (assign (xyz) (var_ref t165) (expression vec3 * (var_ref t164) (var_ref t6) ) ) (assign (xyz) (var_ref t166) (expression vec3 + (var_ref t163) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t167) (expression vec3 + (var_ref t165) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t152) (var_ref t167) ) (declare (temporary ) float dot_retval@270) (call dot (var_ref dot_retval@270) ((var_ref t166) (var_ref t9) )) (assign (x) (var_ref t168) (var_ref dot_retval@270) ) (declare (temporary ) float length_retval@271) (call length (var_ref length_retval@271) ((var_ref t166) )) (declare (temporary ) float clamp_retval@272) (call clamp (var_ref clamp_retval@272) ((expression float / (var_ref t168) (var_ref length_retval@271) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t170) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@272) ) ) ) (declare (temporary ) vec2 abs_retval@273) (call abs (var_ref abs_retval@273) ((var_ref t156) )) (declare (temporary ) bvec2 lessThan_retval@274) (call lessThan (var_ref lessThan_retval@274) ((var_ref abs_retval@273) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@275) (call all (var_ref all_retval@275) ((var_ref lessThan_retval@274) )) (assign (x) (var_ref t172) (expression float b2f (var_ref all_retval@275) ) ) (declare (temporary ) float clamp_retval@276) (call clamp (var_ref clamp_retval@276) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t163) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t171) (expression float * (var_ref clamp_retval@276) (var_ref t172) ) ) (assign (x) (var_ref t173) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t170) (var_ref t170) ) (var_ref t171) ) ) ) (assign (x) (var_ref t2) (var_ref t173) ) (assign (x) (var_ref t174) (expression float + (var_ref t3) (var_ref t171) ) ) (assign (x) (var_ref t3) (var_ref t174) ) (declare (temporary ) float dot_retval@277) (call dot (var_ref dot_retval@277) ((var_ref t167) (var_ref t9) )) (assign (x) (var_ref t175) (var_ref dot_retval@277) ) (declare (temporary ) float length_retval@278) (call length (var_ref length_retval@278) ((var_ref t152) )) (declare (temporary ) float clamp_retval@279) (call clamp (var_ref clamp_retval@279) ((expression float / (var_ref t175) (var_ref length_retval@278) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t177) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@279) ) ) ) (declare (temporary ) vec2 abs_retval@280) (call abs (var_ref abs_retval@280) ((var_ref t158) )) (declare (temporary ) bvec2 lessThan_retval@281) (call lessThan (var_ref lessThan_retval@281) ((var_ref abs_retval@280) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@282) (call all (var_ref all_retval@282) ((var_ref lessThan_retval@281) )) (assign (x) (var_ref t179) (expression float b2f (var_ref all_retval@282) ) ) (declare (temporary ) float clamp_retval@283) (call clamp (var_ref clamp_retval@283) ((expression float + (expression float * (swiz z (var_ref t165) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t178) (expression float * (var_ref clamp_retval@283) (var_ref t179) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t173) (expression float * (expression float * (var_ref t177) (var_ref t177) ) (var_ref t178) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t174) (var_ref t178) ) ) (assign (x) (var_ref t2) (expression float / (var_ref t2) (var_ref t3) ) ) (assign (x) (var_ref t0) (var_ref t2) ) (assign (yz) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (var_ref t182) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 neg (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t183) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t184) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (1.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t185) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t186) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t187) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-1.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t188) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t189) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec4 texture_retval@284) (call texture (var_ref texture_retval@284) ((var_ref ps1) (var_ref t182) )) (assign (xyzw) (var_ref t190) (var_ref texture_retval@284) ) (declare (temporary ) float abs_retval@285) (call abs (var_ref abs_retval@285) ((expression float + (expression float * (swiz w (var_ref texture_retval@284) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@286) (call clamp (var_ref clamp_retval@286) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@285) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@287) (call dot (var_ref dot_retval@287) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t190) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@288) (call clamp (var_ref clamp_retval@288) ((var_ref dot_retval@287) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t191) (expression float * (var_ref clamp_retval@286) (var_ref clamp_retval@288) ) ) (assign (w) (var_ref t192) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@289) (call texture (var_ref texture_retval@289) ((var_ref ps2) (var_ref t182) )) (assign (xyz) (var_ref t192) (swiz xyz (var_ref texture_retval@289) )) (assign (xyzw) (var_ref t180) (expression vec4 + (constant vec4 (0.000100 0.000000 0.000000 0.000000)) (expression vec4 * (var_ref t192) (swiz xxxx (var_ref t191) )) ) ) (assign (x) (var_ref t181) (expression float + (constant float (0.000100)) (var_ref t191) ) ) (declare (temporary ) vec4 texture_retval@290) (call texture (var_ref texture_retval@290) ((var_ref ps1) (var_ref t183) )) (assign (xyzw) (var_ref t193) (var_ref texture_retval@290) ) (declare (temporary ) float abs_retval@291) (call abs (var_ref abs_retval@291) ((expression float + (expression float * (swiz w (var_ref texture_retval@290) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@292) (call clamp (var_ref clamp_retval@292) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@291) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@293) (call dot (var_ref dot_retval@293) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t193) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@294) (call clamp (var_ref clamp_retval@294) ((var_ref dot_retval@293) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t194) (expression float * (var_ref clamp_retval@292) (var_ref clamp_retval@294) ) ) (assign (w) (var_ref t195) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@295) (call texture (var_ref texture_retval@295) ((var_ref ps2) (var_ref t183) )) (assign (xyz) (var_ref t195) (swiz xyz (var_ref texture_retval@295) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t195) (swiz xxxx (var_ref t194) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t194) ) ) (declare (temporary ) vec4 texture_retval@296) (call texture (var_ref texture_retval@296) ((var_ref ps1) (var_ref t184) )) (assign (xyzw) (var_ref t196) (var_ref texture_retval@296) ) (declare (temporary ) float abs_retval@297) (call abs (var_ref abs_retval@297) ((expression float + (expression float * (swiz w (var_ref texture_retval@296) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@298) (call clamp (var_ref clamp_retval@298) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@297) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@299) (call dot (var_ref dot_retval@299) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t196) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@300) (call clamp (var_ref clamp_retval@300) ((var_ref dot_retval@299) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t197) (expression float * (var_ref clamp_retval@298) (var_ref clamp_retval@300) ) ) (assign (w) (var_ref t198) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@301) (call texture (var_ref texture_retval@301) ((var_ref ps2) (var_ref t184) )) (assign (xyz) (var_ref t198) (swiz xyz (var_ref texture_retval@301) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t198) (swiz xxxx (var_ref t197) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t197) ) ) (declare (temporary ) vec4 texture_retval@302) (call texture (var_ref texture_retval@302) ((var_ref ps1) (var_ref t185) )) (assign (xyzw) (var_ref t199) (var_ref texture_retval@302) ) (declare (temporary ) float abs_retval@303) (call abs (var_ref abs_retval@303) ((expression float + (expression float * (swiz w (var_ref texture_retval@302) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@304) (call clamp (var_ref clamp_retval@304) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@303) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@305) (call dot (var_ref dot_retval@305) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t199) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@306) (call clamp (var_ref clamp_retval@306) ((var_ref dot_retval@305) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t200) (expression float * (var_ref clamp_retval@304) (var_ref clamp_retval@306) ) ) (assign (w) (var_ref t201) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@307) (call texture (var_ref texture_retval@307) ((var_ref ps2) (var_ref t185) )) (assign (xyz) (var_ref t201) (swiz xyz (var_ref texture_retval@307) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t201) (swiz xxxx (var_ref t200) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t200) ) ) (declare (temporary ) vec4 texture_retval@308) (call texture (var_ref texture_retval@308) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyzw) (var_ref t202) (var_ref texture_retval@308) ) (declare (temporary ) float abs_retval@309) (call abs (var_ref abs_retval@309) ((expression float + (expression float * (swiz w (var_ref texture_retval@308) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@310) (call clamp (var_ref clamp_retval@310) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@309) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@311) (call dot (var_ref dot_retval@311) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t202) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@312) (call clamp (var_ref clamp_retval@312) ((var_ref dot_retval@311) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t203) (expression float * (var_ref clamp_retval@310) (var_ref clamp_retval@312) ) ) (assign (w) (var_ref t204) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@313) (call texture (var_ref texture_retval@313) ((var_ref ps2) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t204) (swiz xyz (var_ref texture_retval@313) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t204) (swiz xxxx (var_ref t203) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t203) ) ) (declare (temporary ) vec4 texture_retval@314) (call texture (var_ref texture_retval@314) ((var_ref ps1) (var_ref t186) )) (assign (xyzw) (var_ref t205) (var_ref texture_retval@314) ) (declare (temporary ) float abs_retval@315) (call abs (var_ref abs_retval@315) ((expression float + (expression float * (swiz w (var_ref texture_retval@314) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@316) (call clamp (var_ref clamp_retval@316) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@315) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@317) (call dot (var_ref dot_retval@317) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t205) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@318) (call clamp (var_ref clamp_retval@318) ((var_ref dot_retval@317) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t206) (expression float * (var_ref clamp_retval@316) (var_ref clamp_retval@318) ) ) (assign (w) (var_ref t207) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@319) (call texture (var_ref texture_retval@319) ((var_ref ps2) (var_ref t186) )) (assign (xyz) (var_ref t207) (swiz xyz (var_ref texture_retval@319) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t207) (swiz xxxx (var_ref t206) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t206) ) ) (declare (temporary ) vec4 texture_retval@320) (call texture (var_ref texture_retval@320) ((var_ref ps1) (var_ref t187) )) (assign (xyzw) (var_ref t208) (var_ref texture_retval@320) ) (declare (temporary ) float abs_retval@321) (call abs (var_ref abs_retval@321) ((expression float + (expression float * (swiz w (var_ref texture_retval@320) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@322) (call clamp (var_ref clamp_retval@322) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@321) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@323) (call dot (var_ref dot_retval@323) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t208) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@324) (call clamp (var_ref clamp_retval@324) ((var_ref dot_retval@323) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t209) (expression float * (var_ref clamp_retval@322) (var_ref clamp_retval@324) ) ) (assign (w) (var_ref t210) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@325) (call texture (var_ref texture_retval@325) ((var_ref ps2) (var_ref t187) )) (assign (xyz) (var_ref t210) (swiz xyz (var_ref texture_retval@325) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t210) (swiz xxxx (var_ref t209) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t209) ) ) (declare (temporary ) vec4 texture_retval@326) (call texture (var_ref texture_retval@326) ((var_ref ps1) (var_ref t188) )) (assign (xyzw) (var_ref t211) (var_ref texture_retval@326) ) (declare (temporary ) float abs_retval@327) (call abs (var_ref abs_retval@327) ((expression float + (expression float * (swiz w (var_ref texture_retval@326) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@328) (call clamp (var_ref clamp_retval@328) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@327) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@329) (call dot (var_ref dot_retval@329) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t211) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@330) (call clamp (var_ref clamp_retval@330) ((var_ref dot_retval@329) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t212) (expression float * (var_ref clamp_retval@328) (var_ref clamp_retval@330) ) ) (assign (w) (var_ref t213) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@331) (call texture (var_ref texture_retval@331) ((var_ref ps2) (var_ref t188) )) (assign (xyz) (var_ref t213) (swiz xyz (var_ref texture_retval@331) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t213) (swiz xxxx (var_ref t212) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t212) ) ) (declare (temporary ) vec4 texture_retval@332) (call texture (var_ref texture_retval@332) ((var_ref ps1) (var_ref t189) )) (assign (xyzw) (var_ref t214) (var_ref texture_retval@332) ) (declare (temporary ) float abs_retval@333) (call abs (var_ref abs_retval@333) ((expression float + (expression float * (swiz w (var_ref texture_retval@332) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@334) (call clamp (var_ref clamp_retval@334) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@333) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@335) (call dot (var_ref dot_retval@335) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t214) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@336) (call clamp (var_ref clamp_retval@336) ((var_ref dot_retval@335) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t215) (expression float * (var_ref clamp_retval@334) (var_ref clamp_retval@336) ) ) (assign (w) (var_ref t216) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@337) (call texture (var_ref texture_retval@337) ((var_ref ps2) (var_ref t189) )) (assign (xyz) (var_ref t216) (swiz xyz (var_ref texture_retval@337) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t216) (swiz xxxx (var_ref t215) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t215) ) ) (declare (temporary ) float mix_retval@338) (call mix (var_ref mix_retval@338) ((var_ref t2) (swiz x (expression vec4 / (var_ref t180) (swiz xxxx (var_ref t181) )) )(constant float (0.000000)) )) (assign (x) (var_ref t0) (var_ref mix_retval@338) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function mod (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function mix (signature float (parameters (declare (in ) float x) (declare (in ) float y) (declare (in ) float a) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function length (signature float (parameters (declare (in ) vec3 x) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) (function abs (signature vec2 (parameters (declare (in ) vec2 x) ) ( )) (signature float (parameters (declare (in ) float x) ) ( )) ) (function lessThan (signature bvec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function all (signature bool (parameters (declare (in ) bvec2 v) ) ( )) ) ) GLSL IR for linked vertex program 30: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@339) (assign (xyzw) (var_ref cse@339) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@339) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@340) (assign (xyzw) (var_ref cse@340) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@340) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@340) )) ) (swiz zw (var_ref cse@339) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@341) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@342) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 30: ( (declare (shader_in ) vec4 Data) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t216) (declare () float t215) (declare () vec4 t213) (declare () float t212) (declare () vec4 t210) (declare () float t209) (declare () vec4 t207) (declare () float t206) (declare () vec4 t204) (declare () float t203) (declare () vec4 t201) (declare () float t200) (declare () vec4 t198) (declare () float t197) (declare () vec4 t195) (declare () float t194) (declare () vec4 t192) (declare () float t191) (declare () vec2 t189) (declare () vec2 t188) (declare () vec2 t187) (declare () vec2 t186) (declare () vec2 t185) (declare () vec2 t184) (declare () vec2 t183) (declare () vec2 t182) (declare () float t181) (declare () vec4 t180) (declare () float t178) (declare () float t177) (declare () float t171) (declare () float t170) (declare () vec3 t167) (declare () vec3 t166) (declare () vec3 t165) (declare () vec3 t164) (declare () vec3 t163) (declare () vec3 t162) (declare () float t161) (declare () float t160) (declare () vec3 t159) (declare () vec2 t158) (declare () vec3 t157) (declare () vec2 t156) (declare () vec3 t155) (declare () vec3 t154) (declare () vec2 t153) (declare () float t150) (declare () float t149) (declare () float t143) (declare () float t142) (declare () vec3 t139) (declare () vec3 t138) (declare () vec3 t137) (declare () vec3 t136) (declare () vec3 t135) (declare () vec3 t134) (declare () float t133) (declare () float t132) (declare () vec3 t131) (declare () vec2 t130) (declare () vec3 t129) (declare () vec2 t128) (declare () vec3 t127) (declare () vec3 t126) (declare () vec2 t125) (declare () float t122) (declare () float t121) (declare () float t115) (declare () float t114) (declare () vec3 t111) (declare () vec3 t110) (declare () vec3 t109) (declare () vec3 t108) (declare () vec3 t107) (declare () vec3 t106) (declare () float t105) (declare () float t104) (declare () vec3 t103) (declare () vec2 t102) (declare () vec3 t101) (declare () vec2 t100) (declare () vec3 t99) (declare () vec3 t98) (declare () vec2 t97) (declare () float t94) (declare () float t93) (declare () float t87) (declare () float t86) (declare () vec3 t83) (declare () vec3 t82) (declare () vec3 t81) (declare () vec3 t80) (declare () vec3 t79) (declare () vec3 t78) (declare () float t77) (declare () float t76) (declare () vec3 t75) (declare () vec2 t74) (declare () vec3 t73) (declare () vec2 t72) (declare () vec3 t71) (declare () vec3 t70) (declare () vec2 t69) (declare () float t66) (declare () float t65) (declare () float t59) (declare () float t58) (declare () vec3 t55) (declare () vec3 t54) (declare () vec3 t53) (declare () vec3 t52) (declare () vec3 t51) (declare () vec3 t50) (declare () float t49) (declare () float t48) (declare () vec3 t47) (declare () vec2 t46) (declare () vec3 t45) (declare () vec2 t44) (declare () vec3 t43) (declare () vec3 t42) (declare () vec2 t41) (declare () float t38) (declare () float t37) (declare () float t31) (declare () float t30) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec3 t24) (declare () vec3 t23) (declare () vec3 t22) (declare () float t21) (declare () float t20) (declare () vec3 t19) (declare () vec2 t18) (declare () vec3 t17) (declare () vec2 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec3 t11) (declare () vec3 t10) (declare () vec3 t8) (declare () float t7) (declare () vec3 t6) (declare () vec3 t5) (declare () float t4) (declare () float t3) (declare () float t2) (declare () vec4 t1) (declare () vec4 t0) (assign (w) (var_ref t0) (constant float (0.000000)) ) (assign (z) (var_ref t5) (constant float (1.000000)) ) (assign (x) (var_ref t5) (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) (assign (y) (var_ref t5) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 rcp (var_ref t5) ) ) (assign (x) (var_ref t7) (expression float * (swiz w (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz xyz (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (160)) ) )(swiz zzz (var_ref t8) )) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (144)) ) )(swiz yyy (var_ref t8) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (128)) ) )(swiz xxx (var_ref t8) )) ) ) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (var_ref Data) )(swiz xx (var_ref t7) )) ) (assign (z) (var_ref t10) (var_ref t7) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (var_ref t10) (var_ref t6) ) (expression vec3 * (expression vec3 * (var_ref normalize_retval) (swiz xxx (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )(var_ref t7) ) )) (swiz xxx (array_ref (var_ref pu_h) (constant int (2)) ) )) ) ) (assign (x) (var_ref t4) (expression float + (constant float (1.000000)) (expression float neg (expression float * (swiz z (var_ref t11) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 * (tex vec4 (var_ref ps3) (expression vec2 + (expression vec2 * (constant vec2 (0.031250 0.109375)) (swiz xx (expression float * (constant float (8.000000)) (expression float fract (expression float * (swiz x (expression vec4 ubo_load (constant uint (0)) (constant uint (944)) ) )(constant float (0.125000)) ) ) ) )) (expression vec2 * (swiz xy (var_ref Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) 0 1 () )(constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (swiz xyxy (expression vec2 * (expression vec2 * (swiz zz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xx (expression float lrp (var_ref t7) (constant float (1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (swiz xy (var_ref t6) )) )) ) (assign (xy) (var_ref t13) (expression vec2 * (constant vec2 (0.200000 0.200000)) (swiz zw (var_ref t1) )) ) (assign (z) (var_ref t14) (constant float (0.000000)) ) (assign (xy) (var_ref t14) (var_ref t13) ) (assign (z) (var_ref t15) (constant float (0.000000)) ) (assign (xy) (var_ref t15) (var_ref t13) ) (assign (xyz) (var_ref t17) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t14) ) (var_ref t5) ) ) (assign (xy) (var_ref t16) (expression vec2 * (swiz xy (var_ref t17) )(expression vec2 rcp (swiz zz (var_ref t17) )) ) ) (assign (xyz) (var_ref t19) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t15) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t18) (expression vec2 * (swiz xy (var_ref t19) )(expression vec2 rcp (swiz zz (var_ref t19) )) ) ) (assign (x) (var_ref t20) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t16) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t21) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t18) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t22) (expression vec2 * (var_ref t16) (swiz xx (var_ref t20) )) ) (assign (z) (var_ref t22) (var_ref t20) ) (assign (xyz) (var_ref t23) (expression vec3 * (var_ref t22) (var_ref t6) ) ) (assign (xy) (var_ref t24) (expression vec2 * (var_ref t18) (swiz xx (var_ref t21) )) ) (assign (z) (var_ref t24) (var_ref t21) ) (assign (xyz) (var_ref t25) (expression vec3 * (var_ref t24) (var_ref t6) ) ) (assign (xyz) (var_ref t26) (expression vec3 + (var_ref t23) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t27) (expression vec3 + (var_ref t25) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t30) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t26) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t26) (var_ref t26) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval) (assign (xy) (var_ref lessThan_retval) (expression bvec2 < (expression vec2 abs (var_ref t16) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t31) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t23) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval) )(swiz y (var_ref lessThan_retval) )) ) ) ) (assign (x) (var_ref t37) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t27) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t27) (var_ref t27) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@343) (assign (xy) (var_ref lessThan_retval@343) (expression bvec2 < (expression vec2 abs (var_ref t18) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t38) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t25) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@343) )(swiz y (var_ref lessThan_retval@343) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (constant float (0.000100)) (expression float * (expression float * (var_ref t30) (var_ref t30) ) (var_ref t31) ) ) (expression float * (expression float * (var_ref t37) (var_ref t37) ) (var_ref t38) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (constant float (0.000100)) (var_ref t31) ) (var_ref t38) ) ) (assign (xy) (var_ref t41) (expression vec2 + (expression vec2 * (constant vec2 (0.325000 0.325000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.101000 0.101000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t42) (constant float (0.000000)) ) (assign (xy) (var_ref t42) (var_ref t41) ) (assign (z) (var_ref t43) (constant float (0.000000)) ) (assign (xy) (var_ref t43) (var_ref t41) ) (assign (xyz) (var_ref t45) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t42) ) (var_ref t5) ) ) (assign (xy) (var_ref t44) (expression vec2 * (swiz xy (var_ref t45) )(expression vec2 rcp (swiz zz (var_ref t45) )) ) ) (assign (xyz) (var_ref t47) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t43) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t46) (expression vec2 * (swiz xy (var_ref t47) )(expression vec2 rcp (swiz zz (var_ref t47) )) ) ) (assign (x) (var_ref t48) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t44) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t49) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t46) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t50) (expression vec2 * (var_ref t44) (swiz xx (var_ref t48) )) ) (assign (z) (var_ref t50) (var_ref t48) ) (assign (xyz) (var_ref t51) (expression vec3 * (var_ref t50) (var_ref t6) ) ) (assign (xy) (var_ref t52) (expression vec2 * (var_ref t46) (swiz xx (var_ref t49) )) ) (assign (z) (var_ref t52) (var_ref t49) ) (assign (xyz) (var_ref t53) (expression vec3 * (var_ref t52) (var_ref t6) ) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t51) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t55) (expression vec3 + (var_ref t53) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t58) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t54) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t54) (var_ref t54) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@344) (assign (xy) (var_ref lessThan_retval@344) (expression bvec2 < (expression vec2 abs (var_ref t44) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t59) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t51) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@344) )(swiz y (var_ref lessThan_retval@344) )) ) ) ) (assign (x) (var_ref t65) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t55) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t55) (var_ref t55) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@345) (assign (xy) (var_ref lessThan_retval@345) (expression bvec2 < (expression vec2 abs (var_ref t46) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t66) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t53) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@345) )(swiz y (var_ref lessThan_retval@345) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t58) (var_ref t58) ) (var_ref t59) ) ) (expression float * (expression float * (var_ref t65) (var_ref t65) ) (var_ref t66) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t59) ) (var_ref t66) ) ) (assign (xy) (var_ref t69) (expression vec2 + (expression vec2 * (constant vec2 (0.272000 0.272000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.396000 -0.396000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t70) (constant float (0.000000)) ) (assign (xy) (var_ref t70) (var_ref t69) ) (assign (z) (var_ref t71) (constant float (0.000000)) ) (assign (xy) (var_ref t71) (var_ref t69) ) (assign (xyz) (var_ref t73) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t70) ) (var_ref t5) ) ) (assign (xy) (var_ref t72) (expression vec2 * (swiz xy (var_ref t73) )(expression vec2 rcp (swiz zz (var_ref t73) )) ) ) (assign (xyz) (var_ref t75) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t71) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t74) (expression vec2 * (swiz xy (var_ref t75) )(expression vec2 rcp (swiz zz (var_ref t75) )) ) ) (assign (x) (var_ref t76) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t72) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t77) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t74) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t78) (expression vec2 * (var_ref t72) (swiz xx (var_ref t76) )) ) (assign (z) (var_ref t78) (var_ref t76) ) (assign (xyz) (var_ref t79) (expression vec3 * (var_ref t78) (var_ref t6) ) ) (assign (xy) (var_ref t80) (expression vec2 * (var_ref t74) (swiz xx (var_ref t77) )) ) (assign (z) (var_ref t80) (var_ref t77) ) (assign (xyz) (var_ref t81) (expression vec3 * (var_ref t80) (var_ref t6) ) ) (assign (xyz) (var_ref t82) (expression vec3 + (var_ref t79) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t83) (expression vec3 + (var_ref t81) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t86) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t82) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t82) (var_ref t82) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@346) (assign (xy) (var_ref lessThan_retval@346) (expression bvec2 < (expression vec2 abs (var_ref t72) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t87) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t79) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@346) )(swiz y (var_ref lessThan_retval@346) )) ) ) ) (assign (x) (var_ref t93) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t83) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t83) (var_ref t83) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@347) (assign (xy) (var_ref lessThan_retval@347) (expression bvec2 < (expression vec2 abs (var_ref t74) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t94) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t81) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@347) )(swiz y (var_ref lessThan_retval@347) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t86) (var_ref t86) ) (var_ref t87) ) ) (expression float * (expression float * (var_ref t93) (var_ref t93) ) (var_ref t94) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t87) ) (var_ref t94) ) ) (assign (xy) (var_ref t97) (expression vec2 + (expression vec2 * (constant vec2 (-0.385000 -0.385000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.488000 -0.488000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t98) (constant float (0.000000)) ) (assign (xy) (var_ref t98) (var_ref t97) ) (assign (z) (var_ref t99) (constant float (0.000000)) ) (assign (xy) (var_ref t99) (var_ref t97) ) (assign (xyz) (var_ref t101) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t98) ) (var_ref t5) ) ) (assign (xy) (var_ref t100) (expression vec2 * (swiz xy (var_ref t101) )(expression vec2 rcp (swiz zz (var_ref t101) )) ) ) (assign (xyz) (var_ref t103) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t99) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t102) (expression vec2 * (swiz xy (var_ref t103) )(expression vec2 rcp (swiz zz (var_ref t103) )) ) ) (assign (x) (var_ref t104) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t100) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t105) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t102) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t106) (expression vec2 * (var_ref t100) (swiz xx (var_ref t104) )) ) (assign (z) (var_ref t106) (var_ref t104) ) (assign (xyz) (var_ref t107) (expression vec3 * (var_ref t106) (var_ref t6) ) ) (assign (xy) (var_ref t108) (expression vec2 * (var_ref t102) (swiz xx (var_ref t105) )) ) (assign (z) (var_ref t108) (var_ref t105) ) (assign (xyz) (var_ref t109) (expression vec3 * (var_ref t108) (var_ref t6) ) ) (assign (xyz) (var_ref t110) (expression vec3 + (var_ref t107) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t111) (expression vec3 + (var_ref t109) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t114) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t110) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t110) (var_ref t110) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@348) (assign (xy) (var_ref lessThan_retval@348) (expression bvec2 < (expression vec2 abs (var_ref t100) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t115) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t107) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@348) )(swiz y (var_ref lessThan_retval@348) )) ) ) ) (assign (x) (var_ref t121) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t111) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t111) (var_ref t111) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@349) (assign (xy) (var_ref lessThan_retval@349) (expression bvec2 < (expression vec2 abs (var_ref t102) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t122) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t109) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@349) )(swiz y (var_ref lessThan_retval@349) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t114) (var_ref t114) ) (var_ref t115) ) ) (expression float * (expression float * (var_ref t121) (var_ref t121) ) (var_ref t122) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t115) ) (var_ref t122) ) ) (assign (xy) (var_ref t125) (expression vec2 + (expression vec2 * (constant vec2 (-0.711000 -0.711000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.274000 0.274000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t126) (constant float (0.000000)) ) (assign (xy) (var_ref t126) (var_ref t125) ) (assign (z) (var_ref t127) (constant float (0.000000)) ) (assign (xy) (var_ref t127) (var_ref t125) ) (assign (xyz) (var_ref t129) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t126) ) (var_ref t5) ) ) (assign (xy) (var_ref t128) (expression vec2 * (swiz xy (var_ref t129) )(expression vec2 rcp (swiz zz (var_ref t129) )) ) ) (assign (xyz) (var_ref t131) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t127) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t130) (expression vec2 * (swiz xy (var_ref t131) )(expression vec2 rcp (swiz zz (var_ref t131) )) ) ) (assign (x) (var_ref t132) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t128) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t133) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t130) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t134) (expression vec2 * (var_ref t128) (swiz xx (var_ref t132) )) ) (assign (z) (var_ref t134) (var_ref t132) ) (assign (xyz) (var_ref t135) (expression vec3 * (var_ref t134) (var_ref t6) ) ) (assign (xy) (var_ref t136) (expression vec2 * (var_ref t130) (swiz xx (var_ref t133) )) ) (assign (z) (var_ref t136) (var_ref t133) ) (assign (xyz) (var_ref t137) (expression vec3 * (var_ref t136) (var_ref t6) ) ) (assign (xyz) (var_ref t138) (expression vec3 + (var_ref t135) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t139) (expression vec3 + (var_ref t137) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t142) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t138) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t138) (var_ref t138) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@350) (assign (xy) (var_ref lessThan_retval@350) (expression bvec2 < (expression vec2 abs (var_ref t128) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t143) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t135) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@350) )(swiz y (var_ref lessThan_retval@350) )) ) ) ) (assign (x) (var_ref t149) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t139) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t139) (var_ref t139) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@351) (assign (xy) (var_ref lessThan_retval@351) (expression bvec2 < (expression vec2 abs (var_ref t130) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t150) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t137) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@351) )(swiz y (var_ref lessThan_retval@351) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t142) (var_ref t142) ) (var_ref t143) ) ) (expression float * (expression float * (var_ref t149) (var_ref t149) ) (var_ref t150) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t143) ) (var_ref t150) ) ) (assign (xy) (var_ref t153) (expression vec2 + (expression vec2 * (constant vec2 (0.060000 0.060000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.900000 0.900000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t154) (constant float (0.000000)) ) (assign (xy) (var_ref t154) (var_ref t153) ) (assign (z) (var_ref t155) (constant float (0.000000)) ) (assign (xy) (var_ref t155) (var_ref t153) ) (assign (xyz) (var_ref t157) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t154) ) (var_ref t5) ) ) (assign (xy) (var_ref t156) (expression vec2 * (swiz xy (var_ref t157) )(expression vec2 rcp (swiz zz (var_ref t157) )) ) ) (assign (xyz) (var_ref t159) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t155) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t158) (expression vec2 * (swiz xy (var_ref t159) )(expression vec2 rcp (swiz zz (var_ref t159) )) ) ) (assign (x) (var_ref t160) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t156) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t161) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t158) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t162) (expression vec2 * (var_ref t156) (swiz xx (var_ref t160) )) ) (assign (z) (var_ref t162) (var_ref t160) ) (assign (xyz) (var_ref t163) (expression vec3 * (var_ref t162) (var_ref t6) ) ) (assign (xy) (var_ref t164) (expression vec2 * (var_ref t158) (swiz xx (var_ref t161) )) ) (assign (z) (var_ref t164) (var_ref t161) ) (assign (xyz) (var_ref t165) (expression vec3 * (var_ref t164) (var_ref t6) ) ) (assign (xyz) (var_ref t166) (expression vec3 + (var_ref t163) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t167) (expression vec3 + (var_ref t165) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t170) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t166) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t166) (var_ref t166) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@352) (assign (xy) (var_ref lessThan_retval@352) (expression bvec2 < (expression vec2 abs (var_ref t156) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t171) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t163) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@352) )(swiz y (var_ref lessThan_retval@352) )) ) ) ) (assign (x) (var_ref t177) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t167) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t167) (var_ref t167) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@353) (assign (xy) (var_ref lessThan_retval@353) (expression bvec2 < (expression vec2 abs (var_ref t158) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t178) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t165) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@353) )(swiz y (var_ref lessThan_retval@353) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t170) (var_ref t170) ) (var_ref t171) ) ) (expression float * (expression float * (var_ref t177) (var_ref t177) ) (var_ref t178) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t171) ) (var_ref t178) ) ) (assign (x) (var_ref t2) (expression float * (var_ref t2) (expression float rcp (var_ref t3) ) ) ) (assign (yz) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (var_ref t182) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 neg (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t183) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t184) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (1.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t185) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t186) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t187) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-1.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t188) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t189) (expression vec2 + (swiz xy (var_ref Data) )(swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps1) (var_ref t182) 0 1 () )) (assign (x) (var_ref t191) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t192) (constant float (1.000000)) ) (assign (xyz) (var_ref t192) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t182) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (constant vec4 (0.000100 0.000000 0.000000 0.000000)) (expression vec4 * (var_ref t192) (swiz xxxx (var_ref t191) )) ) ) (assign (x) (var_ref t181) (expression float + (constant float (0.000100)) (var_ref t191) ) ) (declare (temporary ) vec4 texture_retval@354) (assign (xyzw) (var_ref texture_retval@354) (tex vec4 (var_ref ps1) (var_ref t183) 0 1 () )) (assign (x) (var_ref t194) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@354) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@354) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t195) (constant float (1.000000)) ) (assign (xyz) (var_ref t195) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t183) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t195) (swiz xxxx (var_ref t194) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t194) ) ) (declare (temporary ) vec4 texture_retval@355) (assign (xyzw) (var_ref texture_retval@355) (tex vec4 (var_ref ps1) (var_ref t184) 0 1 () )) (assign (x) (var_ref t197) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@355) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@355) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t198) (constant float (1.000000)) ) (assign (xyz) (var_ref t198) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t184) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t198) (swiz xxxx (var_ref t197) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t197) ) ) (declare (temporary ) vec4 texture_retval@356) (assign (xyzw) (var_ref texture_retval@356) (tex vec4 (var_ref ps1) (var_ref t185) 0 1 () )) (assign (x) (var_ref t200) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@356) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@356) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t201) (constant float (1.000000)) ) (assign (xyz) (var_ref t201) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t185) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t201) (swiz xxxx (var_ref t200) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t200) ) ) (declare (temporary ) vec4 texture_retval@357) (assign (xyzw) (var_ref texture_retval@357) (tex vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () )) (assign (x) (var_ref t203) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@357) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@357) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t204) (constant float (1.000000)) ) (assign (xyz) (var_ref t204) (swiz xyz (tex vec4 (var_ref ps2) (swiz xy (var_ref Data) ) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t204) (swiz xxxx (var_ref t203) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t203) ) ) (declare (temporary ) vec4 texture_retval@358) (assign (xyzw) (var_ref texture_retval@358) (tex vec4 (var_ref ps1) (var_ref t186) 0 1 () )) (assign (x) (var_ref t206) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@358) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@358) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t207) (constant float (1.000000)) ) (assign (xyz) (var_ref t207) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t186) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t207) (swiz xxxx (var_ref t206) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t206) ) ) (declare (temporary ) vec4 texture_retval@359) (assign (xyzw) (var_ref texture_retval@359) (tex vec4 (var_ref ps1) (var_ref t187) 0 1 () )) (assign (x) (var_ref t209) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@359) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@359) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t210) (constant float (1.000000)) ) (assign (xyz) (var_ref t210) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t187) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t210) (swiz xxxx (var_ref t209) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t209) ) ) (declare (temporary ) vec4 texture_retval@360) (assign (xyzw) (var_ref texture_retval@360) (tex vec4 (var_ref ps1) (var_ref t188) 0 1 () )) (assign (x) (var_ref t212) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@360) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@360) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t213) (constant float (1.000000)) ) (assign (xyz) (var_ref t213) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t188) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t213) (swiz xxxx (var_ref t212) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t212) ) ) (declare (temporary ) vec4 texture_retval@361) (assign (xyzw) (var_ref texture_retval@361) (tex vec4 (var_ref ps1) (var_ref t189) 0 1 () )) (assign (x) (var_ref t215) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@361) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@361) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t216) (constant float (1.000000)) ) (assign (xyz) (var_ref t216) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t189) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t216) (swiz xxxx (var_ref t215) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t215) ) ) (assign (x) (var_ref t0) (var_ref t2) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@362) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 31: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[8]; uniform highp sampler2D ps3; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; highp float t2; highp float t3; highp float t4; t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); highp vec3 t5; t5.z = 1.000000e+000; t5.x = pu_h[3].w; t5.y = (pu_h[1].w*pu_h[3].w); highp vec3 t6; t6.xyz = (1.0/(t5)); highp float t7; t7 = (texture(ps0,in_TEXCOORD0.Data.xy).w*1.310720e+005); highp vec3 t8; t8.xyz = ((texture(ps0,in_TEXCOORD0.Data.xy).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)); highp vec3 t9; t9.xyz = normalize(((View_TranslatedWorldToView[2].xyz*t8.zzz)+((View_TranslatedWorldToView[1].xyz*t8.yyy)+(View_TranslatedWorldToView[0].xyz*t8.xxx)))); highp vec3 t10; t10.xy = (in_TEXCOORD0.Data.zw*vec2(t7)); t10.z = t7; highp vec3 t11; t11.xyz = ((t10*t6)+((t9*vec3((pu_h[0].y*t7)))*pu_h[2].xxx)); t4 = (1.000000e+000+(-(t11.z*pu_h[0].z))); t3 = 1.000000e-004; t2 = 1.000000e-004; t1.xyzw = (((texture(ps3,(((vec2(mod(View_TemporalAAParams.x,8.000000e+000))*vec2(2.000000e+000,7.000000e+000))/vec2(6.400000e+001,6.400000e+001))+(in_TEXCOORD0.Data.xy*pu_h[1].xy)))*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000))*((pu_h[1].zz*vec2(mix(t7,1.000000e+000,pu_h[2].z)))*t6.xy).xyxy); highp vec3 t12; highp vec2 t13; t13.xy = (vec2(2.000000e-001,2.000000e-001)*t1.zw); highp vec3 t14; t14.z = 0.000000e+000; t14.xy = t13; highp vec3 t15; t15.z = 0.000000e+000; t15.xy = t13; highp vec2 t16; highp vec3 t17; t17.xyz = ((t11+t14)*t5); t16.xy = (t17.xy/t17.zz); highp vec2 t18; highp vec3 t19; t19.xyz = ((t11+(-t15))*t5); t18.xy = (t19.xy/t19.zz); highp float t20; t20 = (texture(ps1,((((t16*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t21; t21 = (texture(ps1,((((t18*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t22; t22.xy = (t16*vec2(t20)); t22.z = t20; highp vec3 t23; t23.xyz = (t22*t6); highp vec3 t24; t24.xy = (t18*vec2(t21)); t24.z = t21; highp vec3 t25; t25.xyz = (t24*t6); highp vec3 t26; t26.xyz = (t23+(-t11)); highp vec3 t27; t27.xyz = (t25+(-t11)); t12.xyz = t27; highp float t28; t28 = dot(t26,t9); highp float t29; t29 = length(t26); highp float t30; t30 = (1.000000e+000+(-clamp((t28/t29),0.000000e+000,1.000000e+000))); highp float t31; highp float t32; t32 = float(all(lessThan(abs(t16),vec2(1.000000e+000,1.000000e+000)))); t31 = (clamp((1.000000e+000+((t23.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t32); highp float t33; t33 = (1.000000e-004+((t30*t30)*t31)); t2 = t33; highp float t34; t34 = (1.000000e-004+t31); t3 = t34; highp float t35; t35 = dot(t27,t9); highp float t36; t36 = length(t12); highp float t37; t37 = (1.000000e+000+(-clamp((t35/t36),0.000000e+000,1.000000e+000))); highp float t38; highp float t39; t39 = float(all(lessThan(abs(t18),vec2(1.000000e+000,1.000000e+000)))); t38 = (clamp(((t25.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t39); t2 = (t33+((t37*t37)*t38)); t3 = (t34+t38); highp vec3 t40; highp vec2 t41; t41.xy = ((vec2(3.250000e-001,3.250000e-001)*t1.xy)+(vec2(1.010000e-001,1.010000e-001)*t1.zw)); highp vec3 t42; t42.z = 0.000000e+000; t42.xy = t41; highp vec3 t43; t43.z = 0.000000e+000; t43.xy = t41; highp vec2 t44; highp vec3 t45; t45.xyz = ((t11+t42)*t5); t44.xy = (t45.xy/t45.zz); highp vec2 t46; highp vec3 t47; t47.xyz = ((t11+(-t43))*t5); t46.xy = (t47.xy/t47.zz); highp float t48; t48 = (texture(ps1,((((t44*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t49; t49 = (texture(ps1,((((t46*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t50; t50.xy = (t44*vec2(t48)); t50.z = t48; highp vec3 t51; t51.xyz = (t50*t6); highp vec3 t52; t52.xy = (t46*vec2(t49)); t52.z = t49; highp vec3 t53; t53.xyz = (t52*t6); highp vec3 t54; t54.xyz = (t51+(-t11)); highp vec3 t55; t55.xyz = (t53+(-t11)); t40.xyz = t55; highp float t56; t56 = dot(t54,t9); highp float t57; t57 = length(t54); highp float t58; t58 = (1.000000e+000+(-clamp((t56/t57),0.000000e+000,1.000000e+000))); highp float t59; highp float t60; t60 = float(all(lessThan(abs(t44),vec2(1.000000e+000,1.000000e+000)))); t59 = (clamp((1.000000e+000+((t51.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t60); highp float t61; t61 = (t2+((t58*t58)*t59)); t2 = t61; highp float t62; t62 = (t3+t59); t3 = t62; highp float t63; t63 = dot(t55,t9); highp float t64; t64 = length(t40); highp float t65; t65 = (1.000000e+000+(-clamp((t63/t64),0.000000e+000,1.000000e+000))); highp float t66; highp float t67; t67 = float(all(lessThan(abs(t46),vec2(1.000000e+000,1.000000e+000)))); t66 = (clamp(((t53.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t67); t2 = (t61+((t65*t65)*t66)); t3 = (t62+t66); highp vec3 t68; highp vec2 t69; t69.xy = ((vec2(2.720000e-001,2.720000e-001)*t1.xy)+(vec2(-3.960000e-001,-3.960000e-001)*t1.zw)); highp vec3 t70; t70.z = 0.000000e+000; t70.xy = t69; highp vec3 t71; t71.z = 0.000000e+000; t71.xy = t69; highp vec2 t72; highp vec3 t73; t73.xyz = ((t11+t70)*t5); t72.xy = (t73.xy/t73.zz); highp vec2 t74; highp vec3 t75; t75.xyz = ((t11+(-t71))*t5); t74.xy = (t75.xy/t75.zz); highp float t76; t76 = (texture(ps1,((((t72*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t77; t77 = (texture(ps1,((((t74*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t78; t78.xy = (t72*vec2(t76)); t78.z = t76; highp vec3 t79; t79.xyz = (t78*t6); highp vec3 t80; t80.xy = (t74*vec2(t77)); t80.z = t77; highp vec3 t81; t81.xyz = (t80*t6); highp vec3 t82; t82.xyz = (t79+(-t11)); highp vec3 t83; t83.xyz = (t81+(-t11)); t68.xyz = t83; highp float t84; t84 = dot(t82,t9); highp float t85; t85 = length(t82); highp float t86; t86 = (1.000000e+000+(-clamp((t84/t85),0.000000e+000,1.000000e+000))); highp float t87; highp float t88; t88 = float(all(lessThan(abs(t72),vec2(1.000000e+000,1.000000e+000)))); t87 = (clamp((1.000000e+000+((t79.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t88); highp float t89; t89 = (t2+((t86*t86)*t87)); t2 = t89; highp float t90; t90 = (t3+t87); t3 = t90; highp float t91; t91 = dot(t83,t9); highp float t92; t92 = length(t68); highp float t93; t93 = (1.000000e+000+(-clamp((t91/t92),0.000000e+000,1.000000e+000))); highp float t94; highp float t95; t95 = float(all(lessThan(abs(t74),vec2(1.000000e+000,1.000000e+000)))); t94 = (clamp(((t81.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t95); t2 = (t89+((t93*t93)*t94)); t3 = (t90+t94); highp vec3 t96; highp vec2 t97; t97.xy = ((vec2(-3.850000e-001,-3.850000e-001)*t1.xy)+(vec2(-4.880000e-001,-4.880000e-001)*t1.zw)); highp vec3 t98; t98.z = 0.000000e+000; t98.xy = t97; highp vec3 t99; t99.z = 0.000000e+000; t99.xy = t97; highp vec2 t100; highp vec3 t101; t101.xyz = ((t11+t98)*t5); t100.xy = (t101.xy/t101.zz); highp vec2 t102; highp vec3 t103; t103.xyz = ((t11+(-t99))*t5); t102.xy = (t103.xy/t103.zz); highp float t104; t104 = (texture(ps1,((((t100*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t105; t105 = (texture(ps1,((((t102*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t106; t106.xy = (t100*vec2(t104)); t106.z = t104; highp vec3 t107; t107.xyz = (t106*t6); highp vec3 t108; t108.xy = (t102*vec2(t105)); t108.z = t105; highp vec3 t109; t109.xyz = (t108*t6); highp vec3 t110; t110.xyz = (t107+(-t11)); highp vec3 t111; t111.xyz = (t109+(-t11)); t96.xyz = t111; highp float t112; t112 = dot(t110,t9); highp float t113; t113 = length(t110); highp float t114; t114 = (1.000000e+000+(-clamp((t112/t113),0.000000e+000,1.000000e+000))); highp float t115; highp float t116; t116 = float(all(lessThan(abs(t100),vec2(1.000000e+000,1.000000e+000)))); t115 = (clamp((1.000000e+000+((t107.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t116); highp float t117; t117 = (t2+((t114*t114)*t115)); t2 = t117; highp float t118; t118 = (t3+t115); t3 = t118; highp float t119; t119 = dot(t111,t9); highp float t120; t120 = length(t96); highp float t121; t121 = (1.000000e+000+(-clamp((t119/t120),0.000000e+000,1.000000e+000))); highp float t122; highp float t123; t123 = float(all(lessThan(abs(t102),vec2(1.000000e+000,1.000000e+000)))); t122 = (clamp(((t109.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t123); t2 = (t117+((t121*t121)*t122)); t3 = (t118+t122); highp vec3 t124; highp vec2 t125; t125.xy = ((vec2(-7.110000e-001,-7.110000e-001)*t1.xy)+(vec2(2.740000e-001,2.740000e-001)*t1.zw)); highp vec3 t126; t126.z = 0.000000e+000; t126.xy = t125; highp vec3 t127; t127.z = 0.000000e+000; t127.xy = t125; highp vec2 t128; highp vec3 t129; t129.xyz = ((t11+t126)*t5); t128.xy = (t129.xy/t129.zz); highp vec2 t130; highp vec3 t131; t131.xyz = ((t11+(-t127))*t5); t130.xy = (t131.xy/t131.zz); highp float t132; t132 = (texture(ps1,((((t128*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t133; t133 = (texture(ps1,((((t130*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t134; t134.xy = (t128*vec2(t132)); t134.z = t132; highp vec3 t135; t135.xyz = (t134*t6); highp vec3 t136; t136.xy = (t130*vec2(t133)); t136.z = t133; highp vec3 t137; t137.xyz = (t136*t6); highp vec3 t138; t138.xyz = (t135+(-t11)); highp vec3 t139; t139.xyz = (t137+(-t11)); t124.xyz = t139; highp float t140; t140 = dot(t138,t9); highp float t141; t141 = length(t138); highp float t142; t142 = (1.000000e+000+(-clamp((t140/t141),0.000000e+000,1.000000e+000))); highp float t143; highp float t144; t144 = float(all(lessThan(abs(t128),vec2(1.000000e+000,1.000000e+000)))); t143 = (clamp((1.000000e+000+((t135.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t144); highp float t145; t145 = (t2+((t142*t142)*t143)); t2 = t145; highp float t146; t146 = (t3+t143); t3 = t146; highp float t147; t147 = dot(t139,t9); highp float t148; t148 = length(t124); highp float t149; t149 = (1.000000e+000+(-clamp((t147/t148),0.000000e+000,1.000000e+000))); highp float t150; highp float t151; t151 = float(all(lessThan(abs(t130),vec2(1.000000e+000,1.000000e+000)))); t150 = (clamp(((t137.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t151); t2 = (t145+((t149*t149)*t150)); t3 = (t146+t150); highp vec3 t152; highp vec2 t153; t153.xy = ((vec2(6.000000e-002,6.000000e-002)*t1.xy)+(vec2(9.000000e-001,9.000000e-001)*t1.zw)); highp vec3 t154; t154.z = 0.000000e+000; t154.xy = t153; highp vec3 t155; t155.z = 0.000000e+000; t155.xy = t153; highp vec2 t156; highp vec3 t157; t157.xyz = ((t11+t154)*t5); t156.xy = (t157.xy/t157.zz); highp vec2 t158; highp vec3 t159; t159.xyz = ((t11+(-t155))*t5); t158.xy = (t159.xy/t159.zz); highp float t160; t160 = (texture(ps1,((((t156*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t161; t161 = (texture(ps1,((((t158*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t162; t162.xy = (t156*vec2(t160)); t162.z = t160; highp vec3 t163; t163.xyz = (t162*t6); highp vec3 t164; t164.xy = (t158*vec2(t161)); t164.z = t161; highp vec3 t165; t165.xyz = (t164*t6); highp vec3 t166; t166.xyz = (t163+(-t11)); highp vec3 t167; t167.xyz = (t165+(-t11)); t152.xyz = t167; highp float t168; t168 = dot(t166,t9); highp float t169; t169 = length(t166); highp float t170; t170 = (1.000000e+000+(-clamp((t168/t169),0.000000e+000,1.000000e+000))); highp float t171; highp float t172; t172 = float(all(lessThan(abs(t156),vec2(1.000000e+000,1.000000e+000)))); t171 = (clamp((1.000000e+000+((t163.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t172); highp float t173; t173 = (t2+((t170*t170)*t171)); t2 = t173; highp float t174; t174 = (t3+t171); t3 = t174; highp float t175; t175 = dot(t167,t9); highp float t176; t176 = length(t152); highp float t177; t177 = (1.000000e+000+(-clamp((t175/t176),0.000000e+000,1.000000e+000))); highp float t178; highp float t179; t179 = float(all(lessThan(abs(t158),vec2(1.000000e+000,1.000000e+000)))); t178 = (clamp(((t165.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t179); t2 = (t173+((t177*t177)*t178)); t3 = (t174+t178); t2 = (t2/t3); t0.x = t2; t0.yz = vec2(0.000000e+000,0.000000e+000); highp vec4 t180; highp float t181; highp vec2 t182; highp vec2 t183; highp vec2 t184; highp vec2 t185; highp vec2 t186; highp vec2 t187; highp vec2 t188; highp vec2 t189; t182.xy = (in_TEXCOORD0.Data.xy+(vec2(-1.000000e+000,-1.000000e+000)*pu_h[6].zw)); t183.xy = (in_TEXCOORD0.Data.xy+(vec2(0.000000e+000,-1.000000e+000)*pu_h[6].zw)); t184.xy = (in_TEXCOORD0.Data.xy+(vec2(1.000000e+000,-1.000000e+000)*pu_h[6].zw)); t185.xy = (in_TEXCOORD0.Data.xy+(vec2(-1.000000e+000,0.000000e+000)*pu_h[6].zw)); t186.xy = (in_TEXCOORD0.Data.xy+(vec2(1.000000e+000,0.000000e+000)*pu_h[6].zw)); t187.xy = (in_TEXCOORD0.Data.xy+(vec2(-1.000000e+000,1.000000e+000)*pu_h[6].zw)); t188.xy = (in_TEXCOORD0.Data.xy+(vec2(0.000000e+000,1.000000e+000)*pu_h[6].zw)); t189.xy = (in_TEXCOORD0.Data.xy+pu_h[6].zw); highp vec4 t190; t190.xyzw = texture(ps1,t182); highp float t191; t191 = (clamp((1.000000e+000+(-(abs(((t190.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t190.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t192; t192.w = 1.000000e+000; t192.xyz = texture(ps2,t182).xyz; t180.xyzw = (vec4(1.000000e-004,0.000000e+000,0.000000e+000,0.000000e+000)+(t192*vec4(t191))); t181 = (1.000000e-004+t191); highp vec4 t193; t193.xyzw = texture(ps1,t183); highp float t194; t194 = (clamp((1.000000e+000+(-(abs(((t193.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t193.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t195; t195.w = 1.000000e+000; t195.xyz = texture(ps2,t183).xyz; t180.xyzw = (t180+(t195*vec4(t194))); t181 = (t181+t194); highp vec4 t196; t196.xyzw = texture(ps1,t184); highp float t197; t197 = (clamp((1.000000e+000+(-(abs(((t196.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t196.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t198; t198.w = 1.000000e+000; t198.xyz = texture(ps2,t184).xyz; t180.xyzw = (t180+(t198*vec4(t197))); t181 = (t181+t197); highp vec4 t199; t199.xyzw = texture(ps1,t185); highp float t200; t200 = (clamp((1.000000e+000+(-(abs(((t199.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t199.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t201; t201.w = 1.000000e+000; t201.xyz = texture(ps2,t185).xyz; t180.xyzw = (t180+(t201*vec4(t200))); t181 = (t181+t200); highp vec4 t202; t202.xyzw = texture(ps1,in_TEXCOORD0.Data.xy); highp float t203; t203 = (clamp((1.000000e+000+(-(abs(((t202.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t202.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t204; t204.w = 1.000000e+000; t204.xyz = texture(ps2,in_TEXCOORD0.Data.xy).xyz; t180.xyzw = (t180+(t204*vec4(t203))); t181 = (t181+t203); highp vec4 t205; t205.xyzw = texture(ps1,t186); highp float t206; t206 = (clamp((1.000000e+000+(-(abs(((t205.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t205.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t207; t207.w = 1.000000e+000; t207.xyz = texture(ps2,t186).xyz; t180.xyzw = (t180+(t207*vec4(t206))); t181 = (t181+t206); highp vec4 t208; t208.xyzw = texture(ps1,t187); highp float t209; t209 = (clamp((1.000000e+000+(-(abs(((t208.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t208.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t210; t210.w = 1.000000e+000; t210.xyz = texture(ps2,t187).xyz; t180.xyzw = (t180+(t210*vec4(t209))); t181 = (t181+t209); highp vec4 t211; t211.xyzw = texture(ps1,t188); highp float t212; t212 = (clamp((1.000000e+000+(-(abs(((t211.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t211.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t213; t213.w = 1.000000e+000; t213.xyz = texture(ps2,t188).xyz; t180.xyzw = (t180+(t213*vec4(t212))); t181 = (t181+t212); highp vec4 t214; t214.xyzw = texture(ps1,t189); highp float t215; t215 = (clamp((1.000000e+000+(-(abs(((t214.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t214.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t216; t216.w = 1.000000e+000; t216.xyz = texture(ps2,t189).xyz; t180.xyzw = (t180+(t216*vec4(t215))); t181 = (t181+t215); t0.x = mix(t2,(t180/vec4(t181)).x,pu_h[2].w); out_Target0.xyzw = t0; } GLSL IR for shader 31: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t216) (declare () float t215) (declare () vec4 t214) (declare () vec4 t213) (declare () float t212) (declare () vec4 t211) (declare () vec4 t210) (declare () float t209) (declare () vec4 t208) (declare () vec4 t207) (declare () float t206) (declare () vec4 t205) (declare () vec4 t204) (declare () float t203) (declare () vec4 t202) (declare () vec4 t201) (declare () float t200) (declare () vec4 t199) (declare () vec4 t198) (declare () float t197) (declare () vec4 t196) (declare () vec4 t195) (declare () float t194) (declare () vec4 t193) (declare () vec4 t192) (declare () float t191) (declare () vec4 t190) (declare () vec2 t189) (declare () vec2 t188) (declare () vec2 t187) (declare () vec2 t186) (declare () vec2 t185) (declare () vec2 t184) (declare () vec2 t183) (declare () vec2 t182) (declare () float t181) (declare () vec4 t180) (declare () float t179) (declare () float t178) (declare () float t177) (declare () float t175) (declare () float t174) (declare () float t173) (declare () float t172) (declare () float t171) (declare () float t170) (declare () float t168) (declare () vec3 t167) (declare () vec3 t166) (declare () vec3 t165) (declare () vec3 t164) (declare () vec3 t163) (declare () vec3 t162) (declare () float t161) (declare () float t160) (declare () vec3 t159) (declare () vec2 t158) (declare () vec3 t157) (declare () vec2 t156) (declare () vec3 t155) (declare () vec3 t154) (declare () vec2 t153) (declare () vec3 t152) (declare () float t151) (declare () float t150) (declare () float t149) (declare () float t147) (declare () float t146) (declare () float t145) (declare () float t144) (declare () float t143) (declare () float t142) (declare () float t140) (declare () vec3 t139) (declare () vec3 t138) (declare () vec3 t137) (declare () vec3 t136) (declare () vec3 t135) (declare () vec3 t134) (declare () float t133) (declare () float t132) (declare () vec3 t131) (declare () vec2 t130) (declare () vec3 t129) (declare () vec2 t128) (declare () vec3 t127) (declare () vec3 t126) (declare () vec2 t125) (declare () vec3 t124) (declare () float t123) (declare () float t122) (declare () float t121) (declare () float t119) (declare () float t118) (declare () float t117) (declare () float t116) (declare () float t115) (declare () float t114) (declare () float t112) (declare () vec3 t111) (declare () vec3 t110) (declare () vec3 t109) (declare () vec3 t108) (declare () vec3 t107) (declare () vec3 t106) (declare () float t105) (declare () float t104) (declare () vec3 t103) (declare () vec2 t102) (declare () vec3 t101) (declare () vec2 t100) (declare () vec3 t99) (declare () vec3 t98) (declare () vec2 t97) (declare () vec3 t96) (declare () float t95) (declare () float t94) (declare () float t93) (declare () float t91) (declare () float t90) (declare () float t89) (declare () float t88) (declare () float t87) (declare () float t86) (declare () float t84) (declare () vec3 t83) (declare () vec3 t82) (declare () vec3 t81) (declare () vec3 t80) (declare () vec3 t79) (declare () vec3 t78) (declare () float t77) (declare () float t76) (declare () vec3 t75) (declare () vec2 t74) (declare () vec3 t73) (declare () vec2 t72) (declare () vec3 t71) (declare () vec3 t70) (declare () vec2 t69) (declare () vec3 t68) (declare () float t67) (declare () float t66) (declare () float t65) (declare () float t63) (declare () float t62) (declare () float t61) (declare () float t60) (declare () float t59) (declare () float t58) (declare () float t56) (declare () vec3 t55) (declare () vec3 t54) (declare () vec3 t53) (declare () vec3 t52) (declare () vec3 t51) (declare () vec3 t50) (declare () float t49) (declare () float t48) (declare () vec3 t47) (declare () vec2 t46) (declare () vec3 t45) (declare () vec2 t44) (declare () vec3 t43) (declare () vec3 t42) (declare () vec2 t41) (declare () vec3 t40) (declare () float t39) (declare () float t38) (declare () float t37) (declare () float t35) (declare () float t34) (declare () float t33) (declare () float t32) (declare () float t31) (declare () float t30) (declare () float t28) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec3 t24) (declare () vec3 t23) (declare () vec3 t22) (declare () float t21) (declare () float t20) (declare () vec3 t19) (declare () vec2 t18) (declare () vec3 t17) (declare () vec2 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec3 t12) (declare () vec3 t11) (declare () vec3 t10) (declare () vec3 t9) (declare () vec3 t8) (declare () float t7) (declare () vec3 t6) (declare () vec3 t5) (declare () float t4) (declare () float t3) (declare () float t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (z) (var_ref t5) (constant float (1.000000)) ) (assign (x) (var_ref t5) (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) (assign (y) (var_ref t5) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 rcp (var_ref t5) ) ) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (x) (var_ref t7) (expression float * (swiz w (var_ref texture_retval) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@363) (call texture (var_ref texture_retval@363) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@363) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (2)) ) )(swiz zzz (var_ref t8) )) (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (1)) ) )(swiz yyy (var_ref t8) )) (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (0)) ) )(swiz xxx (var_ref t8) )) ) ) )) (assign (xyz) (var_ref t9) (var_ref normalize_retval) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xx (var_ref t7) )) ) (assign (z) (var_ref t10) (var_ref t7) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (var_ref t10) (var_ref t6) ) (expression vec3 * (expression vec3 * (var_ref normalize_retval) (swiz xxx (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )(var_ref t7) ) )) (swiz xxx (array_ref (var_ref pu_h) (constant int (2)) ) )) ) ) (assign (x) (var_ref t4) (expression float + (constant float (1.000000)) (expression float neg (expression float * (swiz z (var_ref t11) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (x) (var_ref t3) (constant float (0.000100)) ) (assign (x) (var_ref t2) (constant float (0.000100)) ) (declare (temporary ) float mod_retval) (call mod (var_ref mod_retval) ((swiz x (var_ref View_TemporalAAParamspb0) )(constant float (8.000000)) )) (declare (temporary ) vec4 texture_retval@364) (call texture (var_ref texture_retval@364) ((var_ref ps3) (expression vec2 + (expression vec2 / (expression vec2 * (swiz xx (var_ref mod_retval) )(constant vec2 (2.000000 7.000000)) ) (constant vec2 (64.000000 64.000000)) ) (expression vec2 * (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) )) (declare (temporary ) float mix_retval) (call mix (var_ref mix_retval) ((var_ref t7) (constant float (1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) ))) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 * (var_ref texture_retval@364) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (swiz xyxy (expression vec2 * (expression vec2 * (swiz zz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xx (var_ref mix_retval) )) (swiz xy (var_ref t6) )) )) ) (assign (xy) (var_ref t13) (expression vec2 * (constant vec2 (0.200000 0.200000)) (swiz zw (var_ref t1) )) ) (assign (z) (var_ref t14) (constant float (0.000000)) ) (assign (xy) (var_ref t14) (var_ref t13) ) (assign (z) (var_ref t15) (constant float (0.000000)) ) (assign (xy) (var_ref t15) (var_ref t13) ) (assign (xyz) (var_ref t17) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t14) ) (var_ref t5) ) ) (assign (xy) (var_ref t16) (expression vec2 / (swiz xy (var_ref t17) )(swiz zz (var_ref t17) )) ) (assign (xyz) (var_ref t19) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t15) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t18) (expression vec2 / (swiz xy (var_ref t19) )(swiz zz (var_ref t19) )) ) (declare (temporary ) vec4 texture_retval@365) (call texture (var_ref texture_retval@365) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t16) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t20) (expression float * (swiz w (var_ref texture_retval@365) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@366) (call texture (var_ref texture_retval@366) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t18) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t21) (expression float * (swiz w (var_ref texture_retval@366) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t22) (expression vec2 * (var_ref t16) (swiz xx (var_ref t20) )) ) (assign (z) (var_ref t22) (var_ref t20) ) (assign (xyz) (var_ref t23) (expression vec3 * (var_ref t22) (var_ref t6) ) ) (assign (xy) (var_ref t24) (expression vec2 * (var_ref t18) (swiz xx (var_ref t21) )) ) (assign (z) (var_ref t24) (var_ref t21) ) (assign (xyz) (var_ref t25) (expression vec3 * (var_ref t24) (var_ref t6) ) ) (assign (xyz) (var_ref t26) (expression vec3 + (var_ref t23) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t27) (expression vec3 + (var_ref t25) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t12) (var_ref t27) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t26) (var_ref t9) )) (assign (x) (var_ref t28) (var_ref dot_retval) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((var_ref t26) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float / (var_ref t28) (var_ref length_retval) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t30) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval) ) ) ) (declare (temporary ) vec2 abs_retval) (call abs (var_ref abs_retval) ((var_ref t16) )) (declare (temporary ) bvec2 lessThan_retval) (call lessThan (var_ref lessThan_retval) ((var_ref abs_retval) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval) (call all (var_ref all_retval) ((var_ref lessThan_retval) )) (assign (x) (var_ref t32) (expression float b2f (var_ref all_retval) ) ) (declare (temporary ) float clamp_retval@367) (call clamp (var_ref clamp_retval@367) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t23) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t31) (expression float * (var_ref clamp_retval@367) (var_ref t32) ) ) (assign (x) (var_ref t33) (expression float + (constant float (0.000100)) (expression float * (expression float * (var_ref t30) (var_ref t30) ) (var_ref t31) ) ) ) (assign (x) (var_ref t2) (var_ref t33) ) (assign (x) (var_ref t34) (expression float + (constant float (0.000100)) (var_ref t31) ) ) (assign (x) (var_ref t3) (var_ref t34) ) (declare (temporary ) float dot_retval@368) (call dot (var_ref dot_retval@368) ((var_ref t27) (var_ref t9) )) (assign (x) (var_ref t35) (var_ref dot_retval@368) ) (declare (temporary ) float length_retval@369) (call length (var_ref length_retval@369) ((var_ref t12) )) (declare (temporary ) float clamp_retval@370) (call clamp (var_ref clamp_retval@370) ((expression float / (var_ref t35) (var_ref length_retval@369) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t37) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@370) ) ) ) (declare (temporary ) vec2 abs_retval@371) (call abs (var_ref abs_retval@371) ((var_ref t18) )) (declare (temporary ) bvec2 lessThan_retval@372) (call lessThan (var_ref lessThan_retval@372) ((var_ref abs_retval@371) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@373) (call all (var_ref all_retval@373) ((var_ref lessThan_retval@372) )) (assign (x) (var_ref t39) (expression float b2f (var_ref all_retval@373) ) ) (declare (temporary ) float clamp_retval@374) (call clamp (var_ref clamp_retval@374) ((expression float + (expression float * (swiz z (var_ref t25) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t38) (expression float * (var_ref clamp_retval@374) (var_ref t39) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t33) (expression float * (expression float * (var_ref t37) (var_ref t37) ) (var_ref t38) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t34) (var_ref t38) ) ) (assign (xy) (var_ref t41) (expression vec2 + (expression vec2 * (constant vec2 (0.325000 0.325000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.101000 0.101000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t42) (constant float (0.000000)) ) (assign (xy) (var_ref t42) (var_ref t41) ) (assign (z) (var_ref t43) (constant float (0.000000)) ) (assign (xy) (var_ref t43) (var_ref t41) ) (assign (xyz) (var_ref t45) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t42) ) (var_ref t5) ) ) (assign (xy) (var_ref t44) (expression vec2 / (swiz xy (var_ref t45) )(swiz zz (var_ref t45) )) ) (assign (xyz) (var_ref t47) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t43) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t46) (expression vec2 / (swiz xy (var_ref t47) )(swiz zz (var_ref t47) )) ) (declare (temporary ) vec4 texture_retval@375) (call texture (var_ref texture_retval@375) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t44) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t48) (expression float * (swiz w (var_ref texture_retval@375) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@376) (call texture (var_ref texture_retval@376) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t46) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t49) (expression float * (swiz w (var_ref texture_retval@376) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t50) (expression vec2 * (var_ref t44) (swiz xx (var_ref t48) )) ) (assign (z) (var_ref t50) (var_ref t48) ) (assign (xyz) (var_ref t51) (expression vec3 * (var_ref t50) (var_ref t6) ) ) (assign (xy) (var_ref t52) (expression vec2 * (var_ref t46) (swiz xx (var_ref t49) )) ) (assign (z) (var_ref t52) (var_ref t49) ) (assign (xyz) (var_ref t53) (expression vec3 * (var_ref t52) (var_ref t6) ) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t51) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t55) (expression vec3 + (var_ref t53) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t40) (var_ref t55) ) (declare (temporary ) float dot_retval@377) (call dot (var_ref dot_retval@377) ((var_ref t54) (var_ref t9) )) (assign (x) (var_ref t56) (var_ref dot_retval@377) ) (declare (temporary ) float length_retval@378) (call length (var_ref length_retval@378) ((var_ref t54) )) (declare (temporary ) float clamp_retval@379) (call clamp (var_ref clamp_retval@379) ((expression float / (var_ref t56) (var_ref length_retval@378) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t58) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@379) ) ) ) (declare (temporary ) vec2 abs_retval@380) (call abs (var_ref abs_retval@380) ((var_ref t44) )) (declare (temporary ) bvec2 lessThan_retval@381) (call lessThan (var_ref lessThan_retval@381) ((var_ref abs_retval@380) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@382) (call all (var_ref all_retval@382) ((var_ref lessThan_retval@381) )) (assign (x) (var_ref t60) (expression float b2f (var_ref all_retval@382) ) ) (declare (temporary ) float clamp_retval@383) (call clamp (var_ref clamp_retval@383) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t51) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t59) (expression float * (var_ref clamp_retval@383) (var_ref t60) ) ) (assign (x) (var_ref t61) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t58) (var_ref t58) ) (var_ref t59) ) ) ) (assign (x) (var_ref t2) (var_ref t61) ) (assign (x) (var_ref t62) (expression float + (var_ref t3) (var_ref t59) ) ) (assign (x) (var_ref t3) (var_ref t62) ) (declare (temporary ) float dot_retval@384) (call dot (var_ref dot_retval@384) ((var_ref t55) (var_ref t9) )) (assign (x) (var_ref t63) (var_ref dot_retval@384) ) (declare (temporary ) float length_retval@385) (call length (var_ref length_retval@385) ((var_ref t40) )) (declare (temporary ) float clamp_retval@386) (call clamp (var_ref clamp_retval@386) ((expression float / (var_ref t63) (var_ref length_retval@385) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t65) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@386) ) ) ) (declare (temporary ) vec2 abs_retval@387) (call abs (var_ref abs_retval@387) ((var_ref t46) )) (declare (temporary ) bvec2 lessThan_retval@388) (call lessThan (var_ref lessThan_retval@388) ((var_ref abs_retval@387) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@389) (call all (var_ref all_retval@389) ((var_ref lessThan_retval@388) )) (assign (x) (var_ref t67) (expression float b2f (var_ref all_retval@389) ) ) (declare (temporary ) float clamp_retval@390) (call clamp (var_ref clamp_retval@390) ((expression float + (expression float * (swiz z (var_ref t53) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t66) (expression float * (var_ref clamp_retval@390) (var_ref t67) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t61) (expression float * (expression float * (var_ref t65) (var_ref t65) ) (var_ref t66) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t62) (var_ref t66) ) ) (assign (xy) (var_ref t69) (expression vec2 + (expression vec2 * (constant vec2 (0.272000 0.272000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.396000 -0.396000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t70) (constant float (0.000000)) ) (assign (xy) (var_ref t70) (var_ref t69) ) (assign (z) (var_ref t71) (constant float (0.000000)) ) (assign (xy) (var_ref t71) (var_ref t69) ) (assign (xyz) (var_ref t73) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t70) ) (var_ref t5) ) ) (assign (xy) (var_ref t72) (expression vec2 / (swiz xy (var_ref t73) )(swiz zz (var_ref t73) )) ) (assign (xyz) (var_ref t75) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t71) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t74) (expression vec2 / (swiz xy (var_ref t75) )(swiz zz (var_ref t75) )) ) (declare (temporary ) vec4 texture_retval@391) (call texture (var_ref texture_retval@391) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t72) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t76) (expression float * (swiz w (var_ref texture_retval@391) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@392) (call texture (var_ref texture_retval@392) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t74) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t77) (expression float * (swiz w (var_ref texture_retval@392) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t78) (expression vec2 * (var_ref t72) (swiz xx (var_ref t76) )) ) (assign (z) (var_ref t78) (var_ref t76) ) (assign (xyz) (var_ref t79) (expression vec3 * (var_ref t78) (var_ref t6) ) ) (assign (xy) (var_ref t80) (expression vec2 * (var_ref t74) (swiz xx (var_ref t77) )) ) (assign (z) (var_ref t80) (var_ref t77) ) (assign (xyz) (var_ref t81) (expression vec3 * (var_ref t80) (var_ref t6) ) ) (assign (xyz) (var_ref t82) (expression vec3 + (var_ref t79) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t83) (expression vec3 + (var_ref t81) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t68) (var_ref t83) ) (declare (temporary ) float dot_retval@393) (call dot (var_ref dot_retval@393) ((var_ref t82) (var_ref t9) )) (assign (x) (var_ref t84) (var_ref dot_retval@393) ) (declare (temporary ) float length_retval@394) (call length (var_ref length_retval@394) ((var_ref t82) )) (declare (temporary ) float clamp_retval@395) (call clamp (var_ref clamp_retval@395) ((expression float / (var_ref t84) (var_ref length_retval@394) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t86) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@395) ) ) ) (declare (temporary ) vec2 abs_retval@396) (call abs (var_ref abs_retval@396) ((var_ref t72) )) (declare (temporary ) bvec2 lessThan_retval@397) (call lessThan (var_ref lessThan_retval@397) ((var_ref abs_retval@396) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@398) (call all (var_ref all_retval@398) ((var_ref lessThan_retval@397) )) (assign (x) (var_ref t88) (expression float b2f (var_ref all_retval@398) ) ) (declare (temporary ) float clamp_retval@399) (call clamp (var_ref clamp_retval@399) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t79) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t87) (expression float * (var_ref clamp_retval@399) (var_ref t88) ) ) (assign (x) (var_ref t89) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t86) (var_ref t86) ) (var_ref t87) ) ) ) (assign (x) (var_ref t2) (var_ref t89) ) (assign (x) (var_ref t90) (expression float + (var_ref t3) (var_ref t87) ) ) (assign (x) (var_ref t3) (var_ref t90) ) (declare (temporary ) float dot_retval@400) (call dot (var_ref dot_retval@400) ((var_ref t83) (var_ref t9) )) (assign (x) (var_ref t91) (var_ref dot_retval@400) ) (declare (temporary ) float length_retval@401) (call length (var_ref length_retval@401) ((var_ref t68) )) (declare (temporary ) float clamp_retval@402) (call clamp (var_ref clamp_retval@402) ((expression float / (var_ref t91) (var_ref length_retval@401) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t93) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@402) ) ) ) (declare (temporary ) vec2 abs_retval@403) (call abs (var_ref abs_retval@403) ((var_ref t74) )) (declare (temporary ) bvec2 lessThan_retval@404) (call lessThan (var_ref lessThan_retval@404) ((var_ref abs_retval@403) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@405) (call all (var_ref all_retval@405) ((var_ref lessThan_retval@404) )) (assign (x) (var_ref t95) (expression float b2f (var_ref all_retval@405) ) ) (declare (temporary ) float clamp_retval@406) (call clamp (var_ref clamp_retval@406) ((expression float + (expression float * (swiz z (var_ref t81) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t94) (expression float * (var_ref clamp_retval@406) (var_ref t95) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t89) (expression float * (expression float * (var_ref t93) (var_ref t93) ) (var_ref t94) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t90) (var_ref t94) ) ) (assign (xy) (var_ref t97) (expression vec2 + (expression vec2 * (constant vec2 (-0.385000 -0.385000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.488000 -0.488000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t98) (constant float (0.000000)) ) (assign (xy) (var_ref t98) (var_ref t97) ) (assign (z) (var_ref t99) (constant float (0.000000)) ) (assign (xy) (var_ref t99) (var_ref t97) ) (assign (xyz) (var_ref t101) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t98) ) (var_ref t5) ) ) (assign (xy) (var_ref t100) (expression vec2 / (swiz xy (var_ref t101) )(swiz zz (var_ref t101) )) ) (assign (xyz) (var_ref t103) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t99) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t102) (expression vec2 / (swiz xy (var_ref t103) )(swiz zz (var_ref t103) )) ) (declare (temporary ) vec4 texture_retval@407) (call texture (var_ref texture_retval@407) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t100) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t104) (expression float * (swiz w (var_ref texture_retval@407) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@408) (call texture (var_ref texture_retval@408) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t102) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t105) (expression float * (swiz w (var_ref texture_retval@408) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t106) (expression vec2 * (var_ref t100) (swiz xx (var_ref t104) )) ) (assign (z) (var_ref t106) (var_ref t104) ) (assign (xyz) (var_ref t107) (expression vec3 * (var_ref t106) (var_ref t6) ) ) (assign (xy) (var_ref t108) (expression vec2 * (var_ref t102) (swiz xx (var_ref t105) )) ) (assign (z) (var_ref t108) (var_ref t105) ) (assign (xyz) (var_ref t109) (expression vec3 * (var_ref t108) (var_ref t6) ) ) (assign (xyz) (var_ref t110) (expression vec3 + (var_ref t107) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t111) (expression vec3 + (var_ref t109) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t96) (var_ref t111) ) (declare (temporary ) float dot_retval@409) (call dot (var_ref dot_retval@409) ((var_ref t110) (var_ref t9) )) (assign (x) (var_ref t112) (var_ref dot_retval@409) ) (declare (temporary ) float length_retval@410) (call length (var_ref length_retval@410) ((var_ref t110) )) (declare (temporary ) float clamp_retval@411) (call clamp (var_ref clamp_retval@411) ((expression float / (var_ref t112) (var_ref length_retval@410) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t114) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@411) ) ) ) (declare (temporary ) vec2 abs_retval@412) (call abs (var_ref abs_retval@412) ((var_ref t100) )) (declare (temporary ) bvec2 lessThan_retval@413) (call lessThan (var_ref lessThan_retval@413) ((var_ref abs_retval@412) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@414) (call all (var_ref all_retval@414) ((var_ref lessThan_retval@413) )) (assign (x) (var_ref t116) (expression float b2f (var_ref all_retval@414) ) ) (declare (temporary ) float clamp_retval@415) (call clamp (var_ref clamp_retval@415) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t107) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t115) (expression float * (var_ref clamp_retval@415) (var_ref t116) ) ) (assign (x) (var_ref t117) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t114) (var_ref t114) ) (var_ref t115) ) ) ) (assign (x) (var_ref t2) (var_ref t117) ) (assign (x) (var_ref t118) (expression float + (var_ref t3) (var_ref t115) ) ) (assign (x) (var_ref t3) (var_ref t118) ) (declare (temporary ) float dot_retval@416) (call dot (var_ref dot_retval@416) ((var_ref t111) (var_ref t9) )) (assign (x) (var_ref t119) (var_ref dot_retval@416) ) (declare (temporary ) float length_retval@417) (call length (var_ref length_retval@417) ((var_ref t96) )) (declare (temporary ) float clamp_retval@418) (call clamp (var_ref clamp_retval@418) ((expression float / (var_ref t119) (var_ref length_retval@417) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t121) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@418) ) ) ) (declare (temporary ) vec2 abs_retval@419) (call abs (var_ref abs_retval@419) ((var_ref t102) )) (declare (temporary ) bvec2 lessThan_retval@420) (call lessThan (var_ref lessThan_retval@420) ((var_ref abs_retval@419) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@421) (call all (var_ref all_retval@421) ((var_ref lessThan_retval@420) )) (assign (x) (var_ref t123) (expression float b2f (var_ref all_retval@421) ) ) (declare (temporary ) float clamp_retval@422) (call clamp (var_ref clamp_retval@422) ((expression float + (expression float * (swiz z (var_ref t109) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t122) (expression float * (var_ref clamp_retval@422) (var_ref t123) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t117) (expression float * (expression float * (var_ref t121) (var_ref t121) ) (var_ref t122) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t118) (var_ref t122) ) ) (assign (xy) (var_ref t125) (expression vec2 + (expression vec2 * (constant vec2 (-0.711000 -0.711000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.274000 0.274000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t126) (constant float (0.000000)) ) (assign (xy) (var_ref t126) (var_ref t125) ) (assign (z) (var_ref t127) (constant float (0.000000)) ) (assign (xy) (var_ref t127) (var_ref t125) ) (assign (xyz) (var_ref t129) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t126) ) (var_ref t5) ) ) (assign (xy) (var_ref t128) (expression vec2 / (swiz xy (var_ref t129) )(swiz zz (var_ref t129) )) ) (assign (xyz) (var_ref t131) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t127) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t130) (expression vec2 / (swiz xy (var_ref t131) )(swiz zz (var_ref t131) )) ) (declare (temporary ) vec4 texture_retval@423) (call texture (var_ref texture_retval@423) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t128) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t132) (expression float * (swiz w (var_ref texture_retval@423) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@424) (call texture (var_ref texture_retval@424) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t130) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t133) (expression float * (swiz w (var_ref texture_retval@424) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t134) (expression vec2 * (var_ref t128) (swiz xx (var_ref t132) )) ) (assign (z) (var_ref t134) (var_ref t132) ) (assign (xyz) (var_ref t135) (expression vec3 * (var_ref t134) (var_ref t6) ) ) (assign (xy) (var_ref t136) (expression vec2 * (var_ref t130) (swiz xx (var_ref t133) )) ) (assign (z) (var_ref t136) (var_ref t133) ) (assign (xyz) (var_ref t137) (expression vec3 * (var_ref t136) (var_ref t6) ) ) (assign (xyz) (var_ref t138) (expression vec3 + (var_ref t135) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t139) (expression vec3 + (var_ref t137) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t124) (var_ref t139) ) (declare (temporary ) float dot_retval@425) (call dot (var_ref dot_retval@425) ((var_ref t138) (var_ref t9) )) (assign (x) (var_ref t140) (var_ref dot_retval@425) ) (declare (temporary ) float length_retval@426) (call length (var_ref length_retval@426) ((var_ref t138) )) (declare (temporary ) float clamp_retval@427) (call clamp (var_ref clamp_retval@427) ((expression float / (var_ref t140) (var_ref length_retval@426) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t142) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@427) ) ) ) (declare (temporary ) vec2 abs_retval@428) (call abs (var_ref abs_retval@428) ((var_ref t128) )) (declare (temporary ) bvec2 lessThan_retval@429) (call lessThan (var_ref lessThan_retval@429) ((var_ref abs_retval@428) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@430) (call all (var_ref all_retval@430) ((var_ref lessThan_retval@429) )) (assign (x) (var_ref t144) (expression float b2f (var_ref all_retval@430) ) ) (declare (temporary ) float clamp_retval@431) (call clamp (var_ref clamp_retval@431) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t135) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t143) (expression float * (var_ref clamp_retval@431) (var_ref t144) ) ) (assign (x) (var_ref t145) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t142) (var_ref t142) ) (var_ref t143) ) ) ) (assign (x) (var_ref t2) (var_ref t145) ) (assign (x) (var_ref t146) (expression float + (var_ref t3) (var_ref t143) ) ) (assign (x) (var_ref t3) (var_ref t146) ) (declare (temporary ) float dot_retval@432) (call dot (var_ref dot_retval@432) ((var_ref t139) (var_ref t9) )) (assign (x) (var_ref t147) (var_ref dot_retval@432) ) (declare (temporary ) float length_retval@433) (call length (var_ref length_retval@433) ((var_ref t124) )) (declare (temporary ) float clamp_retval@434) (call clamp (var_ref clamp_retval@434) ((expression float / (var_ref t147) (var_ref length_retval@433) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t149) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@434) ) ) ) (declare (temporary ) vec2 abs_retval@435) (call abs (var_ref abs_retval@435) ((var_ref t130) )) (declare (temporary ) bvec2 lessThan_retval@436) (call lessThan (var_ref lessThan_retval@436) ((var_ref abs_retval@435) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@437) (call all (var_ref all_retval@437) ((var_ref lessThan_retval@436) )) (assign (x) (var_ref t151) (expression float b2f (var_ref all_retval@437) ) ) (declare (temporary ) float clamp_retval@438) (call clamp (var_ref clamp_retval@438) ((expression float + (expression float * (swiz z (var_ref t137) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t150) (expression float * (var_ref clamp_retval@438) (var_ref t151) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t145) (expression float * (expression float * (var_ref t149) (var_ref t149) ) (var_ref t150) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t146) (var_ref t150) ) ) (assign (xy) (var_ref t153) (expression vec2 + (expression vec2 * (constant vec2 (0.060000 0.060000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.900000 0.900000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t154) (constant float (0.000000)) ) (assign (xy) (var_ref t154) (var_ref t153) ) (assign (z) (var_ref t155) (constant float (0.000000)) ) (assign (xy) (var_ref t155) (var_ref t153) ) (assign (xyz) (var_ref t157) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t154) ) (var_ref t5) ) ) (assign (xy) (var_ref t156) (expression vec2 / (swiz xy (var_ref t157) )(swiz zz (var_ref t157) )) ) (assign (xyz) (var_ref t159) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t155) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t158) (expression vec2 / (swiz xy (var_ref t159) )(swiz zz (var_ref t159) )) ) (declare (temporary ) vec4 texture_retval@439) (call texture (var_ref texture_retval@439) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t156) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t160) (expression float * (swiz w (var_ref texture_retval@439) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@440) (call texture (var_ref texture_retval@440) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t158) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t161) (expression float * (swiz w (var_ref texture_retval@440) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t162) (expression vec2 * (var_ref t156) (swiz xx (var_ref t160) )) ) (assign (z) (var_ref t162) (var_ref t160) ) (assign (xyz) (var_ref t163) (expression vec3 * (var_ref t162) (var_ref t6) ) ) (assign (xy) (var_ref t164) (expression vec2 * (var_ref t158) (swiz xx (var_ref t161) )) ) (assign (z) (var_ref t164) (var_ref t161) ) (assign (xyz) (var_ref t165) (expression vec3 * (var_ref t164) (var_ref t6) ) ) (assign (xyz) (var_ref t166) (expression vec3 + (var_ref t163) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t167) (expression vec3 + (var_ref t165) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t152) (var_ref t167) ) (declare (temporary ) float dot_retval@441) (call dot (var_ref dot_retval@441) ((var_ref t166) (var_ref t9) )) (assign (x) (var_ref t168) (var_ref dot_retval@441) ) (declare (temporary ) float length_retval@442) (call length (var_ref length_retval@442) ((var_ref t166) )) (declare (temporary ) float clamp_retval@443) (call clamp (var_ref clamp_retval@443) ((expression float / (var_ref t168) (var_ref length_retval@442) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t170) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@443) ) ) ) (declare (temporary ) vec2 abs_retval@444) (call abs (var_ref abs_retval@444) ((var_ref t156) )) (declare (temporary ) bvec2 lessThan_retval@445) (call lessThan (var_ref lessThan_retval@445) ((var_ref abs_retval@444) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@446) (call all (var_ref all_retval@446) ((var_ref lessThan_retval@445) )) (assign (x) (var_ref t172) (expression float b2f (var_ref all_retval@446) ) ) (declare (temporary ) float clamp_retval@447) (call clamp (var_ref clamp_retval@447) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t163) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t171) (expression float * (var_ref clamp_retval@447) (var_ref t172) ) ) (assign (x) (var_ref t173) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t170) (var_ref t170) ) (var_ref t171) ) ) ) (assign (x) (var_ref t2) (var_ref t173) ) (assign (x) (var_ref t174) (expression float + (var_ref t3) (var_ref t171) ) ) (assign (x) (var_ref t3) (var_ref t174) ) (declare (temporary ) float dot_retval@448) (call dot (var_ref dot_retval@448) ((var_ref t167) (var_ref t9) )) (assign (x) (var_ref t175) (var_ref dot_retval@448) ) (declare (temporary ) float length_retval@449) (call length (var_ref length_retval@449) ((var_ref t152) )) (declare (temporary ) float clamp_retval@450) (call clamp (var_ref clamp_retval@450) ((expression float / (var_ref t175) (var_ref length_retval@449) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t177) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@450) ) ) ) (declare (temporary ) vec2 abs_retval@451) (call abs (var_ref abs_retval@451) ((var_ref t158) )) (declare (temporary ) bvec2 lessThan_retval@452) (call lessThan (var_ref lessThan_retval@452) ((var_ref abs_retval@451) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@453) (call all (var_ref all_retval@453) ((var_ref lessThan_retval@452) )) (assign (x) (var_ref t179) (expression float b2f (var_ref all_retval@453) ) ) (declare (temporary ) float clamp_retval@454) (call clamp (var_ref clamp_retval@454) ((expression float + (expression float * (swiz z (var_ref t165) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t178) (expression float * (var_ref clamp_retval@454) (var_ref t179) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t173) (expression float * (expression float * (var_ref t177) (var_ref t177) ) (var_ref t178) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t174) (var_ref t178) ) ) (assign (x) (var_ref t2) (expression float / (var_ref t2) (var_ref t3) ) ) (assign (x) (var_ref t0) (var_ref t2) ) (assign (yz) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (var_ref t182) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 neg (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t183) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t184) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (1.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t185) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t186) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t187) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-1.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t188) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t189) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec4 texture_retval@455) (call texture (var_ref texture_retval@455) ((var_ref ps1) (var_ref t182) )) (assign (xyzw) (var_ref t190) (var_ref texture_retval@455) ) (declare (temporary ) float abs_retval@456) (call abs (var_ref abs_retval@456) ((expression float + (expression float * (swiz w (var_ref texture_retval@455) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@457) (call clamp (var_ref clamp_retval@457) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@456) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@458) (call dot (var_ref dot_retval@458) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t190) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@459) (call clamp (var_ref clamp_retval@459) ((var_ref dot_retval@458) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t191) (expression float * (var_ref clamp_retval@457) (var_ref clamp_retval@459) ) ) (assign (w) (var_ref t192) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@460) (call texture (var_ref texture_retval@460) ((var_ref ps2) (var_ref t182) )) (assign (xyz) (var_ref t192) (swiz xyz (var_ref texture_retval@460) )) (assign (xyzw) (var_ref t180) (expression vec4 + (constant vec4 (0.000100 0.000000 0.000000 0.000000)) (expression vec4 * (var_ref t192) (swiz xxxx (var_ref t191) )) ) ) (assign (x) (var_ref t181) (expression float + (constant float (0.000100)) (var_ref t191) ) ) (declare (temporary ) vec4 texture_retval@461) (call texture (var_ref texture_retval@461) ((var_ref ps1) (var_ref t183) )) (assign (xyzw) (var_ref t193) (var_ref texture_retval@461) ) (declare (temporary ) float abs_retval@462) (call abs (var_ref abs_retval@462) ((expression float + (expression float * (swiz w (var_ref texture_retval@461) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@463) (call clamp (var_ref clamp_retval@463) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@462) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@464) (call dot (var_ref dot_retval@464) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t193) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@465) (call clamp (var_ref clamp_retval@465) ((var_ref dot_retval@464) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t194) (expression float * (var_ref clamp_retval@463) (var_ref clamp_retval@465) ) ) (assign (w) (var_ref t195) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@466) (call texture (var_ref texture_retval@466) ((var_ref ps2) (var_ref t183) )) (assign (xyz) (var_ref t195) (swiz xyz (var_ref texture_retval@466) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t195) (swiz xxxx (var_ref t194) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t194) ) ) (declare (temporary ) vec4 texture_retval@467) (call texture (var_ref texture_retval@467) ((var_ref ps1) (var_ref t184) )) (assign (xyzw) (var_ref t196) (var_ref texture_retval@467) ) (declare (temporary ) float abs_retval@468) (call abs (var_ref abs_retval@468) ((expression float + (expression float * (swiz w (var_ref texture_retval@467) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@469) (call clamp (var_ref clamp_retval@469) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@468) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@470) (call dot (var_ref dot_retval@470) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t196) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@471) (call clamp (var_ref clamp_retval@471) ((var_ref dot_retval@470) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t197) (expression float * (var_ref clamp_retval@469) (var_ref clamp_retval@471) ) ) (assign (w) (var_ref t198) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@472) (call texture (var_ref texture_retval@472) ((var_ref ps2) (var_ref t184) )) (assign (xyz) (var_ref t198) (swiz xyz (var_ref texture_retval@472) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t198) (swiz xxxx (var_ref t197) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t197) ) ) (declare (temporary ) vec4 texture_retval@473) (call texture (var_ref texture_retval@473) ((var_ref ps1) (var_ref t185) )) (assign (xyzw) (var_ref t199) (var_ref texture_retval@473) ) (declare (temporary ) float abs_retval@474) (call abs (var_ref abs_retval@474) ((expression float + (expression float * (swiz w (var_ref texture_retval@473) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@475) (call clamp (var_ref clamp_retval@475) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@474) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@476) (call dot (var_ref dot_retval@476) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t199) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@477) (call clamp (var_ref clamp_retval@477) ((var_ref dot_retval@476) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t200) (expression float * (var_ref clamp_retval@475) (var_ref clamp_retval@477) ) ) (assign (w) (var_ref t201) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@478) (call texture (var_ref texture_retval@478) ((var_ref ps2) (var_ref t185) )) (assign (xyz) (var_ref t201) (swiz xyz (var_ref texture_retval@478) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t201) (swiz xxxx (var_ref t200) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t200) ) ) (declare (temporary ) vec4 texture_retval@479) (call texture (var_ref texture_retval@479) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyzw) (var_ref t202) (var_ref texture_retval@479) ) (declare (temporary ) float abs_retval@480) (call abs (var_ref abs_retval@480) ((expression float + (expression float * (swiz w (var_ref texture_retval@479) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@481) (call clamp (var_ref clamp_retval@481) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@480) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@482) (call dot (var_ref dot_retval@482) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t202) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@483) (call clamp (var_ref clamp_retval@483) ((var_ref dot_retval@482) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t203) (expression float * (var_ref clamp_retval@481) (var_ref clamp_retval@483) ) ) (assign (w) (var_ref t204) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@484) (call texture (var_ref texture_retval@484) ((var_ref ps2) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t204) (swiz xyz (var_ref texture_retval@484) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t204) (swiz xxxx (var_ref t203) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t203) ) ) (declare (temporary ) vec4 texture_retval@485) (call texture (var_ref texture_retval@485) ((var_ref ps1) (var_ref t186) )) (assign (xyzw) (var_ref t205) (var_ref texture_retval@485) ) (declare (temporary ) float abs_retval@486) (call abs (var_ref abs_retval@486) ((expression float + (expression float * (swiz w (var_ref texture_retval@485) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@487) (call clamp (var_ref clamp_retval@487) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@486) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@488) (call dot (var_ref dot_retval@488) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t205) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@489) (call clamp (var_ref clamp_retval@489) ((var_ref dot_retval@488) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t206) (expression float * (var_ref clamp_retval@487) (var_ref clamp_retval@489) ) ) (assign (w) (var_ref t207) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@490) (call texture (var_ref texture_retval@490) ((var_ref ps2) (var_ref t186) )) (assign (xyz) (var_ref t207) (swiz xyz (var_ref texture_retval@490) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t207) (swiz xxxx (var_ref t206) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t206) ) ) (declare (temporary ) vec4 texture_retval@491) (call texture (var_ref texture_retval@491) ((var_ref ps1) (var_ref t187) )) (assign (xyzw) (var_ref t208) (var_ref texture_retval@491) ) (declare (temporary ) float abs_retval@492) (call abs (var_ref abs_retval@492) ((expression float + (expression float * (swiz w (var_ref texture_retval@491) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@493) (call clamp (var_ref clamp_retval@493) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@492) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@494) (call dot (var_ref dot_retval@494) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t208) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@495) (call clamp (var_ref clamp_retval@495) ((var_ref dot_retval@494) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t209) (expression float * (var_ref clamp_retval@493) (var_ref clamp_retval@495) ) ) (assign (w) (var_ref t210) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@496) (call texture (var_ref texture_retval@496) ((var_ref ps2) (var_ref t187) )) (assign (xyz) (var_ref t210) (swiz xyz (var_ref texture_retval@496) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t210) (swiz xxxx (var_ref t209) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t209) ) ) (declare (temporary ) vec4 texture_retval@497) (call texture (var_ref texture_retval@497) ((var_ref ps1) (var_ref t188) )) (assign (xyzw) (var_ref t211) (var_ref texture_retval@497) ) (declare (temporary ) float abs_retval@498) (call abs (var_ref abs_retval@498) ((expression float + (expression float * (swiz w (var_ref texture_retval@497) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@499) (call clamp (var_ref clamp_retval@499) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@498) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@500) (call dot (var_ref dot_retval@500) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t211) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@501) (call clamp (var_ref clamp_retval@501) ((var_ref dot_retval@500) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t212) (expression float * (var_ref clamp_retval@499) (var_ref clamp_retval@501) ) ) (assign (w) (var_ref t213) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@502) (call texture (var_ref texture_retval@502) ((var_ref ps2) (var_ref t188) )) (assign (xyz) (var_ref t213) (swiz xyz (var_ref texture_retval@502) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t213) (swiz xxxx (var_ref t212) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t212) ) ) (declare (temporary ) vec4 texture_retval@503) (call texture (var_ref texture_retval@503) ((var_ref ps1) (var_ref t189) )) (assign (xyzw) (var_ref t214) (var_ref texture_retval@503) ) (declare (temporary ) float abs_retval@504) (call abs (var_ref abs_retval@504) ((expression float + (expression float * (swiz w (var_ref texture_retval@503) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@505) (call clamp (var_ref clamp_retval@505) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@504) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@506) (call dot (var_ref dot_retval@506) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t214) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@507) (call clamp (var_ref clamp_retval@507) ((var_ref dot_retval@506) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t215) (expression float * (var_ref clamp_retval@505) (var_ref clamp_retval@507) ) ) (assign (w) (var_ref t216) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@508) (call texture (var_ref texture_retval@508) ((var_ref ps2) (var_ref t189) )) (assign (xyz) (var_ref t216) (swiz xyz (var_ref texture_retval@508) )) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t216) (swiz xxxx (var_ref t215) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t215) ) ) (declare (temporary ) float mix_retval@509) (call mix (var_ref mix_retval@509) ((var_ref t2) (swiz x (expression vec4 / (var_ref t180) (swiz xxxx (var_ref t181) )) )(swiz w (array_ref (var_ref pu_h) (constant int (2)) ) ))) (assign (x) (var_ref t0) (var_ref mix_retval@509) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function mod (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function mix (signature float (parameters (declare (in ) float x) (declare (in ) float y) (declare (in ) float a) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function length (signature float (parameters (declare (in ) vec3 x) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) (function abs (signature vec2 (parameters (declare (in ) vec2 x) ) ( )) (signature float (parameters (declare (in ) float x) ) ( )) ) (function lessThan (signature bvec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function all (signature bool (parameters (declare (in ) bvec2 v) ) ( )) ) ) GLSL IR for linked vertex program 32: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@510) (assign (xyzw) (var_ref cse@510) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@510) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@511) (assign (xyzw) (var_ref cse@511) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@511) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@511) )) ) (swiz zw (var_ref cse@510) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@512) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@513) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 32: ( (declare (shader_in ) vec4 Data) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t216) (declare () float t215) (declare () vec4 t213) (declare () float t212) (declare () vec4 t210) (declare () float t209) (declare () vec4 t207) (declare () float t206) (declare () vec4 t204) (declare () float t203) (declare () vec4 t201) (declare () float t200) (declare () vec4 t198) (declare () float t197) (declare () vec4 t195) (declare () float t194) (declare () vec4 t192) (declare () float t191) (declare () vec2 t189) (declare () vec2 t188) (declare () vec2 t187) (declare () vec2 t186) (declare () vec2 t185) (declare () vec2 t184) (declare () vec2 t183) (declare () vec2 t182) (declare () float t181) (declare () vec4 t180) (declare () float t178) (declare () float t177) (declare () float t171) (declare () float t170) (declare () vec3 t167) (declare () vec3 t166) (declare () vec3 t165) (declare () vec3 t164) (declare () vec3 t163) (declare () vec3 t162) (declare () float t161) (declare () float t160) (declare () vec3 t159) (declare () vec2 t158) (declare () vec3 t157) (declare () vec2 t156) (declare () vec3 t155) (declare () vec3 t154) (declare () vec2 t153) (declare () float t150) (declare () float t149) (declare () float t143) (declare () float t142) (declare () vec3 t139) (declare () vec3 t138) (declare () vec3 t137) (declare () vec3 t136) (declare () vec3 t135) (declare () vec3 t134) (declare () float t133) (declare () float t132) (declare () vec3 t131) (declare () vec2 t130) (declare () vec3 t129) (declare () vec2 t128) (declare () vec3 t127) (declare () vec3 t126) (declare () vec2 t125) (declare () float t122) (declare () float t121) (declare () float t115) (declare () float t114) (declare () vec3 t111) (declare () vec3 t110) (declare () vec3 t109) (declare () vec3 t108) (declare () vec3 t107) (declare () vec3 t106) (declare () float t105) (declare () float t104) (declare () vec3 t103) (declare () vec2 t102) (declare () vec3 t101) (declare () vec2 t100) (declare () vec3 t99) (declare () vec3 t98) (declare () vec2 t97) (declare () float t94) (declare () float t93) (declare () float t87) (declare () float t86) (declare () vec3 t83) (declare () vec3 t82) (declare () vec3 t81) (declare () vec3 t80) (declare () vec3 t79) (declare () vec3 t78) (declare () float t77) (declare () float t76) (declare () vec3 t75) (declare () vec2 t74) (declare () vec3 t73) (declare () vec2 t72) (declare () vec3 t71) (declare () vec3 t70) (declare () vec2 t69) (declare () float t66) (declare () float t65) (declare () float t59) (declare () float t58) (declare () vec3 t55) (declare () vec3 t54) (declare () vec3 t53) (declare () vec3 t52) (declare () vec3 t51) (declare () vec3 t50) (declare () float t49) (declare () float t48) (declare () vec3 t47) (declare () vec2 t46) (declare () vec3 t45) (declare () vec2 t44) (declare () vec3 t43) (declare () vec3 t42) (declare () vec2 t41) (declare () float t38) (declare () float t37) (declare () float t31) (declare () float t30) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec3 t24) (declare () vec3 t23) (declare () vec3 t22) (declare () float t21) (declare () float t20) (declare () vec3 t19) (declare () vec2 t18) (declare () vec3 t17) (declare () vec2 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec3 t11) (declare () vec3 t10) (declare () vec3 t8) (declare () float t7) (declare () vec3 t6) (declare () vec3 t5) (declare () float t4) (declare () float t3) (declare () float t2) (declare () vec4 t1) (declare () vec4 t0) (assign (w) (var_ref t0) (constant float (0.000000)) ) (assign (z) (var_ref t5) (constant float (1.000000)) ) (assign (x) (var_ref t5) (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) (assign (y) (var_ref t5) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 rcp (var_ref t5) ) ) (assign (x) (var_ref t7) (expression float * (swiz w (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz xyz (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (160)) ) )(swiz zzz (var_ref t8) )) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (144)) ) )(swiz yyy (var_ref t8) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (128)) ) )(swiz xxx (var_ref t8) )) ) ) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (var_ref Data) )(swiz xx (var_ref t7) )) ) (assign (z) (var_ref t10) (var_ref t7) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (var_ref t10) (var_ref t6) ) (expression vec3 * (expression vec3 * (var_ref normalize_retval) (swiz xxx (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )(var_ref t7) ) )) (swiz xxx (array_ref (var_ref pu_h) (constant int (2)) ) )) ) ) (assign (x) (var_ref t4) (expression float + (constant float (1.000000)) (expression float neg (expression float * (swiz z (var_ref t11) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 * (tex vec4 (var_ref ps3) (expression vec2 + (expression vec2 * (constant vec2 (0.031250 0.109375)) (swiz xx (expression float * (constant float (8.000000)) (expression float fract (expression float * (swiz x (expression vec4 ubo_load (constant uint (0)) (constant uint (944)) ) )(constant float (0.125000)) ) ) ) )) (expression vec2 * (swiz xy (var_ref Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) 0 1 () )(constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (swiz xyxy (expression vec2 * (expression vec2 * (swiz zz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xx (expression float lrp (var_ref t7) (constant float (1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (swiz xy (var_ref t6) )) )) ) (assign (xy) (var_ref t13) (expression vec2 * (constant vec2 (0.200000 0.200000)) (swiz zw (var_ref t1) )) ) (assign (z) (var_ref t14) (constant float (0.000000)) ) (assign (xy) (var_ref t14) (var_ref t13) ) (assign (z) (var_ref t15) (constant float (0.000000)) ) (assign (xy) (var_ref t15) (var_ref t13) ) (assign (xyz) (var_ref t17) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t14) ) (var_ref t5) ) ) (assign (xy) (var_ref t16) (expression vec2 * (swiz xy (var_ref t17) )(expression vec2 rcp (swiz zz (var_ref t17) )) ) ) (assign (xyz) (var_ref t19) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t15) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t18) (expression vec2 * (swiz xy (var_ref t19) )(expression vec2 rcp (swiz zz (var_ref t19) )) ) ) (assign (x) (var_ref t20) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t16) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t21) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t18) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t22) (expression vec2 * (var_ref t16) (swiz xx (var_ref t20) )) ) (assign (z) (var_ref t22) (var_ref t20) ) (assign (xyz) (var_ref t23) (expression vec3 * (var_ref t22) (var_ref t6) ) ) (assign (xy) (var_ref t24) (expression vec2 * (var_ref t18) (swiz xx (var_ref t21) )) ) (assign (z) (var_ref t24) (var_ref t21) ) (assign (xyz) (var_ref t25) (expression vec3 * (var_ref t24) (var_ref t6) ) ) (assign (xyz) (var_ref t26) (expression vec3 + (var_ref t23) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t27) (expression vec3 + (var_ref t25) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t30) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t26) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t26) (var_ref t26) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval) (assign (xy) (var_ref lessThan_retval) (expression bvec2 < (expression vec2 abs (var_ref t16) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t31) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t23) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval) )(swiz y (var_ref lessThan_retval) )) ) ) ) (assign (x) (var_ref t37) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t27) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t27) (var_ref t27) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@514) (assign (xy) (var_ref lessThan_retval@514) (expression bvec2 < (expression vec2 abs (var_ref t18) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t38) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t25) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@514) )(swiz y (var_ref lessThan_retval@514) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (constant float (0.000100)) (expression float * (expression float * (var_ref t30) (var_ref t30) ) (var_ref t31) ) ) (expression float * (expression float * (var_ref t37) (var_ref t37) ) (var_ref t38) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (constant float (0.000100)) (var_ref t31) ) (var_ref t38) ) ) (assign (xy) (var_ref t41) (expression vec2 + (expression vec2 * (constant vec2 (0.325000 0.325000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.101000 0.101000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t42) (constant float (0.000000)) ) (assign (xy) (var_ref t42) (var_ref t41) ) (assign (z) (var_ref t43) (constant float (0.000000)) ) (assign (xy) (var_ref t43) (var_ref t41) ) (assign (xyz) (var_ref t45) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t42) ) (var_ref t5) ) ) (assign (xy) (var_ref t44) (expression vec2 * (swiz xy (var_ref t45) )(expression vec2 rcp (swiz zz (var_ref t45) )) ) ) (assign (xyz) (var_ref t47) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t43) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t46) (expression vec2 * (swiz xy (var_ref t47) )(expression vec2 rcp (swiz zz (var_ref t47) )) ) ) (assign (x) (var_ref t48) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t44) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t49) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t46) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t50) (expression vec2 * (var_ref t44) (swiz xx (var_ref t48) )) ) (assign (z) (var_ref t50) (var_ref t48) ) (assign (xyz) (var_ref t51) (expression vec3 * (var_ref t50) (var_ref t6) ) ) (assign (xy) (var_ref t52) (expression vec2 * (var_ref t46) (swiz xx (var_ref t49) )) ) (assign (z) (var_ref t52) (var_ref t49) ) (assign (xyz) (var_ref t53) (expression vec3 * (var_ref t52) (var_ref t6) ) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t51) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t55) (expression vec3 + (var_ref t53) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t58) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t54) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t54) (var_ref t54) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@515) (assign (xy) (var_ref lessThan_retval@515) (expression bvec2 < (expression vec2 abs (var_ref t44) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t59) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t51) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@515) )(swiz y (var_ref lessThan_retval@515) )) ) ) ) (assign (x) (var_ref t65) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t55) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t55) (var_ref t55) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@516) (assign (xy) (var_ref lessThan_retval@516) (expression bvec2 < (expression vec2 abs (var_ref t46) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t66) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t53) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@516) )(swiz y (var_ref lessThan_retval@516) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t58) (var_ref t58) ) (var_ref t59) ) ) (expression float * (expression float * (var_ref t65) (var_ref t65) ) (var_ref t66) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t59) ) (var_ref t66) ) ) (assign (xy) (var_ref t69) (expression vec2 + (expression vec2 * (constant vec2 (0.272000 0.272000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.396000 -0.396000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t70) (constant float (0.000000)) ) (assign (xy) (var_ref t70) (var_ref t69) ) (assign (z) (var_ref t71) (constant float (0.000000)) ) (assign (xy) (var_ref t71) (var_ref t69) ) (assign (xyz) (var_ref t73) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t70) ) (var_ref t5) ) ) (assign (xy) (var_ref t72) (expression vec2 * (swiz xy (var_ref t73) )(expression vec2 rcp (swiz zz (var_ref t73) )) ) ) (assign (xyz) (var_ref t75) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t71) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t74) (expression vec2 * (swiz xy (var_ref t75) )(expression vec2 rcp (swiz zz (var_ref t75) )) ) ) (assign (x) (var_ref t76) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t72) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t77) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t74) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t78) (expression vec2 * (var_ref t72) (swiz xx (var_ref t76) )) ) (assign (z) (var_ref t78) (var_ref t76) ) (assign (xyz) (var_ref t79) (expression vec3 * (var_ref t78) (var_ref t6) ) ) (assign (xy) (var_ref t80) (expression vec2 * (var_ref t74) (swiz xx (var_ref t77) )) ) (assign (z) (var_ref t80) (var_ref t77) ) (assign (xyz) (var_ref t81) (expression vec3 * (var_ref t80) (var_ref t6) ) ) (assign (xyz) (var_ref t82) (expression vec3 + (var_ref t79) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t83) (expression vec3 + (var_ref t81) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t86) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t82) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t82) (var_ref t82) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@517) (assign (xy) (var_ref lessThan_retval@517) (expression bvec2 < (expression vec2 abs (var_ref t72) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t87) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t79) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@517) )(swiz y (var_ref lessThan_retval@517) )) ) ) ) (assign (x) (var_ref t93) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t83) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t83) (var_ref t83) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@518) (assign (xy) (var_ref lessThan_retval@518) (expression bvec2 < (expression vec2 abs (var_ref t74) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t94) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t81) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@518) )(swiz y (var_ref lessThan_retval@518) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t86) (var_ref t86) ) (var_ref t87) ) ) (expression float * (expression float * (var_ref t93) (var_ref t93) ) (var_ref t94) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t87) ) (var_ref t94) ) ) (assign (xy) (var_ref t97) (expression vec2 + (expression vec2 * (constant vec2 (-0.385000 -0.385000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (-0.488000 -0.488000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t98) (constant float (0.000000)) ) (assign (xy) (var_ref t98) (var_ref t97) ) (assign (z) (var_ref t99) (constant float (0.000000)) ) (assign (xy) (var_ref t99) (var_ref t97) ) (assign (xyz) (var_ref t101) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t98) ) (var_ref t5) ) ) (assign (xy) (var_ref t100) (expression vec2 * (swiz xy (var_ref t101) )(expression vec2 rcp (swiz zz (var_ref t101) )) ) ) (assign (xyz) (var_ref t103) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t99) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t102) (expression vec2 * (swiz xy (var_ref t103) )(expression vec2 rcp (swiz zz (var_ref t103) )) ) ) (assign (x) (var_ref t104) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t100) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t105) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t102) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t106) (expression vec2 * (var_ref t100) (swiz xx (var_ref t104) )) ) (assign (z) (var_ref t106) (var_ref t104) ) (assign (xyz) (var_ref t107) (expression vec3 * (var_ref t106) (var_ref t6) ) ) (assign (xy) (var_ref t108) (expression vec2 * (var_ref t102) (swiz xx (var_ref t105) )) ) (assign (z) (var_ref t108) (var_ref t105) ) (assign (xyz) (var_ref t109) (expression vec3 * (var_ref t108) (var_ref t6) ) ) (assign (xyz) (var_ref t110) (expression vec3 + (var_ref t107) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t111) (expression vec3 + (var_ref t109) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t114) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t110) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t110) (var_ref t110) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@519) (assign (xy) (var_ref lessThan_retval@519) (expression bvec2 < (expression vec2 abs (var_ref t100) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t115) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t107) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@519) )(swiz y (var_ref lessThan_retval@519) )) ) ) ) (assign (x) (var_ref t121) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t111) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t111) (var_ref t111) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@520) (assign (xy) (var_ref lessThan_retval@520) (expression bvec2 < (expression vec2 abs (var_ref t102) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t122) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t109) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@520) )(swiz y (var_ref lessThan_retval@520) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t114) (var_ref t114) ) (var_ref t115) ) ) (expression float * (expression float * (var_ref t121) (var_ref t121) ) (var_ref t122) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t115) ) (var_ref t122) ) ) (assign (xy) (var_ref t125) (expression vec2 + (expression vec2 * (constant vec2 (-0.711000 -0.711000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.274000 0.274000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t126) (constant float (0.000000)) ) (assign (xy) (var_ref t126) (var_ref t125) ) (assign (z) (var_ref t127) (constant float (0.000000)) ) (assign (xy) (var_ref t127) (var_ref t125) ) (assign (xyz) (var_ref t129) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t126) ) (var_ref t5) ) ) (assign (xy) (var_ref t128) (expression vec2 * (swiz xy (var_ref t129) )(expression vec2 rcp (swiz zz (var_ref t129) )) ) ) (assign (xyz) (var_ref t131) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t127) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t130) (expression vec2 * (swiz xy (var_ref t131) )(expression vec2 rcp (swiz zz (var_ref t131) )) ) ) (assign (x) (var_ref t132) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t128) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t133) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t130) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t134) (expression vec2 * (var_ref t128) (swiz xx (var_ref t132) )) ) (assign (z) (var_ref t134) (var_ref t132) ) (assign (xyz) (var_ref t135) (expression vec3 * (var_ref t134) (var_ref t6) ) ) (assign (xy) (var_ref t136) (expression vec2 * (var_ref t130) (swiz xx (var_ref t133) )) ) (assign (z) (var_ref t136) (var_ref t133) ) (assign (xyz) (var_ref t137) (expression vec3 * (var_ref t136) (var_ref t6) ) ) (assign (xyz) (var_ref t138) (expression vec3 + (var_ref t135) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t139) (expression vec3 + (var_ref t137) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t142) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t138) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t138) (var_ref t138) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@521) (assign (xy) (var_ref lessThan_retval@521) (expression bvec2 < (expression vec2 abs (var_ref t128) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t143) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t135) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@521) )(swiz y (var_ref lessThan_retval@521) )) ) ) ) (assign (x) (var_ref t149) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t139) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t139) (var_ref t139) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@522) (assign (xy) (var_ref lessThan_retval@522) (expression bvec2 < (expression vec2 abs (var_ref t130) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t150) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t137) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@522) )(swiz y (var_ref lessThan_retval@522) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t142) (var_ref t142) ) (var_ref t143) ) ) (expression float * (expression float * (var_ref t149) (var_ref t149) ) (var_ref t150) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t143) ) (var_ref t150) ) ) (assign (xy) (var_ref t153) (expression vec2 + (expression vec2 * (constant vec2 (0.060000 0.060000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.900000 0.900000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t154) (constant float (0.000000)) ) (assign (xy) (var_ref t154) (var_ref t153) ) (assign (z) (var_ref t155) (constant float (0.000000)) ) (assign (xy) (var_ref t155) (var_ref t153) ) (assign (xyz) (var_ref t157) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t154) ) (var_ref t5) ) ) (assign (xy) (var_ref t156) (expression vec2 * (swiz xy (var_ref t157) )(expression vec2 rcp (swiz zz (var_ref t157) )) ) ) (assign (xyz) (var_ref t159) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t155) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t158) (expression vec2 * (swiz xy (var_ref t159) )(expression vec2 rcp (swiz zz (var_ref t159) )) ) ) (assign (x) (var_ref t160) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t156) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t161) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t158) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t162) (expression vec2 * (var_ref t156) (swiz xx (var_ref t160) )) ) (assign (z) (var_ref t162) (var_ref t160) ) (assign (xyz) (var_ref t163) (expression vec3 * (var_ref t162) (var_ref t6) ) ) (assign (xy) (var_ref t164) (expression vec2 * (var_ref t158) (swiz xx (var_ref t161) )) ) (assign (z) (var_ref t164) (var_ref t161) ) (assign (xyz) (var_ref t165) (expression vec3 * (var_ref t164) (var_ref t6) ) ) (assign (xyz) (var_ref t166) (expression vec3 + (var_ref t163) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t167) (expression vec3 + (var_ref t165) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t170) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t166) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t166) (var_ref t166) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@523) (assign (xy) (var_ref lessThan_retval@523) (expression bvec2 < (expression vec2 abs (var_ref t156) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t171) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t163) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@523) )(swiz y (var_ref lessThan_retval@523) )) ) ) ) (assign (x) (var_ref t177) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t167) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t167) (var_ref t167) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@524) (assign (xy) (var_ref lessThan_retval@524) (expression bvec2 < (expression vec2 abs (var_ref t158) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t178) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t165) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@524) )(swiz y (var_ref lessThan_retval@524) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t170) (var_ref t170) ) (var_ref t171) ) ) (expression float * (expression float * (var_ref t177) (var_ref t177) ) (var_ref t178) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t171) ) (var_ref t178) ) ) (assign (x) (var_ref t2) (expression float * (var_ref t2) (expression float rcp (var_ref t3) ) ) ) (assign (yz) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (var_ref t182) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 neg (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t183) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t184) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (1.000000 -1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t185) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t186) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (1.000000 0.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t187) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-1.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t188) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.000000 1.000000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t189) (expression vec2 + (swiz xy (var_ref Data) )(swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps1) (var_ref t182) 0 1 () )) (assign (x) (var_ref t191) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t192) (constant float (1.000000)) ) (assign (xyz) (var_ref t192) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t182) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (constant vec4 (0.000100 0.000000 0.000000 0.000000)) (expression vec4 * (var_ref t192) (swiz xxxx (var_ref t191) )) ) ) (assign (x) (var_ref t181) (expression float + (constant float (0.000100)) (var_ref t191) ) ) (declare (temporary ) vec4 texture_retval@525) (assign (xyzw) (var_ref texture_retval@525) (tex vec4 (var_ref ps1) (var_ref t183) 0 1 () )) (assign (x) (var_ref t194) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@525) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@525) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t195) (constant float (1.000000)) ) (assign (xyz) (var_ref t195) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t183) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t195) (swiz xxxx (var_ref t194) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t194) ) ) (declare (temporary ) vec4 texture_retval@526) (assign (xyzw) (var_ref texture_retval@526) (tex vec4 (var_ref ps1) (var_ref t184) 0 1 () )) (assign (x) (var_ref t197) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@526) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@526) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t198) (constant float (1.000000)) ) (assign (xyz) (var_ref t198) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t184) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t198) (swiz xxxx (var_ref t197) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t197) ) ) (declare (temporary ) vec4 texture_retval@527) (assign (xyzw) (var_ref texture_retval@527) (tex vec4 (var_ref ps1) (var_ref t185) 0 1 () )) (assign (x) (var_ref t200) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@527) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@527) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t201) (constant float (1.000000)) ) (assign (xyz) (var_ref t201) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t185) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t201) (swiz xxxx (var_ref t200) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t200) ) ) (declare (temporary ) vec4 texture_retval@528) (assign (xyzw) (var_ref texture_retval@528) (tex vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () )) (assign (x) (var_ref t203) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@528) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@528) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t204) (constant float (1.000000)) ) (assign (xyz) (var_ref t204) (swiz xyz (tex vec4 (var_ref ps2) (swiz xy (var_ref Data) ) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t204) (swiz xxxx (var_ref t203) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t203) ) ) (declare (temporary ) vec4 texture_retval@529) (assign (xyzw) (var_ref texture_retval@529) (tex vec4 (var_ref ps1) (var_ref t186) 0 1 () )) (assign (x) (var_ref t206) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@529) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@529) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t207) (constant float (1.000000)) ) (assign (xyz) (var_ref t207) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t186) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t207) (swiz xxxx (var_ref t206) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t206) ) ) (declare (temporary ) vec4 texture_retval@530) (assign (xyzw) (var_ref texture_retval@530) (tex vec4 (var_ref ps1) (var_ref t187) 0 1 () )) (assign (x) (var_ref t209) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@530) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@530) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t210) (constant float (1.000000)) ) (assign (xyz) (var_ref t210) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t187) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t210) (swiz xxxx (var_ref t209) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t209) ) ) (declare (temporary ) vec4 texture_retval@531) (assign (xyzw) (var_ref texture_retval@531) (tex vec4 (var_ref ps1) (var_ref t188) 0 1 () )) (assign (x) (var_ref t212) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@531) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@531) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t213) (constant float (1.000000)) ) (assign (xyz) (var_ref t213) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t188) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t213) (swiz xxxx (var_ref t212) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t212) ) ) (declare (temporary ) vec4 texture_retval@532) (assign (xyzw) (var_ref texture_retval@532) (tex vec4 (var_ref ps1) (var_ref t189) 0 1 () )) (assign (x) (var_ref t215) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@532) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@532) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t216) (constant float (1.000000)) ) (assign (xyz) (var_ref t216) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t189) 0 1 () ))) (assign (xyzw) (var_ref t180) (expression vec4 + (var_ref t180) (expression vec4 * (var_ref t216) (swiz xxxx (var_ref t215) )) ) ) (assign (x) (var_ref t181) (expression float + (var_ref t181) (var_ref t215) ) ) (assign (x) (var_ref t0) (expression float lrp (var_ref t2) (swiz x (expression vec4 * (var_ref t180) (expression vec4 rcp (swiz xxxx (var_ref t181) )) ) )(swiz w (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@533) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 33: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[8]; uniform highp sampler2D ps3; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps4; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; highp float t2; highp float t3; highp float t4; t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); highp vec3 t5; t5.z = 1.000000e+000; t5.x = pu_h[3].w; t5.y = (pu_h[1].w*pu_h[3].w); highp vec3 t6; t6.xyz = (1.0/(t5)); highp float t7; t7 = (1.0/(((textureLod(ps4,in_TEXCOORD0.Data.xy,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); highp vec3 t8; t8.xyz = ((textureLod(ps0,in_TEXCOORD0.Data.xy,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)); highp vec3 t9; t9.xyz = normalize(((View_TranslatedWorldToView[2].xyz*t8.zzz)+((View_TranslatedWorldToView[1].xyz*t8.yyy)+(View_TranslatedWorldToView[0].xyz*t8.xxx)))); highp vec3 t10; t10.xy = (in_TEXCOORD0.Data.zw*vec2(t7)); t10.z = t7; highp vec3 t11; t11.xyz = ((t10*t6)+((t9*vec3((pu_h[0].y*t7)))*pu_h[2].xxx)); t4 = (1.000000e+000+(-(t11.z*pu_h[0].z))); t3 = 1.000000e-004; t2 = 1.000000e-004; t1.xyzw = (((texture(ps3,(((vec2(mod(View_TemporalAAParams.x,8.000000e+000))*vec2(2.000000e+000,7.000000e+000))/vec2(6.400000e+001,6.400000e+001))+(in_TEXCOORD0.Data.xy*pu_h[1].xy)))*vec4(2.000000e+000,2.000000e+000,2.000000e+000,2.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000))*((pu_h[1].zz*vec2(mix(t7,1.000000e+000,pu_h[2].z)))*t6.xy).xyxy); highp vec3 t12; highp vec2 t13; t13.xy = (vec2(-3.000000e-001,-3.000000e-001)*t1.zw); highp vec3 t14; t14.z = 0.000000e+000; t14.xy = t13; highp vec3 t15; t15.z = 0.000000e+000; t15.xy = t13; highp vec2 t16; highp vec3 t17; t17.xyz = ((t11+t14)*t5); t16.xy = (t17.xy/t17.zz); highp vec2 t18; highp vec3 t19; t19.xyz = ((t11+(-t15))*t5); t18.xy = (t19.xy/t19.zz); highp float t20; t20 = (texture(ps1,((((t16*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t21; t21 = (texture(ps1,((((t18*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t22; t22.xy = (t16*vec2(t20)); t22.z = t20; highp vec3 t23; t23.xyz = (t22*t6); highp vec3 t24; t24.xy = (t18*vec2(t21)); t24.z = t21; highp vec3 t25; t25.xyz = (t24*t6); highp vec3 t26; t26.xyz = (t23+(-t11)); highp vec3 t27; t27.xyz = (t25+(-t11)); t12.xyz = t27; highp float t28; t28 = dot(t26,t9); highp float t29; t29 = length(t26); highp float t30; t30 = (1.000000e+000+(-clamp((t28/t29),0.000000e+000,1.000000e+000))); highp float t31; highp float t32; t32 = float(all(lessThan(abs(t16),vec2(1.000000e+000,1.000000e+000)))); t31 = (clamp((1.000000e+000+((t23.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t32); highp float t33; t33 = (1.000000e-004+((t30*t30)*t31)); t2 = t33; highp float t34; t34 = (1.000000e-004+t31); t3 = t34; highp float t35; t35 = dot(t27,t9); highp float t36; t36 = length(t12); highp float t37; t37 = (1.000000e+000+(-clamp((t35/t36),0.000000e+000,1.000000e+000))); highp float t38; highp float t39; t39 = float(all(lessThan(abs(t18),vec2(1.000000e+000,1.000000e+000)))); t38 = (clamp(((t25.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t39); t2 = (t33+((t37*t37)*t38)); t3 = (t34+t38); highp vec3 t40; highp vec2 t41; t41.xy = ((vec2(4.060000e-001,4.060000e-001)*t1.xy)+(vec2(5.698000e-001,5.698000e-001)*t1.zw)); highp vec3 t42; t42.z = 0.000000e+000; t42.xy = t41; highp vec3 t43; t43.z = 0.000000e+000; t43.xy = t41; highp vec2 t44; highp vec3 t45; t45.xyz = ((t11+t42)*t5); t44.xy = (t45.xy/t45.zz); highp vec2 t46; highp vec3 t47; t47.xyz = ((t11+(-t43))*t5); t46.xy = (t47.xy/t47.zz); highp float t48; t48 = (texture(ps1,((((t44*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t49; t49 = (texture(ps1,((((t46*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t50; t50.xy = (t44*vec2(t48)); t50.z = t48; highp vec3 t51; t51.xyz = (t50*t6); highp vec3 t52; t52.xy = (t46*vec2(t49)); t52.z = t49; highp vec3 t53; t53.xyz = (t52*t6); highp vec3 t54; t54.xyz = (t51+(-t11)); highp vec3 t55; t55.xyz = (t53+(-t11)); t40.xyz = t55; highp float t56; t56 = dot(t54,t9); highp float t57; t57 = length(t54); highp float t58; t58 = (1.000000e+000+(-clamp((t56/t57),0.000000e+000,1.000000e+000))); highp float t59; highp float t60; t60 = float(all(lessThan(abs(t44),vec2(1.000000e+000,1.000000e+000)))); t59 = (clamp((1.000000e+000+((t51.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t60); highp float t61; t61 = (t2+((t58*t58)*t59)); t2 = t61; highp float t62; t62 = (t3+t59); t3 = t62; highp float t63; t63 = dot(t55,t9); highp float t64; t64 = length(t40); highp float t65; t65 = (1.000000e+000+(-clamp((t63/t64),0.000000e+000,1.000000e+000))); highp float t66; highp float t67; t67 = float(all(lessThan(abs(t46),vec2(1.000000e+000,1.000000e+000)))); t66 = (clamp(((t53.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t67); t2 = (t61+((t65*t65)*t66)); t3 = (t62+t66); highp vec3 t68; highp vec2 t69; t69.xy = ((vec2(-5.800000e-001,-5.800000e-001)*t1.xy)+(vec2(8.140000e-001,8.140000e-001)*t1.zw)); highp vec3 t70; t70.z = 0.000000e+000; t70.xy = t69; highp vec3 t71; t71.z = 0.000000e+000; t71.xy = t69; highp vec2 t72; highp vec3 t73; t73.xyz = ((t11+t70)*t5); t72.xy = (t73.xy/t73.zz); highp vec2 t74; highp vec3 t75; t75.xyz = ((t11+(-t71))*t5); t74.xy = (t75.xy/t75.zz); highp float t76; t76 = (texture(ps1,((((t72*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp float t77; t77 = (texture(ps1,((((t74*pu_h[7].xy)+pu_h[7].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[5].zw)).w*1.310720e+005); highp vec3 t78; t78.xy = (t72*vec2(t76)); t78.z = t76; highp vec3 t79; t79.xyz = (t78*t6); highp vec3 t80; t80.xy = (t74*vec2(t77)); t80.z = t77; highp vec3 t81; t81.xyz = (t80*t6); highp vec3 t82; t82.xyz = (t79+(-t11)); highp vec3 t83; t83.xyz = (t81+(-t11)); t68.xyz = t83; highp float t84; t84 = dot(t82,t9); highp float t85; t85 = length(t82); highp float t86; t86 = (1.000000e+000+(-clamp((t84/t85),0.000000e+000,1.000000e+000))); highp float t87; highp float t88; t88 = float(all(lessThan(abs(t72),vec2(1.000000e+000,1.000000e+000)))); t87 = (clamp((1.000000e+000+((t79.z+(-t11.z))*pu_h[0].z)),0.000000e+000,1.000000e+000)*t88); highp float t89; t89 = (t2+((t86*t86)*t87)); t2 = t89; highp float t90; t90 = (t3+t87); t3 = t90; highp float t91; t91 = dot(t83,t9); highp float t92; t92 = length(t68); highp float t93; t93 = (1.000000e+000+(-clamp((t91/t92),0.000000e+000,1.000000e+000))); highp float t94; highp float t95; t95 = float(all(lessThan(abs(t74),vec2(1.000000e+000,1.000000e+000)))); t94 = (clamp(((t81.z*pu_h[0].z)+t4),0.000000e+000,1.000000e+000)*t95); t2 = (t89+((t93*t93)*t94)); t3 = (t90+t94); t2 = (t2/t3); t0.x = t2; t0.yz = vec2(0.000000e+000,0.000000e+000); highp vec4 t96; highp float t97; highp vec2 t98; highp vec2 t99; highp vec2 t100; highp vec2 t101; t98.xy = (in_TEXCOORD0.Data.xy+(vec2(-5.000000e-001,5.000000e-001)*pu_h[6].zw)); t99.xy = (in_TEXCOORD0.Data.xy+(vec2(5.000000e-001,5.000000e-001)*pu_h[6].zw)); t100.xy = (in_TEXCOORD0.Data.xy+(vec2(-5.000000e-001,-5.000000e-001)*pu_h[6].zw)); t101.xy = (in_TEXCOORD0.Data.xy+(vec2(5.000000e-001,-5.000000e-001)*pu_h[6].zw)); highp vec4 t102; t102.xyzw = texture(ps1,t98); highp float t103; t103 = (clamp((1.000000e+000+(-(abs(((t102.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t102.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t104; t104.w = 1.000000e+000; t104.xyz = texture(ps2,t98).xyz; t96.xyzw = (vec4(1.000000e-004,0.000000e+000,0.000000e+000,0.000000e+000)+(t104*vec4(t103))); t97 = (1.000000e-004+t103); highp vec4 t105; t105.xyzw = texture(ps1,t99); highp float t106; t106 = (clamp((1.000000e+000+(-(abs(((t105.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t105.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t107; t107.w = 1.000000e+000; t107.xyz = texture(ps2,t99).xyz; t96.xyzw = (t96+(t107*vec4(t106))); t97 = (t97+t106); highp vec4 t108; t108.xyzw = texture(ps1,t100); highp float t109; t109 = (clamp((1.000000e+000+(-(abs(((t108.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t108.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t110; t110.w = 1.000000e+000; t110.xyz = texture(ps2,t100).xyz; t96.xyzw = (t96+(t110*vec4(t109))); t97 = (t97+t109); highp vec4 t111; t111.xyzw = texture(ps1,t101); highp float t112; t112 = (clamp((1.000000e+000+(-(abs(((t111.w*1.310720e+005)+(-t7)))*3.000000e-003))),0.000000e+000,1.000000e+000)*clamp(dot(((t111.xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)),t8),0.000000e+000,1.000000e+000)); highp vec4 t113; t113.w = 1.000000e+000; t113.xyz = texture(ps2,t101).xyz; t96.xyzw = (t96+(t113*vec4(t112))); t97 = (t97+t112); highp float t114; t114 = mix(t2,(t96/vec4(t97)).x,pu_h[2].w); t0.x = t114; highp float t115; t115 = mix(t114,1.000000e+000,clamp(((t7*pu_h[4].x)+pu_h[4].y),0.000000e+000,1.000000e+000)); t0.x = t115; t0.x = (1.000000e+000+(-((1.000000e+000+(-pow(abs(t115),pu_h[0].x)))*pu_h[0].w))); out_Target0.xyzw = t0.xxxx; } GLSL IR for shader 33: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () float t114) (declare () vec4 t113) (declare () float t112) (declare () vec4 t111) (declare () vec4 t110) (declare () float t109) (declare () vec4 t108) (declare () vec4 t107) (declare () float t106) (declare () vec4 t105) (declare () vec4 t104) (declare () float t103) (declare () vec4 t102) (declare () vec2 t101) (declare () vec2 t100) (declare () vec2 t99) (declare () vec2 t98) (declare () float t97) (declare () vec4 t96) (declare () float t95) (declare () float t94) (declare () float t93) (declare () float t91) (declare () float t90) (declare () float t89) (declare () float t88) (declare () float t87) (declare () float t86) (declare () float t84) (declare () vec3 t83) (declare () vec3 t82) (declare () vec3 t81) (declare () vec3 t80) (declare () vec3 t79) (declare () vec3 t78) (declare () float t77) (declare () float t76) (declare () vec3 t75) (declare () vec2 t74) (declare () vec3 t73) (declare () vec2 t72) (declare () vec3 t71) (declare () vec3 t70) (declare () vec2 t69) (declare () vec3 t68) (declare () float t67) (declare () float t66) (declare () float t65) (declare () float t63) (declare () float t62) (declare () float t61) (declare () float t60) (declare () float t59) (declare () float t58) (declare () float t56) (declare () vec3 t55) (declare () vec3 t54) (declare () vec3 t53) (declare () vec3 t52) (declare () vec3 t51) (declare () vec3 t50) (declare () float t49) (declare () float t48) (declare () vec3 t47) (declare () vec2 t46) (declare () vec3 t45) (declare () vec2 t44) (declare () vec3 t43) (declare () vec3 t42) (declare () vec2 t41) (declare () vec3 t40) (declare () float t39) (declare () float t38) (declare () float t37) (declare () float t35) (declare () float t34) (declare () float t33) (declare () float t32) (declare () float t31) (declare () float t30) (declare () float t28) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec3 t24) (declare () vec3 t23) (declare () vec3 t22) (declare () float t21) (declare () float t20) (declare () vec3 t19) (declare () vec2 t18) (declare () vec3 t17) (declare () vec2 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec3 t12) (declare () vec3 t11) (declare () vec3 t10) (declare () vec3 t9) (declare () vec3 t8) (declare () float t7) (declare () vec3 t6) (declare () vec3 t5) (declare () float t4) (declare () float t3) (declare () float t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (assign (z) (var_ref t5) (constant float (1.000000)) ) (assign (x) (var_ref t5) (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) (assign (y) (var_ref t5) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 rcp (var_ref t5) ) ) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps4) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (x) (var_ref t7) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (declare (temporary ) vec4 textureLod_retval@534) (call textureLod (var_ref textureLod_retval@534) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@534) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (2)) ) )(swiz zzz (var_ref t8) )) (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (1)) ) )(swiz yyy (var_ref t8) )) (expression vec3 * (swiz xyz (array_ref (var_ref View_TranslatedWorldToViewpb0) (constant int (0)) ) )(swiz xxx (var_ref t8) )) ) ) )) (assign (xyz) (var_ref t9) (var_ref normalize_retval) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xx (var_ref t7) )) ) (assign (z) (var_ref t10) (var_ref t7) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (var_ref t10) (var_ref t6) ) (expression vec3 * (expression vec3 * (var_ref normalize_retval) (swiz xxx (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )(var_ref t7) ) )) (swiz xxx (array_ref (var_ref pu_h) (constant int (2)) ) )) ) ) (assign (x) (var_ref t4) (expression float + (constant float (1.000000)) (expression float neg (expression float * (swiz z (var_ref t11) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (x) (var_ref t3) (constant float (0.000100)) ) (assign (x) (var_ref t2) (constant float (0.000100)) ) (declare (temporary ) float mod_retval) (call mod (var_ref mod_retval) ((swiz x (var_ref View_TemporalAAParamspb0) )(constant float (8.000000)) )) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps3) (expression vec2 + (expression vec2 / (expression vec2 * (swiz xx (var_ref mod_retval) )(constant vec2 (2.000000 7.000000)) ) (constant vec2 (64.000000 64.000000)) ) (expression vec2 * (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) )) (declare (temporary ) float mix_retval) (call mix (var_ref mix_retval) ((var_ref t7) (constant float (1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) ))) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 * (var_ref texture_retval) (constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (swiz xyxy (expression vec2 * (expression vec2 * (swiz zz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xx (var_ref mix_retval) )) (swiz xy (var_ref t6) )) )) ) (assign (xy) (var_ref t13) (expression vec2 * (constant vec2 (-0.300000 -0.300000)) (swiz zw (var_ref t1) )) ) (assign (z) (var_ref t14) (constant float (0.000000)) ) (assign (xy) (var_ref t14) (var_ref t13) ) (assign (z) (var_ref t15) (constant float (0.000000)) ) (assign (xy) (var_ref t15) (var_ref t13) ) (assign (xyz) (var_ref t17) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t14) ) (var_ref t5) ) ) (assign (xy) (var_ref t16) (expression vec2 / (swiz xy (var_ref t17) )(swiz zz (var_ref t17) )) ) (assign (xyz) (var_ref t19) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t15) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t18) (expression vec2 / (swiz xy (var_ref t19) )(swiz zz (var_ref t19) )) ) (declare (temporary ) vec4 texture_retval@535) (call texture (var_ref texture_retval@535) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t16) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t20) (expression float * (swiz w (var_ref texture_retval@535) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@536) (call texture (var_ref texture_retval@536) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t18) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t21) (expression float * (swiz w (var_ref texture_retval@536) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t22) (expression vec2 * (var_ref t16) (swiz xx (var_ref t20) )) ) (assign (z) (var_ref t22) (var_ref t20) ) (assign (xyz) (var_ref t23) (expression vec3 * (var_ref t22) (var_ref t6) ) ) (assign (xy) (var_ref t24) (expression vec2 * (var_ref t18) (swiz xx (var_ref t21) )) ) (assign (z) (var_ref t24) (var_ref t21) ) (assign (xyz) (var_ref t25) (expression vec3 * (var_ref t24) (var_ref t6) ) ) (assign (xyz) (var_ref t26) (expression vec3 + (var_ref t23) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t27) (expression vec3 + (var_ref t25) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t12) (var_ref t27) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t26) (var_ref t9) )) (assign (x) (var_ref t28) (var_ref dot_retval) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((var_ref t26) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float / (var_ref t28) (var_ref length_retval) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t30) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval) ) ) ) (declare (temporary ) vec2 abs_retval) (call abs (var_ref abs_retval) ((var_ref t16) )) (declare (temporary ) bvec2 lessThan_retval) (call lessThan (var_ref lessThan_retval) ((var_ref abs_retval) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval) (call all (var_ref all_retval) ((var_ref lessThan_retval) )) (assign (x) (var_ref t32) (expression float b2f (var_ref all_retval) ) ) (declare (temporary ) float clamp_retval@537) (call clamp (var_ref clamp_retval@537) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t23) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t31) (expression float * (var_ref clamp_retval@537) (var_ref t32) ) ) (assign (x) (var_ref t33) (expression float + (constant float (0.000100)) (expression float * (expression float * (var_ref t30) (var_ref t30) ) (var_ref t31) ) ) ) (assign (x) (var_ref t2) (var_ref t33) ) (assign (x) (var_ref t34) (expression float + (constant float (0.000100)) (var_ref t31) ) ) (assign (x) (var_ref t3) (var_ref t34) ) (declare (temporary ) float dot_retval@538) (call dot (var_ref dot_retval@538) ((var_ref t27) (var_ref t9) )) (assign (x) (var_ref t35) (var_ref dot_retval@538) ) (declare (temporary ) float length_retval@539) (call length (var_ref length_retval@539) ((var_ref t12) )) (declare (temporary ) float clamp_retval@540) (call clamp (var_ref clamp_retval@540) ((expression float / (var_ref t35) (var_ref length_retval@539) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t37) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@540) ) ) ) (declare (temporary ) vec2 abs_retval@541) (call abs (var_ref abs_retval@541) ((var_ref t18) )) (declare (temporary ) bvec2 lessThan_retval@542) (call lessThan (var_ref lessThan_retval@542) ((var_ref abs_retval@541) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@543) (call all (var_ref all_retval@543) ((var_ref lessThan_retval@542) )) (assign (x) (var_ref t39) (expression float b2f (var_ref all_retval@543) ) ) (declare (temporary ) float clamp_retval@544) (call clamp (var_ref clamp_retval@544) ((expression float + (expression float * (swiz z (var_ref t25) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t38) (expression float * (var_ref clamp_retval@544) (var_ref t39) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t33) (expression float * (expression float * (var_ref t37) (var_ref t37) ) (var_ref t38) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t34) (var_ref t38) ) ) (assign (xy) (var_ref t41) (expression vec2 + (expression vec2 * (constant vec2 (0.406000 0.406000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.569800 0.569800)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t42) (constant float (0.000000)) ) (assign (xy) (var_ref t42) (var_ref t41) ) (assign (z) (var_ref t43) (constant float (0.000000)) ) (assign (xy) (var_ref t43) (var_ref t41) ) (assign (xyz) (var_ref t45) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t42) ) (var_ref t5) ) ) (assign (xy) (var_ref t44) (expression vec2 / (swiz xy (var_ref t45) )(swiz zz (var_ref t45) )) ) (assign (xyz) (var_ref t47) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t43) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t46) (expression vec2 / (swiz xy (var_ref t47) )(swiz zz (var_ref t47) )) ) (declare (temporary ) vec4 texture_retval@545) (call texture (var_ref texture_retval@545) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t44) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t48) (expression float * (swiz w (var_ref texture_retval@545) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@546) (call texture (var_ref texture_retval@546) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t46) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t49) (expression float * (swiz w (var_ref texture_retval@546) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t50) (expression vec2 * (var_ref t44) (swiz xx (var_ref t48) )) ) (assign (z) (var_ref t50) (var_ref t48) ) (assign (xyz) (var_ref t51) (expression vec3 * (var_ref t50) (var_ref t6) ) ) (assign (xy) (var_ref t52) (expression vec2 * (var_ref t46) (swiz xx (var_ref t49) )) ) (assign (z) (var_ref t52) (var_ref t49) ) (assign (xyz) (var_ref t53) (expression vec3 * (var_ref t52) (var_ref t6) ) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t51) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t55) (expression vec3 + (var_ref t53) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t40) (var_ref t55) ) (declare (temporary ) float dot_retval@547) (call dot (var_ref dot_retval@547) ((var_ref t54) (var_ref t9) )) (assign (x) (var_ref t56) (var_ref dot_retval@547) ) (declare (temporary ) float length_retval@548) (call length (var_ref length_retval@548) ((var_ref t54) )) (declare (temporary ) float clamp_retval@549) (call clamp (var_ref clamp_retval@549) ((expression float / (var_ref t56) (var_ref length_retval@548) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t58) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@549) ) ) ) (declare (temporary ) vec2 abs_retval@550) (call abs (var_ref abs_retval@550) ((var_ref t44) )) (declare (temporary ) bvec2 lessThan_retval@551) (call lessThan (var_ref lessThan_retval@551) ((var_ref abs_retval@550) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@552) (call all (var_ref all_retval@552) ((var_ref lessThan_retval@551) )) (assign (x) (var_ref t60) (expression float b2f (var_ref all_retval@552) ) ) (declare (temporary ) float clamp_retval@553) (call clamp (var_ref clamp_retval@553) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t51) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t59) (expression float * (var_ref clamp_retval@553) (var_ref t60) ) ) (assign (x) (var_ref t61) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t58) (var_ref t58) ) (var_ref t59) ) ) ) (assign (x) (var_ref t2) (var_ref t61) ) (assign (x) (var_ref t62) (expression float + (var_ref t3) (var_ref t59) ) ) (assign (x) (var_ref t3) (var_ref t62) ) (declare (temporary ) float dot_retval@554) (call dot (var_ref dot_retval@554) ((var_ref t55) (var_ref t9) )) (assign (x) (var_ref t63) (var_ref dot_retval@554) ) (declare (temporary ) float length_retval@555) (call length (var_ref length_retval@555) ((var_ref t40) )) (declare (temporary ) float clamp_retval@556) (call clamp (var_ref clamp_retval@556) ((expression float / (var_ref t63) (var_ref length_retval@555) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t65) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@556) ) ) ) (declare (temporary ) vec2 abs_retval@557) (call abs (var_ref abs_retval@557) ((var_ref t46) )) (declare (temporary ) bvec2 lessThan_retval@558) (call lessThan (var_ref lessThan_retval@558) ((var_ref abs_retval@557) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@559) (call all (var_ref all_retval@559) ((var_ref lessThan_retval@558) )) (assign (x) (var_ref t67) (expression float b2f (var_ref all_retval@559) ) ) (declare (temporary ) float clamp_retval@560) (call clamp (var_ref clamp_retval@560) ((expression float + (expression float * (swiz z (var_ref t53) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t66) (expression float * (var_ref clamp_retval@560) (var_ref t67) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t61) (expression float * (expression float * (var_ref t65) (var_ref t65) ) (var_ref t66) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t62) (var_ref t66) ) ) (assign (xy) (var_ref t69) (expression vec2 + (expression vec2 * (constant vec2 (-0.580000 -0.580000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.814000 0.814000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t70) (constant float (0.000000)) ) (assign (xy) (var_ref t70) (var_ref t69) ) (assign (z) (var_ref t71) (constant float (0.000000)) ) (assign (xy) (var_ref t71) (var_ref t69) ) (assign (xyz) (var_ref t73) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t70) ) (var_ref t5) ) ) (assign (xy) (var_ref t72) (expression vec2 / (swiz xy (var_ref t73) )(swiz zz (var_ref t73) )) ) (assign (xyz) (var_ref t75) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t71) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t74) (expression vec2 / (swiz xy (var_ref t75) )(swiz zz (var_ref t75) )) ) (declare (temporary ) vec4 texture_retval@561) (call texture (var_ref texture_retval@561) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t72) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t76) (expression float * (swiz w (var_ref texture_retval@561) )(constant float (131072.000000)) ) ) (declare (temporary ) vec4 texture_retval@562) (call texture (var_ref texture_retval@562) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t74) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) )) (assign (x) (var_ref t77) (expression float * (swiz w (var_ref texture_retval@562) )(constant float (131072.000000)) ) ) (assign (xy) (var_ref t78) (expression vec2 * (var_ref t72) (swiz xx (var_ref t76) )) ) (assign (z) (var_ref t78) (var_ref t76) ) (assign (xyz) (var_ref t79) (expression vec3 * (var_ref t78) (var_ref t6) ) ) (assign (xy) (var_ref t80) (expression vec2 * (var_ref t74) (swiz xx (var_ref t77) )) ) (assign (z) (var_ref t80) (var_ref t77) ) (assign (xyz) (var_ref t81) (expression vec3 * (var_ref t80) (var_ref t6) ) ) (assign (xyz) (var_ref t82) (expression vec3 + (var_ref t79) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t83) (expression vec3 + (var_ref t81) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t68) (var_ref t83) ) (declare (temporary ) float dot_retval@563) (call dot (var_ref dot_retval@563) ((var_ref t82) (var_ref t9) )) (assign (x) (var_ref t84) (var_ref dot_retval@563) ) (declare (temporary ) float length_retval@564) (call length (var_ref length_retval@564) ((var_ref t82) )) (declare (temporary ) float clamp_retval@565) (call clamp (var_ref clamp_retval@565) ((expression float / (var_ref t84) (var_ref length_retval@564) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t86) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@565) ) ) ) (declare (temporary ) vec2 abs_retval@566) (call abs (var_ref abs_retval@566) ((var_ref t72) )) (declare (temporary ) bvec2 lessThan_retval@567) (call lessThan (var_ref lessThan_retval@567) ((var_ref abs_retval@566) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@568) (call all (var_ref all_retval@568) ((var_ref lessThan_retval@567) )) (assign (x) (var_ref t88) (expression float b2f (var_ref all_retval@568) ) ) (declare (temporary ) float clamp_retval@569) (call clamp (var_ref clamp_retval@569) ((expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t79) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t87) (expression float * (var_ref clamp_retval@569) (var_ref t88) ) ) (assign (x) (var_ref t89) (expression float + (var_ref t2) (expression float * (expression float * (var_ref t86) (var_ref t86) ) (var_ref t87) ) ) ) (assign (x) (var_ref t2) (var_ref t89) ) (assign (x) (var_ref t90) (expression float + (var_ref t3) (var_ref t87) ) ) (assign (x) (var_ref t3) (var_ref t90) ) (declare (temporary ) float dot_retval@570) (call dot (var_ref dot_retval@570) ((var_ref t83) (var_ref t9) )) (assign (x) (var_ref t91) (var_ref dot_retval@570) ) (declare (temporary ) float length_retval@571) (call length (var_ref length_retval@571) ((var_ref t68) )) (declare (temporary ) float clamp_retval@572) (call clamp (var_ref clamp_retval@572) ((expression float / (var_ref t91) (var_ref length_retval@571) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t93) (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@572) ) ) ) (declare (temporary ) vec2 abs_retval@573) (call abs (var_ref abs_retval@573) ((var_ref t74) )) (declare (temporary ) bvec2 lessThan_retval@574) (call lessThan (var_ref lessThan_retval@574) ((var_ref abs_retval@573) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@575) (call all (var_ref all_retval@575) ((var_ref lessThan_retval@574) )) (assign (x) (var_ref t95) (expression float b2f (var_ref all_retval@575) ) ) (declare (temporary ) float clamp_retval@576) (call clamp (var_ref clamp_retval@576) ((expression float + (expression float * (swiz z (var_ref t81) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t94) (expression float * (var_ref clamp_retval@576) (var_ref t95) ) ) (assign (x) (var_ref t2) (expression float + (var_ref t89) (expression float * (expression float * (var_ref t93) (var_ref t93) ) (var_ref t94) ) ) ) (assign (x) (var_ref t3) (expression float + (var_ref t90) (var_ref t94) ) ) (assign (x) (var_ref t2) (expression float / (var_ref t2) (var_ref t3) ) ) (assign (x) (var_ref t0) (var_ref t2) ) (assign (yz) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (var_ref t98) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t99) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t100) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (-0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t101) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (constant vec2 (0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (declare (temporary ) vec4 texture_retval@577) (call texture (var_ref texture_retval@577) ((var_ref ps1) (var_ref t98) )) (assign (xyzw) (var_ref t102) (var_ref texture_retval@577) ) (declare (temporary ) float abs_retval@578) (call abs (var_ref abs_retval@578) ((expression float + (expression float * (swiz w (var_ref texture_retval@577) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@579) (call clamp (var_ref clamp_retval@579) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@578) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@580) (call dot (var_ref dot_retval@580) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t102) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@581) (call clamp (var_ref clamp_retval@581) ((var_ref dot_retval@580) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t103) (expression float * (var_ref clamp_retval@579) (var_ref clamp_retval@581) ) ) (assign (w) (var_ref t104) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@582) (call texture (var_ref texture_retval@582) ((var_ref ps2) (var_ref t98) )) (assign (xyz) (var_ref t104) (swiz xyz (var_ref texture_retval@582) )) (assign (xyzw) (var_ref t96) (expression vec4 + (constant vec4 (0.000100 0.000000 0.000000 0.000000)) (expression vec4 * (var_ref t104) (swiz xxxx (var_ref t103) )) ) ) (assign (x) (var_ref t97) (expression float + (constant float (0.000100)) (var_ref t103) ) ) (declare (temporary ) vec4 texture_retval@583) (call texture (var_ref texture_retval@583) ((var_ref ps1) (var_ref t99) )) (assign (xyzw) (var_ref t105) (var_ref texture_retval@583) ) (declare (temporary ) float abs_retval@584) (call abs (var_ref abs_retval@584) ((expression float + (expression float * (swiz w (var_ref texture_retval@583) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@585) (call clamp (var_ref clamp_retval@585) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@584) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@586) (call dot (var_ref dot_retval@586) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t105) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@587) (call clamp (var_ref clamp_retval@587) ((var_ref dot_retval@586) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t106) (expression float * (var_ref clamp_retval@585) (var_ref clamp_retval@587) ) ) (assign (w) (var_ref t107) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@588) (call texture (var_ref texture_retval@588) ((var_ref ps2) (var_ref t99) )) (assign (xyz) (var_ref t107) (swiz xyz (var_ref texture_retval@588) )) (assign (xyzw) (var_ref t96) (expression vec4 + (var_ref t96) (expression vec4 * (var_ref t107) (swiz xxxx (var_ref t106) )) ) ) (assign (x) (var_ref t97) (expression float + (var_ref t97) (var_ref t106) ) ) (declare (temporary ) vec4 texture_retval@589) (call texture (var_ref texture_retval@589) ((var_ref ps1) (var_ref t100) )) (assign (xyzw) (var_ref t108) (var_ref texture_retval@589) ) (declare (temporary ) float abs_retval@590) (call abs (var_ref abs_retval@590) ((expression float + (expression float * (swiz w (var_ref texture_retval@589) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@591) (call clamp (var_ref clamp_retval@591) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@590) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@592) (call dot (var_ref dot_retval@592) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t108) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@593) (call clamp (var_ref clamp_retval@593) ((var_ref dot_retval@592) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t109) (expression float * (var_ref clamp_retval@591) (var_ref clamp_retval@593) ) ) (assign (w) (var_ref t110) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@594) (call texture (var_ref texture_retval@594) ((var_ref ps2) (var_ref t100) )) (assign (xyz) (var_ref t110) (swiz xyz (var_ref texture_retval@594) )) (assign (xyzw) (var_ref t96) (expression vec4 + (var_ref t96) (expression vec4 * (var_ref t110) (swiz xxxx (var_ref t109) )) ) ) (assign (x) (var_ref t97) (expression float + (var_ref t97) (var_ref t109) ) ) (declare (temporary ) vec4 texture_retval@595) (call texture (var_ref texture_retval@595) ((var_ref ps1) (var_ref t101) )) (assign (xyzw) (var_ref t111) (var_ref texture_retval@595) ) (declare (temporary ) float abs_retval@596) (call abs (var_ref abs_retval@596) ((expression float + (expression float * (swiz w (var_ref texture_retval@595) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) )) (declare (temporary ) float clamp_retval@597) (call clamp (var_ref clamp_retval@597) ((expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref abs_retval@596) (constant float (0.003000)) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float dot_retval@598) (call dot (var_ref dot_retval@598) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref t111) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) )) (declare (temporary ) float clamp_retval@599) (call clamp (var_ref clamp_retval@599) ((var_ref dot_retval@598) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t112) (expression float * (var_ref clamp_retval@597) (var_ref clamp_retval@599) ) ) (assign (w) (var_ref t113) (constant float (1.000000)) ) (declare (temporary ) vec4 texture_retval@600) (call texture (var_ref texture_retval@600) ((var_ref ps2) (var_ref t101) )) (assign (xyz) (var_ref t113) (swiz xyz (var_ref texture_retval@600) )) (assign (xyzw) (var_ref t96) (expression vec4 + (var_ref t96) (expression vec4 * (var_ref t113) (swiz xxxx (var_ref t112) )) ) ) (assign (x) (var_ref t97) (expression float + (var_ref t97) (var_ref t112) ) ) (declare (temporary ) float mix_retval@601) (call mix (var_ref mix_retval@601) ((var_ref t2) (swiz x (expression vec4 / (var_ref t96) (swiz xxxx (var_ref t97) )) )(swiz w (array_ref (var_ref pu_h) (constant int (2)) ) ))) (assign (x) (var_ref t114) (var_ref mix_retval@601) ) (assign (x) (var_ref t0) (var_ref mix_retval@601) ) (declare (temporary ) float clamp_retval@602) (call clamp (var_ref clamp_retval@602) ((expression float + (expression float * (var_ref t7) (swiz x (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz y (array_ref (var_ref pu_h) (constant int (4)) ) )) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float mix_retval@603) (call mix (var_ref mix_retval@603) ((var_ref t114) (constant float (1.000000)) (var_ref clamp_retval@602) )) (assign (x) (var_ref t0) (var_ref mix_retval@603) ) (declare (temporary ) float abs_retval@604) (call abs (var_ref abs_retval@604) ((var_ref mix_retval@603) )) (declare (temporary ) float pow_retval) (call pow (var_ref pow_retval) ((var_ref abs_retval@604) (swiz x (array_ref (var_ref pu_h) (constant int (0)) ) ))) (assign (x) (var_ref t0) (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float + (constant float (1.000000)) (expression float neg (var_ref pow_retval) ) ) (swiz w (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (xyzw) (var_ref out_Target0) (swiz xxxx (var_ref t0) )) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function mod (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function mix (signature float (parameters (declare (in ) float x) (declare (in ) float y) (declare (in ) float a) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function length (signature float (parameters (declare (in ) vec3 x) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) (function abs (signature vec2 (parameters (declare (in ) vec2 x) ) ( )) (signature float (parameters (declare (in ) float x) ) ( )) ) (function lessThan (signature bvec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function all (signature bool (parameters (declare (in ) bvec2 v) ) ( )) ) (function pow (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) ) GLSL IR for linked vertex program 34: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@605) (assign (xyzw) (var_ref cse@605) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@605) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@606) (assign (xyzw) (var_ref cse@606) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@606) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@606) )) ) (swiz zw (var_ref cse@605) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@607) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@608) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 34: ( (declare (shader_in ) vec4 Data) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t113) (declare () float t112) (declare () vec4 t110) (declare () float t109) (declare () vec4 t107) (declare () float t106) (declare () vec4 t104) (declare () float t103) (declare () vec2 t101) (declare () vec2 t100) (declare () vec2 t99) (declare () vec2 t98) (declare () float t97) (declare () vec4 t96) (declare () float t94) (declare () float t93) (declare () float t87) (declare () float t86) (declare () vec3 t83) (declare () vec3 t82) (declare () vec3 t81) (declare () vec3 t80) (declare () vec3 t79) (declare () vec3 t78) (declare () float t77) (declare () float t76) (declare () vec3 t75) (declare () vec2 t74) (declare () vec3 t73) (declare () vec2 t72) (declare () vec3 t71) (declare () vec3 t70) (declare () vec2 t69) (declare () float t66) (declare () float t65) (declare () float t59) (declare () float t58) (declare () vec3 t55) (declare () vec3 t54) (declare () vec3 t53) (declare () vec3 t52) (declare () vec3 t51) (declare () vec3 t50) (declare () float t49) (declare () float t48) (declare () vec3 t47) (declare () vec2 t46) (declare () vec3 t45) (declare () vec2 t44) (declare () vec3 t43) (declare () vec3 t42) (declare () vec2 t41) (declare () float t38) (declare () float t37) (declare () float t31) (declare () float t30) (declare () vec3 t27) (declare () vec3 t26) (declare () vec3 t25) (declare () vec3 t24) (declare () vec3 t23) (declare () vec3 t22) (declare () float t21) (declare () float t20) (declare () vec3 t19) (declare () vec2 t18) (declare () vec3 t17) (declare () vec2 t16) (declare () vec3 t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec3 t11) (declare () vec3 t10) (declare () vec3 t8) (declare () float t7) (declare () vec3 t6) (declare () vec3 t5) (declare () float t4) (declare () float t3) (declare () float t2) (declare () vec4 t1) (declare () vec4 t0) (assign (w) (var_ref t0) (constant float (0.000000)) ) (assign (z) (var_ref t5) (constant float (1.000000)) ) (assign (x) (var_ref t5) (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) (assign (y) (var_ref t5) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 rcp (var_ref t5) ) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (560)) ) ) (assign (x) (var_ref t7) (expression float rcp (expression float + (expression float * (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (xyz) (var_ref t8) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (160)) ) )(swiz zzz (var_ref t8) )) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (144)) ) )(swiz yyy (var_ref t8) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (128)) ) )(swiz xxx (var_ref t8) )) ) ) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (var_ref Data) )(swiz xx (var_ref t7) )) ) (assign (z) (var_ref t10) (var_ref t7) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (var_ref t10) (var_ref t6) ) (expression vec3 * (expression vec3 * (var_ref normalize_retval) (swiz xxx (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )(var_ref t7) ) )) (swiz xxx (array_ref (var_ref pu_h) (constant int (2)) ) )) ) ) (assign (x) (var_ref t4) (expression float + (constant float (1.000000)) (expression float neg (expression float * (swiz z (var_ref t11) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 * (tex vec4 (var_ref ps3) (expression vec2 + (expression vec2 * (constant vec2 (0.031250 0.109375)) (swiz xx (expression float * (constant float (8.000000)) (expression float fract (expression float * (swiz x (expression vec4 ubo_load (constant uint (0)) (constant uint (944)) ) )(constant float (0.125000)) ) ) ) )) (expression vec2 * (swiz xy (var_ref Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) 0 1 () )(constant vec4 (2.000000 2.000000 2.000000 2.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (swiz xyxy (expression vec2 * (expression vec2 * (swiz zz (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz xx (expression float lrp (var_ref t7) (constant float (1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (swiz xy (var_ref t6) )) )) ) (assign (xy) (var_ref t13) (expression vec2 * (constant vec2 (-0.300000 -0.300000)) (swiz zw (var_ref t1) )) ) (assign (z) (var_ref t14) (constant float (0.000000)) ) (assign (xy) (var_ref t14) (var_ref t13) ) (assign (z) (var_ref t15) (constant float (0.000000)) ) (assign (xy) (var_ref t15) (var_ref t13) ) (assign (xyz) (var_ref t17) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t14) ) (var_ref t5) ) ) (assign (xy) (var_ref t16) (expression vec2 * (swiz xy (var_ref t17) )(expression vec2 rcp (swiz zz (var_ref t17) )) ) ) (assign (xyz) (var_ref t19) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t15) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t18) (expression vec2 * (swiz xy (var_ref t19) )(expression vec2 rcp (swiz zz (var_ref t19) )) ) ) (assign (x) (var_ref t20) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t16) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t21) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t18) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t22) (expression vec2 * (var_ref t16) (swiz xx (var_ref t20) )) ) (assign (z) (var_ref t22) (var_ref t20) ) (assign (xyz) (var_ref t23) (expression vec3 * (var_ref t22) (var_ref t6) ) ) (assign (xy) (var_ref t24) (expression vec2 * (var_ref t18) (swiz xx (var_ref t21) )) ) (assign (z) (var_ref t24) (var_ref t21) ) (assign (xyz) (var_ref t25) (expression vec3 * (var_ref t24) (var_ref t6) ) ) (assign (xyz) (var_ref t26) (expression vec3 + (var_ref t23) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t27) (expression vec3 + (var_ref t25) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t30) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t26) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t26) (var_ref t26) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval) (assign (xy) (var_ref lessThan_retval) (expression bvec2 < (expression vec2 abs (var_ref t16) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t31) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t23) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval) )(swiz y (var_ref lessThan_retval) )) ) ) ) (assign (x) (var_ref t37) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t27) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t27) (var_ref t27) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@609) (assign (xy) (var_ref lessThan_retval@609) (expression bvec2 < (expression vec2 abs (var_ref t18) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t38) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t25) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@609) )(swiz y (var_ref lessThan_retval@609) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (constant float (0.000100)) (expression float * (expression float * (var_ref t30) (var_ref t30) ) (var_ref t31) ) ) (expression float * (expression float * (var_ref t37) (var_ref t37) ) (var_ref t38) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (constant float (0.000100)) (var_ref t31) ) (var_ref t38) ) ) (assign (xy) (var_ref t41) (expression vec2 + (expression vec2 * (constant vec2 (0.406000 0.406000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.569800 0.569800)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t42) (constant float (0.000000)) ) (assign (xy) (var_ref t42) (var_ref t41) ) (assign (z) (var_ref t43) (constant float (0.000000)) ) (assign (xy) (var_ref t43) (var_ref t41) ) (assign (xyz) (var_ref t45) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t42) ) (var_ref t5) ) ) (assign (xy) (var_ref t44) (expression vec2 * (swiz xy (var_ref t45) )(expression vec2 rcp (swiz zz (var_ref t45) )) ) ) (assign (xyz) (var_ref t47) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t43) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t46) (expression vec2 * (swiz xy (var_ref t47) )(expression vec2 rcp (swiz zz (var_ref t47) )) ) ) (assign (x) (var_ref t48) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t44) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t49) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t46) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t50) (expression vec2 * (var_ref t44) (swiz xx (var_ref t48) )) ) (assign (z) (var_ref t50) (var_ref t48) ) (assign (xyz) (var_ref t51) (expression vec3 * (var_ref t50) (var_ref t6) ) ) (assign (xy) (var_ref t52) (expression vec2 * (var_ref t46) (swiz xx (var_ref t49) )) ) (assign (z) (var_ref t52) (var_ref t49) ) (assign (xyz) (var_ref t53) (expression vec3 * (var_ref t52) (var_ref t6) ) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t51) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t55) (expression vec3 + (var_ref t53) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t58) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t54) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t54) (var_ref t54) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@610) (assign (xy) (var_ref lessThan_retval@610) (expression bvec2 < (expression vec2 abs (var_ref t44) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t59) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t51) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@610) )(swiz y (var_ref lessThan_retval@610) )) ) ) ) (assign (x) (var_ref t65) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t55) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t55) (var_ref t55) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@611) (assign (xy) (var_ref lessThan_retval@611) (expression bvec2 < (expression vec2 abs (var_ref t46) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t66) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t53) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@611) )(swiz y (var_ref lessThan_retval@611) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t58) (var_ref t58) ) (var_ref t59) ) ) (expression float * (expression float * (var_ref t65) (var_ref t65) ) (var_ref t66) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t59) ) (var_ref t66) ) ) (assign (xy) (var_ref t69) (expression vec2 + (expression vec2 * (constant vec2 (-0.580000 -0.580000)) (swiz xy (var_ref t1) )) (expression vec2 * (constant vec2 (0.814000 0.814000)) (swiz zw (var_ref t1) )) ) ) (assign (z) (var_ref t70) (constant float (0.000000)) ) (assign (xy) (var_ref t70) (var_ref t69) ) (assign (z) (var_ref t71) (constant float (0.000000)) ) (assign (xy) (var_ref t71) (var_ref t69) ) (assign (xyz) (var_ref t73) (expression vec3 * (expression vec3 + (var_ref t11) (var_ref t70) ) (var_ref t5) ) ) (assign (xy) (var_ref t72) (expression vec2 * (swiz xy (var_ref t73) )(expression vec2 rcp (swiz zz (var_ref t73) )) ) ) (assign (xyz) (var_ref t75) (expression vec3 * (expression vec3 + (var_ref t11) (expression vec3 neg (var_ref t71) ) ) (var_ref t5) ) ) (assign (xy) (var_ref t74) (expression vec2 * (swiz xy (var_ref t75) )(expression vec2 rcp (swiz zz (var_ref t75) )) ) ) (assign (x) (var_ref t76) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t72) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (x) (var_ref t77) (expression float * (swiz w (tex vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t74) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) 0 1 () ))(constant float (131072.000000)) ) ) (assign (xy) (var_ref t78) (expression vec2 * (var_ref t72) (swiz xx (var_ref t76) )) ) (assign (z) (var_ref t78) (var_ref t76) ) (assign (xyz) (var_ref t79) (expression vec3 * (var_ref t78) (var_ref t6) ) ) (assign (xy) (var_ref t80) (expression vec2 * (var_ref t74) (swiz xx (var_ref t77) )) ) (assign (z) (var_ref t80) (var_ref t77) ) (assign (xyz) (var_ref t81) (expression vec3 * (var_ref t80) (var_ref t6) ) ) (assign (xyz) (var_ref t82) (expression vec3 + (var_ref t79) (expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref t83) (expression vec3 + (var_ref t81) (expression vec3 neg (var_ref t11) ) ) ) (assign (x) (var_ref t86) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t82) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t82) (var_ref t82) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@612) (assign (xy) (var_ref lessThan_retval@612) (expression bvec2 < (expression vec2 abs (var_ref t72) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t87) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float * (expression float + (swiz z (var_ref t79) )(expression float neg (swiz z (var_ref t11) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@612) )(swiz y (var_ref lessThan_retval@612) )) ) ) ) (assign (x) (var_ref t93) (expression float + (constant float (1.000000)) (expression float neg (expression float min (expression float max (expression float * (expression float dot (var_ref t83) (var_ref normalize_retval) ) (expression float rsq (expression float dot (var_ref t83) (var_ref t83) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) ) (declare (temporary ) bvec2 lessThan_retval@613) (assign (xy) (var_ref lessThan_retval@613) (expression bvec2 < (expression vec2 abs (var_ref t74) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (x) (var_ref t94) (expression float * (expression float min (expression float max (expression float + (expression float * (swiz z (var_ref t81) )(swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )) (var_ref t4) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool && (swiz x (var_ref lessThan_retval@613) )(swiz y (var_ref lessThan_retval@613) )) ) ) ) (assign (x) (var_ref t2) (expression float + (expression float + (var_ref t2) (expression float * (expression float * (var_ref t86) (var_ref t86) ) (var_ref t87) ) ) (expression float * (expression float * (var_ref t93) (var_ref t93) ) (var_ref t94) ) ) ) (assign (x) (var_ref t3) (expression float + (expression float + (var_ref t3) (var_ref t87) ) (var_ref t94) ) ) (assign (x) (var_ref t2) (expression float * (var_ref t2) (expression float rcp (var_ref t3) ) ) ) (assign (yz) (var_ref t0) (constant vec2 (0.000000 0.000000)) ) (assign (xy) (var_ref t98) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t99) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.500000 0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t100) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (-0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (assign (xy) (var_ref t101) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (constant vec2 (0.500000 -0.500000)) (swiz zw (array_ref (var_ref pu_h) (constant int (6)) ) )) ) ) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps1) (var_ref t98) 0 1 () )) (assign (x) (var_ref t103) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t104) (constant float (1.000000)) ) (assign (xyz) (var_ref t104) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t98) 0 1 () ))) (assign (xyzw) (var_ref t96) (expression vec4 + (constant vec4 (0.000100 0.000000 0.000000 0.000000)) (expression vec4 * (var_ref t104) (swiz xxxx (var_ref t103) )) ) ) (assign (x) (var_ref t97) (expression float + (constant float (0.000100)) (var_ref t103) ) ) (declare (temporary ) vec4 texture_retval@614) (assign (xyzw) (var_ref texture_retval@614) (tex vec4 (var_ref ps1) (var_ref t99) 0 1 () )) (assign (x) (var_ref t106) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@614) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@614) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t107) (constant float (1.000000)) ) (assign (xyz) (var_ref t107) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t99) 0 1 () ))) (assign (xyzw) (var_ref t96) (expression vec4 + (var_ref t96) (expression vec4 * (var_ref t107) (swiz xxxx (var_ref t106) )) ) ) (assign (x) (var_ref t97) (expression float + (var_ref t97) (var_ref t106) ) ) (declare (temporary ) vec4 texture_retval@615) (assign (xyzw) (var_ref texture_retval@615) (tex vec4 (var_ref ps1) (var_ref t100) 0 1 () )) (assign (x) (var_ref t109) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@615) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@615) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t110) (constant float (1.000000)) ) (assign (xyz) (var_ref t110) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t100) 0 1 () ))) (assign (xyzw) (var_ref t96) (expression vec4 + (var_ref t96) (expression vec4 * (var_ref t110) (swiz xxxx (var_ref t109) )) ) ) (assign (x) (var_ref t97) (expression float + (var_ref t97) (var_ref t109) ) ) (declare (temporary ) vec4 texture_retval@616) (assign (xyzw) (var_ref texture_retval@616) (tex vec4 (var_ref ps1) (var_ref t101) 0 1 () )) (assign (x) (var_ref t112) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float abs (expression float + (expression float * (swiz w (var_ref texture_retval@616) )(constant float (131072.000000)) ) (expression float neg (var_ref t7) ) ) ) (constant float (0.003000)) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float min (expression float max (expression float dot (expression vec3 + (expression vec3 * (swiz xyz (var_ref texture_retval@616) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) (var_ref t8) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (assign (w) (var_ref t113) (constant float (1.000000)) ) (assign (xyz) (var_ref t113) (swiz xyz (tex vec4 (var_ref ps2) (var_ref t101) 0 1 () ))) (assign (xyzw) (var_ref t96) (expression vec4 + (var_ref t96) (expression vec4 * (var_ref t113) (swiz xxxx (var_ref t112) )) ) ) (assign (x) (var_ref t97) (expression float + (var_ref t97) (var_ref t112) ) ) (assign (x) (var_ref t0) (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float pow (expression float abs (expression float lrp (expression float lrp (var_ref t2) (swiz x (expression vec4 * (var_ref t96) (expression vec4 rcp (swiz xxxx (var_ref t97) )) ) )(swiz w (array_ref (var_ref pu_h) (constant int (2)) ) )) (constant float (1.000000)) (expression float min (expression float max (expression float + (expression float * (var_ref t7) (swiz x (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz y (array_ref (var_ref pu_h) (constant int (4)) ) )) (constant float (0.000000)) ) (constant float (1.000000)) ) ) ) (swiz x (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (swiz w (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ) (assign (xyzw) (var_ref out_Target0) (swiz xxxx (var_ref t0) )) (assign (xyzw) (var_ref out_Target0@617) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 35: #version 150 uniform highp vec4 pu_h[5]; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp float t0; t0 = float((int(uint((textureLod(ps0,in_TEXCOORD0.Data.xy,0.000000e+000).w*2.559990e+002)))!=0)); out_Target0.xyzw = vec4(mix(1.000000e+000,textureLod(ps1,in_TEXCOORD0.Data.xy,0.000000e+000).x,(t0*pu_h[3].z))); } GLSL IR for shader 35: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 5) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () float t0) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (x) (var_ref t0) (expression float b2f (expression bool any_nequal (expression int u2i (expression uint f2u (expression float * (swiz w (var_ref textureLod_retval) )(constant float (255.998993)) ) ) ) (constant int (0)) ) ) ) (declare (temporary ) vec4 textureLod_retval@618) (call textureLod (var_ref textureLod_retval@618) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (declare (temporary ) float mix_retval) (call mix (var_ref mix_retval) ((constant float (1.000000)) (swiz x (var_ref textureLod_retval@618) )(expression float * (var_ref t0) (swiz z (array_ref (var_ref pu_h) (constant int (3)) ) )) )) (assign (xyzw) (var_ref out_Target0) (swiz xxxx (var_ref mix_retval) )) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function mix (signature float (parameters (declare (in ) float x) (declare (in ) float y) (declare (in ) float a) ) ( )) ) ) GLSL IR for linked vertex program 36: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@619) (assign (xyzw) (var_ref cse@619) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@619) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@620) (assign (xyzw) (var_ref cse@620) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@620) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@620) )) ) (swiz zw (var_ref cse@619) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@621) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@622) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 36: ( (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 4) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (swiz xxxx (expression float lrp (constant float (1.000000)) (swiz x (txl vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(expression float * (expression float b2f (expression bool any_nequal (expression int u2i (expression uint f2u (expression float * (swiz w (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(constant float (255.998993)) ) ) ) (constant int (0)) ) ) (swiz z (array_ref (var_ref pu_h) (constant int (3)) ) )) ) )) (assign (xyzw) (var_ref out_Target0@623) (var_ref out_Target0) ) )) ) ) Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?) GLSL source for vertex shader 37: #version 150 uniform highp vec4 vu_h[1]; in highp vec2 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec2 Data; } out_TEXCOORD0; out TEXCOORD1 { uint Data; } out_TEXCOORD1; void main() { highp vec4 t0; highp vec4 t1; t1.zw = vec2(0.000000e+000,1.000000e+000); t1.xy = in_ATTRIBUTE0; t0.xyzw = t1; out_TEXCOORD0.Data.xy = ((in_ATTRIBUTE1*vu_h[0].xy)+vu_h[0].zw); t0.y = (-in_ATTRIBUTE0.y); t0.z = -1.000000e+000; gl_Position.xyzw = t0; out_TEXCOORD1.Data = uint(gl_InstanceID); } GLSL IR for shader 37: ( (declare (shader_out ) TEXCOORD1 out_TEXCOORD1) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 1) vu_h) (declare (shader_in ) vec2 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (constant vec2 (0.000000 1.000000)) ) (assign (xy) (var_ref t1) (var_ref in_ATTRIBUTE0) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (expression vec2 + (expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (array_ref (var_ref vu_h) (constant int (0)) ) )) (swiz zw (array_ref (var_ref vu_h) (constant int (0)) ) )) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref in_ATTRIBUTE0) )) ) (assign (z) (var_ref t0) (constant float (-1.000000)) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (x) (record_ref (var_ref out_TEXCOORD1) Data) (expression uint i2u (var_ref gl_InstanceID) ) ) )) ) ) GLSL source for fragment shader 38: #version 150 uniform highp vec4 pu_h[8]; out highp vec4 out_Target0; out highp vec4 out_Target1; out highp vec4 out_Target2; out highp vec4 out_Target3; void main() { out_Target0.xyzw = pu_h[0]; out_Target1.xyzw = pu_h[1]; out_Target2.xyzw = pu_h[2]; out_Target3.xyzw = pu_h[3]; } GLSL IR for shader 38: ( (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 8) pu_h) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (array_ref (var_ref pu_h) (constant int (0)) ) ) (assign (xyzw) (var_ref out_Target1) (array_ref (var_ref pu_h) (constant int (1)) ) ) (assign (xyzw) (var_ref out_Target2) (array_ref (var_ref pu_h) (constant int (2)) ) ) (assign (xyzw) (var_ref out_Target3) (array_ref (var_ref pu_h) (constant int (3)) ) ) )) ) ) GLSL source for geometry shader 39: #version 150 layout(triangles) in; layout(triangle_strip, max_vertices = 3) out; uniform ivec4 gu_i[1]; in TEXCOORD0 { vec2 Data; } in_TEXCOORD0[3]; in TEXCOORD1 { uint Data; } in_TEXCOORD1[3]; out TEXCOORD0 { vec2 Data; } out_TEXCOORD0; out HLSLCC_LAYER_INDEX { flat uint Data; } out_HLSLCC_LAYER_INDEX; void main() { int t0; t0 = gu_i[0].x; highp vec2 t1; highp vec2 t2; highp vec4 t3; t3.xyzw = gl_in[0].gl_Position; t3.y = (-t3.y); t3.z = ((t3.z+t3.w)/2.000000e+000); t1.xy = in_TEXCOORD0[1].Data; highp vec4 t4; t4.xyzw = gl_in[1].gl_Position; t4.y = (-t4.y); t4.z = ((t4.z+t4.w)/2.000000e+000); t2.xy = in_TEXCOORD0[2].Data; highp vec4 t5; t5.xyzw = gl_in[2].gl_Position; t5.y = (-t5.y); t5.z = ((t5.z+t5.w)/2.000000e+000); uint t6; t6 = (in_TEXCOORD1[0].Data+uint(t0)); uint t7; t7 = (in_TEXCOORD1[1].Data+uint(t0)); uint t8; t8 = (in_TEXCOORD1[2].Data+uint(t0)); highp vec4 t9; t9.xyzw = t3; out_TEXCOORD0.Data.xy = in_TEXCOORD0[0].Data; t9.y = (-t3.y); t9.z = ((2.000000e+000*t3.z)+(-t3.w)); gl_Position.xyzw = t9; gl_Layer = int(t6); out_HLSLCC_LAYER_INDEX.Data = t6; EmitVertex(); highp vec4 t10; t10.xyzw = t4; out_TEXCOORD0.Data.xy = t1; t10.y = (-t4.y); t10.z = ((2.000000e+000*t4.z)+(-t4.w)); gl_Position.xyzw = t10; gl_Layer = int(t7); out_HLSLCC_LAYER_INDEX.Data = t7; EmitVertex(); highp vec4 t11; t11.xyzw = t5; out_TEXCOORD0.Data.xy = t2; t11.y = (-t5.y); t11.z = ((2.000000e+000*t5.z)+(-t5.w)); gl_Position.xyzw = t11; gl_Layer = int(t8); out_HLSLCC_LAYER_INDEX.Data = t8; EmitVertex(); } GLSL IR for shader 39: ( (declare (shader_out ) HLSLCC_LAYER_INDEX out_HLSLCC_LAYER_INDEX) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (shader_in ) (array TEXCOORD1 3) in_TEXCOORD1) (declare (shader_in ) (array TEXCOORD0 3) in_TEXCOORD0) (declare (shader_out flat) int gl_PrimitiveID) (declare (shader_in flat) int gl_PrimitiveIDIn) (declare (shader_out ) int gl_Layer) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (shader_in ) (array gl_PerVertex 3) gl_in) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array ivec4 1) gu_i) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () uint t8) (declare () uint t7) (declare () uint t6) (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec2 t2) (declare () vec2 t1) (declare () int t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref gu_i) (constant int (0)) ) )) (assign (xyzw) (var_ref t3) (record_ref (array_ref (var_ref gl_in) (constant int (0)) ) gl_Position) ) (assign (y) (var_ref t3) (expression float neg (swiz y (var_ref t3) )) ) (assign (z) (var_ref t3) (expression float / (expression float + (swiz z (var_ref t3) )(swiz w (var_ref t3) )) (constant float (2.000000)) ) ) (assign (xy) (var_ref t1) (record_ref (array_ref (var_ref in_TEXCOORD0) (constant int (1)) ) Data) ) (assign (xyzw) (var_ref t4) (record_ref (array_ref (var_ref gl_in) (constant int (1)) ) gl_Position) ) (assign (y) (var_ref t4) (expression float neg (swiz y (var_ref t4) )) ) (assign (z) (var_ref t4) (expression float / (expression float + (swiz z (var_ref t4) )(swiz w (var_ref t4) )) (constant float (2.000000)) ) ) (assign (xy) (var_ref t2) (record_ref (array_ref (var_ref in_TEXCOORD0) (constant int (2)) ) Data) ) (assign (xyzw) (var_ref t5) (record_ref (array_ref (var_ref gl_in) (constant int (2)) ) gl_Position) ) (assign (y) (var_ref t5) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t5) (expression float / (expression float + (swiz z (var_ref t5) )(swiz w (var_ref t5) )) (constant float (2.000000)) ) ) (assign (x) (var_ref t6) (expression uint + (record_ref (array_ref (var_ref in_TEXCOORD1) (constant int (0)) ) Data) (expression uint i2u (var_ref t0) ) ) ) (assign (x) (var_ref t7) (expression uint + (record_ref (array_ref (var_ref in_TEXCOORD1) (constant int (1)) ) Data) (expression uint i2u (var_ref t0) ) ) ) (assign (x) (var_ref t8) (expression uint + (record_ref (array_ref (var_ref in_TEXCOORD1) (constant int (2)) ) Data) (expression uint i2u (var_ref t0) ) ) ) (assign (xw) (var_ref t9) (swiz xw (var_ref t3) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (record_ref (array_ref (var_ref in_TEXCOORD0) (constant int (0)) ) Data) ) (assign (y) (var_ref t9) (expression float neg (swiz y (var_ref t3) )) ) (assign (z) (var_ref t9) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t3) )) (expression float neg (swiz w (var_ref t3) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t9) ) (assign (x) (var_ref gl_Layer) (expression int u2i (var_ref t6) ) ) (assign (x) (record_ref (var_ref out_HLSLCC_LAYER_INDEX) Data) (var_ref t6) ) (call EmitVertex ()) (assign (xw) (var_ref t10) (swiz xw (var_ref t4) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (var_ref t1) ) (assign (y) (var_ref t10) (expression float neg (swiz y (var_ref t4) )) ) (assign (z) (var_ref t10) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t4) )) (expression float neg (swiz w (var_ref t4) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t10) ) (assign (x) (var_ref gl_Layer) (expression int u2i (var_ref t7) ) ) (assign (x) (record_ref (var_ref out_HLSLCC_LAYER_INDEX) Data) (var_ref t7) ) (call EmitVertex ()) (assign (xw) (var_ref t11) (swiz xw (var_ref t5) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (var_ref t2) ) (assign (y) (var_ref t11) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t11) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t5) )) (expression float neg (swiz w (var_ref t5) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t11) ) (assign (x) (var_ref gl_Layer) (expression int u2i (var_ref t8) ) ) (assign (x) (record_ref (var_ref out_HLSLCC_LAYER_INDEX) Data) (var_ref t8) ) (call EmitVertex ()) )) ) (function EmitVertex (signature void (parameters ) ( )) ) ) GLSL IR for linked vertex program 40: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out flat) ivec4 packed:Data) (declare (temporary ) ivec4 packed:Data) (declare (sys ) int gl_InstanceID) (declare (shader_in ) vec2 in_ATTRIBUTE0) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (constant vec2 (0.000000 1.000000)) ) (assign (xy) (var_ref t1) (var_ref in_ATTRIBUTE0) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref in_ATTRIBUTE0) )) ) (assign (z) (var_ref t0) (constant float (-1.000000)) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (x) (var_ref packed:Data) (expression int u2i (expression uint i2u (var_ref gl_InstanceID) ) ) ) (assign (xyzw) (var_ref packed:Data@624) (var_ref packed:Data) ) (assign (xyzw) (var_ref gl_Position@625) (var_ref gl_Position) ) )) ) ) GLSL IR for linked geometry program 40: ( (declare (shader_in ) (array vec4 3) gl_Position) (declare (shader_in flat) (array ivec4 3) packed:Data) (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) int gl_Layer) (declare (temporary ) int gl_Layer) (declare (temporary ) int gl_Layer) (declare (temporary ) int gl_Layer) (declare (uniform ) (array ivec4 1) gu_i) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () int t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref gu_i) (constant int (0)) ) )) (assign (xyzw) (var_ref t3) (array_ref (var_ref gl_Position) (constant int (0)) ) ) (assign (y) (var_ref t3) (expression float neg (swiz y (var_ref t3) )) ) (assign (z) (var_ref t3) (expression float * (expression float + (swiz z (var_ref t3) )(swiz w (var_ref t3) )) (constant float (0.500000)) ) ) (assign (xyzw) (var_ref t4) (array_ref (var_ref gl_Position) (constant int (1)) ) ) (assign (y) (var_ref t4) (expression float neg (swiz y (var_ref t4) )) ) (assign (z) (var_ref t4) (expression float * (expression float + (swiz z (var_ref t4) )(swiz w (var_ref t4) )) (constant float (0.500000)) ) ) (assign (xyzw) (var_ref t5) (array_ref (var_ref gl_Position) (constant int (2)) ) ) (assign (y) (var_ref t5) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t5) (expression float * (expression float + (swiz z (var_ref t5) )(swiz w (var_ref t5) )) (constant float (0.500000)) ) ) (assign (xw) (var_ref t9) (swiz xw (var_ref t3) )) (assign (y) (var_ref t9) (expression float neg (swiz y (var_ref t3) )) ) (assign (z) (var_ref t9) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t3) )) (expression float neg (swiz w (var_ref t3) )) ) ) (assign (xyzw) (var_ref gl_Position@626) (var_ref t9) ) (assign (x) (var_ref gl_Layer) (expression int u2i (expression uint + (expression uint i2u (swiz x (array_ref (var_ref packed:Data) (constant uint (0)) ) )) (expression uint i2u (var_ref t0) ) ) ) ) (assign (x) (var_ref gl_Layer@627) (var_ref gl_Layer) ) (assign (xyzw) (var_ref gl_Position@628) (var_ref gl_Position@626) ) (emit-vertex (constant int (0)) ) (assign (xw) (var_ref t10) (swiz xw (var_ref t4) )) (assign (y) (var_ref t10) (expression float neg (swiz y (var_ref t4) )) ) (assign (z) (var_ref t10) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t4) )) (expression float neg (swiz w (var_ref t4) )) ) ) (assign (xyzw) (var_ref gl_Position@629) (var_ref t10) ) (assign (x) (var_ref gl_Layer@630) (expression int u2i (expression uint + (expression uint i2u (swiz x (array_ref (var_ref packed:Data) (constant uint (1)) ) )) (expression uint i2u (var_ref t0) ) ) ) ) (assign (x) (var_ref gl_Layer@627) (var_ref gl_Layer@630) ) (assign (xyzw) (var_ref gl_Position@628) (var_ref gl_Position@629) ) (emit-vertex (constant int (0)) ) (assign (xw) (var_ref t11) (swiz xw (var_ref t5) )) (assign (y) (var_ref t11) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t11) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t5) )) (expression float neg (swiz w (var_ref t5) )) ) ) (assign (xyzw) (var_ref gl_Position@631) (var_ref t11) ) (assign (x) (var_ref gl_Layer@632) (expression int u2i (expression uint + (expression uint i2u (swiz x (array_ref (var_ref packed:Data) (constant uint (2)) ) )) (expression uint i2u (var_ref t0) ) ) ) ) (assign (x) (var_ref gl_Layer@627) (var_ref gl_Layer@632) ) (assign (xyzw) (var_ref gl_Position@628) (var_ref gl_Position@631) ) (emit-vertex (constant int (0)) ) )) ) ) GLSL IR for linked fragment program 40: ( (declare (uniform ) (array vec4 4) pu_h) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (declare (shader_out ) vec4 out_Target2) (declare (temporary ) vec4 out_Target2) (declare (shader_out ) vec4 out_Target3) (declare (temporary ) vec4 out_Target3) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (array_ref (var_ref pu_h) (constant int (0)) ) ) (assign (xyzw) (var_ref out_Target1) (array_ref (var_ref pu_h) (constant int (1)) ) ) (assign (xyzw) (var_ref out_Target2) (array_ref (var_ref pu_h) (constant int (2)) ) ) (assign (xyzw) (var_ref out_Target3) (array_ref (var_ref pu_h) (constant int (3)) ) ) (assign (xyzw) (var_ref out_Target0@633) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@634) (var_ref out_Target1) ) (assign (xyzw) (var_ref out_Target2@635) (var_ref out_Target2) ) (assign (xyzw) (var_ref out_Target3@636) (var_ref out_Target3) ) )) ) ) GLSL source for fragment shader 41: #version 150 uniform highp vec4 pu_h[1]; uniform highp sampler3D ps1; uniform highp sampler3D ps0; in TEXCOORD0 { vec2 Data; } in_TEXCOORD0; in HLSLCC_LAYER_INDEX { flat uint Data; } in_HLSLCC_LAYER_INDEX; out highp vec4 out_Target0; out highp vec4 out_Target1; void main() { highp float t0; t0 = pu_h[0].x; highp vec3 t1; t1.xy = in_TEXCOORD0.Data; highp float t2; t2 = float(in_HLSLCC_LAYER_INDEX.Data); t1.z = ((t2+5.000000e-001)*t0); out_Target0.xyzw = ((((((((texture(ps0,(t1+vec3((5.000000e-001*t0))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,1.000000e+000,1.000000e+000)))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(1.000000e+000,-1.000000e+000,1.000000e+000)))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,-1.000000e+000,1.000000e+000)))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(1.000000e+000,1.000000e+000,-1.000000e+000)))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,1.000000e+000,-1.000000e+000)))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(1.000000e+000,-1.000000e+000,-1.000000e+000)))))+texture(ps0,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))))*vec4(1.250000e-001,1.250000e-001,1.250000e-001,1.250000e-001)); out_Target1.xyzw = ((((((((texture(ps1,(t1+vec3((5.000000e-001*t0))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,1.000000e+000,1.000000e+000)))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(1.000000e+000,-1.000000e+000,1.000000e+000)))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,-1.000000e+000,1.000000e+000)))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(1.000000e+000,1.000000e+000,-1.000000e+000)))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,1.000000e+000,-1.000000e+000)))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(1.000000e+000,-1.000000e+000,-1.000000e+000)))))+texture(ps1,(t1+(vec3((5.000000e-001*t0))*vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000)))))*vec4(1.250000e-001,1.250000e-001,1.250000e-001,1.250000e-001)); } GLSL IR for shader 41: ( (declare (shader_in ) HLSLCC_LAYER_INDEX in_HLSLCC_LAYER_INDEX) (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 1) pu_h) (declare (uniform ) sampler3D ps1) (declare (uniform ) sampler3D ps0) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (function main (signature void (parameters ) ( (declare () vec3 t1) (declare () float t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref pu_h) (constant int (0)) ) )) (assign (xy) (var_ref t1) (record_ref (var_ref in_TEXCOORD0) Data) ) (assign (z) (var_ref t1) (expression float * (expression float + (expression float u2f (record_ref (var_ref in_HLSLCC_LAYER_INDEX) Data) ) (constant float (0.500000)) ) (var_ref t0) ) ) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (expression vec3 + (var_ref t1) (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) )) (declare (temporary ) vec4 texture_retval@637) (call texture (var_ref texture_retval@637) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@638) (call texture (var_ref texture_retval@638) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@639) (call texture (var_ref texture_retval@639) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 -1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@640) (call texture (var_ref texture_retval@640) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@641) (call texture (var_ref texture_retval@641) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@642) (call texture (var_ref texture_retval@642) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@643) (call texture (var_ref texture_retval@643) ((var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 neg (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) ) )) (assign (xyzw) (var_ref out_Target0) (expression vec4 * (expression vec4 + (expression vec4 + (expression vec4 + (var_ref texture_retval) (var_ref texture_retval@637) ) (expression vec4 + (var_ref texture_retval@638) (var_ref texture_retval@639) ) ) (expression vec4 + (expression vec4 + (var_ref texture_retval@640) (var_ref texture_retval@641) ) (expression vec4 + (var_ref texture_retval@642) (var_ref texture_retval@643) ) ) ) (constant vec4 (0.125000 0.125000 0.125000 0.125000)) ) ) (declare (temporary ) vec4 texture_retval@644) (call texture (var_ref texture_retval@644) ((var_ref ps1) (expression vec3 + (var_ref t1) (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) )) (declare (temporary ) vec4 texture_retval@645) (call texture (var_ref texture_retval@645) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@646) (call texture (var_ref texture_retval@646) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@647) (call texture (var_ref texture_retval@647) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 -1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@648) (call texture (var_ref texture_retval@648) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@649) (call texture (var_ref texture_retval@649) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@650) (call texture (var_ref texture_retval@650) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@651) (call texture (var_ref texture_retval@651) ((var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 neg (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) ) )) (assign (xyzw) (var_ref out_Target1) (expression vec4 * (expression vec4 + (expression vec4 + (expression vec4 + (var_ref texture_retval@644) (var_ref texture_retval@645) ) (expression vec4 + (var_ref texture_retval@646) (var_ref texture_retval@647) ) ) (expression vec4 + (expression vec4 + (var_ref texture_retval@648) (var_ref texture_retval@649) ) (expression vec4 + (var_ref texture_retval@650) (var_ref texture_retval@651) ) ) ) (constant vec4 (0.125000 0.125000 0.125000 0.125000)) ) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler3D sampler) (declare (in ) vec3 P) ) ( )) ) ) GLSL IR for linked vertex program 42: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out flat) ivec4 packed:Data,Data) (declare (temporary ) ivec4 packed:Data,Data) (declare (sys ) int gl_InstanceID) (declare (uniform ) (array vec4 1) vu_h) (declare (shader_in ) vec2 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (constant vec2 (0.000000 1.000000)) ) (assign (xy) (var_ref t1) (var_ref in_ATTRIBUTE0) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref in_ATTRIBUTE0) )) ) (assign (z) (var_ref t0) (constant float (-1.000000)) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xy) (var_ref packed:Data,Data) (expression ivec2 bitcast_f2i (expression vec2 + (expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (array_ref (var_ref vu_h) (constant int (0)) ) )) (swiz zw (array_ref (var_ref vu_h) (constant int (0)) ) )) ) ) (assign (z) (var_ref packed:Data,Data) (expression int u2i (expression uint i2u (var_ref gl_InstanceID) ) ) ) (assign (xyzw) (var_ref packed:Data,Data@652) (var_ref packed:Data,Data) ) (assign (xyzw) (var_ref gl_Position@653) (var_ref gl_Position) ) )) ) ) GLSL IR for linked geometry program 42: ( (declare (shader_in ) (array vec4 3) gl_Position) (declare (shader_in flat) (array ivec4 3) packed:Data,Data) (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) int gl_Layer) (declare (temporary ) int gl_Layer) (declare (temporary ) int gl_Layer) (declare (temporary ) int gl_Layer) (declare (shader_out ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (shader_out flat) ivec4 packed:Data) (declare (temporary ) ivec4 packed:Data) (declare (temporary ) ivec4 packed:Data) (declare (temporary ) ivec4 packed:Data) (declare (uniform ) (array ivec4 1) gu_i) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () uint t8) (declare () uint t7) (declare () uint t6) (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () int t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref gu_i) (constant int (0)) ) )) (assign (xyzw) (var_ref t3) (array_ref (var_ref gl_Position) (constant int (0)) ) ) (assign (y) (var_ref t3) (expression float neg (swiz y (var_ref t3) )) ) (assign (z) (var_ref t3) (expression float * (expression float + (swiz z (var_ref t3) )(swiz w (var_ref t3) )) (constant float (0.500000)) ) ) (assign (xyzw) (var_ref t4) (array_ref (var_ref gl_Position) (constant int (1)) ) ) (assign (y) (var_ref t4) (expression float neg (swiz y (var_ref t4) )) ) (assign (z) (var_ref t4) (expression float * (expression float + (swiz z (var_ref t4) )(swiz w (var_ref t4) )) (constant float (0.500000)) ) ) (assign (xyzw) (var_ref t5) (array_ref (var_ref gl_Position) (constant int (2)) ) ) (assign (y) (var_ref t5) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t5) (expression float * (expression float + (swiz z (var_ref t5) )(swiz w (var_ref t5) )) (constant float (0.500000)) ) ) (assign (x) (var_ref t6) (expression uint + (expression uint i2u (swiz z (array_ref (var_ref packed:Data,Data) (constant uint (0)) ) )) (expression uint i2u (var_ref t0) ) ) ) (assign (x) (var_ref t7) (expression uint + (expression uint i2u (swiz z (array_ref (var_ref packed:Data,Data) (constant uint (1)) ) )) (expression uint i2u (var_ref t0) ) ) ) (assign (x) (var_ref t8) (expression uint + (expression uint i2u (swiz z (array_ref (var_ref packed:Data,Data) (constant uint (2)) ) )) (expression uint i2u (var_ref t0) ) ) ) (assign (xw) (var_ref t9) (swiz xw (var_ref t3) )) (assign (y) (var_ref t9) (expression float neg (swiz y (var_ref t3) )) ) (assign (z) (var_ref t9) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t3) )) (expression float neg (swiz w (var_ref t3) )) ) ) (assign (xyzw) (var_ref gl_Position@654) (var_ref t9) ) (assign (x) (var_ref gl_Layer) (expression int u2i (var_ref t6) ) ) (assign (xy) (var_ref packed:Data) (expression vec2 bitcast_i2f (swiz xy (array_ref (var_ref packed:Data,Data) (constant uint (0)) ) )) ) (assign (x) (var_ref packed:Data@655) (expression int u2i (var_ref t6) ) ) (assign (xyzw) (var_ref packed:Data@656) (var_ref packed:Data@655) ) (assign (xyzw) (var_ref packed:Data@657) (var_ref packed:Data) ) (assign (x) (var_ref gl_Layer@658) (var_ref gl_Layer) ) (assign (xyzw) (var_ref gl_Position@659) (var_ref gl_Position@654) ) (emit-vertex (constant int (0)) ) (assign (xw) (var_ref t10) (swiz xw (var_ref t4) )) (assign (y) (var_ref t10) (expression float neg (swiz y (var_ref t4) )) ) (assign (z) (var_ref t10) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t4) )) (expression float neg (swiz w (var_ref t4) )) ) ) (assign (xyzw) (var_ref gl_Position@660) (var_ref t10) ) (assign (x) (var_ref gl_Layer@661) (expression int u2i (var_ref t7) ) ) (assign (xy) (var_ref packed:Data@662) (expression vec2 bitcast_i2f (swiz xy (array_ref (var_ref packed:Data,Data) (constant uint (1)) ) )) ) (assign (x) (var_ref packed:Data@663) (expression int u2i (var_ref t7) ) ) (assign (xyzw) (var_ref packed:Data@656) (var_ref packed:Data@663) ) (assign (xyzw) (var_ref packed:Data@657) (var_ref packed:Data@662) ) (assign (x) (var_ref gl_Layer@658) (var_ref gl_Layer@661) ) (assign (xyzw) (var_ref gl_Position@659) (var_ref gl_Position@660) ) (emit-vertex (constant int (0)) ) (assign (xw) (var_ref t11) (swiz xw (var_ref t5) )) (assign (y) (var_ref t11) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t11) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref t5) )) (expression float neg (swiz w (var_ref t5) )) ) ) (assign (xyzw) (var_ref gl_Position@664) (var_ref t11) ) (assign (x) (var_ref gl_Layer@665) (expression int u2i (var_ref t8) ) ) (assign (xy) (var_ref packed:Data@666) (expression vec2 bitcast_i2f (swiz xy (array_ref (var_ref packed:Data,Data) (constant uint (2)) ) )) ) (assign (x) (var_ref packed:Data@667) (expression int u2i (var_ref t8) ) ) (assign (xyzw) (var_ref packed:Data@656) (var_ref packed:Data@667) ) (assign (xyzw) (var_ref packed:Data@657) (var_ref packed:Data@666) ) (assign (x) (var_ref gl_Layer@658) (var_ref gl_Layer@665) ) (assign (xyzw) (var_ref gl_Position@659) (var_ref gl_Position@664) ) (emit-vertex (constant int (0)) ) )) ) ) GLSL IR for linked fragment program 42: ( (declare (shader_in ) vec4 packed:Data) (declare (shader_in flat) ivec4 packed:Data) (declare (uniform ) (array vec4 1) pu_h) (declare (uniform ) sampler3D ps1) (declare (uniform ) sampler3D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (function main (signature void (parameters ) ( (declare () vec3 t1) (declare () float t0) (assign (x) (var_ref t0) (swiz x (array_ref (var_ref pu_h) (constant int (0)) ) )) (assign (xy) (var_ref t1) (swiz xy (var_ref packed:Data) )) (assign (z) (var_ref t1) (expression float * (expression float + (expression float u2f (expression uint i2u (swiz x (var_ref packed:Data@668) )) ) (constant float (0.500000)) ) (var_ref t0) ) ) (assign (xyzw) (var_ref out_Target0) (expression vec4 * (expression vec4 + (expression vec4 + (expression vec4 + (tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) 0 1 () )(tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 1.000000)) ) ) 0 1 () )) (expression vec4 + (tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 -1.000000 1.000000)) ) ) 0 1 () )) ) (expression vec4 + (expression vec4 + (tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 1.000000 -1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 -1.000000)) ) ) 0 1 () )) (expression vec4 + (tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 -1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps0) (expression vec3 + (var_ref t1) (expression vec3 neg (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) ) 0 1 () )) ) ) (constant vec4 (0.125000 0.125000 0.125000 0.125000)) ) ) (assign (xyzw) (var_ref out_Target1) (expression vec4 * (expression vec4 + (expression vec4 + (expression vec4 + (tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) 0 1 () )(tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 1.000000)) ) ) 0 1 () )) (expression vec4 + (tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 -1.000000 1.000000)) ) ) 0 1 () )) ) (expression vec4 + (expression vec4 + (tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 1.000000 -1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (-1.000000 1.000000 -1.000000)) ) ) 0 1 () )) (expression vec4 + (tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 * (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )(constant vec3 (1.000000 -1.000000 -1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps1) (expression vec3 + (var_ref t1) (expression vec3 neg (swiz xxx (expression float * (constant float (0.500000)) (var_ref t0) ) )) ) 0 1 () )) ) ) (constant vec4 (0.125000 0.125000 0.125000 0.125000)) ) ) (assign (xyzw) (var_ref out_Target0@669) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@670) (var_ref out_Target1) ) )) ) ) GLSL source for vertex shader 43: #version 150 layout(std140) uniform vb0 { #define DrawRectangleParameters_PosScaleBias DrawRectangleParameters_PosScaleBiasvb0 vec4 DrawRectangleParameters_PosScaleBias; #define DrawRectangleParameters_UVScaleBias DrawRectangleParameters_UVScaleBiasvb0 vec4 DrawRectangleParameters_UVScaleBias; #define DrawRectangleParameters_InvTargetSizeAndTextureSize DrawRectangleParameters_InvTargetSizeAndTextureSizevb0 vec4 DrawRectangleParameters_InvTargetSizeAndTextureSize; }; in highp vec2 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec2 Data; } out_TEXCOORD0; void main() { highp vec4 t0; highp vec4 t1; t1.zw = vec2(0.000000e+000,1.000000e+000); t1.xy = in_ATTRIBUTE0; highp vec4 t2; t2.xyzw = t1; t2.xy = (vec2(-1.000000e+000,-1.000000e+000)+((vec2(2.000000e+000,2.000000e+000)*(DrawRectangleParameters_PosScaleBias.zw+(in_ATTRIBUTE0*DrawRectangleParameters_PosScaleBias.xy)))*DrawRectangleParameters_InvTargetSizeAndTextureSize.xy)); t2.xy = (t2.xy*vec2(1.000000e+000,-1.000000e+000)); t0.xyzw = t2; out_TEXCOORD0.Data.xy = ((DrawRectangleParameters_UVScaleBias.zw+(in_ATTRIBUTE1*DrawRectangleParameters_UVScaleBias.xy))*DrawRectangleParameters_InvTargetSizeAndTextureSize.zw); t0.y = (-t2.y); t0.z = -1.000000e+000; gl_Position.xyzw = t0; } GLSL IR for shader 43: ( (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec2 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (constant vec2 (0.000000 1.000000)) ) (assign (xy) (var_ref t1) (var_ref in_ATTRIBUTE0) ) (assign (zw) (var_ref t2) (swiz zw (var_ref t1) )) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_PosScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE0) (swiz xy (var_ref DrawRectangleParameters_PosScaleBiasvb0) )) ) ) (swiz xy (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (expression vec2 * (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_UVScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref DrawRectangleParameters_UVScaleBiasvb0) )) ) (swiz zw (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (constant float (-1.000000)) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL source for fragment shader 44: #version 150 uniform highp vec4 pu_h[1]; uniform highp sampler2D ps0; in TEXCOORD0 { vec2 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec2 t0; t0.xy = pu_h[0].xy; highp vec4 t1; t1.x = textureLod(ps0,(in_TEXCOORD0.Data+(vec2(-5.000000e-001,-5.000000e-001)*t0)),0).x; t1.y = textureLod(ps0,(in_TEXCOORD0.Data+(vec2(5.000000e-001,-5.000000e-001)*t0)),0).x; t1.z = textureLod(ps0,(in_TEXCOORD0.Data+(vec2(-5.000000e-001,5.000000e-001)*t0)),0).x; t1.w = textureLod(ps0,(in_TEXCOORD0.Data+(vec2(5.000000e-001,5.000000e-001)*t0)),0).x; out_Target0.xyzw = vec4(min(min(t1.x,t1.y),min(t1.z,t1.w))); } GLSL IR for shader 44: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 1) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec2 t0) (assign (xy) (var_ref t0) (swiz xy (array_ref (var_ref pu_h) (constant int (0)) ) )) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 * (constant vec2 (-0.500000 -0.500000)) (var_ref t0) ) ) (constant float (0.000000)) )) (assign (x) (var_ref t1) (swiz x (var_ref textureLod_retval) )) (declare (temporary ) vec4 textureLod_retval@671) (call textureLod (var_ref textureLod_retval@671) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 * (constant vec2 (0.500000 -0.500000)) (var_ref t0) ) ) (constant float (0.000000)) )) (assign (y) (var_ref t1) (swiz x (var_ref textureLod_retval@671) )) (declare (temporary ) vec4 textureLod_retval@672) (call textureLod (var_ref textureLod_retval@672) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 * (constant vec2 (-0.500000 0.500000)) (var_ref t0) ) ) (constant float (0.000000)) )) (assign (z) (var_ref t1) (swiz x (var_ref textureLod_retval@672) )) (declare (temporary ) vec4 textureLod_retval@673) (call textureLod (var_ref textureLod_retval@673) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 * (constant vec2 (0.500000 0.500000)) (var_ref t0) ) ) (constant float (0.000000)) )) (assign (w) (var_ref t1) (swiz x (var_ref textureLod_retval@673) )) (declare (temporary ) float min_retval) (call min (var_ref min_retval) ((swiz x (var_ref t1) )(swiz y (var_ref t1) ))) (declare (temporary ) float min_retval@674) (call min (var_ref min_retval@674) ((swiz z (var_ref t1) )(swiz w (var_ref t1) ))) (declare (temporary ) float min_retval@675) (call min (var_ref min_retval@675) ((var_ref min_retval) (var_ref min_retval@674) )) (assign (xyzw) (var_ref out_Target0) (swiz xxxx (var_ref min_retval@675) )) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function min (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) ) GLSL IR for linked vertex program 45: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec2 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (constant vec2 (0.000000 1.000000)) ) (assign (xy) (var_ref t1) (var_ref in_ATTRIBUTE0) ) (assign (zw) (var_ref t2) (swiz zw (var_ref t1) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@676) (assign (xyzw) (var_ref cse@676) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (var_ref in_ATTRIBUTE0) (swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@676) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (constant float (-1.000000)) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (declare () vec4 cse@677) (assign (xyzw) (var_ref cse@677) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref packed:Data) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@677) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@677) )) ) (swiz zw (var_ref cse@676) )) ) (assign (xyzw) (var_ref packed:Data@678) (var_ref packed:Data) ) (assign (xyzw) (var_ref gl_Position@679) (var_ref gl_Position) ) )) ) ) GLSL IR for linked fragment program 45: ( (declare (shader_in ) vec4 packed:Data) (declare (uniform ) (array vec4 1) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec2 t0) (assign (xy) (var_ref t0) (swiz xy (array_ref (var_ref pu_h) (constant int (0)) ) )) (assign (x) (var_ref t1) (swiz x (txl vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 * (constant vec2 (-0.500000 -0.500000)) (var_ref t0) ) ) 0 1 () (constant float (0.000000)) ))) (assign (y) (var_ref t1) (swiz x (txl vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 * (constant vec2 (0.500000 -0.500000)) (var_ref t0) ) ) 0 1 () (constant float (0.000000)) ))) (assign (z) (var_ref t1) (swiz x (txl vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 * (constant vec2 (-0.500000 0.500000)) (var_ref t0) ) ) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t1) (swiz x (txl vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 * (constant vec2 (0.500000 0.500000)) (var_ref t0) ) ) 0 1 () (constant float (0.000000)) ))) (assign (xyzw) (var_ref out_Target0) (swiz xxxx (expression float min (expression float min (swiz x (var_ref t1) )(swiz y (var_ref t1) )) (expression float min (swiz z (var_ref t1) )(swiz w (var_ref t1) )) ) )) (assign (xyzw) (var_ref out_Target0@680) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 46: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[2]; uniform highp sampler2D ps4; uniform highp sampler2D ps3; uniform highp sampler2D ps5; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; t0.xyzw = View_ScreenPositionScaleBias; highp vec4 t1; uint t2; highp vec3 t3; ivec2 t4; t4.xy = ivec2((((in_TEXCOORD0.Data.zw*pu_h[1].xy)+pu_h[1].zw)+vec2(5.000000e-001,5.000000e-001))); t1.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); highp vec4 t5; t5.xyzw = textureLod(ps2,in_TEXCOORD0.Data.xy,0.000000e+000); highp vec3 t6; t6.xyz = normalize(((textureLod(ps0,in_TEXCOORD0.Data.xy,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000))); int t7; t7 = int(uint((textureLod(ps1,in_TEXCOORD0.Data.xy,0.000000e+000).w*2.559990e+002))); highp float t8; t8 = clamp(((t5.x*pu_h[0].y)+2.000000e+000),0.000000e+000,1.000000e+000); if (((t8==0.000000e+000)||(t7==0))) { } else { t3.xyz = t6; highp float t9; t9 = (1.0/(((textureLod(ps5,in_TEXCOORD0.Data.xy,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); highp vec3 t10; t10.xy = (in_TEXCOORD0.Data.zw*vec2(t9)); t10.z = t9; highp vec3 t11; t11.xyz = ((View_ScreenToTranslatedWorld[2].xyz*vec3(t9))+((View_ScreenToTranslatedWorld[1].xyz*t10.yyy)+(View_ScreenToTranslatedWorld[0].xyz*t10.xxx))); highp vec3 t12; t12.xyz = normalize((View_TranslatedViewOrigin.xyz+(-t11))); if ((View_TemporalAAParams.y>1.000000e+000)) { t2 = uint((View_TemporalAAParams.x*1.551000e+003)); } else { t2 = (((View_FrameNumber)%(8u))*1551u); } uint t13; t13 = uint((t4.x&3)); uint t14; t14 = ((t13^(t13<<2u))&858993459u); uint t15; t15 = ((t14^(t14<<1u))&1431655765u); t13 = t15; uint t16; t16 = uint((t4.y&3)); uint t17; t17 = ((t16^(t16<<2u))&858993459u); uint t18; t18 = ((t17^(t17<<1u))&1431655765u); t16 = t18; uint t19; t19 = (t15|(t18*2u)); uint t20; t20 = (((t19&858993459u)<<2u)|((t19&3435973836u)>>2u)); uint t21; t21 = (((t2&858993459u)<<2u)|((t2&3435973836u)>>2u)); highp float t22; highp float t23; t23 = float((((((t20&1431655765u)<<1u)|((t20&2863311530u)>>1u))+(((t21&1431655765u)<<1u)|((t21&2863311530u)>>1u)))&15u)); t22 = ((t23/1.500000e+001)+-5.000000e-001); highp vec3 t24; t24 = reflect((-t12),t3); highp float t25; t25 = t5.x; highp vec4 t26; highp float t27; highp float t28; highp vec4 t29; highp float t30; highp vec3 t31; highp vec3 t32; highp vec4 t33; t33.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t11.zzzz)+((View_TranslatedWorldToClip[1]*t11.yyyy)+(View_TranslatedWorldToClip[0]*t11.xxxx)))); highp vec4 t34; t34.w = 1.000000e+000; t34.xyz = (t11+(t24*vec3(t9))); highp vec4 t35; t35.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*t34.zzzz)+((View_TranslatedWorldToClip[1]*t34.yyyy)+(View_TranslatedWorldToClip[0]*t34.xxxx)))); highp vec3 t36; t36.xyz = (t33.xyz/t33.www); highp vec3 t37; t37.xyz = (t35.xyz/t35.www); highp float t38; t38 = length((t37.xy+(-t36.xy))); highp vec3 t39; t39.xyz = (((t37+(-t36))/vec3(t38))*vec3(1.500000e+000,1.500000e+000,1.500000e+000)); highp vec3 t40; t40.xy = ((t36.xy*vec2(5.000000e-001,-5.000000e-001))+vec2(5.000000e-001,5.000000e-001)); t40.z = t36.z; t32.xyz = t40; highp vec3 t41; t41.xy = (t39.xy*vec2(5.000000e-001,-5.000000e-001)); t41.z = t39.z; t31.xyz = t41; t30 = (1.176471e-001*abs(t39.z)); t29.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,1.000000e+000); t28 = 0.000000e+000; t27 = 0.000000e+000; t26.xyzw = ((vec4(t22)+vec4(1.000000e+000,2.000000e+000,3.000000e+000,4.000000e+000))/vec4(1.700000e+001,1.700000e+001,1.700000e+001,1.700000e+001)); int t42; t42 = 0; for (;t42<16;) { highp vec4 t43; t43.xyzw = (t32.xyxy+(t31.xyxy*t26.xxyy)); highp vec4 t44; t44.xyzw = (t32.xyxy+(t31.xyxy*t26.zzww)); highp vec4 t45; t45.x = textureLod(ps4,t43.xy,t27).x; t45.y = textureLod(ps4,t43.zw,t27).x; t45.z = textureLod(ps4,t44.xy,t27).x; t45.w = textureLod(ps4,t44.zw,t27).x; highp vec4 t46; t46.xyzw = ((t32.zzzz+(t31.zzzz*t26))+(-t45)); bvec4 t47; t47.xyzw = lessThan(abs(((-t46)+(-vec4(t30)))),vec4(t30)); if (any(t47)) { highp vec3 t48; highp vec4 t49; t49.x = t28; t49.yzw = t46.xyz; highp vec4 t50; highp vec4 t51; t51.xyzw = vec4(t47); t50.xyzw = mix(vec4(1.000000e+000,1.000000e+000,1.000000e+000,1.000000e+000),(t26+((clamp((t49/(t49+(-t46))),vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000),vec4(1.000000e+000,1.000000e+000,1.000000e+000,1.000000e+000))+vec4(-1.000000e+000,-1.000000e+000,-1.000000e+000,-1.000000e+000))/vec4(1.700000e+001,1.700000e+001,1.700000e+001,1.700000e+001))),t51); highp vec2 t52; t52.xy = min(t50.xy,t50.zw); highp float t53; t53 = min(t52.x,t52.y); highp vec3 t54; t54.xyz = (t32+(t31*vec3(t53))); t48.xyz = t54; t48.xy = ((t54.xy*vec2(2.000000e+000,-2.000000e+000))+vec2(-1.000000e+000,1.000000e+000)); t48.xy = ((t48.xy*t0.xy)+t0.wz); highp vec4 t55; t55.xyz = t48; t55.w = t53; t29.xyzw = t55; break; } t28 = t46.w; t27 = (t27+t25); t26.xyzw = (t26+vec4(2.352941e-001,2.352941e-001,2.352941e-001,2.352941e-001)); t42 = (t42+4); } if ((t29.w<1.000000e+000)) { highp vec4 t56; t56.xyz = textureLod(ps3,t29.xy,0).xyz; t56.w = 1.000000e+000; highp vec2 t57; t57.xy = clamp(((abs(((t29.xy+(-View_ScreenPositionScaleBias.wz))/View_ScreenPositionScaleBias.xy))*vec2(5.000000e+000,5.000000e+000))+vec2(-4.000000e+000,-4.000000e+000)),vec2(0.000000e+000,0.000000e+000),vec2(1.000000e+000,1.000000e+000)); highp vec4 t58; t58.xyzw = (t56*vec4(clamp((1.000000e+000+(-dot(t57,t57))),0.000000e+000,1.000000e+000))); t56.xyzw = t58; t56.xyz = (-min((-t58.xyz),vec3(0.000000e+000,0.000000e+000,0.000000e+000))); highp vec4 t59; t59.xyzw = (t56*vec4(clamp((4.000000e+000+(-(4.000000e+000*t29.w))),0.000000e+000,1.000000e+000))); t56.xyzw = t59; t1.xyzw = t59; } t1.xyzw = ((t1*vec4(t8))*pu_h[0].xxxx); } out_Target0.xyzw = t1; } GLSL IR for shader 46: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 2) pu_h) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps5) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () float t8) (declare () int t7) (declare () vec3 t6) (declare () vec4 t5) (declare () ivec2 t4) (declare () vec3 t3) (declare () uint t2) (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t0) (var_ref View_ScreenPositionScaleBiaspb0) ) (assign (xy) (var_ref t4) (expression ivec2 f2i (expression vec2 + (expression vec2 + (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) (constant vec2 (0.500000 0.500000)) ) ) ) (assign (xyzw) (var_ref t1) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps2) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t5) (var_ref textureLod_retval) ) (declare (temporary ) vec4 textureLod_retval@681) (call textureLod (var_ref textureLod_retval@681) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@681) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (assign (xyz) (var_ref t6) (var_ref normalize_retval) ) (declare (temporary ) vec4 textureLod_retval@682) (call textureLod (var_ref textureLod_retval@682) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (x) (var_ref t7) (expression int u2i (expression uint f2u (expression float * (swiz w (var_ref textureLod_retval@682) )(constant float (255.998993)) ) ) ) ) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float + (expression float * (swiz x (var_ref t5) )(swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) (constant float (2.000000)) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t8) (var_ref clamp_retval) ) (if (expression bool ! (expression bool || (expression bool all_equal (var_ref clamp_retval) (constant float (0.000000)) ) (expression bool all_equal (var_ref t7) (constant int (0)) ) ) ) ( (declare () int t42) (declare () vec3 t41) (declare () vec3 t40) (declare () vec3 t39) (declare () vec3 t37) (declare () vec3 t36) (declare () vec4 t35) (declare () vec4 t34) (declare () vec4 t33) (declare () vec3 t32) (declare () vec3 t31) (declare () float t30) (declare () vec4 t29) (declare () float t28) (declare () float t27) (declare () vec4 t26) (declare () float t25) (declare () float t22) (declare () uint t21) (declare () uint t20) (declare () uint t19) (declare () uint t18) (declare () uint t17) (declare () uint t16) (declare () uint t15) (declare () uint t14) (declare () uint t13) (declare () vec3 t11) (declare () vec3 t10) (declare () float t9) (assign (xyz) (var_ref t3) (var_ref t6) ) (declare (temporary ) vec4 textureLod_retval@683) (call textureLod (var_ref textureLod_retval@683) ((var_ref ps5) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (x) (var_ref t9) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval@683) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xx (var_ref t9) )) ) (assign (z) (var_ref t10) (var_ref t9) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_ScreenToTranslatedWorldpb0) (constant int (2)) ) )(swiz xxx (var_ref t9) )) (expression vec3 + (expression vec3 * (swiz xyz (array_ref (var_ref View_ScreenToTranslatedWorldpb0) (constant int (1)) ) )(swiz yyy (var_ref t10) )) (expression vec3 * (swiz xyz (array_ref (var_ref View_ScreenToTranslatedWorldpb0) (constant int (0)) ) )(swiz xxx (var_ref t10) )) ) ) ) (declare (temporary ) vec3 normalize_retval@684) (call normalize (var_ref normalize_retval@684) ((expression vec3 + (swiz xyz (var_ref View_TranslatedViewOriginpb0) )(expression vec3 neg (var_ref t11) ) ) )) (if (expression bool > (swiz y (var_ref View_TemporalAAParamspb0) )(constant float (1.000000)) ) ( (assign (x) (var_ref t2) (expression uint f2u (expression float * (swiz x (var_ref View_TemporalAAParamspb0) )(constant float (1551.000000)) ) ) ) ) ( (assign (x) (var_ref t2) (expression uint * (expression uint % (var_ref View_FrameNumberpb0) (constant uint (8)) ) (constant uint (1551)) ) ) )) (assign (x) (var_ref t13) (expression uint i2u (expression int & (swiz x (var_ref t4) )(constant int (3)) ) ) ) (assign (x) (var_ref t14) (expression uint & (expression uint ^ (var_ref t13) (expression uint << (var_ref t13) (constant uint (2)) ) ) (constant uint (858993459)) ) ) (assign (x) (var_ref t15) (expression uint & (expression uint ^ (var_ref t14) (expression uint << (var_ref t14) (constant uint (1)) ) ) (constant uint (1431655765)) ) ) (assign (x) (var_ref t13) (var_ref t15) ) (assign (x) (var_ref t16) (expression uint i2u (expression int & (swiz y (var_ref t4) )(constant int (3)) ) ) ) (assign (x) (var_ref t17) (expression uint & (expression uint ^ (var_ref t16) (expression uint << (var_ref t16) (constant uint (2)) ) ) (constant uint (858993459)) ) ) (assign (x) (var_ref t18) (expression uint & (expression uint ^ (var_ref t17) (expression uint << (var_ref t17) (constant uint (1)) ) ) (constant uint (1431655765)) ) ) (assign (x) (var_ref t16) (var_ref t18) ) (assign (x) (var_ref t19) (expression uint | (var_ref t15) (expression uint * (var_ref t18) (constant uint (2)) ) ) ) (assign (x) (var_ref t20) (expression uint | (expression uint << (expression uint & (var_ref t19) (constant uint (858993459)) ) (constant uint (2)) ) (expression uint >> (expression uint & (var_ref t19) (constant uint (3435973836)) ) (constant uint (2)) ) ) ) (assign (x) (var_ref t21) (expression uint | (expression uint << (expression uint & (var_ref t2) (constant uint (858993459)) ) (constant uint (2)) ) (expression uint >> (expression uint & (var_ref t2) (constant uint (3435973836)) ) (constant uint (2)) ) ) ) (assign (x) (var_ref t22) (expression float + (expression float / (expression float u2f (expression uint & (expression uint + (expression uint | (expression uint << (expression uint & (var_ref t20) (constant uint (1431655765)) ) (constant uint (1)) ) (expression uint >> (expression uint & (var_ref t20) (constant uint (2863311530)) ) (constant uint (1)) ) ) (expression uint | (expression uint << (expression uint & (var_ref t21) (constant uint (1431655765)) ) (constant uint (1)) ) (expression uint >> (expression uint & (var_ref t21) (constant uint (2863311530)) ) (constant uint (1)) ) ) ) (constant uint (15)) ) ) (constant float (15.000000)) ) (constant float (-0.500000)) ) ) (declare (temporary ) vec3 reflect_retval) (call reflect (var_ref reflect_retval) ((expression vec3 neg (var_ref normalize_retval@684) ) (var_ref t3) )) (assign (x) (var_ref t25) (swiz x (var_ref t5) )) (assign (xyzw) (var_ref t33) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (2)) ) (swiz zzzz (var_ref t11) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (1)) ) (swiz yyyy (var_ref t11) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (0)) ) (swiz xxxx (var_ref t11) )) ) ) ) ) (assign (w) (var_ref t34) (constant float (1.000000)) ) (assign (xyz) (var_ref t34) (expression vec3 + (var_ref t11) (expression vec3 * (var_ref reflect_retval) (swiz xxx (var_ref t9) )) ) ) (assign (xyzw) (var_ref t35) (expression vec4 + (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (2)) ) (swiz zzzz (var_ref t34) )) (expression vec4 + (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (1)) ) (swiz yyyy (var_ref t34) )) (expression vec4 * (array_ref (var_ref View_TranslatedWorldToClippb0) (constant int (0)) ) (swiz xxxx (var_ref t34) )) ) ) ) ) (assign (xyz) (var_ref t36) (expression vec3 / (swiz xyz (var_ref t33) )(swiz www (var_ref t33) )) ) (assign (xyz) (var_ref t37) (expression vec3 / (swiz xyz (var_ref t35) )(swiz www (var_ref t35) )) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((expression vec2 + (swiz xy (var_ref t37) )(expression vec2 neg (swiz xy (var_ref t36) )) ) )) (assign (xyz) (var_ref t39) (expression vec3 * (expression vec3 / (expression vec3 + (var_ref t37) (expression vec3 neg (var_ref t36) ) ) (swiz xxx (var_ref length_retval) )) (constant vec3 (1.500000 1.500000 1.500000)) ) ) (assign (xy) (var_ref t40) (expression vec2 + (expression vec2 * (swiz xy (var_ref t36) )(constant vec2 (0.500000 -0.500000)) ) (constant vec2 (0.500000 0.500000)) ) ) (assign (z) (var_ref t40) (swiz z (var_ref t36) )) (assign (xyz) (var_ref t32) (var_ref t40) ) (assign (xy) (var_ref t41) (expression vec2 * (swiz xy (var_ref t39) )(constant vec2 (0.500000 -0.500000)) ) ) (assign (z) (var_ref t41) (swiz z (var_ref t39) )) (assign (xyz) (var_ref t31) (var_ref t41) ) (declare (temporary ) float abs_retval) (call abs (var_ref abs_retval) ((swiz z (var_ref t39) ))) (assign (x) (var_ref t30) (expression float * (constant float (0.117647)) (var_ref abs_retval) ) ) (assign (xyzw) (var_ref t29) (constant vec4 (0.000000 0.000000 0.000000 1.000000)) ) (assign (x) (var_ref t28) (constant float (0.000000)) ) (assign (x) (var_ref t27) (constant float (0.000000)) ) (assign (xyzw) (var_ref t26) (expression vec4 / (expression vec4 + (swiz xxxx (var_ref t22) )(constant vec4 (1.000000 2.000000 3.000000 4.000000)) ) (constant vec4 (17.000000 17.000000 17.000000 17.000000)) ) ) (assign (x) (var_ref t42) (constant int (0)) ) (loop ( (declare () bvec4 t47) (declare () vec4 t46) (declare () vec4 t45) (declare () vec4 t44) (declare () vec4 t43) (if (expression bool >= (var_ref t42) (constant int (16)) ) ( break ) ()) (assign (xyzw) (var_ref t43) (expression vec4 + (swiz xyxy (var_ref t32) )(expression vec4 * (swiz xyxy (var_ref t31) )(swiz xxyy (var_ref t26) )) ) ) (assign (xyzw) (var_ref t44) (expression vec4 + (swiz xyxy (var_ref t32) )(expression vec4 * (swiz xyxy (var_ref t31) )(swiz zzww (var_ref t26) )) ) ) (declare (temporary ) vec4 textureLod_retval@685) (call textureLod (var_ref textureLod_retval@685) ((var_ref ps4) (swiz xy (var_ref t43) )(var_ref t27) )) (assign (x) (var_ref t45) (swiz x (var_ref textureLod_retval@685) )) (declare (temporary ) vec4 textureLod_retval@686) (call textureLod (var_ref textureLod_retval@686) ((var_ref ps4) (swiz zw (var_ref t43) )(var_ref t27) )) (assign (y) (var_ref t45) (swiz x (var_ref textureLod_retval@686) )) (declare (temporary ) vec4 textureLod_retval@687) (call textureLod (var_ref textureLod_retval@687) ((var_ref ps4) (swiz xy (var_ref t44) )(var_ref t27) )) (assign (z) (var_ref t45) (swiz x (var_ref textureLod_retval@687) )) (declare (temporary ) vec4 textureLod_retval@688) (call textureLod (var_ref textureLod_retval@688) ((var_ref ps4) (swiz zw (var_ref t44) )(var_ref t27) )) (assign (w) (var_ref t45) (swiz x (var_ref textureLod_retval@688) )) (assign (xyzw) (var_ref t46) (expression vec4 + (expression vec4 + (swiz zzzz (var_ref t32) )(expression vec4 * (swiz zzzz (var_ref t31) )(var_ref t26) ) ) (expression vec4 neg (var_ref t45) ) ) ) (declare (temporary ) vec4 abs_retval@689) (call abs (var_ref abs_retval@689) ((expression vec4 + (expression vec4 neg (var_ref t46) ) (expression vec4 neg (swiz xxxx (var_ref t30) )) ) )) (declare (temporary ) bvec4 lessThan_retval) (call lessThan (var_ref lessThan_retval) ((var_ref abs_retval@689) (swiz xxxx (var_ref t30) ))) (assign (xyzw) (var_ref t47) (var_ref lessThan_retval) ) (declare (temporary ) bool any_retval) (call any (var_ref any_retval) ((var_ref lessThan_retval) )) (if (var_ref any_retval) ( (declare () vec4 t55) (declare () vec3 t54) (declare () vec4 t51) (declare () vec4 t49) (declare () vec3 t48) (assign (x) (var_ref t49) (var_ref t28) ) (assign (yzw) (var_ref t49) (swiz xyz (var_ref t46) )) (assign (xyzw) (var_ref t51) (expression vec4 b2f (var_ref t47) ) ) (declare (temporary ) vec4 clamp_retval@690) (call clamp (var_ref clamp_retval@690) ((expression vec4 / (var_ref t49) (expression vec4 + (var_ref t49) (expression vec4 neg (var_ref t46) ) ) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) )) (declare (temporary ) vec4 mix_retval) (call mix (var_ref mix_retval) ((constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 + (var_ref t26) (expression vec4 / (expression vec4 + (var_ref clamp_retval@690) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (constant vec4 (17.000000 17.000000 17.000000 17.000000)) ) ) (var_ref t51) )) (declare (temporary ) vec2 min_retval) (call min (var_ref min_retval) ((swiz xy (var_ref mix_retval) )(swiz zw (var_ref mix_retval) ))) (declare (temporary ) float min_retval@691) (call min (var_ref min_retval@691) ((swiz x (var_ref min_retval) )(swiz y (var_ref min_retval) ))) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t32) (expression vec3 * (var_ref t31) (swiz xxx (var_ref min_retval@691) )) ) ) (assign (z) (var_ref t48) (swiz z (var_ref t54) )) (assign (xy) (var_ref t48) (expression vec2 + (expression vec2 * (swiz xy (var_ref t54) )(constant vec2 (2.000000 -2.000000)) ) (constant vec2 (-1.000000 1.000000)) ) ) (assign (xy) (var_ref t48) (expression vec2 + (expression vec2 * (swiz xy (var_ref t48) )(swiz xy (var_ref t0) )) (swiz wz (var_ref t0) )) ) (assign (xyz) (var_ref t55) (var_ref t48) ) (assign (w) (var_ref t55) (var_ref min_retval@691) ) (assign (xyzw) (var_ref t29) (var_ref t55) ) break ) ()) (assign (x) (var_ref t28) (swiz w (var_ref t46) )) (assign (x) (var_ref t27) (expression float + (var_ref t27) (var_ref t25) ) ) (assign (xyzw) (var_ref t26) (expression vec4 + (var_ref t26) (constant vec4 (0.235294 0.235294 0.235294 0.235294)) ) ) (assign (x) (var_ref t42) (expression int + (var_ref t42) (constant int (4)) ) ) )) (if (expression bool < (swiz w (var_ref t29) )(constant float (1.000000)) ) ( (declare () vec4 t59) (declare () vec4 t58) (declare () vec4 t56) (declare (temporary ) vec4 textureLod_retval@692) (call textureLod (var_ref textureLod_retval@692) ((var_ref ps3) (swiz xy (var_ref t29) )(constant float (0.000000)) )) (assign (xyz) (var_ref t56) (swiz xyz (var_ref textureLod_retval@692) )) (assign (w) (var_ref t56) (constant float (1.000000)) ) (declare (temporary ) vec2 abs_retval@693) (call abs (var_ref abs_retval@693) ((expression vec2 / (expression vec2 + (swiz xy (var_ref t29) )(expression vec2 neg (swiz wz (var_ref View_ScreenPositionScaleBiaspb0) )) ) (swiz xy (var_ref View_ScreenPositionScaleBiaspb0) )) )) (declare (temporary ) vec2 clamp_retval@694) (call clamp (var_ref clamp_retval@694) ((expression vec2 + (expression vec2 * (var_ref abs_retval@693) (constant vec2 (5.000000 5.000000)) ) (constant vec2 (-4.000000 -4.000000)) ) (constant vec2 (0.000000 0.000000)) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref clamp_retval@694) (var_ref clamp_retval@694) )) (declare (temporary ) float clamp_retval@695) (call clamp (var_ref clamp_retval@695) ((expression float + (constant float (1.000000)) (expression float neg (var_ref dot_retval) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t58) (expression vec4 * (var_ref t56) (swiz xxxx (var_ref clamp_retval@695) )) ) (assign (xyzw) (var_ref t56) (var_ref t58) ) (declare (temporary ) vec3 min_retval@696) (call min (var_ref min_retval@696) ((expression vec3 neg (swiz xyz (var_ref t58) )) (constant vec3 (0.000000 0.000000 0.000000)) )) (assign (xyz) (var_ref t56) (expression vec3 neg (var_ref min_retval@696) ) ) (declare (temporary ) float clamp_retval@697) (call clamp (var_ref clamp_retval@697) ((expression float + (constant float (4.000000)) (expression float neg (expression float * (constant float (4.000000)) (swiz w (var_ref t29) )) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t59) (expression vec4 * (var_ref t56) (swiz xxxx (var_ref clamp_retval@697) )) ) (assign (xyzw) (var_ref t56) (var_ref t59) ) (assign (xyzw) (var_ref t1) (var_ref t59) ) ) ()) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 * (var_ref t1) (swiz xxxx (var_ref t8) )) (swiz xxxx (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ()) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) (signature vec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 minVal) (declare (in ) vec4 maxVal) ) ( )) (signature vec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 minVal) (declare (in ) vec2 maxVal) ) ( )) ) (function reflect (signature vec3 (parameters (declare (in ) vec3 I) (declare (in ) vec3 N) ) ( )) ) (function length (signature float (parameters (declare (in ) vec2 x) ) ( )) ) (function abs (signature float (parameters (declare (in ) float x) ) ( )) (signature vec4 (parameters (declare (in ) vec4 x) ) ( )) (signature vec2 (parameters (declare (in ) vec2 x) ) ( )) ) (function lessThan (signature bvec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) ) ( )) ) (function any (signature bool (parameters (declare (in ) bvec4 x) ) ( )) ) (function mix (signature vec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) (declare (in ) vec4 a) ) ( )) ) (function min (signature vec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) ) GLSL IR for linked vertex program 47: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@698) (assign (xyzw) (var_ref cse@698) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@698) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@699) (assign (xyzw) (var_ref cse@699) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@699) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@699) )) ) (swiz zw (var_ref cse@698) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@700) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@701) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 47: ( (declare (shader_in ) vec4 Data) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (uniform ) (array vec4 2) pu_h) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps5) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () int t7) (declare () ivec2 t4) (declare () uint t2) (declare () vec4 t1) (assign (xy) (var_ref t4) (expression ivec2 f2i (expression vec2 + (expression vec2 + (expression vec2 * (swiz zw (var_ref Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) (constant vec2 (0.500000 0.500000)) ) ) ) (assign (xyzw) (var_ref t1) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (declare (temporary ) vec4 textureLod_retval) (assign (xyzw) (var_ref textureLod_retval) (txl vec4 (var_ref ps2) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (x) (var_ref t7) (expression int u2i (expression uint f2u (expression float * (swiz w (txl vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(constant float (255.998993)) ) ) ) ) (declare (temporary ) float clamp_retval) (assign (x) (var_ref clamp_retval) (expression float min (expression float max (expression float + (expression float * (swiz x (var_ref textureLod_retval) )(swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) (constant float (2.000000)) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (if (expression bool ! (expression bool || (expression bool all_equal (var_ref clamp_retval) (constant float (0.000000)) ) (expression bool all_equal (var_ref t7) (constant int (0)) ) ) ) ( (declare () vec3 t41) (declare () vec3 t40) (declare () vec3 t39) (declare () vec3 t37) (declare () vec3 t36) (declare () vec4 t35) (declare () vec4 t34) (declare () vec4 t33) (declare () float t30) (declare () vec4 t29) (declare () float t28) (declare () float t27) (declare () vec4 t26) (declare () uint t21) (declare () uint t20) (declare () uint t19) (declare () uint t18) (declare () uint t17) (declare () uint t16) (declare () uint t15) (declare () uint t14) (declare () uint t13) (declare () vec3 t11) (declare () vec3 t10) (declare () float t9) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (560)) ) ) (assign (x) (var_ref t9) (expression float rcp (expression float + (expression float * (swiz x (txl vec4 (var_ref ps5) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (xy) (var_ref t10) (expression vec2 * (swiz zw (var_ref Data) )(swiz xx (var_ref t9) )) ) (assign (z) (var_ref t10) (var_ref t9) ) (assign (xyz) (var_ref t11) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (480)) ) )(swiz xxx (var_ref t9) )) (expression vec3 + (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (464)) ) )(swiz yyy (var_ref t10) )) (expression vec3 * (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (448)) ) )(swiz xxx (var_ref t10) )) ) ) ) (declare (temporary ) vec3 normalize_retval@702) (declare () vec3 x@703) (assign (xyz) (var_ref x@703) (expression vec3 + (swiz xyz (expression vec4 ubo_load (constant uint (0)) (constant uint (640)) ) )(expression vec3 neg (var_ref t11) ) ) ) (assign (xyz) (var_ref normalize_retval@702) (expression vec3 * (var_ref x@703) (expression float rsq (expression float dot (var_ref x@703) (var_ref x@703) ) ) ) ) (declare (temporary ) vec4 ubo_load_temp) (assign (xyzw) (var_ref ubo_load_temp) (expression vec4 ubo_load (constant uint (0)) (constant uint (944)) ) ) (if (expression bool > (swiz y (var_ref ubo_load_temp) )(constant float (1.000000)) ) ( (assign (x) (var_ref t2) (expression uint f2u (expression float * (swiz x (expression vec4 ubo_load (constant uint (0)) (constant uint (944)) ) )(constant float (1551.000000)) ) ) ) ) ( (assign (x) (var_ref t2) (expression uint * (expression uint % (expression uint ubo_load (constant uint (0)) (constant uint (788)) ) (constant uint (8)) ) (constant uint (1551)) ) ) )) (assign (x) (var_ref t13) (expression uint i2u (expression int & (swiz x (var_ref t4) )(constant int (3)) ) ) ) (assign (x) (var_ref t14) (expression uint & (expression uint ^ (var_ref t13) (expression uint << (var_ref t13) (constant uint (2)) ) ) (constant uint (858993459)) ) ) (assign (x) (var_ref t15) (expression uint & (expression uint ^ (var_ref t14) (expression uint << (var_ref t14) (constant uint (1)) ) ) (constant uint (1431655765)) ) ) (assign (x) (var_ref t13) (var_ref t15) ) (assign (x) (var_ref t16) (expression uint i2u (expression int & (swiz y (var_ref t4) )(constant int (3)) ) ) ) (assign (x) (var_ref t17) (expression uint & (expression uint ^ (var_ref t16) (expression uint << (var_ref t16) (constant uint (2)) ) ) (constant uint (858993459)) ) ) (assign (x) (var_ref t18) (expression uint & (expression uint ^ (var_ref t17) (expression uint << (var_ref t17) (constant uint (1)) ) ) (constant uint (1431655765)) ) ) (assign (x) (var_ref t16) (var_ref t18) ) (assign (x) (var_ref t19) (expression uint | (var_ref t15) (expression uint * (var_ref t18) (constant uint (2)) ) ) ) (assign (x) (var_ref t20) (expression uint | (expression uint << (expression uint & (var_ref t19) (constant uint (858993459)) ) (constant uint (2)) ) (expression uint >> (expression uint & (var_ref t19) (constant uint (3435973836)) ) (constant uint (2)) ) ) ) (assign (x) (var_ref t21) (expression uint | (expression uint << (expression uint & (var_ref t2) (constant uint (858993459)) ) (constant uint (2)) ) (expression uint >> (expression uint & (var_ref t2) (constant uint (3435973836)) ) (constant uint (2)) ) ) ) (declare () vec3 I) (assign (xyz) (var_ref I) (expression vec3 neg (var_ref normalize_retval@702) ) ) (declare () vec4 cse@704) (assign (xyzw) (var_ref cse@704) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (declare () vec4 cse@705) (assign (xyzw) (var_ref cse@705) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (declare () vec4 cse@706) (assign (xyzw) (var_ref cse@706) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@707) (assign (xyzw) (var_ref cse@707) (expression vec4 ubo_load (constant uint (0)) (constant uint (48)) ) ) (assign (xyzw) (var_ref t33) (expression vec4 + (var_ref cse@707) (expression vec4 + (expression vec4 * (var_ref cse@704) (swiz zzzz (var_ref t11) )) (expression vec4 + (expression vec4 * (var_ref cse@705) (swiz yyyy (var_ref t11) )) (expression vec4 * (var_ref cse@706) (swiz xxxx (var_ref t11) )) ) ) ) ) (assign (w) (var_ref t34) (constant float (1.000000)) ) (assign (xyz) (var_ref t34) (expression vec3 + (var_ref t11) (expression vec3 * (expression vec3 + (var_ref I) (expression vec3 neg (expression vec3 * (constant float (2.000000)) (expression vec3 * (expression float dot (var_ref normalize_retval) (var_ref I) ) (var_ref normalize_retval) ) ) ) ) (swiz xxx (var_ref t9) )) ) ) (assign (xyzw) (var_ref t35) (expression vec4 + (var_ref cse@707) (expression vec4 + (expression vec4 * (var_ref cse@704) (swiz zzzz (var_ref t34) )) (expression vec4 + (expression vec4 * (var_ref cse@705) (swiz yyyy (var_ref t34) )) (expression vec4 * (var_ref cse@706) (swiz xxxx (var_ref t34) )) ) ) ) ) (assign (xyz) (var_ref t36) (expression vec3 * (swiz xyz (var_ref t33) )(expression vec3 rcp (swiz www (var_ref t33) )) ) ) (assign (xyz) (var_ref t37) (expression vec3 * (swiz xyz (var_ref t35) )(expression vec3 rcp (swiz www (var_ref t35) )) ) ) (declare () vec2 x@708) (assign (xy) (var_ref x@708) (expression vec2 + (swiz xy (var_ref t37) )(expression vec2 neg (swiz xy (var_ref t36) )) ) ) (assign (xyz) (var_ref t39) (expression vec3 * (expression vec3 * (expression vec3 + (var_ref t37) (expression vec3 neg (var_ref t36) ) ) (expression vec3 rcp (swiz xxx (expression float sqrt (expression float dot (var_ref x@708) (var_ref x@708) ) ) )) ) (constant vec3 (1.500000 1.500000 1.500000)) ) ) (assign (xy) (var_ref t40) (expression vec2 + (expression vec2 * (swiz xy (var_ref t36) )(constant vec2 (0.500000 -0.500000)) ) (constant vec2 (0.500000 0.500000)) ) ) (assign (z) (var_ref t40) (swiz z (var_ref t36) )) (assign (xy) (var_ref t41) (expression vec2 * (swiz xy (var_ref t39) )(constant vec2 (0.500000 -0.500000)) ) ) (assign (z) (var_ref t41) (swiz z (var_ref t39) )) (assign (x) (var_ref t30) (expression float * (constant float (0.117647)) (expression float abs (swiz z (var_ref t39) )) ) ) (assign (xyzw) (var_ref t29) (constant vec4 (0.000000 0.000000 0.000000 1.000000)) ) (assign (x) (var_ref t28) (constant float (0.000000)) ) (assign (x) (var_ref t27) (constant float (0.000000)) ) (assign (xyzw) (var_ref t26) (expression vec4 * (expression vec4 + (swiz xxxx (expression float + (expression float * (expression float u2f (expression uint & (expression uint + (expression uint | (expression uint << (expression uint & (var_ref t20) (constant uint (1431655765)) ) (constant uint (1)) ) (expression uint >> (expression uint & (var_ref t20) (constant uint (2863311530)) ) (constant uint (1)) ) ) (expression uint | (expression uint << (expression uint & (var_ref t21) (constant uint (1431655765)) ) (constant uint (1)) ) (expression uint >> (expression uint & (var_ref t21) (constant uint (2863311530)) ) (constant uint (1)) ) ) ) (constant uint (15)) ) ) (constant float (0.066667)) ) (constant float (-0.500000)) ) )(constant vec4 (1.000000 2.000000 3.000000 4.000000)) ) (constant vec4 (0.058824 0.058824 0.058824 0.058824)) ) ) (declare () vec4 t46) (declare () vec4 t45) (declare () vec4 t44) (declare () vec4 t43) (assign (xyzw) (var_ref t43) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz xxyy (var_ref t26) )) ) ) (assign (xyzw) (var_ref t44) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz zzww (var_ref t26) )) ) ) (assign (x) (var_ref t45) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t43) ) 0 1 () (constant float (0.000000)) ))) (assign (y) (var_ref t45) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t43) ) 0 1 () (constant float (0.000000)) ))) (assign (z) (var_ref t45) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t44) ) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t45) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t44) ) 0 1 () (constant float (0.000000)) ))) (assign (xyzw) (var_ref t46) (expression vec4 + (expression vec4 + (swiz zzzz (var_ref t36) )(expression vec4 * (swiz zzzz (var_ref t39) )(var_ref t26) ) ) (expression vec4 neg (var_ref t45) ) ) ) (declare (temporary ) bvec4 lessThan_retval) (assign (xyzw) (var_ref lessThan_retval) (expression bvec4 < (expression vec4 abs (expression vec4 + (expression vec4 neg (var_ref t46) ) (expression vec4 neg (swiz xxxx (var_ref t30) )) ) ) (swiz xxxx (var_ref t30) )) ) (if (expression bool any (var_ref lessThan_retval) ) ( (declare () vec4 t55) (declare () vec3 t54) (declare () vec4 t49) (declare () vec3 t48) (assign (x) (var_ref t49) (var_ref t28) ) (assign (yzw) (var_ref t49) (swiz xyz (var_ref t46) )) (declare (temporary ) vec4 mix_retval) (assign (xyzw) (var_ref mix_retval) (expression vec4 lrp (constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 + (var_ref t26) (expression vec4 * (expression vec4 + (expression vec4 min (expression vec4 max (expression vec4 * (var_ref t49) (expression vec4 rcp (expression vec4 + (var_ref t49) (expression vec4 neg (var_ref t46) ) ) ) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (constant vec4 (0.058824 0.058824 0.058824 0.058824)) ) ) (expression vec4 b2f (var_ref lessThan_retval) ) ) ) (declare (temporary ) vec2 min_retval) (assign (xy) (var_ref min_retval) (expression vec2 min (swiz xy (var_ref mix_retval) )(swiz zw (var_ref mix_retval) )) ) (declare (temporary ) float min_retval@709) (assign (x) (var_ref min_retval@709) (expression float min (swiz x (var_ref min_retval) )(swiz y (var_ref min_retval) )) ) (assign (xyz) (var_ref t54) (expression vec3 + (var_ref t40) (expression vec3 * (var_ref t41) (swiz xxx (var_ref min_retval@709) )) ) ) (assign (z) (var_ref t48) (swiz z (var_ref t54) )) (assign (xy) (var_ref t48) (expression vec2 + (expression vec2 * (swiz xy (var_ref t54) )(constant vec2 (2.000000 -2.000000)) ) (constant vec2 (-1.000000 1.000000)) ) ) (declare () vec4 cse@710) (assign (xyzw) (var_ref cse@710) (expression vec4 ubo_load (constant uint (0)) (constant uint (576)) ) ) (assign (xy) (var_ref t48) (expression vec2 + (expression vec2 * (swiz xy (var_ref t48) )(swiz xy (var_ref cse@710) )) (swiz wz (var_ref cse@710) )) ) (assign (xyz) (var_ref t55) (var_ref t48) ) (assign (w) (var_ref t55) (var_ref min_retval@709) ) (assign (xyzw) (var_ref t29) (var_ref t55) ) ) ( (assign (x) (var_ref t28) (swiz w (var_ref t46) )) (assign (x) (var_ref t27) (swiz x (var_ref textureLod_retval) )) (assign (xyzw) (var_ref t26) (expression vec4 + (var_ref t26) (constant vec4 (0.235294 0.235294 0.235294 0.235294)) ) ) (declare () vec4 t46@711) (declare () vec4 t45@712) (declare () vec4 t44@713) (declare () vec4 t43@714) (assign (xyzw) (var_ref t43@714) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz xxyy (var_ref t26) )) ) ) (assign (xyzw) (var_ref t44@713) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz zzww (var_ref t26) )) ) ) (assign (x) (var_ref t45@712) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t43@714) ) 0 1 () (swiz x (var_ref textureLod_retval) )))) (assign (y) (var_ref t45@712) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t43@714) ) 0 1 () (swiz x (var_ref textureLod_retval) )))) (assign (z) (var_ref t45@712) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t44@713) ) 0 1 () (swiz x (var_ref textureLod_retval) )))) (assign (w) (var_ref t45@712) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t44@713) ) 0 1 () (swiz x (var_ref textureLod_retval) )))) (assign (xyzw) (var_ref t46@711) (expression vec4 + (expression vec4 + (swiz zzzz (var_ref t36) )(expression vec4 * (swiz zzzz (var_ref t39) )(var_ref t26) ) ) (expression vec4 neg (var_ref t45@712) ) ) ) (declare (temporary ) bvec4 lessThan_retval@715) (assign (xyzw) (var_ref lessThan_retval@715) (expression bvec4 < (expression vec4 abs (expression vec4 + (expression vec4 neg (var_ref t46@711) ) (expression vec4 neg (swiz xxxx (var_ref t30) )) ) ) (swiz xxxx (var_ref t30) )) ) (if (expression bool any (var_ref lessThan_retval@715) ) ( (declare () vec4 t55@716) (declare () vec3 t54@717) (declare () vec4 t49@718) (declare () vec3 t48@719) (assign (x) (var_ref t49@718) (var_ref t28) ) (assign (yzw) (var_ref t49@718) (swiz xyz (var_ref t46@711) )) (declare (temporary ) vec4 mix_retval@720) (assign (xyzw) (var_ref mix_retval@720) (expression vec4 lrp (constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 + (var_ref t26) (expression vec4 * (expression vec4 + (expression vec4 min (expression vec4 max (expression vec4 * (var_ref t49@718) (expression vec4 rcp (expression vec4 + (var_ref t49@718) (expression vec4 neg (var_ref t46@711) ) ) ) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (constant vec4 (0.058824 0.058824 0.058824 0.058824)) ) ) (expression vec4 b2f (var_ref lessThan_retval@715) ) ) ) (declare (temporary ) vec2 min_retval@721) (assign (xy) (var_ref min_retval@721) (expression vec2 min (swiz xy (var_ref mix_retval@720) )(swiz zw (var_ref mix_retval@720) )) ) (declare (temporary ) float min_retval@722) (assign (x) (var_ref min_retval@722) (expression float min (swiz x (var_ref min_retval@721) )(swiz y (var_ref min_retval@721) )) ) (assign (xyz) (var_ref t54@717) (expression vec3 + (var_ref t40) (expression vec3 * (var_ref t41) (swiz xxx (var_ref min_retval@722) )) ) ) (assign (z) (var_ref t48@719) (swiz z (var_ref t54@717) )) (assign (xy) (var_ref t48@719) (expression vec2 + (expression vec2 * (swiz xy (var_ref t54@717) )(constant vec2 (2.000000 -2.000000)) ) (constant vec2 (-1.000000 1.000000)) ) ) (declare () vec4 cse@723) (assign (xyzw) (var_ref cse@723) (expression vec4 ubo_load (constant uint (0)) (constant uint (576)) ) ) (assign (xy) (var_ref t48@719) (expression vec2 + (expression vec2 * (swiz xy (var_ref t48@719) )(swiz xy (var_ref cse@723) )) (swiz wz (var_ref cse@723) )) ) (assign (xyz) (var_ref t55@716) (var_ref t48@719) ) (assign (w) (var_ref t55@716) (var_ref min_retval@722) ) (assign (xyzw) (var_ref t29) (var_ref t55@716) ) ) ( (assign (x) (var_ref t28) (swiz w (var_ref t46@711) )) (assign (x) (var_ref t27) (expression float + (swiz x (var_ref textureLod_retval) )(swiz x (var_ref textureLod_retval) )) ) (assign (xyzw) (var_ref t26) (expression vec4 + (var_ref t26) (constant vec4 (0.235294 0.235294 0.235294 0.235294)) ) ) (declare () vec4 t46@724) (declare () vec4 t45@725) (declare () vec4 t44@726) (declare () vec4 t43@727) (assign (xyzw) (var_ref t43@727) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz xxyy (var_ref t26) )) ) ) (assign (xyzw) (var_ref t44@726) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz zzww (var_ref t26) )) ) ) (assign (x) (var_ref t45@725) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t43@727) ) 0 1 () (var_ref t27) ))) (assign (y) (var_ref t45@725) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t43@727) ) 0 1 () (var_ref t27) ))) (assign (z) (var_ref t45@725) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t44@726) ) 0 1 () (var_ref t27) ))) (assign (w) (var_ref t45@725) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t44@726) ) 0 1 () (var_ref t27) ))) (assign (xyzw) (var_ref t46@724) (expression vec4 + (expression vec4 + (swiz zzzz (var_ref t36) )(expression vec4 * (swiz zzzz (var_ref t39) )(var_ref t26) ) ) (expression vec4 neg (var_ref t45@725) ) ) ) (declare (temporary ) bvec4 lessThan_retval@728) (assign (xyzw) (var_ref lessThan_retval@728) (expression bvec4 < (expression vec4 abs (expression vec4 + (expression vec4 neg (var_ref t46@724) ) (expression vec4 neg (swiz xxxx (var_ref t30) )) ) ) (swiz xxxx (var_ref t30) )) ) (if (expression bool any (var_ref lessThan_retval@728) ) ( (declare () vec4 t55@729) (declare () vec3 t54@730) (declare () vec4 t49@731) (declare () vec3 t48@732) (assign (x) (var_ref t49@731) (var_ref t28) ) (assign (yzw) (var_ref t49@731) (swiz xyz (var_ref t46@724) )) (declare (temporary ) vec4 mix_retval@733) (assign (xyzw) (var_ref mix_retval@733) (expression vec4 lrp (constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 + (var_ref t26) (expression vec4 * (expression vec4 + (expression vec4 min (expression vec4 max (expression vec4 * (var_ref t49@731) (expression vec4 rcp (expression vec4 + (var_ref t49@731) (expression vec4 neg (var_ref t46@724) ) ) ) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (constant vec4 (0.058824 0.058824 0.058824 0.058824)) ) ) (expression vec4 b2f (var_ref lessThan_retval@728) ) ) ) (declare (temporary ) vec2 min_retval@734) (assign (xy) (var_ref min_retval@734) (expression vec2 min (swiz xy (var_ref mix_retval@733) )(swiz zw (var_ref mix_retval@733) )) ) (declare (temporary ) float min_retval@735) (assign (x) (var_ref min_retval@735) (expression float min (swiz x (var_ref min_retval@734) )(swiz y (var_ref min_retval@734) )) ) (assign (xyz) (var_ref t54@730) (expression vec3 + (var_ref t40) (expression vec3 * (var_ref t41) (swiz xxx (var_ref min_retval@735) )) ) ) (assign (z) (var_ref t48@732) (swiz z (var_ref t54@730) )) (assign (xy) (var_ref t48@732) (expression vec2 + (expression vec2 * (swiz xy (var_ref t54@730) )(constant vec2 (2.000000 -2.000000)) ) (constant vec2 (-1.000000 1.000000)) ) ) (declare () vec4 cse@736) (assign (xyzw) (var_ref cse@736) (expression vec4 ubo_load (constant uint (0)) (constant uint (576)) ) ) (assign (xy) (var_ref t48@732) (expression vec2 + (expression vec2 * (swiz xy (var_ref t48@732) )(swiz xy (var_ref cse@736) )) (swiz wz (var_ref cse@736) )) ) (assign (xyz) (var_ref t55@729) (var_ref t48@732) ) (assign (w) (var_ref t55@729) (var_ref min_retval@735) ) (assign (xyzw) (var_ref t29) (var_ref t55@729) ) ) ( (assign (x) (var_ref t28) (swiz w (var_ref t46@724) )) (assign (x) (var_ref t27) (expression float + (var_ref t27) (swiz x (var_ref textureLod_retval) )) ) (assign (xyzw) (var_ref t26) (expression vec4 + (var_ref t26) (constant vec4 (0.235294 0.235294 0.235294 0.235294)) ) ) (declare () vec4 t46@737) (declare () vec4 t45@738) (declare () vec4 t44@739) (declare () vec4 t43@740) (assign (xyzw) (var_ref t43@740) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz xxyy (var_ref t26) )) ) ) (assign (xyzw) (var_ref t44@739) (expression vec4 + (swiz xyxy (var_ref t40) )(expression vec4 * (swiz xyxy (var_ref t41) )(swiz zzww (var_ref t26) )) ) ) (assign (x) (var_ref t45@738) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t43@740) ) 0 1 () (var_ref t27) ))) (assign (y) (var_ref t45@738) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t43@740) ) 0 1 () (var_ref t27) ))) (assign (z) (var_ref t45@738) (swiz x (txl vec4 (var_ref ps4) (swiz xy (var_ref t44@739) ) 0 1 () (var_ref t27) ))) (assign (w) (var_ref t45@738) (swiz x (txl vec4 (var_ref ps4) (swiz zw (var_ref t44@739) ) 0 1 () (var_ref t27) ))) (assign (xyzw) (var_ref t46@737) (expression vec4 + (expression vec4 + (swiz zzzz (var_ref t36) )(expression vec4 * (swiz zzzz (var_ref t39) )(var_ref t26) ) ) (expression vec4 neg (var_ref t45@738) ) ) ) (declare (temporary ) bvec4 lessThan_retval@741) (assign (xyzw) (var_ref lessThan_retval@741) (expression bvec4 < (expression vec4 abs (expression vec4 + (expression vec4 neg (var_ref t46@737) ) (expression vec4 neg (swiz xxxx (var_ref t30) )) ) ) (swiz xxxx (var_ref t30) )) ) (if (expression bool any (var_ref lessThan_retval@741) ) ( (declare () vec4 t55@742) (declare () vec3 t54@743) (declare () vec4 t49@744) (declare () vec3 t48@745) (assign (x) (var_ref t49@744) (var_ref t28) ) (assign (yzw) (var_ref t49@744) (swiz xyz (var_ref t46@737) )) (declare (temporary ) vec4 mix_retval@746) (assign (xyzw) (var_ref mix_retval@746) (expression vec4 lrp (constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 + (var_ref t26) (expression vec4 * (expression vec4 + (expression vec4 min (expression vec4 max (expression vec4 * (var_ref t49@744) (expression vec4 rcp (expression vec4 + (var_ref t49@744) (expression vec4 neg (var_ref t46@737) ) ) ) ) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) (constant vec4 (-1.000000 -1.000000 -1.000000 -1.000000)) ) (constant vec4 (0.058824 0.058824 0.058824 0.058824)) ) ) (expression vec4 b2f (var_ref lessThan_retval@741) ) ) ) (declare (temporary ) vec2 min_retval@747) (assign (xy) (var_ref min_retval@747) (expression vec2 min (swiz xy (var_ref mix_retval@746) )(swiz zw (var_ref mix_retval@746) )) ) (declare (temporary ) float min_retval@748) (assign (x) (var_ref min_retval@748) (expression float min (swiz x (var_ref min_retval@747) )(swiz y (var_ref min_retval@747) )) ) (assign (xyz) (var_ref t54@743) (expression vec3 + (var_ref t40) (expression vec3 * (var_ref t41) (swiz xxx (var_ref min_retval@748) )) ) ) (assign (z) (var_ref t48@745) (swiz z (var_ref t54@743) )) (assign (xy) (var_ref t48@745) (expression vec2 + (expression vec2 * (swiz xy (var_ref t54@743) )(constant vec2 (2.000000 -2.000000)) ) (constant vec2 (-1.000000 1.000000)) ) ) (declare () vec4 cse@749) (assign (xyzw) (var_ref cse@749) (expression vec4 ubo_load (constant uint (0)) (constant uint (576)) ) ) (assign (xy) (var_ref t48@745) (expression vec2 + (expression vec2 * (swiz xy (var_ref t48@745) )(swiz xy (var_ref cse@749) )) (swiz wz (var_ref cse@749) )) ) (assign (xyz) (var_ref t55@742) (var_ref t48@745) ) (assign (w) (var_ref t55@742) (var_ref min_retval@748) ) (assign (xyzw) (var_ref t29) (var_ref t55@742) ) ) ( (assign (x) (var_ref t28) (swiz w (var_ref t46@737) )) (assign (x) (var_ref t27) (expression float + (var_ref t27) (swiz x (var_ref textureLod_retval) )) ) (assign (xyzw) (var_ref t26) (expression vec4 + (var_ref t26) (constant vec4 (0.235294 0.235294 0.235294 0.235294)) ) ) )) )) )) )) (if (expression bool < (swiz w (var_ref t29) )(constant float (1.000000)) ) ( (declare () vec4 t59) (declare () vec4 t58) (declare () vec4 t56) (assign (xyz) (var_ref t56) (swiz xyz (txl vec4 (var_ref ps3) (swiz xy (var_ref t29) ) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t56) (constant float (1.000000)) ) (declare (temporary ) vec2 clamp_retval@750) (declare () vec4 cse@751) (assign (xyzw) (var_ref cse@751) (expression vec4 ubo_load (constant uint (0)) (constant uint (576)) ) ) (assign (xy) (var_ref clamp_retval@750) (expression vec2 min (expression vec2 max (expression vec2 + (expression vec2 * (expression vec2 abs (expression vec2 * (expression vec2 + (swiz xy (var_ref t29) )(expression vec2 neg (swiz wz (var_ref cse@751) )) ) (expression vec2 rcp (swiz xy (var_ref cse@751) )) ) ) (constant vec2 (5.000000 5.000000)) ) (constant vec2 (-4.000000 -4.000000)) ) (constant vec2 (0.000000 0.000000)) ) (constant vec2 (1.000000 1.000000)) ) ) (assign (xyzw) (var_ref t58) (expression vec4 * (var_ref t56) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float dot (var_ref clamp_retval@750) (var_ref clamp_retval@750) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) (assign (w) (var_ref t56) (swiz w (var_ref t58) )) (assign (xyz) (var_ref t56) (expression vec3 neg (expression vec3 min (expression vec3 neg (swiz xyz (var_ref t58) )) (constant vec3 (0.000000 0.000000 0.000000)) ) ) ) (assign (xyzw) (var_ref t59) (expression vec4 * (var_ref t56) (swiz xxxx (expression float min (expression float max (expression float + (constant float (4.000000)) (expression float neg (expression float * (constant float (4.000000)) (swiz w (var_ref t29) )) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) (assign (xyzw) (var_ref t56) (var_ref t59) ) (assign (xyzw) (var_ref t1) (var_ref t59) ) ) ()) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 * (var_ref t1) (swiz xxxx (var_ref clamp_retval) )) (swiz xxxx (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) ()) (assign (xyzw) (var_ref out_Target0) (var_ref t1) ) (assign (xyzw) (var_ref out_Target0@752) (var_ref out_Target0) ) )) ) ) GLSL source for vertex shader 48: #version 150 layout(std140) uniform vb0 { #define DrawRectangleParameters_PosScaleBias DrawRectangleParameters_PosScaleBiasvb0 vec4 DrawRectangleParameters_PosScaleBias; #define DrawRectangleParameters_UVScaleBias DrawRectangleParameters_UVScaleBiasvb0 vec4 DrawRectangleParameters_UVScaleBias; #define DrawRectangleParameters_InvTargetSizeAndTextureSize DrawRectangleParameters_InvTargetSizeAndTextureSizevb0 vec4 DrawRectangleParameters_InvTargetSizeAndTextureSize; }; uniform highp vec4 vu_h[5]; in highp vec4 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec4 Data; } out_TEXCOORD0; out TEXCOORD1 { vec3 Data; } out_TEXCOORD1; out TEXCOORD2 { vec4 Data; } out_TEXCOORD2; out TEXCOORD3 { vec4 Data; } out_TEXCOORD3; void main() { highp vec4 t0; highp vec4 t1; highp vec3 t2; highp vec4 t3; highp vec4 t4; highp vec4 t5; t5.xyzw = in_ATTRIBUTE0; t5.xy = (vec2(-1.000000e+000,-1.000000e+000)+((vec2(2.000000e+000,2.000000e+000)*(DrawRectangleParameters_PosScaleBias.zw+(in_ATTRIBUTE0.xy*DrawRectangleParameters_PosScaleBias.xy)))*DrawRectangleParameters_InvTargetSizeAndTextureSize.xy)); t5.xy = (t5.xy*vec2(1.000000e+000,-1.000000e+000)); t1.xy = ((DrawRectangleParameters_UVScaleBias.zw+(in_ATTRIBUTE1*DrawRectangleParameters_UVScaleBias.xy))*DrawRectangleParameters_InvTargetSizeAndTextureSize.zw); highp vec4 t6; t6.xy = t1.xy; t6.zw = t5.xy; t2.x = 1.000000e+000; highp vec2 t7; t7.x = 1.000000e+000; t7.y = (vu_h[3].y*vu_h[3].z); t2.yz = ((t5.xy*t7)*vec2((1.414214e+000/sqrt((1.000000e+000+((vu_h[3].y*vu_h[3].z)*(vu_h[3].y*vu_h[3].z))))))); t3.xy = (t1.xy+(vu_h[1].zw*vec2(-5.000000e-001,5.000000e-001))); t3.zw = (t1.xy+vu_h[4].xy); highp vec2 t8; t8.xy = (((t1.xy*vu_h[1].xy)+(-vu_h[2].zw))/vu_h[2].xy); t4.xy = ((((t8*vu_h[0].xx)*vu_h[2].xy)+vu_h[2].zw)*vu_h[1].zw); t4.zw = ((((t8*vu_h[0].yy)*vu_h[2].xy)+vu_h[2].zw)*vu_h[1].zw); t0.xyzw = t5; out_TEXCOORD0.Data.xyzw = t6; out_TEXCOORD1.Data.xyz = t2; out_TEXCOORD2.Data.xyzw = t3; out_TEXCOORD3.Data.xyzw = t4; t0.y = (-t5.y); t0.z = ((2.000000e+000*in_ATTRIBUTE0.z)+(-in_ATTRIBUTE0.w)); gl_Position.xyzw = t0; } GLSL IR for shader 48: ( (declare (shader_out ) TEXCOORD3 out_TEXCOORD3) (declare (shader_out ) TEXCOORD2 out_TEXCOORD2) (declare (shader_out ) TEXCOORD1 out_TEXCOORD1) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 5) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec2 t8) (declare () vec2 t7) (declare () vec4 t6) (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec3 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t5) (swiz zw (var_ref in_ATTRIBUTE0) )) (assign (xy) (var_ref t5) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_PosScaleBiasvb0) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref DrawRectangleParameters_PosScaleBiasvb0) )) ) ) (swiz xy (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) ) (assign (xy) (var_ref t5) (expression vec2 * (swiz xy (var_ref t5) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_UVScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref DrawRectangleParameters_UVScaleBiasvb0) )) ) (swiz zw (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) (assign (xy) (var_ref t6) (swiz xy (var_ref t1) )) (assign (zw) (var_ref t6) (swiz xy (var_ref t5) )) (assign (x) (var_ref t2) (constant float (1.000000)) ) (assign (x) (var_ref t7) (constant float (1.000000)) ) (assign (y) (var_ref t7) (expression float * (swiz y (array_ref (var_ref vu_h) (constant int (3)) ) )(swiz z (array_ref (var_ref vu_h) (constant int (3)) ) )) ) (declare (temporary ) float sqrt_retval) (call sqrt (var_ref sqrt_retval) ((expression float + (constant float (1.000000)) (expression float * (expression float * (swiz y (array_ref (var_ref vu_h) (constant int (3)) ) )(swiz z (array_ref (var_ref vu_h) (constant int (3)) ) )) (expression float * (swiz y (array_ref (var_ref vu_h) (constant int (3)) ) )(swiz z (array_ref (var_ref vu_h) (constant int (3)) ) )) ) ) )) (assign (yz) (var_ref t2) (expression vec2 * (expression vec2 * (swiz xy (var_ref t5) )(var_ref t7) ) (swiz xx (expression float / (constant float (1.414214)) (var_ref sqrt_retval) ) )) ) (assign (xy) (var_ref t3) (expression vec2 + (swiz xy (var_ref t1) )(expression vec2 * (swiz zw (array_ref (var_ref vu_h) (constant int (1)) ) )(constant vec2 (-0.500000 0.500000)) ) ) ) (assign (zw) (var_ref t3) (expression vec2 + (swiz xy (var_ref t1) )(swiz xy (array_ref (var_ref vu_h) (constant int (4)) ) )) ) (assign (xy) (var_ref t8) (expression vec2 / (expression vec2 + (expression vec2 * (swiz xy (var_ref t1) )(swiz xy (array_ref (var_ref vu_h) (constant int (1)) ) )) (expression vec2 neg (swiz zw (array_ref (var_ref vu_h) (constant int (2)) ) )) ) (swiz xy (array_ref (var_ref vu_h) (constant int (2)) ) )) ) (assign (xy) (var_ref t4) (expression vec2 * (expression vec2 + (expression vec2 * (expression vec2 * (var_ref t8) (swiz xx (array_ref (var_ref vu_h) (constant int (0)) ) )) (swiz xy (array_ref (var_ref vu_h) (constant int (2)) ) )) (swiz zw (array_ref (var_ref vu_h) (constant int (2)) ) )) (swiz zw (array_ref (var_ref vu_h) (constant int (1)) ) )) ) (assign (zw) (var_ref t4) (expression vec2 * (expression vec2 + (expression vec2 * (expression vec2 * (var_ref t8) (swiz yy (array_ref (var_ref vu_h) (constant int (0)) ) )) (swiz xy (array_ref (var_ref vu_h) (constant int (2)) ) )) (swiz zw (array_ref (var_ref vu_h) (constant int (2)) ) )) (swiz zw (array_ref (var_ref vu_h) (constant int (1)) ) )) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t5) )) (assign (xyzw) (record_ref (var_ref out_TEXCOORD0) Data) (var_ref t6) ) (assign (xyz) (record_ref (var_ref out_TEXCOORD1) Data) (var_ref t2) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD2) Data) (var_ref t3) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD3) Data) (var_ref t4) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) (function sqrt (signature float (parameters (declare (in ) float x) ) ( )) ) ) GLSL source for fragment shader 49: #version 150 uniform highp vec4 pu_h[26]; uniform highp sampler2D ps1; uniform highp sampler2D ps0; uniform highp sampler2D ps2; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; in TEXCOORD1 { vec3 Data; } in_TEXCOORD1; out highp vec4 out_Target0; void main() { highp vec4 t0; highp float t1; highp vec4 t2; highp vec4 t3; highp vec4 t4; highp vec4 t5; highp vec4 t6; highp vec4 t7; highp vec4 t8; highp vec4 t9; highp vec4 t10; highp vec4 t11; highp vec2 t12; highp vec2 t13; highp vec3 t14; t14.xy = ((in_TEXCOORD0.Data.zw*vec2(5.000000e-001,-5.000000e-001))+vec2(5.000000e-001,5.000000e-001)); t14.z = textureLod(ps2,in_TEXCOORD0.Data.xy,0).x; highp float t15; t15 = (1.0/((dot(t14,pu_h[0].xyz)+pu_h[0].w))); t13.x = ((-2.000000e+000*(((((t14.x*(((pu_h[1].x*t14.y)+(pu_h[1].y*t14.z))+pu_h[1].z))+(pu_h[1].w*t14.y))+((pu_h[2].x*t14.x)*t14.x))+(pu_h[2].y*t14.z))+pu_h[2].z))*t15); t13.y = ((2.000000e+000*(((((t14.y*(((pu_h[3].x*t14.x)+(pu_h[3].y*t14.z))+pu_h[3].z))+(pu_h[3].w*t14.x))+((pu_h[4].x*t14.y)*t14.y))+(pu_h[4].y*t14.z))+pu_h[4].z))*t15); highp vec2 t16; t16.xy = (t13*pu_h[25].xy); highp vec2 t17; t17.xy = (in_TEXCOORD0.Data.zw+(-t13)); t12.xy = t17; t12.x = clamp(t17.x,(-1.000000e+000+pu_h[25].z),(1.000000e+000+(-pu_h[25].z))); t12.y = clamp(t17.y,(-1.000000e+000+pu_h[25].w),(1.000000e+000+(-pu_h[25].w))); highp vec4 t18; t18.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(-1,-1)); t11.xyzw = t18; highp vec4 t19; t19.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(0,-1)); t10.xyzw = t19; highp vec4 t20; t20.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(1,-1)); t9.xyzw = t20; highp vec4 t21; t21.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(-1,0)); t8.xyzw = t21; highp vec4 t22; t22.xyzw = textureLod(ps0,in_TEXCOORD0.Data.xy,0); t7.xyzw = t22; highp vec4 t23; t23.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(1,0)); t6.xyzw = t23; highp vec4 t24; t24.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(-1,1)); t5.xyzw = t24; highp vec4 t25; t25.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(0,1)); t4.xyzw = t25; highp vec4 t26; t26.xyzw = textureLodOffset(ps0,in_TEXCOORD0.Data.xy,0,ivec2(1,1)); t3.xyzw = t26; t11.xyz = (t18.xyz*vec3((1.0/(((((t18.y*2.000000e+000)+(t18.x+t18.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t10.xyz = (t19.xyz*vec3((1.0/(((((t19.y*2.000000e+000)+(t19.x+t19.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t9.xyz = (t20.xyz*vec3((1.0/(((((t20.y*2.000000e+000)+(t20.x+t20.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t8.xyz = (t21.xyz*vec3((1.0/(((((t21.y*2.000000e+000)+(t21.x+t21.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t7.xyz = (t22.xyz*vec3((1.0/(((((t22.y*2.000000e+000)+(t22.x+t22.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t6.xyz = (t23.xyz*vec3((1.0/(((((t23.y*2.000000e+000)+(t23.x+t23.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t5.xyz = (t24.xyz*vec3((1.0/(((((t24.y*2.000000e+000)+(t24.x+t24.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t4.xyz = (t25.xyz*vec3((1.0/(((((t25.y*2.000000e+000)+(t25.x+t25.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); t3.xyz = (t26.xyz*vec3((1.0/(((((t26.y*2.000000e+000)+(t26.x+t26.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); highp vec4 t27; t27.xyzw = (((((((((t11*pu_h[14].xxxx)+(t10*pu_h[15].xxxx))+(t9*pu_h[16].xxxx))+(t8*pu_h[17].xxxx))+(t7*pu_h[18].xxxx))+(t6*pu_h[19].xxxx))+(t5*pu_h[20].xxxx))+(t4*pu_h[21].xxxx))+(t3*pu_h[22].xxxx)); t2.xyzw = t27; highp vec4 t28; t28.xyzw = (((((((((t11*pu_h[5].xxxx)+(t10*pu_h[6].xxxx))+(t9*pu_h[7].xxxx))+(t8*pu_h[8].xxxx))+(t7*pu_h[9].xxxx))+(t6*pu_h[10].xxxx))+(t5*pu_h[11].xxxx))+(t4*pu_h[12].xxxx))+(t3*pu_h[13].xxxx)); highp vec4 t29; t29.xyzw = min(min(min(t10,t8),min(t7,t6)),t4); highp vec4 t30; t30.xyzw = max(max(max(t10,t8),max(t7,t6)),t4); highp vec4 t31; t31.xyzw = ((t29*vec4(5.000000e-001,5.000000e-001,5.000000e-001,5.000000e-001))+(min(min(min(t11,t9),min(t5,t3)),t29)*vec4(5.000000e-001,5.000000e-001,5.000000e-001,5.000000e-001))); highp vec4 t32; t32.xyzw = ((t30*vec4(5.000000e-001,5.000000e-001,5.000000e-001,5.000000e-001))+(max(max(max(t11,t9),max(t5,t3)),t30)*vec4(5.000000e-001,5.000000e-001,5.000000e-001,5.000000e-001))); highp vec4 t33; t33.xyzw = textureLod(ps1,((((t12*pu_h[24].xy)+pu_h[24].zw)+vec2(5.000000e-001,5.000000e-001))*pu_h[23].zw),0); t0.xyzw = t33; t0.xyz = (t33.xyz*vec3((1.0/(((((t33.y*2.000000e+000)+(t33.x+t33.z))*in_TEXCOORD1.Data.x)+4.000000e+000))))); highp vec3 t34; t34.xyz = max(t28.xyz,max(t31.xyz,t32.xyz)); highp vec3 t35; t35.xyz = (t34+min(t28.xyz,min(t31.xyz,t32.xyz))); highp vec3 t36; t36.xyz = (t0.xyz+(-(t35*vec3(5.000000e-001,5.000000e-001,5.000000e-001)))); highp vec3 t37; t37.xyz = (t34+(-(t35*vec3(5.000000e-001,5.000000e-001,5.000000e-001)))); highp vec3 t38; t38.xyz = (1.0/((t28.xyz+(-t0.xyz)))); highp vec3 t39; t39.xyz = ((t37+(-t36))*t38); highp vec3 t40; t40.xyz = (((-t37)+(-t36))*t38); t0.xyzw = mix(t0,t28,vec4(clamp(max(max(min(t39.x,t40.x),min(t39.y,t40.y)),min(t39.z,t40.z)),0.000000e+000,1.000000e+000))); t2.xyz = mix(t27.xyz,t7.xyz,vec3(clamp(((clamp(clamp(((abs(t16.x)*2.000000e+000)+(abs(t16.y)*2.000000e+000)),0.000000e+000,1.000000e+000),0.000000e+000,1.000000e+000)*5.000000e-001)+(1.0/((1.000000e+000+((((t32.y*2.000000e+000)+(t32.x+t32.z))+(-((t31.y*2.000000e+000)+(t31.x+t31.z))))*3.200000e+001))))),0.000000e+000,1.000000e+000))); t1 = 1.250000e-001; if ((max(abs(t17.x),abs(t17.y))>=1.000000e+000)) { t0.xyzw = t2; t1 = 1.000000e+000; } highp vec4 t41; t41.xyzw = mix(t0,t2,vec4(t1)); t0.xyzw = t41; t0.xyz = (t41.xyz*vec3((4.000000e+000*(1.0/(((((t41.y*2.000000e+000)+(t41.x+t41.z))*(-in_TEXCOORD1.Data.x))+1.000000e+000)))))); t0.xyz = (-min((-t0.xyz),vec3(0.000000e+000,0.000000e+000,0.000000e+000))); out_Target0.xyzw = t0; } GLSL IR for shader 49: ( (declare (shader_in ) TEXCOORD1 in_TEXCOORD1) (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 26) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (uniform ) sampler2D ps2) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec3 t40) (declare () vec3 t39) (declare () vec3 t38) (declare () vec3 t37) (declare () vec3 t36) (declare () vec3 t35) (declare () vec3 t34) (declare () vec4 t32) (declare () vec4 t31) (declare () vec4 t30) (declare () vec4 t29) (declare () vec4 t28) (declare () vec4 t27) (declare () vec4 t25) (declare () vec4 t24) (declare () vec4 t23) (declare () vec4 t22) (declare () vec4 t21) (declare () vec4 t20) (declare () vec4 t19) (declare () vec4 t18) (declare () vec2 t17) (declare () vec2 t16) (declare () float t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec2 t12) (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () vec4 t8) (declare () vec4 t7) (declare () vec4 t6) (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () float t1) (declare () vec4 t0) (assign (xy) (var_ref t14) (expression vec2 + (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(constant vec2 (0.500000 -0.500000)) ) (constant vec2 (0.500000 0.500000)) ) ) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps2) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (z) (var_ref t14) (swiz x (var_ref textureLod_retval) )) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t14) (swiz xyz (array_ref (var_ref pu_h) (constant int (0)) ) ))) (assign (x) (var_ref t15) (expression float rcp (expression float + (var_ref dot_retval) (swiz w (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (assign (x) (var_ref t13) (expression float * (expression float * (constant float (-2.000000)) (expression float + (expression float + (expression float + (expression float + (expression float * (swiz x (var_ref t14) )(expression float + (expression float + (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz y (var_ref t14) )) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz z (var_ref t14) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (1)) ) )) ) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz y (var_ref t14) )) ) (expression float * (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )(swiz x (var_ref t14) )) (swiz x (var_ref t14) )) ) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )(swiz z (var_ref t14) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (var_ref t15) ) ) (assign (y) (var_ref t13) (expression float * (expression float * (constant float (2.000000)) (expression float + (expression float + (expression float + (expression float + (expression float * (swiz y (var_ref t14) )(expression float + (expression float + (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (3)) ) )(swiz x (var_ref t14) )) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (3)) ) )(swiz z (var_ref t14) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )(swiz x (var_ref t14) )) ) (expression float * (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (4)) ) )(swiz y (var_ref t14) )) (swiz y (var_ref t14) )) ) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (4)) ) )(swiz z (var_ref t14) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (4)) ) )) ) (var_ref t15) ) ) (assign (xy) (var_ref t16) (expression vec2 * (var_ref t13) (swiz xy (array_ref (var_ref pu_h) (constant int (25)) ) )) ) (assign (xy) (var_ref t17) (expression vec2 + (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 neg (var_ref t13) ) ) ) (assign (xy) (var_ref t12) (var_ref t17) ) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((swiz x (var_ref t17) )(expression float + (expression float neg (constant float (1.000000)) ) (swiz z (array_ref (var_ref pu_h) (constant int (25)) ) )) (expression float + (constant float (1.000000)) (expression float neg (swiz z (array_ref (var_ref pu_h) (constant int (25)) ) )) ) )) (assign (x) (var_ref t12) (var_ref clamp_retval) ) (declare (temporary ) float clamp_retval@753) (call clamp (var_ref clamp_retval@753) ((swiz y (var_ref t17) )(expression float + (expression float neg (constant float (1.000000)) ) (swiz w (array_ref (var_ref pu_h) (constant int (25)) ) )) (expression float + (constant float (1.000000)) (expression float neg (swiz w (array_ref (var_ref pu_h) (constant int (25)) ) )) ) )) (assign (y) (var_ref t12) (var_ref clamp_retval@753) ) (declare (temporary ) vec4 textureLodOffset_retval) (call textureLodOffset (var_ref textureLodOffset_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (-1 -1)) )) (assign (xyzw) (var_ref t18) (var_ref textureLodOffset_retval) ) (assign (xyzw) (var_ref t11) (var_ref textureLodOffset_retval) ) (declare (temporary ) vec4 textureLodOffset_retval@754) (call textureLodOffset (var_ref textureLodOffset_retval@754) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (0 -1)) )) (assign (xyzw) (var_ref t19) (var_ref textureLodOffset_retval@754) ) (assign (xyzw) (var_ref t10) (var_ref textureLodOffset_retval@754) ) (declare (temporary ) vec4 textureLodOffset_retval@755) (call textureLodOffset (var_ref textureLodOffset_retval@755) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (1 -1)) )) (assign (xyzw) (var_ref t20) (var_ref textureLodOffset_retval@755) ) (assign (xyzw) (var_ref t9) (var_ref textureLodOffset_retval@755) ) (declare (temporary ) vec4 textureLodOffset_retval@756) (call textureLodOffset (var_ref textureLodOffset_retval@756) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (-1 0)) )) (assign (xyzw) (var_ref t21) (var_ref textureLodOffset_retval@756) ) (assign (xyzw) (var_ref t8) (var_ref textureLodOffset_retval@756) ) (declare (temporary ) vec4 textureLod_retval@757) (call textureLod (var_ref textureLod_retval@757) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t22) (var_ref textureLod_retval@757) ) (assign (xyzw) (var_ref t7) (var_ref textureLod_retval@757) ) (declare (temporary ) vec4 textureLodOffset_retval@758) (call textureLodOffset (var_ref textureLodOffset_retval@758) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (1 0)) )) (assign (xyzw) (var_ref t23) (var_ref textureLodOffset_retval@758) ) (assign (xyzw) (var_ref t6) (var_ref textureLodOffset_retval@758) ) (declare (temporary ) vec4 textureLodOffset_retval@759) (call textureLodOffset (var_ref textureLodOffset_retval@759) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (-1 1)) )) (assign (xyzw) (var_ref t24) (var_ref textureLodOffset_retval@759) ) (assign (xyzw) (var_ref t5) (var_ref textureLodOffset_retval@759) ) (declare (temporary ) vec4 textureLodOffset_retval@760) (call textureLodOffset (var_ref textureLodOffset_retval@760) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (0 1)) )) (assign (xyzw) (var_ref t25) (var_ref textureLodOffset_retval@760) ) (assign (xyzw) (var_ref t4) (var_ref textureLodOffset_retval@760) ) (declare (temporary ) vec4 textureLodOffset_retval@761) (call textureLodOffset (var_ref textureLodOffset_retval@761) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) (constant ivec2 (1 1)) )) (assign (w) (var_ref t3) (swiz w (var_ref textureLodOffset_retval@761) )) (assign (xyz) (var_ref t11) (expression vec3 * (swiz xyz (var_ref t18) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t18) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t18) )(swiz z (var_ref t18) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t10) (expression vec3 * (swiz xyz (var_ref t19) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t19) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t19) )(swiz z (var_ref t19) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t9) (expression vec3 * (swiz xyz (var_ref t20) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t20) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t20) )(swiz z (var_ref t20) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t8) (expression vec3 * (swiz xyz (var_ref t21) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t21) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t21) )(swiz z (var_ref t21) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t7) (expression vec3 * (swiz xyz (var_ref t22) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t22) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t22) )(swiz z (var_ref t22) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 * (swiz xyz (var_ref t23) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t23) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t23) )(swiz z (var_ref t23) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t5) (expression vec3 * (swiz xyz (var_ref t24) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t24) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t24) )(swiz z (var_ref t24) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t4) (expression vec3 * (swiz xyz (var_ref t25) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref t25) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t25) )(swiz z (var_ref t25) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t3) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@761) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@761) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@761) )(swiz z (var_ref textureLodOffset_retval@761) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyzw) (var_ref t27) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref t11) (swiz xxxx (array_ref (var_ref pu_h) (constant int (14)) ) )) (expression vec4 * (var_ref t10) (swiz xxxx (array_ref (var_ref pu_h) (constant int (15)) ) )) ) (expression vec4 * (var_ref t9) (swiz xxxx (array_ref (var_ref pu_h) (constant int (16)) ) )) ) (expression vec4 * (var_ref t8) (swiz xxxx (array_ref (var_ref pu_h) (constant int (17)) ) )) ) (expression vec4 * (var_ref t7) (swiz xxxx (array_ref (var_ref pu_h) (constant int (18)) ) )) ) (expression vec4 * (var_ref t6) (swiz xxxx (array_ref (var_ref pu_h) (constant int (19)) ) )) ) (expression vec4 * (var_ref t5) (swiz xxxx (array_ref (var_ref pu_h) (constant int (20)) ) )) ) (expression vec4 * (var_ref t4) (swiz xxxx (array_ref (var_ref pu_h) (constant int (21)) ) )) ) (expression vec4 * (var_ref t3) (swiz xxxx (array_ref (var_ref pu_h) (constant int (22)) ) )) ) ) (assign (xyzw) (var_ref t2) (var_ref t27) ) (assign (xyzw) (var_ref t28) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref t11) (swiz xxxx (array_ref (var_ref pu_h) (constant int (5)) ) )) (expression vec4 * (var_ref t10) (swiz xxxx (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (expression vec4 * (var_ref t9) (swiz xxxx (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (expression vec4 * (var_ref t8) (swiz xxxx (array_ref (var_ref pu_h) (constant int (8)) ) )) ) (expression vec4 * (var_ref t7) (swiz xxxx (array_ref (var_ref pu_h) (constant int (9)) ) )) ) (expression vec4 * (var_ref t6) (swiz xxxx (array_ref (var_ref pu_h) (constant int (10)) ) )) ) (expression vec4 * (var_ref t5) (swiz xxxx (array_ref (var_ref pu_h) (constant int (11)) ) )) ) (expression vec4 * (var_ref t4) (swiz xxxx (array_ref (var_ref pu_h) (constant int (12)) ) )) ) (expression vec4 * (var_ref t3) (swiz xxxx (array_ref (var_ref pu_h) (constant int (13)) ) )) ) ) (declare (temporary ) vec4 min_retval) (call min (var_ref min_retval) ((var_ref t10) (var_ref t8) )) (declare (temporary ) vec4 min_retval@762) (call min (var_ref min_retval@762) ((var_ref t7) (var_ref t6) )) (declare (temporary ) vec4 min_retval@763) (call min (var_ref min_retval@763) ((var_ref min_retval) (var_ref min_retval@762) )) (declare (temporary ) vec4 min_retval@764) (call min (var_ref min_retval@764) ((var_ref min_retval@763) (var_ref t4) )) (assign (xyzw) (var_ref t29) (var_ref min_retval@764) ) (declare (temporary ) vec4 max_retval) (call max (var_ref max_retval) ((var_ref t10) (var_ref t8) )) (declare (temporary ) vec4 max_retval@765) (call max (var_ref max_retval@765) ((var_ref t7) (var_ref t6) )) (declare (temporary ) vec4 max_retval@766) (call max (var_ref max_retval@766) ((var_ref max_retval) (var_ref max_retval@765) )) (declare (temporary ) vec4 max_retval@767) (call max (var_ref max_retval@767) ((var_ref max_retval@766) (var_ref t4) )) (assign (xyzw) (var_ref t30) (var_ref max_retval@767) ) (declare (temporary ) vec4 min_retval@768) (call min (var_ref min_retval@768) ((var_ref t11) (var_ref t9) )) (declare (temporary ) vec4 min_retval@769) (call min (var_ref min_retval@769) ((var_ref t5) (var_ref t3) )) (declare (temporary ) vec4 min_retval@770) (call min (var_ref min_retval@770) ((var_ref min_retval@768) (var_ref min_retval@769) )) (declare (temporary ) vec4 min_retval@771) (call min (var_ref min_retval@771) ((var_ref min_retval@770) (var_ref t29) )) (assign (xyzw) (var_ref t31) (expression vec4 + (expression vec4 * (var_ref t29) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) (expression vec4 * (var_ref min_retval@771) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) ) ) (declare (temporary ) vec4 max_retval@772) (call max (var_ref max_retval@772) ((var_ref t11) (var_ref t9) )) (declare (temporary ) vec4 max_retval@773) (call max (var_ref max_retval@773) ((var_ref t5) (var_ref t3) )) (declare (temporary ) vec4 max_retval@774) (call max (var_ref max_retval@774) ((var_ref max_retval@772) (var_ref max_retval@773) )) (declare (temporary ) vec4 max_retval@775) (call max (var_ref max_retval@775) ((var_ref max_retval@774) (var_ref t30) )) (assign (xyzw) (var_ref t32) (expression vec4 + (expression vec4 * (var_ref t30) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) (expression vec4 * (var_ref max_retval@775) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) ) ) (declare (temporary ) vec4 textureLod_retval@776) (call textureLod (var_ref textureLod_retval@776) ((var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t12) (swiz xy (array_ref (var_ref pu_h) (constant int (24)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (24)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (23)) ) )) (constant float (0.000000)) )) (assign (w) (var_ref t0) (swiz w (var_ref textureLod_retval@776) )) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref textureLod_retval@776) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLod_retval@776) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLod_retval@776) )(swiz z (var_ref textureLod_retval@776) )) ) (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) (constant float (4.000000)) ) ) )) ) (declare (temporary ) vec3 max_retval@777) (call max (var_ref max_retval@777) ((swiz xyz (var_ref t31) )(swiz xyz (var_ref t32) ))) (declare (temporary ) vec3 max_retval@778) (call max (var_ref max_retval@778) ((swiz xyz (var_ref t28) )(var_ref max_retval@777) )) (assign (xyz) (var_ref t34) (var_ref max_retval@778) ) (declare (temporary ) vec3 min_retval@779) (call min (var_ref min_retval@779) ((swiz xyz (var_ref t31) )(swiz xyz (var_ref t32) ))) (declare (temporary ) vec3 min_retval@780) (call min (var_ref min_retval@780) ((swiz xyz (var_ref t28) )(var_ref min_retval@779) )) (assign (xyz) (var_ref t35) (expression vec3 + (var_ref t34) (var_ref min_retval@780) ) ) (assign (xyz) (var_ref t36) (expression vec3 + (swiz xyz (var_ref t0) )(expression vec3 neg (expression vec3 * (var_ref t35) (constant vec3 (0.500000 0.500000 0.500000)) ) ) ) ) (assign (xyz) (var_ref t37) (expression vec3 + (var_ref t34) (expression vec3 neg (expression vec3 * (var_ref t35) (constant vec3 (0.500000 0.500000 0.500000)) ) ) ) ) (assign (xyz) (var_ref t38) (expression vec3 rcp (expression vec3 + (swiz xyz (var_ref t28) )(expression vec3 neg (swiz xyz (var_ref t0) )) ) ) ) (assign (xyz) (var_ref t39) (expression vec3 * (expression vec3 + (var_ref t37) (expression vec3 neg (var_ref t36) ) ) (var_ref t38) ) ) (assign (xyz) (var_ref t40) (expression vec3 * (expression vec3 + (expression vec3 neg (var_ref t37) ) (expression vec3 neg (var_ref t36) ) ) (var_ref t38) ) ) (declare (temporary ) float min_retval@781) (call min (var_ref min_retval@781) ((swiz x (var_ref t39) )(swiz x (var_ref t40) ))) (declare (temporary ) float min_retval@782) (call min (var_ref min_retval@782) ((swiz y (var_ref t39) )(swiz y (var_ref t40) ))) (declare (temporary ) float max_retval@783) (call max (var_ref max_retval@783) ((var_ref min_retval@781) (var_ref min_retval@782) )) (declare (temporary ) float min_retval@784) (call min (var_ref min_retval@784) ((swiz z (var_ref t39) )(swiz z (var_ref t40) ))) (declare (temporary ) float max_retval@785) (call max (var_ref max_retval@785) ((var_ref max_retval@783) (var_ref min_retval@784) )) (declare (temporary ) float clamp_retval@786) (call clamp (var_ref clamp_retval@786) ((var_ref max_retval@785) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) vec4 mix_retval) (call mix (var_ref mix_retval) ((var_ref t0) (var_ref t28) (swiz xxxx (var_ref clamp_retval@786) ))) (assign (xyzw) (var_ref t0) (var_ref mix_retval) ) (declare (temporary ) float abs_retval) (call abs (var_ref abs_retval) ((swiz x (var_ref t16) ))) (declare (temporary ) float abs_retval@787) (call abs (var_ref abs_retval@787) ((swiz y (var_ref t16) ))) (declare (temporary ) float clamp_retval@788) (call clamp (var_ref clamp_retval@788) ((expression float + (expression float * (var_ref abs_retval) (constant float (2.000000)) ) (expression float * (var_ref abs_retval@787) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float clamp_retval@789) (call clamp (var_ref clamp_retval@789) ((var_ref clamp_retval@788) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) float clamp_retval@790) (call clamp (var_ref clamp_retval@790) ((expression float + (expression float * (var_ref clamp_retval@789) (constant float (0.500000)) ) (expression float rcp (expression float + (constant float (1.000000)) (expression float * (expression float + (expression float + (expression float * (swiz y (var_ref t32) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t32) )(swiz z (var_ref t32) )) ) (expression float neg (expression float + (expression float * (swiz y (var_ref t31) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t31) )(swiz z (var_ref t31) )) ) ) ) (constant float (32.000000)) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) vec3 mix_retval@791) (call mix (var_ref mix_retval@791) ((swiz xyz (var_ref t27) )(swiz xyz (var_ref t7) )(swiz xxx (var_ref clamp_retval@790) ))) (assign (xyz) (var_ref t2) (var_ref mix_retval@791) ) (assign (x) (var_ref t1) (constant float (0.125000)) ) (declare (temporary ) float abs_retval@792) (call abs (var_ref abs_retval@792) ((swiz x (var_ref t17) ))) (declare (temporary ) float abs_retval@793) (call abs (var_ref abs_retval@793) ((swiz y (var_ref t17) ))) (declare (temporary ) float max_retval@794) (call max (var_ref max_retval@794) ((var_ref abs_retval@792) (var_ref abs_retval@793) )) (if (expression bool >= (var_ref max_retval@794) (constant float (1.000000)) ) ( (assign (xyzw) (var_ref t0) (var_ref t2) ) (assign (x) (var_ref t1) (constant float (1.000000)) ) ) ()) (declare (temporary ) vec4 mix_retval@795) (call mix (var_ref mix_retval@795) ((var_ref t0) (var_ref t2) (swiz xxxx (var_ref t1) ))) (assign (w) (var_ref t0) (swiz w (var_ref mix_retval@795) )) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref mix_retval@795) )(swiz xxx (expression float * (constant float (4.000000)) (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref mix_retval@795) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref mix_retval@795) )(swiz z (var_ref mix_retval@795) )) ) (expression float neg (swiz x (record_ref (var_ref in_TEXCOORD1) Data) )) ) (constant float (1.000000)) ) ) ) )) ) (declare (temporary ) vec3 min_retval@796) (call min (var_ref min_retval@796) ((expression vec3 neg (swiz xyz (var_ref t0) )) (constant vec3 (0.000000 0.000000 0.000000)) )) (assign (xyz) (var_ref t0) (expression vec3 neg (var_ref min_retval@796) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) (function textureLodOffset (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) (declare (const_in ) ivec2 offset) ) ( )) ) (function min (signature vec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function max (signature vec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function mix (signature vec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) (declare (in ) vec4 a) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) (declare (in ) vec3 a) ) ( )) ) (function abs (signature float (parameters (declare (in ) float x) ) ( )) ) ) GLSL IR for linked vertex program 50: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (uniform ) (array vec4 5) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec2 t7) (declare () vec4 t6) (declare () vec4 t5) (declare () vec3 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t5) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@797) (assign (xyzw) (var_ref cse@797) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t5) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@797) )) ) ) (assign (xy) (var_ref t5) (expression vec2 * (swiz xy (var_ref t5) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@798) (assign (xyzw) (var_ref cse@798) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@798) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@798) )) ) (swiz zw (var_ref cse@797) )) ) (assign (xy) (var_ref t6) (swiz xy (var_ref t1) )) (assign (zw) (var_ref t6) (swiz xy (var_ref t5) )) (assign (x) (var_ref t2) (constant float (1.000000)) ) (assign (x) (var_ref t7) (constant float (1.000000)) ) (declare () float cse@799) (assign (x) (var_ref cse@799) (expression float * (swiz y (array_ref (var_ref vu_h) (constant int (3)) ) )(swiz z (array_ref (var_ref vu_h) (constant int (3)) ) )) ) (assign (y) (var_ref t7) (var_ref cse@799) ) (assign (yz) (var_ref t2) (expression vec2 * (expression vec2 * (swiz xy (var_ref t5) )(var_ref t7) ) (swiz xx (expression float * (constant float (1.414214)) (expression float rsq (expression float + (constant float (1.000000)) (expression float * (var_ref cse@799) (var_ref cse@799) ) ) ) ) )) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t5) )) (assign (xyzw) (var_ref Data) (var_ref t6) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t5) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyz) (var_ref packed:Data) (var_ref t2) ) (assign (xyzw) (var_ref packed:Data@800) (var_ref packed:Data) ) (assign (xyzw) (var_ref gl_Position@801) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@802) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 50: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 packed:Data) (declare (uniform ) (array vec4 26) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (uniform ) sampler2D ps2) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec3 t40) (declare () vec3 t39) (declare () vec3 t38) (declare () vec3 t37) (declare () vec3 t36) (declare () vec3 t35) (declare () vec4 t32) (declare () vec4 t31) (declare () vec4 t28) (declare () vec4 t27) (declare () vec2 t17) (declare () vec2 t16) (declare () float t15) (declare () vec3 t14) (declare () vec2 t13) (declare () vec2 t12) (declare () vec4 t11) (declare () vec4 t10) (declare () vec4 t9) (declare () vec4 t8) (declare () vec4 t7) (declare () vec4 t6) (declare () vec4 t5) (declare () vec4 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () float t1) (declare () vec4 t0) (assign (xy) (var_ref t14) (expression vec2 + (expression vec2 * (swiz zw (var_ref Data) )(constant vec2 (0.500000 -0.500000)) ) (constant vec2 (0.500000 0.500000)) ) ) (declare (temporary ) vec4 textureLod_retval) (assign (xyzw) (var_ref textureLod_retval) (txl vec4 (var_ref ps2) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (assign (z) (var_ref t14) (swiz x (var_ref textureLod_retval) )) (assign (x) (var_ref t15) (expression float rcp (expression float + (expression float dot (var_ref t14) (swiz xyz (array_ref (var_ref pu_h) (constant int (0)) ) )) (swiz w (array_ref (var_ref pu_h) (constant int (0)) ) )) ) ) (assign (x) (var_ref t13) (expression float * (expression float * (constant float (-2.000000)) (expression float + (expression float + (expression float + (expression float + (expression float * (swiz x (var_ref t14) )(expression float + (expression float + (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz y (var_ref t14) )) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz x (var_ref textureLod_retval) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (1)) ) )) ) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )(swiz y (var_ref t14) )) ) (expression float * (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )(swiz x (var_ref t14) )) (swiz x (var_ref t14) )) ) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )(swiz x (var_ref textureLod_retval) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (var_ref t15) ) ) (assign (y) (var_ref t13) (expression float * (expression float * (constant float (2.000000)) (expression float + (expression float + (expression float + (expression float + (expression float * (swiz y (var_ref t14) )(expression float + (expression float + (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (3)) ) )(swiz x (var_ref t14) )) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (3)) ) )(swiz x (var_ref textureLod_retval) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (3)) ) )) ) (expression float * (swiz w (array_ref (var_ref pu_h) (constant int (3)) ) )(swiz x (var_ref t14) )) ) (expression float * (expression float * (swiz x (array_ref (var_ref pu_h) (constant int (4)) ) )(swiz y (var_ref t14) )) (swiz y (var_ref t14) )) ) (expression float * (swiz y (array_ref (var_ref pu_h) (constant int (4)) ) )(swiz x (var_ref textureLod_retval) )) ) (swiz z (array_ref (var_ref pu_h) (constant int (4)) ) )) ) (var_ref t15) ) ) (assign (xy) (var_ref t16) (expression vec2 * (var_ref t13) (swiz xy (array_ref (var_ref pu_h) (constant int (25)) ) )) ) (assign (xy) (var_ref t17) (expression vec2 + (swiz zw (var_ref Data) )(expression vec2 neg (var_ref t13) ) ) ) (assign (x) (var_ref t12) (expression float min (expression float max (swiz x (var_ref t17) )(expression float + (constant float (-1.000000)) (swiz z (array_ref (var_ref pu_h) (constant int (25)) ) )) ) (expression float + (constant float (1.000000)) (expression float neg (swiz z (array_ref (var_ref pu_h) (constant int (25)) ) )) ) ) ) (assign (y) (var_ref t12) (expression float min (expression float max (swiz y (var_ref t17) )(expression float + (constant float (-1.000000)) (swiz w (array_ref (var_ref pu_h) (constant int (25)) ) )) ) (expression float + (constant float (1.000000)) (expression float neg (swiz w (array_ref (var_ref pu_h) (constant int (25)) ) )) ) ) ) (declare (temporary ) vec4 textureLodOffset_retval) (assign (xyzw) (var_ref textureLodOffset_retval) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (-1 -1)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t11) (swiz w (var_ref textureLodOffset_retval) )) (declare (temporary ) vec4 textureLodOffset_retval@803) (assign (xyzw) (var_ref textureLodOffset_retval@803) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (0 -1)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t10) (swiz w (var_ref textureLodOffset_retval@803) )) (declare (temporary ) vec4 textureLodOffset_retval@804) (assign (xyzw) (var_ref textureLodOffset_retval@804) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (1 -1)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t9) (swiz w (var_ref textureLodOffset_retval@804) )) (declare (temporary ) vec4 textureLodOffset_retval@805) (assign (xyzw) (var_ref textureLodOffset_retval@805) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (-1 0)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t8) (swiz w (var_ref textureLodOffset_retval@805) )) (declare (temporary ) vec4 textureLod_retval@806) (assign (xyzw) (var_ref textureLod_retval@806) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (assign (w) (var_ref t7) (swiz w (var_ref textureLod_retval@806) )) (declare (temporary ) vec4 textureLodOffset_retval@807) (assign (xyzw) (var_ref textureLodOffset_retval@807) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (1 0)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t6) (swiz w (var_ref textureLodOffset_retval@807) )) (declare (temporary ) vec4 textureLodOffset_retval@808) (assign (xyzw) (var_ref textureLodOffset_retval@808) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (-1 1)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t5) (swiz w (var_ref textureLodOffset_retval@808) )) (declare (temporary ) vec4 textureLodOffset_retval@809) (assign (xyzw) (var_ref textureLodOffset_retval@809) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (0 1)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t4) (swiz w (var_ref textureLodOffset_retval@809) )) (declare (temporary ) vec4 textureLodOffset_retval@810) (assign (xyzw) (var_ref textureLodOffset_retval@810) (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) (constant ivec2 (1 1)) 1 () (constant float (0.000000)) )) (assign (w) (var_ref t3) (swiz w (var_ref textureLodOffset_retval@810) )) (assign (xyz) (var_ref t11) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval) )(swiz z (var_ref textureLodOffset_retval) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t10) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@803) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@803) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@803) )(swiz z (var_ref textureLodOffset_retval@803) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t9) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@804) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@804) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@804) )(swiz z (var_ref textureLodOffset_retval@804) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t8) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@805) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@805) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@805) )(swiz z (var_ref textureLodOffset_retval@805) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t7) (expression vec3 * (swiz xyz (var_ref textureLod_retval@806) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLod_retval@806) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLod_retval@806) )(swiz z (var_ref textureLod_retval@806) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t6) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@807) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@807) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@807) )(swiz z (var_ref textureLodOffset_retval@807) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t5) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@808) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@808) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@808) )(swiz z (var_ref textureLodOffset_retval@808) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t4) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@809) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@809) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@809) )(swiz z (var_ref textureLodOffset_retval@809) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyz) (var_ref t3) (expression vec3 * (swiz xyz (var_ref textureLodOffset_retval@810) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLodOffset_retval@810) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLodOffset_retval@810) )(swiz z (var_ref textureLodOffset_retval@810) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (assign (xyzw) (var_ref t27) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref t11) (swiz xxxx (array_ref (var_ref pu_h) (constant int (14)) ) )) (expression vec4 * (var_ref t10) (swiz xxxx (array_ref (var_ref pu_h) (constant int (15)) ) )) ) (expression vec4 * (var_ref t9) (swiz xxxx (array_ref (var_ref pu_h) (constant int (16)) ) )) ) (expression vec4 * (var_ref t8) (swiz xxxx (array_ref (var_ref pu_h) (constant int (17)) ) )) ) (expression vec4 * (var_ref t7) (swiz xxxx (array_ref (var_ref pu_h) (constant int (18)) ) )) ) (expression vec4 * (var_ref t6) (swiz xxxx (array_ref (var_ref pu_h) (constant int (19)) ) )) ) (expression vec4 * (var_ref t5) (swiz xxxx (array_ref (var_ref pu_h) (constant int (20)) ) )) ) (expression vec4 * (var_ref t4) (swiz xxxx (array_ref (var_ref pu_h) (constant int (21)) ) )) ) (expression vec4 * (var_ref t3) (swiz xxxx (array_ref (var_ref pu_h) (constant int (22)) ) )) ) ) (assign (w) (var_ref t2) (swiz w (var_ref t27) )) (assign (xyzw) (var_ref t28) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref t11) (swiz xxxx (array_ref (var_ref pu_h) (constant int (5)) ) )) (expression vec4 * (var_ref t10) (swiz xxxx (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (expression vec4 * (var_ref t9) (swiz xxxx (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (expression vec4 * (var_ref t8) (swiz xxxx (array_ref (var_ref pu_h) (constant int (8)) ) )) ) (expression vec4 * (var_ref t7) (swiz xxxx (array_ref (var_ref pu_h) (constant int (9)) ) )) ) (expression vec4 * (var_ref t6) (swiz xxxx (array_ref (var_ref pu_h) (constant int (10)) ) )) ) (expression vec4 * (var_ref t5) (swiz xxxx (array_ref (var_ref pu_h) (constant int (11)) ) )) ) (expression vec4 * (var_ref t4) (swiz xxxx (array_ref (var_ref pu_h) (constant int (12)) ) )) ) (expression vec4 * (var_ref t3) (swiz xxxx (array_ref (var_ref pu_h) (constant int (13)) ) )) ) ) (declare (temporary ) vec4 min_retval) (assign (xyzw) (var_ref min_retval) (expression vec4 min (expression vec4 min (var_ref t10) (var_ref t8) ) (expression vec4 min (expression vec4 min (var_ref t7) (var_ref t6) ) (var_ref t4) ) ) ) (declare (temporary ) vec4 max_retval) (assign (xyzw) (var_ref max_retval) (expression vec4 max (expression vec4 max (var_ref t10) (var_ref t8) ) (expression vec4 max (expression vec4 max (var_ref t7) (var_ref t6) ) (var_ref t4) ) ) ) (assign (xyzw) (var_ref t31) (expression vec4 + (expression vec4 * (var_ref min_retval) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) (expression vec4 * (expression vec4 min (expression vec4 min (var_ref t11) (var_ref t9) ) (expression vec4 min (expression vec4 min (var_ref t5) (var_ref t3) ) (var_ref min_retval) ) ) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) ) ) (assign (xyzw) (var_ref t32) (expression vec4 + (expression vec4 * (var_ref max_retval) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) (expression vec4 * (expression vec4 max (expression vec4 max (var_ref t11) (var_ref t9) ) (expression vec4 max (expression vec4 max (var_ref t5) (var_ref t3) ) (var_ref max_retval) ) ) (constant vec4 (0.500000 0.500000 0.500000 0.500000)) ) ) ) (declare (temporary ) vec4 textureLod_retval@811) (assign (xyzw) (var_ref textureLod_retval@811) (txl vec4 (var_ref ps1) (expression vec2 * (expression vec2 + (expression vec2 + (expression vec2 * (var_ref t12) (swiz xy (array_ref (var_ref pu_h) (constant int (24)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (24)) ) )) (constant vec2 (0.500000 0.500000)) ) (swiz zw (array_ref (var_ref pu_h) (constant int (23)) ) )) 0 1 () (constant float (0.000000)) )) (assign (w) (var_ref t0) (swiz w (var_ref textureLod_retval@811) )) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref textureLod_retval@811) )(swiz xxx (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref textureLod_retval@811) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref textureLod_retval@811) )(swiz z (var_ref textureLod_retval@811) )) ) (swiz x (var_ref packed:Data) )) (constant float (4.000000)) ) ) )) ) (declare (temporary ) vec3 max_retval@812) (assign (xyz) (var_ref max_retval@812) (expression vec3 max (swiz xyz (var_ref t28) )(expression vec3 max (swiz xyz (var_ref t31) )(swiz xyz (var_ref t32) )) ) ) (assign (xyz) (var_ref t35) (expression vec3 + (var_ref max_retval@812) (expression vec3 min (swiz xyz (var_ref t28) )(expression vec3 min (swiz xyz (var_ref t31) )(swiz xyz (var_ref t32) )) ) ) ) (assign (xyz) (var_ref t36) (expression vec3 + (swiz xyz (var_ref t0) )(expression vec3 neg (expression vec3 * (var_ref t35) (constant vec3 (0.500000 0.500000 0.500000)) ) ) ) ) (assign (xyz) (var_ref t37) (expression vec3 + (var_ref max_retval@812) (expression vec3 neg (expression vec3 * (var_ref t35) (constant vec3 (0.500000 0.500000 0.500000)) ) ) ) ) (assign (xyz) (var_ref t38) (expression vec3 rcp (expression vec3 + (swiz xyz (var_ref t28) )(expression vec3 neg (swiz xyz (var_ref t0) )) ) ) ) (assign (xyz) (var_ref t39) (expression vec3 * (expression vec3 + (var_ref t37) (expression vec3 neg (var_ref t36) ) ) (var_ref t38) ) ) (assign (xyz) (var_ref t40) (expression vec3 * (expression vec3 + (expression vec3 neg (var_ref t37) ) (expression vec3 neg (var_ref t36) ) ) (var_ref t38) ) ) (assign (xyzw) (var_ref t0) (expression vec4 lrp (var_ref t0) (var_ref t28) (swiz xxxx (expression float min (expression float max (expression float max (expression float max (expression float min (swiz x (var_ref t39) )(swiz x (var_ref t40) )) (expression float min (swiz y (var_ref t39) )(swiz y (var_ref t40) )) ) (expression float min (swiz z (var_ref t39) )(swiz z (var_ref t40) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) (assign (xyz) (var_ref t2) (expression vec3 lrp (swiz xyz (var_ref t27) )(swiz xyz (var_ref t7) )(swiz xxx (expression float min (expression float max (expression float + (expression float * (expression float min (expression float max (expression float min (expression float max (expression float + (expression float * (expression float abs (swiz x (var_ref t16) )) (constant float (2.000000)) ) (expression float * (expression float abs (swiz y (var_ref t16) )) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (constant float (0.500000)) ) (expression float rcp (expression float + (constant float (1.000000)) (expression float * (expression float + (expression float + (expression float * (swiz y (var_ref t32) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t32) )(swiz z (var_ref t32) )) ) (expression float neg (expression float + (expression float * (swiz y (var_ref t31) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref t31) )(swiz z (var_ref t31) )) ) ) ) (constant float (32.000000)) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) (assign (x) (var_ref t1) (constant float (0.125000)) ) (declare (temporary ) float max_retval@813) (assign (x) (var_ref max_retval@813) (expression float max (expression float abs (swiz x (var_ref t17) )) (expression float abs (swiz y (var_ref t17) )) ) ) (if (expression bool >= (var_ref max_retval@813) (constant float (1.000000)) ) ( (assign (xyzw) (var_ref t0) (var_ref t2) ) (assign (x) (var_ref t1) (constant float (1.000000)) ) ) ()) (declare (temporary ) vec4 mix_retval) (assign (xyzw) (var_ref mix_retval) (expression vec4 lrp (var_ref t0) (var_ref t2) (swiz xxxx (var_ref t1) )) ) (assign (w) (var_ref t0) (swiz w (var_ref mix_retval) )) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref mix_retval) )(swiz xxx (expression float * (constant float (4.000000)) (expression float rcp (expression float + (expression float * (expression float + (expression float * (swiz y (var_ref mix_retval) )(constant float (2.000000)) ) (expression float + (swiz x (var_ref mix_retval) )(swiz z (var_ref mix_retval) )) ) (expression float neg (swiz x (var_ref packed:Data) )) ) (constant float (1.000000)) ) ) ) )) ) (assign (xyz) (var_ref t0) (expression vec3 neg (expression vec3 min (expression vec3 neg (swiz xyz (var_ref t0) )) (constant vec3 (0.000000 0.000000 0.000000)) ) ) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@814) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 51: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp sampler2D ps6; uniform highp sampler2D ps4; uniform highp sampler2D ps5; uniform highp sampler2D ps3; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; t1.xyzw = textureLod(ps1,in_TEXCOORD0.Data.xy,0.000000e+000); highp vec4 t2; t2.xyzw = textureLod(ps2,in_TEXCOORD0.Data.xy,0.000000e+000); highp vec4 t3; t3.xyzw = textureLod(ps3,in_TEXCOORD0.Data.xy,0.000000e+000); highp vec3 t4; t4.xyz = normalize(((textureLod(ps0,in_TEXCOORD0.Data.xy,0.000000e+000).xyz*vec3(2.000000e+000,2.000000e+000,2.000000e+000))+vec3(-1.000000e+000,-1.000000e+000,-1.000000e+000))); int t5; t5 = int(uint((t1.w*2.559990e+002))); highp float t6; if (((t5==2)||(t5==3))) { t6 = 0.000000e+000; } else { t6 = t1.x; } highp vec3 t7; t7.xyz = ((mix((vec3(8.000000e-002,8.000000e-002,8.000000e-002)*t1.yyy),t2.xyz,vec3(t6))*View_SpecularOverrideParameter.www)+View_SpecularOverrideParameter.xyz); highp vec4 t8; t8.xyzw = textureLod(ps5,in_TEXCOORD0.Data.xy,0.000000e+000); t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); if ((t5>0)) { highp vec4 t9; highp float t10; t10 = clamp(dot(t4,(-normalize((View_ScreenToWorld[2]+((View_ScreenToWorld[1]*in_TEXCOORD0.Data.wwww)+(View_ScreenToWorld[0]*in_TEXCOORD0.Data.zzzz))).xyz))),0.000000e+000,1.000000e+000); highp vec2 t11; t11.x = t10; t11.y = t3.x; highp vec4 t12; t12.xyzw = textureLod(ps4,t11,0.000000e+000); highp float t13; t13 = (t10+t8.x); highp vec3 t14; t14.xyz = (((t7*t12.xxx)+vec3((clamp((5.000000e+001*t7.y),0.000000e+000,1.000000e+000)*t12.y)))*vec3(clamp((((t13*t13)+-1.000000e+000)+t8.x),0.000000e+000,1.000000e+000))); t9.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,1.000000e+000); if ((View_UseLightmaps>0.000000e+000)) { t9.xyz = vec3(0.000000e+000,0.000000e+000,0.000000e+000); } highp vec4 t15; t15.xyzw = texture(ps6,in_TEXCOORD0.Data.xy); t9.xyz = ((t9.xyz*vec3((1.000000e+000+(-t15.w))))+t15.xyz); t0.xyz = (t9.xyz*t14); t0.xyz = (-min((-t0.xyz),vec3(0.000000e+000,0.000000e+000,0.000000e+000))); } out_Target0.xyzw = t0; } GLSL IR for shader 51: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) sampler2D ps6) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps5) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t8) (declare () vec3 t7) (declare () float t6) (declare () int t5) (declare () vec3 t4) (declare () vec4 t3) (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t1) (var_ref textureLod_retval) ) (declare (temporary ) vec4 textureLod_retval@815) (call textureLod (var_ref textureLod_retval@815) ((var_ref ps2) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t2) (var_ref textureLod_retval@815) ) (declare (temporary ) vec4 textureLod_retval@816) (call textureLod (var_ref textureLod_retval@816) ((var_ref ps3) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t3) (var_ref textureLod_retval@816) ) (declare (temporary ) vec4 textureLod_retval@817) (call textureLod (var_ref textureLod_retval@817) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval) (call normalize (var_ref normalize_retval) ((expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@817) )(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) )) (assign (xyz) (var_ref t4) (var_ref normalize_retval) ) (assign (x) (var_ref t5) (expression int u2i (expression uint f2u (expression float * (swiz w (var_ref t1) )(constant float (255.998993)) ) ) ) ) (if (expression bool || (expression bool all_equal (var_ref t5) (constant int (2)) ) (expression bool all_equal (var_ref t5) (constant int (3)) ) ) ( (assign (x) (var_ref t6) (constant float (0.000000)) ) ) ( (assign (x) (var_ref t6) (swiz x (var_ref t1) )) )) (declare (temporary ) vec3 mix_retval) (call mix (var_ref mix_retval) ((expression vec3 * (constant vec3 (0.080000 0.080000 0.080000)) (swiz yyy (var_ref t1) )) (swiz xyz (var_ref t2) )(swiz xxx (var_ref t6) ))) (assign (xyz) (var_ref t7) (expression vec3 + (expression vec3 * (var_ref mix_retval) (swiz www (var_ref View_SpecularOverrideParameterpb0) )) (swiz xyz (var_ref View_SpecularOverrideParameterpb0) )) ) (declare (temporary ) vec4 textureLod_retval@818) (call textureLod (var_ref textureLod_retval@818) ((var_ref ps5) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t8) (var_ref textureLod_retval@818) ) (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (if (expression bool > (var_ref t5) (constant int (0)) ) ( (declare () vec3 t14) (declare () float t13) (declare () vec4 t12) (declare () vec2 t11) (declare () float t10) (declare () vec4 t9) (declare (temporary ) vec3 normalize_retval@819) (call normalize (var_ref normalize_retval@819) ((swiz xyz (expression vec4 + (array_ref (var_ref View_ScreenToWorldpb0) (constant int (2)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref View_ScreenToWorldpb0) (constant int (1)) ) (swiz wwww (record_ref (var_ref in_TEXCOORD0) Data) )) (expression vec4 * (array_ref (var_ref View_ScreenToWorldpb0) (constant int (0)) ) (swiz zzzz (record_ref (var_ref in_TEXCOORD0) Data) )) ) ) ))) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t4) (expression vec3 neg (var_ref normalize_retval@819) ) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((var_ref dot_retval) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t10) (var_ref clamp_retval) ) (assign (x) (var_ref t11) (var_ref clamp_retval) ) (assign (y) (var_ref t11) (swiz x (var_ref t3) )) (declare (temporary ) vec4 textureLod_retval@820) (call textureLod (var_ref textureLod_retval@820) ((var_ref ps4) (var_ref t11) (constant float (0.000000)) )) (assign (xyzw) (var_ref t12) (var_ref textureLod_retval@820) ) (assign (x) (var_ref t13) (expression float + (var_ref t10) (swiz x (var_ref t8) )) ) (declare (temporary ) float clamp_retval@821) (call clamp (var_ref clamp_retval@821) ((expression float * (constant float (50.000000)) (swiz y (var_ref t7) )) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) vec3 vec_ctor) (assign (xyz) (var_ref vec_ctor) (swiz xxx (expression float * (var_ref clamp_retval@821) (swiz y (var_ref t12) )) )) (declare (temporary ) float clamp_retval@822) (call clamp (var_ref clamp_retval@822) ((expression float + (expression float + (expression float * (var_ref t13) (var_ref t13) ) (expression float neg (constant float (1.000000)) ) ) (swiz x (var_ref t8) )) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyz) (var_ref t14) (expression vec3 * (expression vec3 + (expression vec3 * (var_ref t7) (swiz xxx (var_ref t12) )) (var_ref vec_ctor) ) (swiz xxx (var_ref clamp_retval@822) )) ) (assign (xyzw) (var_ref t9) (constant vec4 (0.000000 0.000000 0.000000 1.000000)) ) (if (expression bool > (var_ref View_UseLightmapspb0) (constant float (0.000000)) ) ( (assign (xyz) (var_ref t9) (constant vec3 (0.000000 0.000000 0.000000)) ) ) ()) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps6) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) ))) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz xyz (var_ref t9) )(swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref texture_retval) )) ) )) (swiz xyz (var_ref texture_retval) )) ) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref t9) )(var_ref t14) ) ) (declare (temporary ) vec3 min_retval) (call min (var_ref min_retval) ((expression vec3 neg (swiz xyz (var_ref t0) )) (constant vec3 (0.000000 0.000000 0.000000)) )) (assign (xyz) (var_ref t0) (expression vec3 neg (var_ref min_retval) ) ) ) ()) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function normalize (signature vec3 (parameters (declare (in ) vec3 x) ) ( )) ) (function mix (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) (declare (in ) vec3 a) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function min (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) ) GLSL IR for linked vertex program 52: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@823) (assign (xyzw) (var_ref cse@823) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@823) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@824) (assign (xyzw) (var_ref cse@824) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@824) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@824) )) ) (swiz zw (var_ref cse@823) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@825) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@826) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 52: ( (declare (shader_in ) vec4 Data) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) sampler2D ps6) (declare (uniform ) sampler2D ps4) (declare (uniform ) sampler2D ps5) (declare (uniform ) sampler2D ps3) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec3 t7) (declare () float t6) (declare () int t5) (declare () vec4 t0) (declare (temporary ) vec4 textureLod_retval) (assign (xyzw) (var_ref textureLod_retval) (txl vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec4 textureLod_retval@827) (assign (xyzw) (var_ref textureLod_retval@827) (txl vec4 (var_ref ps2) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec4 textureLod_retval@828) (assign (xyzw) (var_ref textureLod_retval@828) (txl vec4 (var_ref ps3) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec3 normalize_retval) (declare () vec3 x) (assign (xyz) (var_ref x) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(constant vec3 (2.000000 2.000000 2.000000)) ) (constant vec3 (-1.000000 -1.000000 -1.000000)) ) ) (assign (xyz) (var_ref normalize_retval) (expression vec3 * (var_ref x) (expression float rsq (expression float dot (var_ref x) (var_ref x) ) ) ) ) (assign (x) (var_ref t5) (expression int u2i (expression uint f2u (expression float * (swiz w (var_ref textureLod_retval) )(constant float (255.998993)) ) ) ) ) (if (expression bool || (expression bool all_equal (var_ref t5) (constant int (2)) ) (expression bool all_equal (var_ref t5) (constant int (3)) ) ) ( (assign (x) (var_ref t6) (constant float (0.000000)) ) ) ( (assign (x) (var_ref t6) (swiz x (var_ref textureLod_retval) )) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (688)) ) ) (assign (xyz) (var_ref t7) (expression vec3 + (expression vec3 * (expression vec3 lrp (expression vec3 * (constant vec3 (0.080000 0.080000 0.080000)) (swiz yyy (var_ref textureLod_retval) )) (swiz xyz (var_ref textureLod_retval@827) )(swiz xxx (var_ref t6) )) (swiz www (var_ref cse) )) (swiz xyz (var_ref cse) )) ) (declare (temporary ) vec4 textureLod_retval@829) (assign (xyzw) (var_ref textureLod_retval@829) (txl vec4 (var_ref ps5) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (if (expression bool > (var_ref t5) (constant int (0)) ) ( (declare () vec3 t14) (declare () float t13) (declare () vec2 t11) (declare () vec4 t9) (declare () vec3 x@830) (assign (xyz) (var_ref x@830) (swiz xyz (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (416)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (400)) ) (swiz wwww (var_ref Data) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (384)) ) (swiz zzzz (var_ref Data) )) ) ) )) (declare (temporary ) float clamp_retval) (assign (x) (var_ref clamp_retval) (expression float min (expression float max (expression float dot (var_ref normalize_retval) (expression vec3 neg (expression vec3 * (var_ref x@830) (expression float rsq (expression float dot (var_ref x@830) (var_ref x@830) ) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (x) (var_ref t11) (var_ref clamp_retval) ) (assign (y) (var_ref t11) (swiz x (var_ref textureLod_retval@828) )) (declare (temporary ) vec4 textureLod_retval@831) (assign (xyzw) (var_ref textureLod_retval@831) (txl vec4 (var_ref ps4) (var_ref t11) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t13) (expression float + (var_ref clamp_retval) (swiz x (var_ref textureLod_retval@829) )) ) (assign (xyz) (var_ref t14) (expression vec3 * (expression vec3 + (expression vec3 * (var_ref t7) (swiz xxx (var_ref textureLod_retval@831) )) (swiz xxx (expression float * (expression float min (expression float max (expression float * (constant float (50.000000)) (swiz y (var_ref t7) )) (constant float (0.000000)) ) (constant float (1.000000)) ) (swiz y (var_ref textureLod_retval@831) )) )) (swiz xxx (expression float min (expression float max (expression float + (expression float + (expression float * (var_ref t13) (var_ref t13) ) (constant float (-1.000000)) ) (swiz x (var_ref textureLod_retval@829) )) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) (assign (xyzw) (var_ref t9) (constant vec4 (0.000000 0.000000 0.000000 1.000000)) ) (declare (temporary ) float ubo_load_temp) (assign (x) (var_ref ubo_load_temp) (expression float ubo_load (constant uint (0)) (constant uint (792)) ) ) (if (expression bool > (var_ref ubo_load_temp) (constant float (0.000000)) ) ( (assign (xyz) (var_ref t9) (constant vec3 (0.000000 0.000000 0.000000)) ) ) ()) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps6) (swiz xy (var_ref Data) ) 0 1 () )) (assign (xyz) (var_ref t9) (expression vec3 + (expression vec3 * (swiz xyz (var_ref t9) )(swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref texture_retval) )) ) )) (swiz xyz (var_ref texture_retval) )) ) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref t9) )(var_ref t14) ) ) (assign (xyz) (var_ref t0) (expression vec3 neg (expression vec3 min (expression vec3 neg (swiz xyz (var_ref t0) )) (constant vec3 (0.000000 0.000000 0.000000)) ) ) ) ) ()) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@832) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 53: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[3]; uniform highp sampler2D ps1; uniform highp sampler2D ps0; uniform highp sampler2D ps2; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec2 t1; t1.xy = (((in_TEXCOORD0.Data.zw*pu_h[2].xy)+pu_h[2].zw)+vec2(5.000000e-001,5.000000e-001)); highp vec2 t2; t2.xy = (t1*pu_h[0].zw); highp vec4 t3; t3.xyz = texture(ps0,t2).xyz; t3.w = (1.0/(((textureLod(ps2,t2,0.000000e+000).x*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); t0.xyz = t3.xyz; t0.w = 0.000000e+000; highp vec4 t4; t4.xyzw = texture(ps1,(t1*pu_h[1].zw)); t0.xyz = ((t3.xyz*t4.www)+t4.xyz); out_Target0.xyzw = t0; } GLSL IR for shader 53: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 3) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (uniform ) sampler2D ps2) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t3) (declare () vec2 t2) (declare () vec2 t1) (declare () vec4 t0) (assign (xy) (var_ref t1) (expression vec2 + (expression vec2 + (expression vec2 * (swiz zw (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (2)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (2)) ) )) (constant vec2 (0.500000 0.500000)) ) ) (assign (xy) (var_ref t2) (expression vec2 * (var_ref t1) (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (var_ref t2) )) (assign (xyz) (var_ref t3) (swiz xyz (var_ref texture_retval) )) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps2) (var_ref t2) (constant float (0.000000)) )) (assign (w) (var_ref t3) (expression float rcp (expression float + (expression float * (swiz x (var_ref textureLod_retval) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (xyz) (var_ref t0) (swiz xyz (var_ref t3) )) (assign (w) (var_ref t0) (constant float (0.000000)) ) (declare (temporary ) vec4 texture_retval@833) (call texture (var_ref texture_retval@833) ((var_ref ps1) (expression vec2 * (var_ref t1) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) )) (assign (xyz) (var_ref t0) (expression vec3 + (expression vec3 * (swiz xyz (var_ref t3) )(swiz www (var_ref texture_retval@833) )) (swiz xyz (var_ref texture_retval@833) )) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) ) GLSL IR for linked vertex program 54: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@834) (assign (xyzw) (var_ref cse@834) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@834) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@835) (assign (xyzw) (var_ref cse@835) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@835) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@835) )) ) (swiz zw (var_ref cse@834) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@836) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@837) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 54: ( (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 3) pu_h) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec2 t1) (declare () vec4 t0) (assign (xy) (var_ref t1) (expression vec2 + (expression vec2 + (expression vec2 * (swiz zw (var_ref Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (2)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (2)) ) )) (constant vec2 (0.500000 0.500000)) ) ) (assign (w) (var_ref t0) (constant float (0.000000)) ) (declare (temporary ) vec4 texture_retval) (assign (xyzw) (var_ref texture_retval) (tex vec4 (var_ref ps1) (expression vec2 * (var_ref t1) (swiz zw (array_ref (var_ref pu_h) (constant int (1)) ) )) 0 1 () )) (assign (xyz) (var_ref t0) (expression vec3 + (expression vec3 * (swiz xyz (tex vec4 (var_ref ps0) (expression vec2 * (var_ref t1) (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )) 0 1 () ))(swiz www (var_ref texture_retval) )) (swiz xyz (var_ref texture_retval) )) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@838) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 55: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[2]; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; out highp vec4 out_Target1; void main() { highp vec4 t0; highp vec2 t1; highp vec4 t2; highp vec2 t3; highp vec2 t4; highp vec2 t5; highp vec2 t6; highp vec4 t7; highp vec2 t8; highp vec2 t9; highp vec2 t10; highp vec2 t11; highp vec2 t12; t12.xy = (pu_h[0].zw*vec2(5.000000e-001,5.000000e-001)); t8.xy = (in_TEXCOORD0.Data.xy+(t12*vec2(-1.000000e+000,-1.000000e+000))); t9.xy = (in_TEXCOORD0.Data.xy+(t12*vec2(1.000000e+000,-1.000000e+000))); t10.xy = (in_TEXCOORD0.Data.xy+(t12*vec2(-1.000000e+000,1.000000e+000))); t11.xy = (in_TEXCOORD0.Data.xy+t12); t3.xy = textureLod(ps0,t8,0).xy; t4.xy = textureLod(ps0,t9,0).xy; t5.xy = textureLod(ps0,t10,0).xy; t6.xy = textureLod(ps0,t11,0).xy; highp float t13; t13 = float((t3.x>0.000000e+000)); t7.x = t13; highp vec2 t14; t14.xy = ((t3*vec2(4.008016e+000,4.008016e+000))+vec2(-2.003978e+000,-2.003978e+000)); highp vec2 t15; t15.xy = (bool(t7.x))?(t14):(vec2(0.000000e+000,0.000000e+000)); highp float t16; t16 = float((t4.x>0.000000e+000)); t7.y = t16; highp vec2 t17; t17.xy = ((t4*vec2(4.008016e+000,4.008016e+000))+vec2(-2.003978e+000,-2.003978e+000)); highp vec2 t18; t18.xy = (bool(t7.y))?(t17):(vec2(0.000000e+000,0.000000e+000)); highp float t19; t19 = float((t5.x>0.000000e+000)); t7.z = t19; highp vec2 t20; t20.xy = ((t5*vec2(4.008016e+000,4.008016e+000))+vec2(-2.003978e+000,-2.003978e+000)); highp vec2 t21; t21.xy = (bool(t7.z))?(t20):(vec2(0.000000e+000,0.000000e+000)); highp float t22; t22 = float((t6.x>0.000000e+000)); t7.w = t22; highp vec2 t23; t23.xy = ((t6*vec2(4.008016e+000,4.008016e+000))+vec2(-2.003978e+000,-2.003978e+000)); highp vec2 t24; t24.xy = (bool(t7.w))?(t23):(vec2(0.000000e+000,0.000000e+000)); highp float t25; t25 = dot(t7,vec4(2.500000e-001,2.500000e-001,2.500000e-001,2.500000e-001)); highp vec4 t26; highp vec4 t27; t27.xyzw = (vec4(1.000000e+000,1.000000e+000,1.000000e+000,1.000000e+000)+(-t7)); t26.xyzw = ((t25>5.000000e-001))?(t7):(t27); highp float t28; t28 = (1.0/((dot(t26,vec4(1.000000e+000,1.000000e+000,1.000000e+000,1.000000e+000))+1.000000e-006))); highp vec4 t29; t29.x = textureLod(ps2,t10,0).x; t29.y = textureLod(ps2,t11,0).x; t29.z = textureLod(ps2,t9,0).x; t29.w = textureLod(ps2,t8,0).x; highp vec4 t30; t30.xyz = textureLod(ps1,t8,0).xyz; t30.w = t29.x; highp vec4 t31; t31.xyz = textureLod(ps1,t9,0).xyz; t31.w = t29.y; highp vec4 t32; t32.xyz = textureLod(ps1,t10,0).xyz; t32.w = t29.z; highp vec4 t33; t33.xyz = textureLod(ps1,t11,0).xyz; t33.w = t29.w; highp vec4 t34; t34.xyzw = (((((t30*t26.xxxx)+(t31*t26.yyyy))+(t32*t26.zzzz))+(t33*t26.wwww))*vec4(t28)); t0.xyzw = t34; t0.xyz = min(vec3(6.553600e+004,6.553600e+004,6.553600e+004),t34.xyz); t0.w = (1.0/(((t34.w*View_InvDeviceZToWorldZTransform.z)+(-View_InvDeviceZToWorldZTransform.w)))); t1.xy = (t15*t26.xx); t1.xy = (t1+(t18*t26.yy)); t1.xy = (t1+(t21*t26.zz)); t1.xy = (t1+(t24*t26.ww)); t2.xy = ((t1*vec2(t28))*pu_h[1].xy); t2.xy = t2.xy; highp float t35; t35 = dot(t2.xy,t2.xy); if ((t35>1.000000e+000)) { t2.xy = (t2.xy*vec2(inversesqrt(t35))); } if ((t35<1.000000e-002)) { t2.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); } highp float t36; t36 = float((t25>5.000000e-001)); t2.z = t36; t2.w = 1.000000e+000; t2.xy = (t2.xy*t2.zz); out_Target0.xyzw = t2; out_Target1.xyzw = t0; } GLSL IR for shader 55: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (uniform ) (array vec4 7) View_SkyIrradianceEnvironmentMappb0) (declare (uniform ) vec4 View_SkyLightColorpb0) (declare (uniform ) vec4 View_SceneTextureMinMaxpb0) (declare (uniform ) float View_SkyLightParameterspb0) (declare (uniform ) vec2 View_RenderTargetSizepb0) (declare (uniform ) float View_AmbientCubemapIntensitypb0) (declare (uniform ) vec4 View_AmbientCubemapTintpb0) (declare (uniform ) vec4 View_AtmosphericFogSunColorpb0) (declare (uniform ) uint View_AtmosphericFogInscatterAltitudeSampleNumpb0) (declare (uniform ) uint View_AtmosphericFogRenderMaskpb0) (declare (uniform ) float View_AtmosphericFogSunDiscScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceOffsetpb0) (declare (uniform ) float View_AtmosphericFogStartDistancepb0) (declare (uniform ) float View_AtmosphericFogHeightScaleRayleighpb0) (declare (uniform ) float View_AtmosphericFogAltitudeScalepb0) (declare (uniform ) float View_AtmosphericFogDistanceScalepb0) (declare (uniform ) float View_AtmosphericFogGroundOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityOffsetpb0) (declare (uniform ) float View_AtmosphericFogDensityScalepb0) (declare (uniform ) float View_AtmosphericFogPowerpb0) (declare (uniform ) float View_AtmosphericFogSunPowerpb0) (declare (uniform ) vec3 View_AtmosphericFogSunDirectionpb0) (declare (uniform ) float View_HdrMosaicpb0) (declare (uniform ) vec3 View_IndirectLightingColorScalepb0) (declare (uniform ) mat4 View_PrevScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_PrevInvViewProjpb0) (declare (uniform ) vec3 View_PrevPreViewTranslationpb0) (declare (uniform ) vec3 View_PrevViewOriginpb0) (declare (uniform ) mat4 View_PrevTranslatedWorldToClippb0) (declare (uniform ) mat4 View_PrevViewRotationProjpb0) (declare (uniform ) mat4 View_PrevViewProjpb0) (declare (uniform ) mat4 View_PrevProjectionpb0) (declare (uniform ) float View_DemosaicVposOffsetpb0) (declare (uniform ) float View_GeneralPurposeTweakpb0) (declare (uniform ) float View_MotionBlurNormalizedToPixelpb0) (declare (uniform ) float View_DepthOfFieldFarTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldNearTransitionRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalRegionpb0) (declare (uniform ) float View_DepthOfFieldFocalLengthpb0) (declare (uniform ) float View_DepthOfFieldScalepb0) (declare (uniform ) float View_DepthOfFieldFocalDistancepb0) (declare (uniform ) vec4 View_TemporalAAParamspb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeInvSizepb0) (declare (uniform ) (array vec4 2) View_TranslucencyLightingVolumeMinpb0) (declare (uniform ) vec4 View_LowerSkyColorpb0) (declare (uniform ) vec4 View_UpperSkyColorpb0) (declare (uniform ) vec3 View_DirectionalLightDirectionpb0) (declare (uniform ) vec4 View_DirectionalLightColorpb0) (declare (uniform ) float View_ReflectionLightmapMixingMaskpb0) (declare (uniform ) float View_UnlitViewmodeMaskpb0) (declare (uniform ) float View_UseLightmapspb0) (declare (uniform ) uint View_FrameNumberpb0) (declare (uniform ) uint View_Randompb0) (declare (uniform ) float View_RealTimepb0) (declare (uniform ) float View_GameTimepb0) (declare (uniform ) float View_AdaptiveTessellationFactorpb0) (declare (uniform ) float View_NearPlanepb0) (declare (uniform ) float View_CullingSignpb0) (declare (uniform ) vec3 View_ViewOriginDeltapb0) (declare (uniform ) float View_OutOfBoundsMaskpb0) (declare (uniform ) vec3 View_PreViewTranslationpb0) (declare (uniform ) vec2 View_RoughnessOverrideParameterpb0) (declare (uniform ) vec4 View_NormalOverrideParameterpb0) (declare (uniform ) vec4 View_SpecularOverrideParameterpb0) (declare (uniform ) vec4 View_DiffuseOverrideParameterpb0) (declare (uniform ) vec4 View_ExposureScalepb0) (declare (uniform ) vec4 View_TranslatedViewOriginpb0) (declare (uniform ) vec4 View_ViewOriginpb0) (declare (uniform ) vec4 View_ViewSizeAndSceneTexelSizepb0) (declare (uniform ) vec4 View_ScreenTexelBiaspb0) (declare (uniform ) vec4 View_ScreenPositionScaleBiaspb0) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) vec3 View_ViewRightpb0) (declare (uniform ) vec3 View_ViewUppb0) (declare (uniform ) vec3 View_ViewForwardpb0) (declare (uniform ) mat4 View_ScreenToTranslatedWorldpb0) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) mat4 View_ClipToTranslatedWorldpb0) (declare (uniform ) mat4 View_ViewToClippb0) (declare (uniform ) mat4 View_ViewToTranslatedWorldpb0) (declare (uniform ) mat4 View_TranslatedWorldToViewpb0) (declare (uniform ) mat4 View_WorldToClippb0) (declare (uniform ) mat4 View_TranslatedWorldToClippb0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 2) pu_h) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (function main (signature void (parameters ) ( (declare () float t35) (declare () vec4 t34) (declare () vec4 t33) (declare () vec4 t32) (declare () vec4 t31) (declare () vec4 t30) (declare () vec4 t29) (declare () float t28) (declare () vec4 t27) (declare () vec4 t26) (declare () float t25) (declare () vec2 t24) (declare () vec2 t23) (declare () vec2 t21) (declare () vec2 t20) (declare () vec2 t18) (declare () vec2 t17) (declare () vec2 t15) (declare () vec2 t14) (declare () vec2 t12) (declare () vec2 t11) (declare () vec2 t10) (declare () vec2 t9) (declare () vec2 t8) (declare () vec4 t7) (declare () vec2 t5) (declare () vec2 t4) (declare () vec2 t3) (declare () vec4 t2) (declare () vec2 t1) (declare () vec4 t0) (assign (xy) (var_ref t12) (expression vec2 * (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )(constant vec2 (0.500000 0.500000)) ) ) (assign (xy) (var_ref t8) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 neg (var_ref t12) ) ) ) (assign (xy) (var_ref t9) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (var_ref t12) (constant vec2 (1.000000 -1.000000)) ) ) ) (assign (xy) (var_ref t10) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (var_ref t12) (constant vec2 (-1.000000 1.000000)) ) ) ) (assign (xy) (var_ref t11) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(var_ref t12) ) ) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps0) (var_ref t8) (constant float (0.000000)) )) (assign (xy) (var_ref t3) (swiz xy (var_ref textureLod_retval) )) (declare (temporary ) vec4 textureLod_retval@839) (call textureLod (var_ref textureLod_retval@839) ((var_ref ps0) (var_ref t9) (constant float (0.000000)) )) (assign (xy) (var_ref t4) (swiz xy (var_ref textureLod_retval@839) )) (declare (temporary ) vec4 textureLod_retval@840) (call textureLod (var_ref textureLod_retval@840) ((var_ref ps0) (var_ref t10) (constant float (0.000000)) )) (assign (xy) (var_ref t5) (swiz xy (var_ref textureLod_retval@840) )) (declare (temporary ) vec4 textureLod_retval@841) (call textureLod (var_ref textureLod_retval@841) ((var_ref ps0) (var_ref t11) (constant float (0.000000)) )) (assign (x) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref t3) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t14) (expression vec2 + (expression vec2 * (var_ref t3) (constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp) (if (expression bool f2b (swiz x (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp) (var_ref t14) ) ) ( (assign (xy) (var_ref conditional_tmp) (constant vec2 (0.000000 0.000000)) ) )) (assign (xy) (var_ref t15) (var_ref conditional_tmp) ) (assign (y) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref t4) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t17) (expression vec2 + (expression vec2 * (var_ref t4) (constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp@842) (if (expression bool f2b (swiz y (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp@842) (var_ref t17) ) ) ( (assign (xy) (var_ref conditional_tmp@842) (constant vec2 (0.000000 0.000000)) ) )) (assign (xy) (var_ref t18) (var_ref conditional_tmp@842) ) (assign (z) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref t5) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t20) (expression vec2 + (expression vec2 * (var_ref t5) (constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp@843) (if (expression bool f2b (swiz z (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp@843) (var_ref t20) ) ) ( (assign (xy) (var_ref conditional_tmp@843) (constant vec2 (0.000000 0.000000)) ) )) (assign (xy) (var_ref t21) (var_ref conditional_tmp@843) ) (assign (w) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref textureLod_retval@841) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t23) (expression vec2 + (expression vec2 * (swiz xy (var_ref textureLod_retval@841) )(constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp@844) (if (expression bool f2b (swiz w (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp@844) (var_ref t23) ) ) ( (assign (xy) (var_ref conditional_tmp@844) (constant vec2 (0.000000 0.000000)) ) )) (assign (xy) (var_ref t24) (var_ref conditional_tmp@844) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref t7) (constant vec4 (0.250000 0.250000 0.250000 0.250000)) )) (assign (x) (var_ref t25) (var_ref dot_retval) ) (assign (xyzw) (var_ref t27) (expression vec4 + (constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 neg (var_ref t7) ) ) ) (declare (temporary ) vec4 conditional_tmp@845) (if (expression bool > (var_ref dot_retval) (constant float (0.500000)) ) ( (assign (xyzw) (var_ref conditional_tmp@845) (var_ref t7) ) ) ( (assign (xyzw) (var_ref conditional_tmp@845) (var_ref t27) ) )) (assign (xyzw) (var_ref t26) (var_ref conditional_tmp@845) ) (declare (temporary ) float dot_retval@846) (call dot (var_ref dot_retval@846) ((var_ref conditional_tmp@845) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) )) (assign (x) (var_ref t28) (expression float rcp (expression float + (var_ref dot_retval@846) (constant float (0.000001)) ) ) ) (declare (temporary ) vec4 textureLod_retval@847) (call textureLod (var_ref textureLod_retval@847) ((var_ref ps2) (var_ref t10) (constant float (0.000000)) )) (assign (x) (var_ref t29) (swiz x (var_ref textureLod_retval@847) )) (declare (temporary ) vec4 textureLod_retval@848) (call textureLod (var_ref textureLod_retval@848) ((var_ref ps2) (var_ref t11) (constant float (0.000000)) )) (assign (y) (var_ref t29) (swiz x (var_ref textureLod_retval@848) )) (declare (temporary ) vec4 textureLod_retval@849) (call textureLod (var_ref textureLod_retval@849) ((var_ref ps2) (var_ref t9) (constant float (0.000000)) )) (assign (z) (var_ref t29) (swiz x (var_ref textureLod_retval@849) )) (declare (temporary ) vec4 textureLod_retval@850) (call textureLod (var_ref textureLod_retval@850) ((var_ref ps2) (var_ref t8) (constant float (0.000000)) )) (assign (w) (var_ref t29) (swiz x (var_ref textureLod_retval@850) )) (declare (temporary ) vec4 textureLod_retval@851) (call textureLod (var_ref textureLod_retval@851) ((var_ref ps1) (var_ref t8) (constant float (0.000000)) )) (assign (xyz) (var_ref t30) (swiz xyz (var_ref textureLod_retval@851) )) (assign (w) (var_ref t30) (swiz x (var_ref t29) )) (declare (temporary ) vec4 textureLod_retval@852) (call textureLod (var_ref textureLod_retval@852) ((var_ref ps1) (var_ref t9) (constant float (0.000000)) )) (assign (xyz) (var_ref t31) (swiz xyz (var_ref textureLod_retval@852) )) (assign (w) (var_ref t31) (swiz y (var_ref t29) )) (declare (temporary ) vec4 textureLod_retval@853) (call textureLod (var_ref textureLod_retval@853) ((var_ref ps1) (var_ref t10) (constant float (0.000000)) )) (assign (xyz) (var_ref t32) (swiz xyz (var_ref textureLod_retval@853) )) (assign (w) (var_ref t32) (swiz z (var_ref t29) )) (declare (temporary ) vec4 textureLod_retval@854) (call textureLod (var_ref textureLod_retval@854) ((var_ref ps1) (var_ref t11) (constant float (0.000000)) )) (assign (xyz) (var_ref t33) (swiz xyz (var_ref textureLod_retval@854) )) (assign (w) (var_ref t33) (swiz w (var_ref t29) )) (assign (xyzw) (var_ref t34) (expression vec4 * (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref t30) (swiz xxxx (var_ref t26) )) (expression vec4 * (var_ref t31) (swiz yyyy (var_ref t26) )) ) (expression vec4 * (var_ref t32) (swiz zzzz (var_ref t26) )) ) (expression vec4 * (var_ref t33) (swiz wwww (var_ref t26) )) ) (swiz xxxx (var_ref t28) )) ) (assign (xyzw) (var_ref t0) (var_ref t34) ) (declare (temporary ) vec3 min_retval) (call min (var_ref min_retval) ((constant vec3 (65536.000000 65536.000000 65536.000000)) (swiz xyz (var_ref t34) ))) (assign (xyz) (var_ref t0) (var_ref min_retval) ) (assign (w) (var_ref t0) (expression float rcp (expression float + (expression float * (swiz w (var_ref t34) )(swiz z (var_ref View_InvDeviceZToWorldZTransformpb0) )) (expression float neg (swiz w (var_ref View_InvDeviceZToWorldZTransformpb0) )) ) ) ) (assign (xy) (var_ref t1) (expression vec2 * (var_ref t15) (swiz xx (var_ref t26) )) ) (assign (xy) (var_ref t1) (expression vec2 + (var_ref t1) (expression vec2 * (var_ref t18) (swiz yy (var_ref t26) )) ) ) (assign (xy) (var_ref t1) (expression vec2 + (var_ref t1) (expression vec2 * (var_ref t21) (swiz zz (var_ref t26) )) ) ) (assign (xy) (var_ref t1) (expression vec2 + (var_ref t1) (expression vec2 * (var_ref t24) (swiz ww (var_ref t26) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (expression vec2 * (var_ref t1) (swiz xx (var_ref t28) )) (swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) (assign (xy) (var_ref t2) (swiz xy (var_ref t2) )) (declare (temporary ) float dot_retval@855) (call dot (var_ref dot_retval@855) ((swiz xy (var_ref t2) )(swiz xy (var_ref t2) ))) (assign (x) (var_ref t35) (var_ref dot_retval@855) ) (if (expression bool > (var_ref dot_retval@855) (constant float (1.000000)) ) ( (declare (temporary ) float inversesqrt_retval) (call inversesqrt (var_ref inversesqrt_retval) ((var_ref dot_retval@855) )) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(swiz xx (var_ref inversesqrt_retval) )) ) ) ()) (if (expression bool < (var_ref t35) (constant float (0.010000)) ) ( (assign (xyzw) (var_ref t2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) ) ()) (assign (z) (var_ref t2) (expression float b2f (expression bool > (var_ref t25) (constant float (0.500000)) ) ) ) (assign (w) (var_ref t2) (constant float (1.000000)) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(swiz zz (var_ref t2) )) ) (assign (xyzw) (var_ref out_Target0) (var_ref t2) ) (assign (xyzw) (var_ref out_Target1) (var_ref t0) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) ) ( )) (signature float (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function min (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) (function inversesqrt (signature float (parameters (declare (in ) float x) ) ( )) ) ) GLSL IR for linked vertex program 56: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@856) (assign (xyzw) (var_ref cse@856) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@856) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@857) (assign (xyzw) (var_ref cse@857) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@857) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@857) )) ) (swiz zw (var_ref cse@856) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@858) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@859) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 56: ( (declare (shader_in ) vec4 Data) (declare (uniform ) vec4 View_InvDeviceZToWorldZTransformpb0) (declare (uniform ) (array vec4 2) pu_h) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (declare (shader_out ) vec4 out_Target1) (declare (temporary ) vec4 out_Target1) (function main (signature void (parameters ) ( (declare () vec4 t34) (declare () vec4 t33) (declare () vec4 t32) (declare () vec4 t31) (declare () vec4 t30) (declare () vec4 t29) (declare () float t28) (declare () vec4 t27) (declare () vec2 t23) (declare () vec2 t20) (declare () vec2 t17) (declare () vec2 t14) (declare () vec2 t12) (declare () vec2 t11) (declare () vec2 t10) (declare () vec2 t9) (declare () vec2 t8) (declare () vec4 t7) (declare () vec4 t2) (declare () vec2 t1) (declare () vec4 t0) (assign (xy) (var_ref t12) (expression vec2 * (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )(constant vec2 (0.500000 0.500000)) ) ) (assign (xy) (var_ref t8) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 neg (var_ref t12) ) ) ) (assign (xy) (var_ref t9) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (var_ref t12) (constant vec2 (1.000000 -1.000000)) ) ) ) (assign (xy) (var_ref t10) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (var_ref t12) (constant vec2 (-1.000000 1.000000)) ) ) ) (assign (xy) (var_ref t11) (expression vec2 + (swiz xy (var_ref Data) )(var_ref t12) ) ) (declare (temporary ) vec4 textureLod_retval) (assign (xyzw) (var_ref textureLod_retval) (txl vec4 (var_ref ps0) (var_ref t8) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec4 textureLod_retval@860) (assign (xyzw) (var_ref textureLod_retval@860) (txl vec4 (var_ref ps0) (var_ref t9) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec4 textureLod_retval@861) (assign (xyzw) (var_ref textureLod_retval@861) (txl vec4 (var_ref ps0) (var_ref t10) 0 1 () (constant float (0.000000)) )) (declare (temporary ) vec4 textureLod_retval@862) (assign (xyzw) (var_ref textureLod_retval@862) (txl vec4 (var_ref ps0) (var_ref t11) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref textureLod_retval) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t14) (expression vec2 + (expression vec2 * (swiz xy (var_ref textureLod_retval) )(constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp) (if (expression bool f2b (swiz x (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp) (var_ref t14) ) ) ( (assign (xy) (var_ref conditional_tmp) (constant vec2 (0.000000 0.000000)) ) )) (assign (y) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref textureLod_retval@860) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t17) (expression vec2 + (expression vec2 * (swiz xy (var_ref textureLod_retval@860) )(constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp@863) (if (expression bool f2b (swiz y (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp@863) (var_ref t17) ) ) ( (assign (xy) (var_ref conditional_tmp@863) (constant vec2 (0.000000 0.000000)) ) )) (assign (z) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref textureLod_retval@861) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t20) (expression vec2 + (expression vec2 * (swiz xy (var_ref textureLod_retval@861) )(constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp@864) (if (expression bool f2b (swiz z (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp@864) (var_ref t20) ) ) ( (assign (xy) (var_ref conditional_tmp@864) (constant vec2 (0.000000 0.000000)) ) )) (assign (w) (var_ref t7) (expression float b2f (expression bool > (swiz x (var_ref textureLod_retval@862) )(constant float (0.000000)) ) ) ) (assign (xy) (var_ref t23) (expression vec2 + (expression vec2 * (swiz xy (var_ref textureLod_retval@862) )(constant vec2 (4.008016 4.008016)) ) (constant vec2 (-2.003978 -2.003978)) ) ) (declare (temporary ) vec2 conditional_tmp@865) (if (expression bool f2b (swiz w (var_ref t7) )) ( (assign (xy) (var_ref conditional_tmp@865) (var_ref t23) ) ) ( (assign (xy) (var_ref conditional_tmp@865) (constant vec2 (0.000000 0.000000)) ) )) (declare (temporary ) float dot_retval) (assign (x) (var_ref dot_retval) (expression float dot (var_ref t7) (constant vec4 (0.250000 0.250000 0.250000 0.250000)) ) ) (assign (xyzw) (var_ref t27) (expression vec4 + (constant vec4 (1.000000 1.000000 1.000000 1.000000)) (expression vec4 neg (var_ref t7) ) ) ) (declare (temporary ) vec4 conditional_tmp@866) (if (expression bool > (var_ref dot_retval) (constant float (0.500000)) ) ( (assign (xyzw) (var_ref conditional_tmp@866) (var_ref t7) ) ) ( (assign (xyzw) (var_ref conditional_tmp@866) (var_ref t27) ) )) (assign (x) (var_ref t28) (expression float rcp (expression float + (expression float dot (var_ref conditional_tmp@866) (constant vec4 (1.000000 1.000000 1.000000 1.000000)) ) (constant float (0.000001)) ) ) ) (assign (x) (var_ref t29) (swiz x (txl vec4 (var_ref ps2) (var_ref t10) 0 1 () (constant float (0.000000)) ))) (assign (y) (var_ref t29) (swiz x (txl vec4 (var_ref ps2) (var_ref t11) 0 1 () (constant float (0.000000)) ))) (assign (z) (var_ref t29) (swiz x (txl vec4 (var_ref ps2) (var_ref t9) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t29) (swiz x (txl vec4 (var_ref ps2) (var_ref t8) 0 1 () (constant float (0.000000)) ))) (assign (xyz) (var_ref t30) (swiz xyz (txl vec4 (var_ref ps1) (var_ref t8) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t30) (swiz x (var_ref t29) )) (assign (xyz) (var_ref t31) (swiz xyz (txl vec4 (var_ref ps1) (var_ref t9) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t31) (swiz y (var_ref t29) )) (assign (xyz) (var_ref t32) (swiz xyz (txl vec4 (var_ref ps1) (var_ref t10) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t32) (swiz z (var_ref t29) )) (assign (xyz) (var_ref t33) (swiz xyz (txl vec4 (var_ref ps1) (var_ref t11) 0 1 () (constant float (0.000000)) ))) (assign (w) (var_ref t33) (swiz w (var_ref t29) )) (assign (xyzw) (var_ref t34) (expression vec4 * (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref t30) (swiz xxxx (var_ref conditional_tmp@866) )) (expression vec4 * (var_ref t31) (swiz yyyy (var_ref conditional_tmp@866) )) ) (expression vec4 * (var_ref t32) (swiz zzzz (var_ref conditional_tmp@866) )) ) (expression vec4 * (var_ref t33) (swiz wwww (var_ref conditional_tmp@866) )) ) (swiz xxxx (var_ref t28) )) ) (assign (xyz) (var_ref t0) (expression vec3 min (constant vec3 (65536.000000 65536.000000 65536.000000)) (swiz xyz (var_ref t34) )) ) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (560)) ) ) (assign (w) (var_ref t0) (expression float rcp (expression float + (expression float * (swiz w (var_ref t34) )(swiz z (var_ref cse) )) (expression float neg (swiz w (var_ref cse) )) ) ) ) (assign (xy) (var_ref t1) (expression vec2 * (var_ref conditional_tmp) (swiz xx (var_ref conditional_tmp@866) )) ) (assign (xy) (var_ref t1) (expression vec2 + (var_ref t1) (expression vec2 * (var_ref conditional_tmp@863) (swiz yy (var_ref conditional_tmp@866) )) ) ) (assign (xy) (var_ref t1) (expression vec2 + (var_ref t1) (expression vec2 * (var_ref conditional_tmp@864) (swiz zz (var_ref conditional_tmp@866) )) ) ) (assign (xy) (var_ref t1) (expression vec2 + (var_ref t1) (expression vec2 * (var_ref conditional_tmp@865) (swiz ww (var_ref conditional_tmp@866) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (expression vec2 * (var_ref t1) (swiz xx (var_ref t28) )) (swiz xy (array_ref (var_ref pu_h) (constant int (1)) ) )) ) (assign (xy) (var_ref t2) (swiz xy (var_ref t2) )) (declare (temporary ) float dot_retval@867) (assign (x) (var_ref dot_retval@867) (expression float dot (swiz xy (var_ref t2) )(swiz xy (var_ref t2) )) ) (if (expression bool > (var_ref dot_retval@867) (constant float (1.000000)) ) ( (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(swiz xx (expression float rsq (var_ref dot_retval@867) ) )) ) ) ()) (if (expression bool < (var_ref dot_retval@867) (constant float (0.010000)) ) ( (assign (xyzw) (var_ref t2) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) ) ()) (assign (z) (var_ref t2) (expression float b2f (expression bool > (var_ref dot_retval) (constant float (0.500000)) ) ) ) (assign (w) (var_ref t2) (constant float (1.000000)) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(swiz zz (var_ref t2) )) ) (assign (xyzw) (var_ref out_Target0) (var_ref t2) ) (assign (xyzw) (var_ref out_Target1) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@868) (var_ref out_Target0) ) (assign (xyzw) (var_ref out_Target1@869) (var_ref out_Target1) ) )) ) ) GLSL source for vertex shader 57: #version 150 layout(std140) uniform vb0 { #define DrawRectangleParameters_PosScaleBias DrawRectangleParameters_PosScaleBiasvb0 vec4 DrawRectangleParameters_PosScaleBias; #define DrawRectangleParameters_UVScaleBias DrawRectangleParameters_UVScaleBiasvb0 vec4 DrawRectangleParameters_UVScaleBias; #define DrawRectangleParameters_InvTargetSizeAndTextureSize DrawRectangleParameters_InvTargetSizeAndTextureSizevb0 vec4 DrawRectangleParameters_InvTargetSizeAndTextureSize; }; in highp vec4 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec2 Data; } out_TEXCOORD0; void main() { highp vec4 t0; highp vec4 t1; t1.xyzw = in_ATTRIBUTE0; t1.xy = (vec2(-1.000000e+000,-1.000000e+000)+((vec2(2.000000e+000,2.000000e+000)*(DrawRectangleParameters_PosScaleBias.zw+(in_ATTRIBUTE0.xy*DrawRectangleParameters_PosScaleBias.xy)))*DrawRectangleParameters_InvTargetSizeAndTextureSize.xy)); t1.xy = (t1.xy*vec2(1.000000e+000,-1.000000e+000)); t0.xyzw = t1; out_TEXCOORD0.Data.xy = ((DrawRectangleParameters_UVScaleBias.zw+(in_ATTRIBUTE1*DrawRectangleParameters_UVScaleBias.xy))*DrawRectangleParameters_InvTargetSizeAndTextureSize.zw); t0.y = (-t1.y); t0.z = ((2.000000e+000*in_ATTRIBUTE0.z)+(-in_ATTRIBUTE0.w)); gl_Position.xyzw = t0; } GLSL IR for shader 57: ( (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_PosScaleBiasvb0) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref DrawRectangleParameters_PosScaleBiasvb0) )) ) ) (swiz xy (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (expression vec2 * (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_UVScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref DrawRectangleParameters_UVScaleBiasvb0) )) ) (swiz zw (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL source for fragment shader 58: #version 150 uniform highp sampler2D ps0; in TEXCOORD0 { vec2 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { out_Target0.xyzw = texture(ps0,in_TEXCOORD0.Data); } GLSL IR for shader 58: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (record_ref (var_ref in_TEXCOORD0) Data) )) (assign (xyzw) (var_ref out_Target0) (var_ref texture_retval) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) ) GLSL IR for linked vertex program 59: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@870) (assign (xyzw) (var_ref cse@870) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@870) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (declare () vec4 cse@871) (assign (xyzw) (var_ref cse@871) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref packed:Data) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@871) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@871) )) ) (swiz zw (var_ref cse@870) )) ) (assign (xyzw) (var_ref packed:Data@872) (var_ref packed:Data) ) (assign (xyzw) (var_ref gl_Position@873) (var_ref gl_Position) ) )) ) ) GLSL IR for linked fragment program 59: ( (declare (shader_in ) vec4 packed:Data) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (tex vec4 (var_ref ps0) (swiz xy (var_ref packed:Data) ) 0 1 () )) (assign (xyzw) (var_ref out_Target0@874) (var_ref out_Target0) ) )) ) ) GLSL source for vertex shader 60: #version 150 layout(std140) uniform vb0 { #define DrawRectangleParameters_PosScaleBias DrawRectangleParameters_PosScaleBiasvb0 vec4 DrawRectangleParameters_PosScaleBias; #define DrawRectangleParameters_UVScaleBias DrawRectangleParameters_UVScaleBiasvb0 vec4 DrawRectangleParameters_UVScaleBias; #define DrawRectangleParameters_InvTargetSizeAndTextureSize DrawRectangleParameters_InvTargetSizeAndTextureSizevb0 vec4 DrawRectangleParameters_InvTargetSizeAndTextureSize; }; uniform highp vec4 vu_h[5]; in highp vec4 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec2 Data; } out_TEXCOORD0; out TEXCOORD1 { vec4 Data; } out_TEXCOORD1; out TEXCOORD2 { vec4 Data; } out_TEXCOORD2; out TEXCOORD3 { vec4 Data; } out_TEXCOORD3; out TEXCOORD4 { vec4 Data; } out_TEXCOORD4; out TEXCOORD5 { vec4 Data; } out_TEXCOORD5; void main() { highp vec4 t0; highp vec4 t1; highp vec2 t2; t1.xyzw = in_ATTRIBUTE0; t1.xy = (vec2(-1.000000e+000,-1.000000e+000)+((vec2(2.000000e+000,2.000000e+000)*(DrawRectangleParameters_PosScaleBias.zw+(in_ATTRIBUTE0.xy*DrawRectangleParameters_PosScaleBias.xy)))*DrawRectangleParameters_InvTargetSizeAndTextureSize.xy)); t1.xy = (t1.xy*vec2(1.000000e+000,-1.000000e+000)); t2.xy = ((DrawRectangleParameters_UVScaleBias.zw+(in_ATTRIBUTE1*DrawRectangleParameters_UVScaleBias.xy))*DrawRectangleParameters_InvTargetSizeAndTextureSize.zw); t0.xyzw = t1; out_TEXCOORD0.Data.xy = t2; out_TEXCOORD1.Data.xyzw = (t2.xyyx+vu_h[0]); out_TEXCOORD2.Data.xyzw = (t2.xyyx+vu_h[1]); out_TEXCOORD3.Data.xyzw = (t2.xyyx+vu_h[2]); out_TEXCOORD4.Data.xyzw = (t2.xyyx+vu_h[3]); out_TEXCOORD5.Data.xyzw = (t2.xyyx+vu_h[4]); t0.y = (-t1.y); t0.z = ((2.000000e+000*in_ATTRIBUTE0.z)+(-in_ATTRIBUTE0.w)); gl_Position.xyzw = t0; } GLSL IR for shader 60: ( (declare (shader_out ) TEXCOORD5 out_TEXCOORD5) (declare (shader_out ) TEXCOORD4 out_TEXCOORD4) (declare (shader_out ) TEXCOORD3 out_TEXCOORD3) (declare (shader_out ) TEXCOORD2 out_TEXCOORD2) (declare (shader_out ) TEXCOORD1 out_TEXCOORD1) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 5) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec2 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_PosScaleBiasvb0) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref DrawRectangleParameters_PosScaleBiasvb0) )) ) ) (swiz xy (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xy) (var_ref t2) (expression vec2 * (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_UVScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref DrawRectangleParameters_UVScaleBiasvb0) )) ) (swiz zw (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (var_ref t2) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD1) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (0)) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD2) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (1)) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD3) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (2)) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD4) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (3)) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD5) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (4)) ) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL source for fragment shader 61: #version 150 uniform highp vec4 pu_h[9]; uniform highp sampler2D ps0; in TEXCOORD1 { vec4 Data; } in_TEXCOORD1; in TEXCOORD2 { vec4 Data; } in_TEXCOORD2; in TEXCOORD3 { vec4 Data; } in_TEXCOORD3; in TEXCOORD4 { vec4 Data; } in_TEXCOORD4; in TEXCOORD5 { vec4 Data; } in_TEXCOORD5; out highp vec4 out_Target0; void main() { out_Target0.xyzw = (((((((((texture(ps0,in_TEXCOORD1.Data.xy)*pu_h[0])+(texture(ps0,in_TEXCOORD1.Data.wz)*pu_h[1]))+(texture(ps0,in_TEXCOORD2.Data.xy)*pu_h[2]))+(texture(ps0,in_TEXCOORD2.Data.wz)*pu_h[3]))+(texture(ps0,in_TEXCOORD3.Data.xy)*pu_h[4]))+(texture(ps0,in_TEXCOORD3.Data.wz)*pu_h[5]))+(texture(ps0,in_TEXCOORD4.Data.xy)*pu_h[6]))+(texture(ps0,in_TEXCOORD4.Data.wz)*pu_h[7]))+(texture(ps0,in_TEXCOORD5.Data.xy)*pu_h[8])); } GLSL IR for shader 61: ( (declare (shader_in ) TEXCOORD5 in_TEXCOORD5) (declare (shader_in ) TEXCOORD4 in_TEXCOORD4) (declare (shader_in ) TEXCOORD3 in_TEXCOORD3) (declare (shader_in ) TEXCOORD2 in_TEXCOORD2) (declare (shader_in ) TEXCOORD1 in_TEXCOORD1) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 9) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD1) Data) ))) (declare (temporary ) vec4 texture_retval@875) (call texture (var_ref texture_retval@875) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD1) Data) ))) (declare (temporary ) vec4 texture_retval@876) (call texture (var_ref texture_retval@876) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD2) Data) ))) (declare (temporary ) vec4 texture_retval@877) (call texture (var_ref texture_retval@877) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD2) Data) ))) (declare (temporary ) vec4 texture_retval@878) (call texture (var_ref texture_retval@878) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD3) Data) ))) (declare (temporary ) vec4 texture_retval@879) (call texture (var_ref texture_retval@879) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD3) Data) ))) (declare (temporary ) vec4 texture_retval@880) (call texture (var_ref texture_retval@880) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD4) Data) ))) (declare (temporary ) vec4 texture_retval@881) (call texture (var_ref texture_retval@881) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD4) Data) ))) (declare (temporary ) vec4 texture_retval@882) (call texture (var_ref texture_retval@882) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD5) Data) ))) (assign (xyzw) (var_ref out_Target0) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref texture_retval) (array_ref (var_ref pu_h) (constant int (0)) ) ) (expression vec4 * (var_ref texture_retval@875) (array_ref (var_ref pu_h) (constant int (1)) ) ) ) (expression vec4 * (var_ref texture_retval@876) (array_ref (var_ref pu_h) (constant int (2)) ) ) ) (expression vec4 * (var_ref texture_retval@877) (array_ref (var_ref pu_h) (constant int (3)) ) ) ) (expression vec4 * (var_ref texture_retval@878) (array_ref (var_ref pu_h) (constant int (4)) ) ) ) (expression vec4 * (var_ref texture_retval@879) (array_ref (var_ref pu_h) (constant int (5)) ) ) ) (expression vec4 * (var_ref texture_retval@880) (array_ref (var_ref pu_h) (constant int (6)) ) ) ) (expression vec4 * (var_ref texture_retval@881) (array_ref (var_ref pu_h) (constant int (7)) ) ) ) (expression vec4 * (var_ref texture_retval@882) (array_ref (var_ref pu_h) (constant int (8)) ) ) ) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) ) GLSL IR for linked vertex program 62: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (uniform ) (array vec4 5) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec2 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@883) (assign (xyzw) (var_ref cse@883) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@883) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@884) (assign (xyzw) (var_ref cse@884) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t2) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@884) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@884) )) ) (swiz zw (var_ref cse@883) )) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (xyzw) (var_ref Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (0)) ) ) ) (assign (xyzw) (var_ref Data@885) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (1)) ) ) ) (assign (xyzw) (var_ref Data@886) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (2)) ) ) ) (assign (xyzw) (var_ref Data@887) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (3)) ) ) ) (assign (xyzw) (var_ref Data@888) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (4)) ) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@889) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@890) (var_ref Data@888) ) (assign (xyzw) (var_ref Data@891) (var_ref Data@887) ) (assign (xyzw) (var_ref Data@892) (var_ref Data@886) ) (assign (xyzw) (var_ref Data@893) (var_ref Data@885) ) (assign (xyzw) (var_ref Data@894) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 62: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 9) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (0)) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (1)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data@895) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (2)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data@895) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (3)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data@896) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (4)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data@896) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (5)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data@897) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (6)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data@897) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (7)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data@898) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (8)) ) ) ) ) (assign (xyzw) (var_ref out_Target0@899) (var_ref out_Target0) ) )) ) ) GLSL source for vertex shader 63: #version 150 layout(std140) uniform vb0 { #define DrawRectangleParameters_PosScaleBias DrawRectangleParameters_PosScaleBiasvb0 vec4 DrawRectangleParameters_PosScaleBias; #define DrawRectangleParameters_UVScaleBias DrawRectangleParameters_UVScaleBiasvb0 vec4 DrawRectangleParameters_UVScaleBias; #define DrawRectangleParameters_InvTargetSizeAndTextureSize DrawRectangleParameters_InvTargetSizeAndTextureSizevb0 vec4 DrawRectangleParameters_InvTargetSizeAndTextureSize; }; uniform highp vec4 vu_h[3]; in highp vec4 in_ATTRIBUTE0; in highp vec2 in_ATTRIBUTE1; out TEXCOORD0 { vec2 Data; } out_TEXCOORD0; out TEXCOORD1 { vec4 Data; } out_TEXCOORD1; out TEXCOORD2 { vec4 Data; } out_TEXCOORD2; out TEXCOORD3 { vec4 Data; } out_TEXCOORD3; void main() { highp vec4 t0; highp vec4 t1; highp vec2 t2; t1.xyzw = in_ATTRIBUTE0; t1.xy = (vec2(-1.000000e+000,-1.000000e+000)+((vec2(2.000000e+000,2.000000e+000)*(DrawRectangleParameters_PosScaleBias.zw+(in_ATTRIBUTE0.xy*DrawRectangleParameters_PosScaleBias.xy)))*DrawRectangleParameters_InvTargetSizeAndTextureSize.xy)); t1.xy = (t1.xy*vec2(1.000000e+000,-1.000000e+000)); t2.xy = ((DrawRectangleParameters_UVScaleBias.zw+(in_ATTRIBUTE1*DrawRectangleParameters_UVScaleBias.xy))*DrawRectangleParameters_InvTargetSizeAndTextureSize.zw); t0.xyzw = t1; out_TEXCOORD0.Data.xy = t2; out_TEXCOORD1.Data.xyzw = (t2.xyyx+vu_h[0]); out_TEXCOORD2.Data.xyzw = (t2.xyyx+vu_h[1]); out_TEXCOORD3.Data.xyzw = (t2.xyyx+vu_h[2]); t0.y = (-t1.y); t0.z = ((2.000000e+000*in_ATTRIBUTE0.z)+(-in_ATTRIBUTE0.w)); gl_Position.xyzw = t0; } GLSL IR for shader 63: ( (declare (shader_out ) TEXCOORD3 out_TEXCOORD3) (declare (shader_out ) TEXCOORD2 out_TEXCOORD2) (declare (shader_out ) TEXCOORD1 out_TEXCOORD1) (declare (shader_out ) TEXCOORD0 out_TEXCOORD0) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (sys ) int gl_InstanceID) (declare (sys ) int gl_VertexID) (declare (shader_out ) (array float 0) gl_ClipDistance) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 3) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec2 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_PosScaleBiasvb0) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref DrawRectangleParameters_PosScaleBiasvb0) )) ) ) (swiz xy (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xy) (var_ref t2) (expression vec2 * (expression vec2 + (swiz zw (var_ref DrawRectangleParameters_UVScaleBiasvb0) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref DrawRectangleParameters_UVScaleBiasvb0) )) ) (swiz zw (var_ref DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) )) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (xy) (record_ref (var_ref out_TEXCOORD0) Data) (var_ref t2) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD1) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (0)) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD2) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (1)) ) ) ) (assign (xyzw) (record_ref (var_ref out_TEXCOORD3) Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (2)) ) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) )) ) ) GLSL source for fragment shader 64: #version 150 uniform highp vec4 pu_h[6]; uniform highp sampler2D ps0; in TEXCOORD1 { vec4 Data; } in_TEXCOORD1; in TEXCOORD2 { vec4 Data; } in_TEXCOORD2; in TEXCOORD3 { vec4 Data; } in_TEXCOORD3; out highp vec4 out_Target0; void main() { out_Target0.xyzw = ((((((texture(ps0,in_TEXCOORD1.Data.xy)*pu_h[0])+(texture(ps0,in_TEXCOORD1.Data.wz)*pu_h[1]))+(texture(ps0,in_TEXCOORD2.Data.xy)*pu_h[2]))+(texture(ps0,in_TEXCOORD2.Data.wz)*pu_h[3]))+(texture(ps0,in_TEXCOORD3.Data.xy)*pu_h[4]))+(texture(ps0,in_TEXCOORD3.Data.wz)*pu_h[5])); } GLSL IR for shader 64: ( (declare (shader_in ) TEXCOORD3 in_TEXCOORD3) (declare (shader_in ) TEXCOORD2 in_TEXCOORD2) (declare (shader_in ) TEXCOORD1 in_TEXCOORD1) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 6) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD1) Data) ))) (declare (temporary ) vec4 texture_retval@900) (call texture (var_ref texture_retval@900) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD1) Data) ))) (declare (temporary ) vec4 texture_retval@901) (call texture (var_ref texture_retval@901) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD2) Data) ))) (declare (temporary ) vec4 texture_retval@902) (call texture (var_ref texture_retval@902) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD2) Data) ))) (declare (temporary ) vec4 texture_retval@903) (call texture (var_ref texture_retval@903) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD3) Data) ))) (declare (temporary ) vec4 texture_retval@904) (call texture (var_ref texture_retval@904) ((var_ref ps0) (swiz wz (record_ref (var_ref in_TEXCOORD3) Data) ))) (assign (xyzw) (var_ref out_Target0) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (var_ref texture_retval) (array_ref (var_ref pu_h) (constant int (0)) ) ) (expression vec4 * (var_ref texture_retval@900) (array_ref (var_ref pu_h) (constant int (1)) ) ) ) (expression vec4 * (var_ref texture_retval@901) (array_ref (var_ref pu_h) (constant int (2)) ) ) ) (expression vec4 * (var_ref texture_retval@902) (array_ref (var_ref pu_h) (constant int (3)) ) ) ) (expression vec4 * (var_ref texture_retval@903) (array_ref (var_ref pu_h) (constant int (4)) ) ) ) (expression vec4 * (var_ref texture_retval@904) (array_ref (var_ref pu_h) (constant int (5)) ) ) ) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) ) GLSL IR for linked vertex program 65: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (uniform ) (array vec4 3) vu_h) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec2 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@905) (assign (xyzw) (var_ref cse@905) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@905) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@906) (assign (xyzw) (var_ref cse@906) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t2) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@906) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@906) )) ) (swiz zw (var_ref cse@905) )) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (xyzw) (var_ref Data) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (0)) ) ) ) (assign (xyzw) (var_ref Data@907) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (1)) ) ) ) (assign (xyzw) (var_ref Data@908) (expression vec4 + (swiz xyyx (var_ref t2) )(array_ref (var_ref vu_h) (constant int (2)) ) ) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@909) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@910) (var_ref Data@908) ) (assign (xyzw) (var_ref Data@911) (var_ref Data@907) ) (assign (xyzw) (var_ref Data@912) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 65: ( (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (shader_in ) vec4 Data) (declare (uniform ) (array vec4 6) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (assign (xyzw) (var_ref out_Target0) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (0)) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (1)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data@913) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (2)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data@913) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (3)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz xy (var_ref Data@914) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (4)) ) ) ) (expression vec4 * (tex vec4 (var_ref ps0) (swiz wz (var_ref Data@914) ) 0 1 () )(array_ref (var_ref pu_h) (constant int (5)) ) ) ) ) (assign (xyzw) (var_ref out_Target0@915) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 66: #version 150 layout(std140) uniform pb0 { #define View_TranslatedWorldToClip View_TranslatedWorldToClippb0 mat4 View_TranslatedWorldToClip; #define View_WorldToClip View_WorldToClippb0 mat4 View_WorldToClip; #define View_TranslatedWorldToView View_TranslatedWorldToViewpb0 mat4 View_TranslatedWorldToView; #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldpb0 mat4 View_ViewToTranslatedWorld; #define View_ViewToClip View_ViewToClippb0 mat4 View_ViewToClip; #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldpb0 mat4 View_ClipToTranslatedWorld; #define View_ScreenToWorld View_ScreenToWorldpb0 mat4 View_ScreenToWorld; #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldpb0 mat4 View_ScreenToTranslatedWorld; #define View_ViewForward View_ViewForwardpb0 vec3 View_ViewForward; #define View_ViewUp View_ViewUppb0 vec3 View_ViewUp; #define View_ViewRight View_ViewRightpb0 vec3 View_ViewRight; #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformpb0 vec4 View_InvDeviceZToWorldZTransform; #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiaspb0 vec4 View_ScreenPositionScaleBias; #define View_ScreenTexelBias View_ScreenTexelBiaspb0 vec4 View_ScreenTexelBias; #define View_ViewSizeAndSceneTexelSize View_ViewSizeAndSceneTexelSizepb0 vec4 View_ViewSizeAndSceneTexelSize; #define View_ViewOrigin View_ViewOriginpb0 vec4 View_ViewOrigin; #define View_TranslatedViewOrigin View_TranslatedViewOriginpb0 vec4 View_TranslatedViewOrigin; #define View_ExposureScale View_ExposureScalepb0 vec4 View_ExposureScale; #define View_DiffuseOverrideParameter View_DiffuseOverrideParameterpb0 vec4 View_DiffuseOverrideParameter; #define View_SpecularOverrideParameter View_SpecularOverrideParameterpb0 vec4 View_SpecularOverrideParameter; #define View_NormalOverrideParameter View_NormalOverrideParameterpb0 vec4 View_NormalOverrideParameter; #define View_RoughnessOverrideParameter View_RoughnessOverrideParameterpb0 vec2 View_RoughnessOverrideParameter; #define View_PreViewTranslation View_PreViewTranslationpb0 vec3 View_PreViewTranslation; #define View_OutOfBoundsMask View_OutOfBoundsMaskpb0 float View_OutOfBoundsMask; #define View_ViewOriginDelta View_ViewOriginDeltapb0 vec3 View_ViewOriginDelta; #define View_CullingSign View_CullingSignpb0 float View_CullingSign; #define View_NearPlane View_NearPlanepb0 float View_NearPlane; #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorpb0 float View_AdaptiveTessellationFactor; #define View_GameTime View_GameTimepb0 float View_GameTime; #define View_RealTime View_RealTimepb0 float View_RealTime; #define View_Random View_Randompb0 uint View_Random; #define View_FrameNumber View_FrameNumberpb0 uint View_FrameNumber; #define View_UseLightmaps View_UseLightmapspb0 float View_UseLightmaps; #define View_UnlitViewmodeMask View_UnlitViewmodeMaskpb0 float View_UnlitViewmodeMask; #define View_ReflectionLightmapMixingMask View_ReflectionLightmapMixingMaskpb0 float View_ReflectionLightmapMixingMask; #define View_DirectionalLightColor View_DirectionalLightColorpb0 vec4 View_DirectionalLightColor; #define View_DirectionalLightDirection View_DirectionalLightDirectionpb0 vec3 View_DirectionalLightDirection; #define View_UpperSkyColor View_UpperSkyColorpb0 vec4 View_UpperSkyColor; #define View_LowerSkyColor View_LowerSkyColorpb0 vec4 View_LowerSkyColor; #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinpb0 vec4 View_TranslucencyLightingVolumeMin[2]; #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizepb0 vec4 View_TranslucencyLightingVolumeInvSize[2]; #define View_TemporalAAParams View_TemporalAAParamspb0 vec4 View_TemporalAAParams; #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancepb0 float View_DepthOfFieldFocalDistance; #define View_DepthOfFieldScale View_DepthOfFieldScalepb0 float View_DepthOfFieldScale; #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthpb0 float View_DepthOfFieldFocalLength; #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionpb0 float View_DepthOfFieldFocalRegion; #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionpb0 float View_DepthOfFieldNearTransitionRegion; #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionpb0 float View_DepthOfFieldFarTransitionRegion; #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelpb0 float View_MotionBlurNormalizedToPixel; #define View_GeneralPurposeTweak View_GeneralPurposeTweakpb0 float View_GeneralPurposeTweak; #define View_DemosaicVposOffset View_DemosaicVposOffsetpb0 float View_DemosaicVposOffset; #define View_PrevProjection View_PrevProjectionpb0 mat4 View_PrevProjection; #define View_PrevViewProj View_PrevViewProjpb0 mat4 View_PrevViewProj; #define View_PrevViewRotationProj View_PrevViewRotationProjpb0 mat4 View_PrevViewRotationProj; #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClippb0 mat4 View_PrevTranslatedWorldToClip; #define View_PrevViewOrigin View_PrevViewOriginpb0 vec3 View_PrevViewOrigin; #define View_PrevPreViewTranslation View_PrevPreViewTranslationpb0 vec3 View_PrevPreViewTranslation; #define View_PrevInvViewProj View_PrevInvViewProjpb0 mat4 View_PrevInvViewProj; #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldpb0 mat4 View_PrevScreenToTranslatedWorld; #define View_IndirectLightingColorScale View_IndirectLightingColorScalepb0 vec3 View_IndirectLightingColorScale; #define View_HdrMosaic View_HdrMosaicpb0 float View_HdrMosaic; #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionpb0 vec3 View_AtmosphericFogSunDirection; #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowerpb0 float View_AtmosphericFogSunPower; #define View_AtmosphericFogPower View_AtmosphericFogPowerpb0 float View_AtmosphericFogPower; #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalepb0 float View_AtmosphericFogDensityScale; #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetpb0 float View_AtmosphericFogDensityOffset; #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetpb0 float View_AtmosphericFogGroundOffset; #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalepb0 float View_AtmosphericFogDistanceScale; #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalepb0 float View_AtmosphericFogAltitudeScale; #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighpb0 float View_AtmosphericFogHeightScaleRayleigh; #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancepb0 float View_AtmosphericFogStartDistance; #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetpb0 float View_AtmosphericFogDistanceOffset; #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalepb0 float View_AtmosphericFogSunDiscScale; #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskpb0 uint View_AtmosphericFogRenderMask; #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumpb0 uint View_AtmosphericFogInscatterAltitudeSampleNum; #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorpb0 vec4 View_AtmosphericFogSunColor; #define View_AmbientCubemapTint View_AmbientCubemapTintpb0 vec4 View_AmbientCubemapTint; #define View_AmbientCubemapIntensity View_AmbientCubemapIntensitypb0 float View_AmbientCubemapIntensity; #define View_RenderTargetSize View_RenderTargetSizepb0 vec2 View_RenderTargetSize; #define View_SkyLightParameters View_SkyLightParameterspb0 float View_SkyLightParameters; #define View_SceneTextureMinMax View_SceneTextureMinMaxpb0 vec4 View_SceneTextureMinMax; #define View_SkyLightColor View_SkyLightColorpb0 vec4 View_SkyLightColor; #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMappb0 vec4 View_SkyIrradianceEnvironmentMap[7]; }; uniform highp vec4 pu_h[8]; uniform highp sampler2D ps2; uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec2 t1; highp vec2 t2; highp vec2 t3; highp vec3 t4; t4.xyz = ((View_ScreenToWorld[2]+((View_ScreenToWorld[1]*in_TEXCOORD0.Data.wwww)+(View_ScreenToWorld[0]*in_TEXCOORD0.Data.zzzz))).xyz*textureLod(ps0,in_TEXCOORD0.Data.xy,0).www); highp vec4 t5; t5.xyzw = (pu_h[3]+((pu_h[2]*t4.zzzz)+((pu_h[1]*t4.yyyy)+(pu_h[0]*t4.xxxx)))); highp vec2 t6; t6.xy = ((in_TEXCOORD0.Data.zw+(-(t5.xyz/t5.www).xy))*pu_h[4].xy); t2.xy = t6; t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); highp float t7; t7 = length(t2); if ((t7>1.000000e+000)) { t2.xy = (t6/vec2(t7)); } highp vec2 t8; t8.xy = ((t2*pu_h[4].zw)*pu_h[6].xy); t3.xy = t8; highp vec4 t9; t9.xyzw = textureLod(ps1,in_TEXCOORD0.Data.xy,0); highp vec3 t10; t10.xyz = (t9.xyz/vec3((t9.w+3.921569e-003))); highp vec4 t11; t11.w = 1.000000e+000; t11.xyz = textureLod(ps0,in_TEXCOORD0.Data.xy,0).xyz; highp vec2 t12; t12.xy = mix(t8,(((t10.xy/vec2((t10.z+3.921569e-003)))*pu_h[4].zw)*pu_h[6].xy),t10.zz); t1.xy = t12; highp float t13; t13 = clamp(((sqrt(max(dot(t12,t12),1.525879e-005))+-2.000000e+000)*2.500000e-001),0.000000e+000,1.000000e+000); if ((t13==0.000000e+000)) { t0.xyzw = vec4(0.000000e+000,0.000000e+000,0.000000e+000,0.000000e+000); } else { highp vec4 t14; highp vec4 t15; highp float t16; highp vec2 t17; highp float t18; highp vec2 t19; t19.xy = (in_TEXCOORD0.Data.xy*pu_h[5].xy); t18 = (-textureLod(ps0,in_TEXCOORD0.Data.xy,0).w); highp vec4 t20; t20.xyzw = textureLod(ps2,in_TEXCOORD0.Data.xy,0); t17.xy = t20.xy; highp vec2 t21; highp vec2 t22; t22.xy = ((t20.xy*pu_h[4].zw)*pu_h[6].xy); t21.xy = ((t20.z>5.000000e-001))?(t22):(t8); t17.xy = t21; t16 = 1.000000e-004; highp vec4 t23; t23.w = 1.000000e+000; t23.xyz = t11.xyz; t15.xyzw = (t23*vec4(1.000000e-004,1.000000e-004,1.000000e-004,1.000000e-004)); highp vec4 t24; t24.w = 1.000000e+000; t24.xyz = t11.xyz; t14.xyzw = (t24*vec4(1.000000e-004,1.000000e-004,1.000000e-004,1.000000e-004)); highp vec2 t25; t25.xy = (in_TEXCOORD0.Data.xy+((vec2(3.333336e-002,3.333336e-002)*t12)*pu_h[5].zw)); highp vec2 t26; t26.xy = ((t25*pu_h[7].xy)+pu_h[7].zw); if (all(bvec2(uvec2(greaterThan(t26,vec2(0.000000e+000,0.000000e+000)))*uvec2(lessThan(t26,vec2(1.000000e+000,1.000000e+000)))))) { highp vec2 t27; t27.xy = (t25*pu_h[5].xy); highp vec4 t28; t28.xyzw = textureLod(ps0,t25,0); highp float t29; t29 = (-t28.w); highp vec4 t30; t30.xyzw = textureLod(ps2,t25,0); highp vec2 t31; highp vec2 t32; t32.xy = ((t30.xy*pu_h[4].zw)*pu_h[6].xy); t31.xy = ((t30.z>5.000000e-001))?(t32):(t8); highp float t33; t33 = clamp((1.000000e+000+(-(t18+(-t29)))),0.000000e+000,1.000000e+000); highp float t34; t34 = clamp((1.000000e+000+(-(t29+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t35; t35.xy = t31; highp float t36; t36 = length((t27+(-t19))); highp float t37; t37 = length(t35); highp float t38; highp float t39; t39 = float((t365.000000e-001))?(t64):(t8); highp float t65; t65 = clamp((1.000000e+000+(-(t18+(-t61)))),0.000000e+000,1.000000e+000); highp float t66; t66 = clamp((1.000000e+000+(-(t61+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t67; t67.xy = t63; highp float t68; t68 = length((t59+(-t19))); highp float t69; t69 = length(t67); highp float t70; highp float t71; t71 = float((t685.000000e-001))?(t96):(t8); highp float t97; t97 = clamp((1.000000e+000+(-(t18+(-t93)))),0.000000e+000,1.000000e+000); highp float t98; t98 = clamp((1.000000e+000+(-(t93+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t99; t99.xy = t95; highp float t100; t100 = length((t91+(-t19))); highp float t101; t101 = length(t99); highp float t102; highp float t103; t103 = float((t1005.000000e-001))?(t128):(t8); highp float t129; t129 = clamp((1.000000e+000+(-(t18+(-t125)))),0.000000e+000,1.000000e+000); highp float t130; t130 = clamp((1.000000e+000+(-(t125+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t131; t131.xy = t127; highp float t132; t132 = length((t123+(-t19))); highp float t133; t133 = length(t131); highp float t134; highp float t135; t135 = float((t1325.000000e-001))?(t160):(t8); highp float t161; t161 = clamp((1.000000e+000+(-(t18+(-t157)))),0.000000e+000,1.000000e+000); highp float t162; t162 = clamp((1.000000e+000+(-(t157+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t163; t163.xy = t159; highp float t164; t164 = length((t155+(-t19))); highp float t165; t165 = length(t163); highp float t166; highp float t167; t167 = float((t1645.000000e-001))?(t192):(t8); highp float t193; t193 = clamp((1.000000e+000+(-(t18+(-t189)))),0.000000e+000,1.000000e+000); highp float t194; t194 = clamp((1.000000e+000+(-(t189+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t195; t195.xy = t191; highp float t196; t196 = length((t187+(-t19))); highp float t197; t197 = length(t195); highp float t198; highp float t199; t199 = float((t1965.000000e-001))?(t224):(t8); highp float t225; t225 = clamp((1.000000e+000+(-(t18+(-t221)))),0.000000e+000,1.000000e+000); highp float t226; t226 = clamp((1.000000e+000+(-(t221+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t227; t227.xy = t223; highp float t228; t228 = length((t219+(-t19))); highp float t229; t229 = length(t227); highp float t230; highp float t231; t231 = float((t2285.000000e-001))?(t256):(t8); highp float t257; t257 = clamp((1.000000e+000+(-(t18+(-t253)))),0.000000e+000,1.000000e+000); highp float t258; t258 = clamp((1.000000e+000+(-(t253+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t259; t259.xy = t255; highp float t260; t260 = length((t251+(-t19))); highp float t261; t261 = length(t259); highp float t262; highp float t263; t263 = float((t2605.000000e-001))?(t288):(t8); highp float t289; t289 = clamp((1.000000e+000+(-(t18+(-t285)))),0.000000e+000,1.000000e+000); highp float t290; t290 = clamp((1.000000e+000+(-(t285+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t291; t291.xy = t287; highp float t292; t292 = length((t283+(-t19))); highp float t293; t293 = length(t291); highp float t294; highp float t295; t295 = float((t2925.000000e-001))?(t320):(t8); highp float t321; t321 = clamp((1.000000e+000+(-(t18+(-t317)))),0.000000e+000,1.000000e+000); highp float t322; t322 = clamp((1.000000e+000+(-(t317+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t323; t323.xy = t319; highp float t324; t324 = length((t315+(-t19))); highp float t325; t325 = length(t323); highp float t326; highp float t327; t327 = float((t3245.000000e-001))?(t352):(t8); highp float t353; t353 = clamp((1.000000e+000+(-(t18+(-t349)))),0.000000e+000,1.000000e+000); highp float t354; t354 = clamp((1.000000e+000+(-(t349+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t355; t355.xy = t351; highp float t356; t356 = length((t347+(-t19))); highp float t357; t357 = length(t355); highp float t358; highp float t359; t359 = float((t3565.000000e-001))?(t384):(t8); highp float t385; t385 = clamp((1.000000e+000+(-(t18+(-t381)))),0.000000e+000,1.000000e+000); highp float t386; t386 = clamp((1.000000e+000+(-(t381+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t387; t387.xy = t383; highp float t388; t388 = length((t379+(-t19))); highp float t389; t389 = length(t387); highp float t390; highp float t391; t391 = float((t3885.000000e-001))?(t416):(t8); highp float t417; t417 = clamp((1.000000e+000+(-(t18+(-t413)))),0.000000e+000,1.000000e+000); highp float t418; t418 = clamp((1.000000e+000+(-(t413+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t419; t419.xy = t415; highp float t420; t420 = length((t411+(-t19))); highp float t421; t421 = length(t419); highp float t422; highp float t423; t423 = float((t4205.000000e-001))?(t448):(t8); highp float t449; t449 = clamp((1.000000e+000+(-(t18+(-t445)))),0.000000e+000,1.000000e+000); highp float t450; t450 = clamp((1.000000e+000+(-(t445+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t451; t451.xy = t447; highp float t452; t452 = length((t443+(-t19))); highp float t453; t453 = length(t451); highp float t454; highp float t455; t455 = float((t4525.000000e-001))?(t480):(t8); highp float t481; t481 = clamp((1.000000e+000+(-(t18+(-t477)))),0.000000e+000,1.000000e+000); highp float t482; t482 = clamp((1.000000e+000+(-(t477+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t483; t483.xy = t479; highp float t484; t484 = length((t475+(-t19))); highp float t485; t485 = length(t483); highp float t486; highp float t487; t487 = float((t4845.000000e-001))?(t512):(t8); highp float t513; t513 = clamp((1.000000e+000+(-(t18+(-t509)))),0.000000e+000,1.000000e+000); highp float t514; t514 = clamp((1.000000e+000+(-(t509+(-t18)))),0.000000e+000,1.000000e+000); highp vec2 t515; t515.xy = t511; highp float t516; t516 = length((t507+(-t19))); highp float t517; t517 = length(t515); highp float t518; highp float t519; t519 = float((t516 (var_ref length_retval) (constant float (1.000000)) ) ( (assign (xy) (var_ref t2) (expression vec2 / (var_ref t6) (swiz xx (var_ref length_retval) )) ) ) ()) (assign (xy) (var_ref t8) (expression vec2 * (expression vec2 * (var_ref t2) (swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (assign (xy) (var_ref t3) (var_ref t8) ) (declare (temporary ) vec4 textureLod_retval@916) (call textureLod (var_ref textureLod_retval@916) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyz) (var_ref t10) (expression vec3 / (swiz xyz (var_ref textureLod_retval@916) )(swiz xxx (expression float + (swiz w (var_ref textureLod_retval@916) )(constant float (0.003922)) ) )) ) (assign (w) (var_ref t11) (constant float (1.000000)) ) (declare (temporary ) vec4 textureLod_retval@917) (call textureLod (var_ref textureLod_retval@917) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyz) (var_ref t11) (swiz xyz (var_ref textureLod_retval@917) )) (declare (temporary ) vec2 mix_retval) (call mix (var_ref mix_retval) ((var_ref t8) (expression vec2 * (expression vec2 * (expression vec2 / (swiz xy (var_ref t10) )(swiz xx (expression float + (swiz z (var_ref t10) )(constant float (0.003922)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) (swiz zz (var_ref t10) ))) (assign (xy) (var_ref t12) (var_ref mix_retval) ) (assign (xy) (var_ref t1) (var_ref mix_retval) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref mix_retval) (var_ref mix_retval) )) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((var_ref dot_retval) (constant float (0.000015)) )) (declare (temporary ) float sqrt_retval) (call sqrt (var_ref sqrt_retval) ((var_ref max_retval) )) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float * (expression float + (var_ref sqrt_retval) (expression float neg (constant float (2.000000)) ) ) (constant float (0.250000)) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t13) (var_ref clamp_retval) ) (if (expression bool all_equal (var_ref clamp_retval) (constant float (0.000000)) ) ( (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) ) ( (declare () float t543) (declare () vec4 t542) (declare () vec4 t541) (declare () float t540) (declare () float t538) (declare () vec3 t537) (declare () vec2 t506) (declare () vec2 t505) (declare () vec2 t474) (declare () vec2 t473) (declare () vec2 t442) (declare () vec2 t441) (declare () vec2 t410) (declare () vec2 t409) (declare () vec2 t378) (declare () vec2 t377) (declare () vec2 t346) (declare () vec2 t345) (declare () vec2 t314) (declare () vec2 t313) (declare () vec2 t282) (declare () vec2 t281) (declare () vec2 t250) (declare () vec2 t249) (declare () vec2 t218) (declare () vec2 t217) (declare () vec2 t186) (declare () vec2 t185) (declare () vec2 t154) (declare () vec2 t153) (declare () vec2 t122) (declare () vec2 t121) (declare () vec2 t90) (declare () vec2 t89) (declare () vec2 t58) (declare () vec2 t57) (declare () vec2 t26) (declare () vec2 t25) (declare () vec4 t24) (declare () vec4 t23) (declare () vec2 t22) (declare () vec2 t21) (declare () vec2 t19) (declare () float t18) (declare () vec2 t17) (declare () float t16) (declare () vec4 t15) (declare () vec4 t14) (assign (xy) (var_ref t19) (expression vec2 * (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@918) (call textureLod (var_ref textureLod_retval@918) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (x) (var_ref t18) (expression float neg (swiz w (var_ref textureLod_retval@918) )) ) (declare (temporary ) vec4 textureLod_retval@919) (call textureLod (var_ref textureLod_retval@919) ((var_ref ps2) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xy) (var_ref t17) (swiz xy (var_ref textureLod_retval@919) )) (assign (xy) (var_ref t22) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@919) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp) (if (expression bool > (swiz z (var_ref textureLod_retval@919) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp) (var_ref t22) ) ) ( (assign (xy) (var_ref conditional_tmp) (var_ref t8) ) )) (assign (xy) (var_ref t21) (var_ref conditional_tmp) ) (assign (xy) (var_ref t17) (var_ref conditional_tmp) ) (assign (x) (var_ref t16) (constant float (0.000100)) ) (assign (w) (var_ref t23) (constant float (1.000000)) ) (assign (xyz) (var_ref t23) (swiz xyz (var_ref t11) )) (assign (xyzw) (var_ref t15) (expression vec4 * (var_ref t23) (constant vec4 (0.000100 0.000100 0.000100 0.000100)) ) ) (assign (w) (var_ref t24) (constant float (1.000000)) ) (assign (xyz) (var_ref t24) (swiz xyz (var_ref t11) )) (assign (xyzw) (var_ref t14) (expression vec4 * (var_ref t24) (constant vec4 (0.000100 0.000100 0.000100 0.000100)) ) ) (assign (xy) (var_ref t25) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.033333 0.033333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t26) (expression vec2 + (expression vec2 * (var_ref t25) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval) (call greaterThan (var_ref greaterThan_retval) ((var_ref t26) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor) (assign (xy) (var_ref vec_ctor) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval) ) ) ) (declare (temporary ) bvec2 lessThan_retval) (call lessThan (var_ref lessThan_retval) ((var_ref t26) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval) (call all (var_ref all_retval) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval) ) ) ) ) ) )) (if (var_ref all_retval) ( (declare () vec4 t56) (declare () vec4 t55) (declare () float t52) (declare () float t51) (declare () vec2 t50) (declare () float t48) (declare () float t47) (declare () vec2 t46) (declare () float t45) (declare () float t43) (declare () float t41) (declare () vec2 t40) (declare () float t38) (declare () float t36) (declare () vec2 t35) (declare () float t34) (declare () float t33) (declare () vec2 t32) (declare () vec2 t31) (declare () float t29) (declare () vec4 t28) (declare () vec2 t27) (assign (xy) (var_ref t27) (expression vec2 * (var_ref t25) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@920) (call textureLod (var_ref textureLod_retval@920) ((var_ref ps0) (var_ref t25) (constant float (0.000000)) )) (assign (xyzw) (var_ref t28) (var_ref textureLod_retval@920) ) (assign (x) (var_ref t29) (expression float neg (swiz w (var_ref textureLod_retval@920) )) ) (declare (temporary ) vec4 textureLod_retval@921) (call textureLod (var_ref textureLod_retval@921) ((var_ref ps2) (var_ref t25) (constant float (0.000000)) )) (assign (xy) (var_ref t32) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@921) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@922) (if (expression bool > (swiz z (var_ref textureLod_retval@921) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@922) (var_ref t32) ) ) ( (assign (xy) (var_ref conditional_tmp@922) (var_ref t8) ) )) (assign (xy) (var_ref t31) (var_ref conditional_tmp@922) ) (declare (temporary ) float clamp_retval@923) (call clamp (var_ref clamp_retval@923) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t29) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t33) (var_ref clamp_retval@923) ) (declare (temporary ) float clamp_retval@924) (call clamp (var_ref clamp_retval@924) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t29) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t34) (var_ref clamp_retval@924) ) (assign (xy) (var_ref t35) (var_ref t31) ) (declare (temporary ) float length_retval@925) (call length (var_ref length_retval@925) ((expression vec2 + (var_ref t27) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t36) (var_ref length_retval@925) ) (declare (temporary ) float length_retval@926) (call length (var_ref length_retval@926) ((var_ref t35) )) (assign (x) (var_ref t38) (expression float * (var_ref t33) (expression float b2f (expression bool < (var_ref t36) (var_ref length_retval@926) ) ) ) ) (assign (xy) (var_ref t40) (var_ref t21) ) (declare (temporary ) float length_retval@927) (call length (var_ref length_retval@927) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t27) ) ) )) (assign (x) (var_ref t41) (var_ref length_retval@927) ) (declare (temporary ) float length_retval@928) (call length (var_ref length_retval@928) ((var_ref t40) )) (assign (x) (var_ref t43) (expression float + (var_ref t38) (expression float * (var_ref t34) (expression float b2f (expression bool < (var_ref t41) (var_ref length_retval@928) ) ) ) ) ) (assign (xy) (var_ref t46) (var_ref t31) ) (declare (temporary ) float length_retval@929) (call length (var_ref length_retval@929) ((var_ref t31) )) (assign (x) (var_ref t47) (var_ref length_retval@929) ) (declare (temporary ) float length_retval@930) (call length (var_ref length_retval@930) ((var_ref t46) )) (assign (x) (var_ref t48) (var_ref length_retval@930) ) (declare (temporary ) float length_retval@931) (call length (var_ref length_retval@931) ((expression vec2 + (var_ref t27) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval) (call smoothstep (var_ref smoothstep_retval) ((expression float * (constant float (0.950000)) (var_ref t47) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t48) ) (constant float (0.001000)) ) (var_ref length_retval@931) )) (assign (x) (var_ref t45) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval) ) ) ) (assign (xy) (var_ref t50) (var_ref t21) ) (declare (temporary ) float length_retval@932) (call length (var_ref length_retval@932) ((var_ref t21) )) (assign (x) (var_ref t51) (var_ref length_retval@932) ) (declare (temporary ) float length_retval@933) (call length (var_ref length_retval@933) ((var_ref t50) )) (assign (x) (var_ref t52) (var_ref length_retval@933) ) (declare (temporary ) float length_retval@934) (call length (var_ref length_retval@934) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t27) ) ) )) (declare (temporary ) float smoothstep_retval@935) (call smoothstep (var_ref smoothstep_retval@935) ((expression float * (constant float (0.950000)) (var_ref t51) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t52) ) (constant float (0.001000)) ) (var_ref length_retval@934) )) (declare (temporary ) float clamp_retval@936) (call clamp (var_ref clamp_retval@936) ((expression float + (var_ref t43) (expression float * (expression float * (var_ref t45) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@935) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t55) (constant float (0.000000)) ) (assign (xyz) (var_ref t55) (swiz xyz (var_ref t28) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t55) (swiz xxxx (var_ref clamp_retval@936) )) ) ) (assign (x) (var_ref t16) (expression float + (constant float (0.000100)) (var_ref clamp_retval@936) ) ) (assign (w) (var_ref t56) (constant float (1.000000)) ) (assign (xyz) (var_ref t56) (swiz xyz (var_ref t28) )) (declare (temporary ) vec4 vec_ctor@937) (assign (xyzw) (var_ref vec_ctor@937) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@936) ) ) )) (declare (temporary ) float clamp_retval@938) (call clamp (var_ref clamp_retval@938) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t56) (var_ref vec_ctor@937) ) (swiz xxxx (var_ref clamp_retval@938) )) ) ) ) ()) (assign (xy) (var_ref t57) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.033333 0.033333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t58) (expression vec2 + (expression vec2 * (var_ref t57) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@939) (call greaterThan (var_ref greaterThan_retval@939) ((var_ref t58) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@940) (assign (xy) (var_ref vec_ctor@940) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@939) ) ) ) (declare (temporary ) bvec2 lessThan_retval@941) (call lessThan (var_ref lessThan_retval@941) ((var_ref t58) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@942) (call all (var_ref all_retval@942) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@940) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@941) ) ) ) ) ) )) (if (var_ref all_retval@942) ( (declare () vec4 t88) (declare () vec4 t87) (declare () float t84) (declare () float t83) (declare () vec2 t82) (declare () float t80) (declare () float t79) (declare () vec2 t78) (declare () float t77) (declare () float t75) (declare () float t73) (declare () vec2 t72) (declare () float t70) (declare () float t68) (declare () vec2 t67) (declare () float t66) (declare () float t65) (declare () vec2 t64) (declare () vec2 t63) (declare () float t61) (declare () vec4 t60) (declare () vec2 t59) (assign (xy) (var_ref t59) (expression vec2 * (var_ref t57) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@943) (call textureLod (var_ref textureLod_retval@943) ((var_ref ps0) (var_ref t57) (constant float (0.000000)) )) (assign (xyzw) (var_ref t60) (var_ref textureLod_retval@943) ) (assign (x) (var_ref t61) (expression float neg (swiz w (var_ref textureLod_retval@943) )) ) (declare (temporary ) vec4 textureLod_retval@944) (call textureLod (var_ref textureLod_retval@944) ((var_ref ps2) (var_ref t57) (constant float (0.000000)) )) (assign (xy) (var_ref t64) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@944) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@945) (if (expression bool > (swiz z (var_ref textureLod_retval@944) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@945) (var_ref t64) ) ) ( (assign (xy) (var_ref conditional_tmp@945) (var_ref t8) ) )) (assign (xy) (var_ref t63) (var_ref conditional_tmp@945) ) (declare (temporary ) float clamp_retval@946) (call clamp (var_ref clamp_retval@946) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t61) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t65) (var_ref clamp_retval@946) ) (declare (temporary ) float clamp_retval@947) (call clamp (var_ref clamp_retval@947) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t61) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t66) (var_ref clamp_retval@947) ) (assign (xy) (var_ref t67) (var_ref t63) ) (declare (temporary ) float length_retval@948) (call length (var_ref length_retval@948) ((expression vec2 + (var_ref t59) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t68) (var_ref length_retval@948) ) (declare (temporary ) float length_retval@949) (call length (var_ref length_retval@949) ((var_ref t67) )) (assign (x) (var_ref t70) (expression float * (var_ref t65) (expression float b2f (expression bool < (var_ref t68) (var_ref length_retval@949) ) ) ) ) (assign (xy) (var_ref t72) (var_ref t21) ) (declare (temporary ) float length_retval@950) (call length (var_ref length_retval@950) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t59) ) ) )) (assign (x) (var_ref t73) (var_ref length_retval@950) ) (declare (temporary ) float length_retval@951) (call length (var_ref length_retval@951) ((var_ref t72) )) (assign (x) (var_ref t75) (expression float + (var_ref t70) (expression float * (var_ref t66) (expression float b2f (expression bool < (var_ref t73) (var_ref length_retval@951) ) ) ) ) ) (assign (xy) (var_ref t78) (var_ref t63) ) (declare (temporary ) float length_retval@952) (call length (var_ref length_retval@952) ((var_ref t63) )) (assign (x) (var_ref t79) (var_ref length_retval@952) ) (declare (temporary ) float length_retval@953) (call length (var_ref length_retval@953) ((var_ref t78) )) (assign (x) (var_ref t80) (var_ref length_retval@953) ) (declare (temporary ) float length_retval@954) (call length (var_ref length_retval@954) ((expression vec2 + (var_ref t59) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@955) (call smoothstep (var_ref smoothstep_retval@955) ((expression float * (constant float (0.950000)) (var_ref t79) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t80) ) (constant float (0.001000)) ) (var_ref length_retval@954) )) (assign (x) (var_ref t77) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@955) ) ) ) (assign (xy) (var_ref t82) (var_ref t21) ) (declare (temporary ) float length_retval@956) (call length (var_ref length_retval@956) ((var_ref t21) )) (assign (x) (var_ref t83) (var_ref length_retval@956) ) (declare (temporary ) float length_retval@957) (call length (var_ref length_retval@957) ((var_ref t82) )) (assign (x) (var_ref t84) (var_ref length_retval@957) ) (declare (temporary ) float length_retval@958) (call length (var_ref length_retval@958) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t59) ) ) )) (declare (temporary ) float smoothstep_retval@959) (call smoothstep (var_ref smoothstep_retval@959) ((expression float * (constant float (0.950000)) (var_ref t83) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t84) ) (constant float (0.001000)) ) (var_ref length_retval@958) )) (declare (temporary ) float clamp_retval@960) (call clamp (var_ref clamp_retval@960) ((expression float + (var_ref t75) (expression float * (expression float * (var_ref t77) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@959) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t87) (constant float (0.000000)) ) (assign (xyz) (var_ref t87) (swiz xyz (var_ref t60) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t87) (swiz xxxx (var_ref clamp_retval@960) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@960) ) ) (assign (w) (var_ref t88) (constant float (1.000000)) ) (assign (xyz) (var_ref t88) (swiz xyz (var_ref t60) )) (declare (temporary ) vec4 vec_ctor@961) (assign (xyzw) (var_ref vec_ctor@961) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@960) ) ) )) (declare (temporary ) float clamp_retval@962) (call clamp (var_ref clamp_retval@962) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t88) (var_ref vec_ctor@961) ) (swiz xxxx (var_ref clamp_retval@962) )) ) ) ) ()) (assign (xy) (var_ref t89) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.033333 -0.033333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t90) (expression vec2 + (expression vec2 * (var_ref t89) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@963) (call greaterThan (var_ref greaterThan_retval@963) ((var_ref t90) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@964) (assign (xy) (var_ref vec_ctor@964) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@963) ) ) ) (declare (temporary ) bvec2 lessThan_retval@965) (call lessThan (var_ref lessThan_retval@965) ((var_ref t90) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@966) (call all (var_ref all_retval@966) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@964) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@965) ) ) ) ) ) )) (if (var_ref all_retval@966) ( (declare () vec4 t120) (declare () vec4 t119) (declare () float t116) (declare () float t115) (declare () vec2 t114) (declare () float t112) (declare () float t111) (declare () vec2 t110) (declare () float t109) (declare () float t107) (declare () float t105) (declare () vec2 t104) (declare () float t102) (declare () float t100) (declare () vec2 t99) (declare () float t98) (declare () float t97) (declare () vec2 t96) (declare () vec2 t95) (declare () float t93) (declare () vec4 t92) (declare () vec2 t91) (assign (xy) (var_ref t91) (expression vec2 * (var_ref t89) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@967) (call textureLod (var_ref textureLod_retval@967) ((var_ref ps0) (var_ref t89) (constant float (0.000000)) )) (assign (xyzw) (var_ref t92) (var_ref textureLod_retval@967) ) (assign (x) (var_ref t93) (expression float neg (swiz w (var_ref textureLod_retval@967) )) ) (declare (temporary ) vec4 textureLod_retval@968) (call textureLod (var_ref textureLod_retval@968) ((var_ref ps2) (var_ref t89) (constant float (0.000000)) )) (assign (xy) (var_ref t96) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@968) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@969) (if (expression bool > (swiz z (var_ref textureLod_retval@968) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@969) (var_ref t96) ) ) ( (assign (xy) (var_ref conditional_tmp@969) (var_ref t8) ) )) (assign (xy) (var_ref t95) (var_ref conditional_tmp@969) ) (declare (temporary ) float clamp_retval@970) (call clamp (var_ref clamp_retval@970) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t93) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t97) (var_ref clamp_retval@970) ) (declare (temporary ) float clamp_retval@971) (call clamp (var_ref clamp_retval@971) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t93) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t98) (var_ref clamp_retval@971) ) (assign (xy) (var_ref t99) (var_ref t95) ) (declare (temporary ) float length_retval@972) (call length (var_ref length_retval@972) ((expression vec2 + (var_ref t91) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t100) (var_ref length_retval@972) ) (declare (temporary ) float length_retval@973) (call length (var_ref length_retval@973) ((var_ref t99) )) (assign (x) (var_ref t102) (expression float * (var_ref t97) (expression float b2f (expression bool < (var_ref t100) (var_ref length_retval@973) ) ) ) ) (assign (xy) (var_ref t104) (var_ref t21) ) (declare (temporary ) float length_retval@974) (call length (var_ref length_retval@974) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t91) ) ) )) (assign (x) (var_ref t105) (var_ref length_retval@974) ) (declare (temporary ) float length_retval@975) (call length (var_ref length_retval@975) ((var_ref t104) )) (assign (x) (var_ref t107) (expression float + (var_ref t102) (expression float * (var_ref t98) (expression float b2f (expression bool < (var_ref t105) (var_ref length_retval@975) ) ) ) ) ) (assign (xy) (var_ref t110) (var_ref t95) ) (declare (temporary ) float length_retval@976) (call length (var_ref length_retval@976) ((var_ref t95) )) (assign (x) (var_ref t111) (var_ref length_retval@976) ) (declare (temporary ) float length_retval@977) (call length (var_ref length_retval@977) ((var_ref t110) )) (assign (x) (var_ref t112) (var_ref length_retval@977) ) (declare (temporary ) float length_retval@978) (call length (var_ref length_retval@978) ((expression vec2 + (var_ref t91) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@979) (call smoothstep (var_ref smoothstep_retval@979) ((expression float * (constant float (0.950000)) (var_ref t111) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t112) ) (constant float (0.001000)) ) (var_ref length_retval@978) )) (assign (x) (var_ref t109) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@979) ) ) ) (assign (xy) (var_ref t114) (var_ref t21) ) (declare (temporary ) float length_retval@980) (call length (var_ref length_retval@980) ((var_ref t21) )) (assign (x) (var_ref t115) (var_ref length_retval@980) ) (declare (temporary ) float length_retval@981) (call length (var_ref length_retval@981) ((var_ref t114) )) (assign (x) (var_ref t116) (var_ref length_retval@981) ) (declare (temporary ) float length_retval@982) (call length (var_ref length_retval@982) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t91) ) ) )) (declare (temporary ) float smoothstep_retval@983) (call smoothstep (var_ref smoothstep_retval@983) ((expression float * (constant float (0.950000)) (var_ref t115) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t116) ) (constant float (0.001000)) ) (var_ref length_retval@982) )) (declare (temporary ) float clamp_retval@984) (call clamp (var_ref clamp_retval@984) ((expression float + (var_ref t107) (expression float * (expression float * (var_ref t109) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@983) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t119) (constant float (0.000000)) ) (assign (xyz) (var_ref t119) (swiz xyz (var_ref t92) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t119) (swiz xxxx (var_ref clamp_retval@984) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@984) ) ) (assign (w) (var_ref t120) (constant float (1.000000)) ) (assign (xyz) (var_ref t120) (swiz xyz (var_ref t92) )) (declare (temporary ) vec4 vec_ctor@985) (assign (xyzw) (var_ref vec_ctor@985) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@984) ) ) )) (declare (temporary ) float clamp_retval@986) (call clamp (var_ref clamp_retval@986) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t120) (var_ref vec_ctor@985) ) (swiz xxxx (var_ref clamp_retval@986) )) ) ) ) ()) (assign (xy) (var_ref t121) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.100000 0.100000)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t122) (expression vec2 + (expression vec2 * (var_ref t121) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@987) (call greaterThan (var_ref greaterThan_retval@987) ((var_ref t122) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@988) (assign (xy) (var_ref vec_ctor@988) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@987) ) ) ) (declare (temporary ) bvec2 lessThan_retval@989) (call lessThan (var_ref lessThan_retval@989) ((var_ref t122) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@990) (call all (var_ref all_retval@990) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@988) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@989) ) ) ) ) ) )) (if (var_ref all_retval@990) ( (declare () vec4 t152) (declare () vec4 t151) (declare () float t148) (declare () float t147) (declare () vec2 t146) (declare () float t144) (declare () float t143) (declare () vec2 t142) (declare () float t141) (declare () float t139) (declare () float t137) (declare () vec2 t136) (declare () float t134) (declare () float t132) (declare () vec2 t131) (declare () float t130) (declare () float t129) (declare () vec2 t128) (declare () vec2 t127) (declare () float t125) (declare () vec4 t124) (declare () vec2 t123) (assign (xy) (var_ref t123) (expression vec2 * (var_ref t121) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@991) (call textureLod (var_ref textureLod_retval@991) ((var_ref ps0) (var_ref t121) (constant float (0.000000)) )) (assign (xyzw) (var_ref t124) (var_ref textureLod_retval@991) ) (assign (x) (var_ref t125) (expression float neg (swiz w (var_ref textureLod_retval@991) )) ) (declare (temporary ) vec4 textureLod_retval@992) (call textureLod (var_ref textureLod_retval@992) ((var_ref ps2) (var_ref t121) (constant float (0.000000)) )) (assign (xy) (var_ref t128) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@992) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@993) (if (expression bool > (swiz z (var_ref textureLod_retval@992) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@993) (var_ref t128) ) ) ( (assign (xy) (var_ref conditional_tmp@993) (var_ref t8) ) )) (assign (xy) (var_ref t127) (var_ref conditional_tmp@993) ) (declare (temporary ) float clamp_retval@994) (call clamp (var_ref clamp_retval@994) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t125) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t129) (var_ref clamp_retval@994) ) (declare (temporary ) float clamp_retval@995) (call clamp (var_ref clamp_retval@995) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t125) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t130) (var_ref clamp_retval@995) ) (assign (xy) (var_ref t131) (var_ref t127) ) (declare (temporary ) float length_retval@996) (call length (var_ref length_retval@996) ((expression vec2 + (var_ref t123) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t132) (var_ref length_retval@996) ) (declare (temporary ) float length_retval@997) (call length (var_ref length_retval@997) ((var_ref t131) )) (assign (x) (var_ref t134) (expression float * (var_ref t129) (expression float b2f (expression bool < (var_ref t132) (var_ref length_retval@997) ) ) ) ) (assign (xy) (var_ref t136) (var_ref t21) ) (declare (temporary ) float length_retval@998) (call length (var_ref length_retval@998) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t123) ) ) )) (assign (x) (var_ref t137) (var_ref length_retval@998) ) (declare (temporary ) float length_retval@999) (call length (var_ref length_retval@999) ((var_ref t136) )) (assign (x) (var_ref t139) (expression float + (var_ref t134) (expression float * (var_ref t130) (expression float b2f (expression bool < (var_ref t137) (var_ref length_retval@999) ) ) ) ) ) (assign (xy) (var_ref t142) (var_ref t127) ) (declare (temporary ) float length_retval@1000) (call length (var_ref length_retval@1000) ((var_ref t127) )) (assign (x) (var_ref t143) (var_ref length_retval@1000) ) (declare (temporary ) float length_retval@1001) (call length (var_ref length_retval@1001) ((var_ref t142) )) (assign (x) (var_ref t144) (var_ref length_retval@1001) ) (declare (temporary ) float length_retval@1002) (call length (var_ref length_retval@1002) ((expression vec2 + (var_ref t123) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1003) (call smoothstep (var_ref smoothstep_retval@1003) ((expression float * (constant float (0.950000)) (var_ref t143) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t144) ) (constant float (0.001000)) ) (var_ref length_retval@1002) )) (assign (x) (var_ref t141) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1003) ) ) ) (assign (xy) (var_ref t146) (var_ref t21) ) (declare (temporary ) float length_retval@1004) (call length (var_ref length_retval@1004) ((var_ref t21) )) (assign (x) (var_ref t147) (var_ref length_retval@1004) ) (declare (temporary ) float length_retval@1005) (call length (var_ref length_retval@1005) ((var_ref t146) )) (assign (x) (var_ref t148) (var_ref length_retval@1005) ) (declare (temporary ) float length_retval@1006) (call length (var_ref length_retval@1006) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t123) ) ) )) (declare (temporary ) float smoothstep_retval@1007) (call smoothstep (var_ref smoothstep_retval@1007) ((expression float * (constant float (0.950000)) (var_ref t147) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t148) ) (constant float (0.001000)) ) (var_ref length_retval@1006) )) (declare (temporary ) float clamp_retval@1008) (call clamp (var_ref clamp_retval@1008) ((expression float + (var_ref t139) (expression float * (expression float * (var_ref t141) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1007) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t151) (constant float (0.000000)) ) (assign (xyz) (var_ref t151) (swiz xyz (var_ref t124) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t151) (swiz xxxx (var_ref clamp_retval@1008) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1008) ) ) (assign (w) (var_ref t152) (constant float (1.000000)) ) (assign (xyz) (var_ref t152) (swiz xyz (var_ref t124) )) (declare (temporary ) vec4 vec_ctor@1009) (assign (xyzw) (var_ref vec_ctor@1009) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1008) ) ) )) (declare (temporary ) float clamp_retval@1010) (call clamp (var_ref clamp_retval@1010) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t152) (var_ref vec_ctor@1009) ) (swiz xxxx (var_ref clamp_retval@1010) )) ) ) ) ()) (assign (xy) (var_ref t153) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.100000 -0.100000)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t154) (expression vec2 + (expression vec2 * (var_ref t153) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1011) (call greaterThan (var_ref greaterThan_retval@1011) ((var_ref t154) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1012) (assign (xy) (var_ref vec_ctor@1012) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1011) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1013) (call lessThan (var_ref lessThan_retval@1013) ((var_ref t154) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1014) (call all (var_ref all_retval@1014) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1012) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1013) ) ) ) ) ) )) (if (var_ref all_retval@1014) ( (declare () vec4 t184) (declare () vec4 t183) (declare () float t180) (declare () float t179) (declare () vec2 t178) (declare () float t176) (declare () float t175) (declare () vec2 t174) (declare () float t173) (declare () float t171) (declare () float t169) (declare () vec2 t168) (declare () float t166) (declare () float t164) (declare () vec2 t163) (declare () float t162) (declare () float t161) (declare () vec2 t160) (declare () vec2 t159) (declare () float t157) (declare () vec4 t156) (declare () vec2 t155) (assign (xy) (var_ref t155) (expression vec2 * (var_ref t153) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1015) (call textureLod (var_ref textureLod_retval@1015) ((var_ref ps0) (var_ref t153) (constant float (0.000000)) )) (assign (xyzw) (var_ref t156) (var_ref textureLod_retval@1015) ) (assign (x) (var_ref t157) (expression float neg (swiz w (var_ref textureLod_retval@1015) )) ) (declare (temporary ) vec4 textureLod_retval@1016) (call textureLod (var_ref textureLod_retval@1016) ((var_ref ps2) (var_ref t153) (constant float (0.000000)) )) (assign (xy) (var_ref t160) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1016) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1017) (if (expression bool > (swiz z (var_ref textureLod_retval@1016) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1017) (var_ref t160) ) ) ( (assign (xy) (var_ref conditional_tmp@1017) (var_ref t8) ) )) (assign (xy) (var_ref t159) (var_ref conditional_tmp@1017) ) (declare (temporary ) float clamp_retval@1018) (call clamp (var_ref clamp_retval@1018) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t157) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t161) (var_ref clamp_retval@1018) ) (declare (temporary ) float clamp_retval@1019) (call clamp (var_ref clamp_retval@1019) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t157) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t162) (var_ref clamp_retval@1019) ) (assign (xy) (var_ref t163) (var_ref t159) ) (declare (temporary ) float length_retval@1020) (call length (var_ref length_retval@1020) ((expression vec2 + (var_ref t155) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t164) (var_ref length_retval@1020) ) (declare (temporary ) float length_retval@1021) (call length (var_ref length_retval@1021) ((var_ref t163) )) (assign (x) (var_ref t166) (expression float * (var_ref t161) (expression float b2f (expression bool < (var_ref t164) (var_ref length_retval@1021) ) ) ) ) (assign (xy) (var_ref t168) (var_ref t21) ) (declare (temporary ) float length_retval@1022) (call length (var_ref length_retval@1022) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t155) ) ) )) (assign (x) (var_ref t169) (var_ref length_retval@1022) ) (declare (temporary ) float length_retval@1023) (call length (var_ref length_retval@1023) ((var_ref t168) )) (assign (x) (var_ref t171) (expression float + (var_ref t166) (expression float * (var_ref t162) (expression float b2f (expression bool < (var_ref t169) (var_ref length_retval@1023) ) ) ) ) ) (assign (xy) (var_ref t174) (var_ref t159) ) (declare (temporary ) float length_retval@1024) (call length (var_ref length_retval@1024) ((var_ref t159) )) (assign (x) (var_ref t175) (var_ref length_retval@1024) ) (declare (temporary ) float length_retval@1025) (call length (var_ref length_retval@1025) ((var_ref t174) )) (assign (x) (var_ref t176) (var_ref length_retval@1025) ) (declare (temporary ) float length_retval@1026) (call length (var_ref length_retval@1026) ((expression vec2 + (var_ref t155) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1027) (call smoothstep (var_ref smoothstep_retval@1027) ((expression float * (constant float (0.950000)) (var_ref t175) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t176) ) (constant float (0.001000)) ) (var_ref length_retval@1026) )) (assign (x) (var_ref t173) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1027) ) ) ) (assign (xy) (var_ref t178) (var_ref t21) ) (declare (temporary ) float length_retval@1028) (call length (var_ref length_retval@1028) ((var_ref t21) )) (assign (x) (var_ref t179) (var_ref length_retval@1028) ) (declare (temporary ) float length_retval@1029) (call length (var_ref length_retval@1029) ((var_ref t178) )) (assign (x) (var_ref t180) (var_ref length_retval@1029) ) (declare (temporary ) float length_retval@1030) (call length (var_ref length_retval@1030) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t155) ) ) )) (declare (temporary ) float smoothstep_retval@1031) (call smoothstep (var_ref smoothstep_retval@1031) ((expression float * (constant float (0.950000)) (var_ref t179) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t180) ) (constant float (0.001000)) ) (var_ref length_retval@1030) )) (declare (temporary ) float clamp_retval@1032) (call clamp (var_ref clamp_retval@1032) ((expression float + (var_ref t171) (expression float * (expression float * (var_ref t173) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1031) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t183) (constant float (0.000000)) ) (assign (xyz) (var_ref t183) (swiz xyz (var_ref t156) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t183) (swiz xxxx (var_ref clamp_retval@1032) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1032) ) ) (assign (w) (var_ref t184) (constant float (1.000000)) ) (assign (xyz) (var_ref t184) (swiz xyz (var_ref t156) )) (declare (temporary ) vec4 vec_ctor@1033) (assign (xyzw) (var_ref vec_ctor@1033) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1032) ) ) )) (declare (temporary ) float clamp_retval@1034) (call clamp (var_ref clamp_retval@1034) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t184) (var_ref vec_ctor@1033) ) (swiz xxxx (var_ref clamp_retval@1034) )) ) ) ) ()) (assign (xy) (var_ref t185) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.166667 0.166667)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t186) (expression vec2 + (expression vec2 * (var_ref t185) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1035) (call greaterThan (var_ref greaterThan_retval@1035) ((var_ref t186) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1036) (assign (xy) (var_ref vec_ctor@1036) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1035) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1037) (call lessThan (var_ref lessThan_retval@1037) ((var_ref t186) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1038) (call all (var_ref all_retval@1038) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1036) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1037) ) ) ) ) ) )) (if (var_ref all_retval@1038) ( (declare () vec4 t216) (declare () vec4 t215) (declare () float t212) (declare () float t211) (declare () vec2 t210) (declare () float t208) (declare () float t207) (declare () vec2 t206) (declare () float t205) (declare () float t203) (declare () float t201) (declare () vec2 t200) (declare () float t198) (declare () float t196) (declare () vec2 t195) (declare () float t194) (declare () float t193) (declare () vec2 t192) (declare () vec2 t191) (declare () float t189) (declare () vec4 t188) (declare () vec2 t187) (assign (xy) (var_ref t187) (expression vec2 * (var_ref t185) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1039) (call textureLod (var_ref textureLod_retval@1039) ((var_ref ps0) (var_ref t185) (constant float (0.000000)) )) (assign (xyzw) (var_ref t188) (var_ref textureLod_retval@1039) ) (assign (x) (var_ref t189) (expression float neg (swiz w (var_ref textureLod_retval@1039) )) ) (declare (temporary ) vec4 textureLod_retval@1040) (call textureLod (var_ref textureLod_retval@1040) ((var_ref ps2) (var_ref t185) (constant float (0.000000)) )) (assign (xy) (var_ref t192) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1040) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1041) (if (expression bool > (swiz z (var_ref textureLod_retval@1040) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1041) (var_ref t192) ) ) ( (assign (xy) (var_ref conditional_tmp@1041) (var_ref t8) ) )) (assign (xy) (var_ref t191) (var_ref conditional_tmp@1041) ) (declare (temporary ) float clamp_retval@1042) (call clamp (var_ref clamp_retval@1042) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t189) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t193) (var_ref clamp_retval@1042) ) (declare (temporary ) float clamp_retval@1043) (call clamp (var_ref clamp_retval@1043) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t189) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t194) (var_ref clamp_retval@1043) ) (assign (xy) (var_ref t195) (var_ref t191) ) (declare (temporary ) float length_retval@1044) (call length (var_ref length_retval@1044) ((expression vec2 + (var_ref t187) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t196) (var_ref length_retval@1044) ) (declare (temporary ) float length_retval@1045) (call length (var_ref length_retval@1045) ((var_ref t195) )) (assign (x) (var_ref t198) (expression float * (var_ref t193) (expression float b2f (expression bool < (var_ref t196) (var_ref length_retval@1045) ) ) ) ) (assign (xy) (var_ref t200) (var_ref t21) ) (declare (temporary ) float length_retval@1046) (call length (var_ref length_retval@1046) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t187) ) ) )) (assign (x) (var_ref t201) (var_ref length_retval@1046) ) (declare (temporary ) float length_retval@1047) (call length (var_ref length_retval@1047) ((var_ref t200) )) (assign (x) (var_ref t203) (expression float + (var_ref t198) (expression float * (var_ref t194) (expression float b2f (expression bool < (var_ref t201) (var_ref length_retval@1047) ) ) ) ) ) (assign (xy) (var_ref t206) (var_ref t191) ) (declare (temporary ) float length_retval@1048) (call length (var_ref length_retval@1048) ((var_ref t191) )) (assign (x) (var_ref t207) (var_ref length_retval@1048) ) (declare (temporary ) float length_retval@1049) (call length (var_ref length_retval@1049) ((var_ref t206) )) (assign (x) (var_ref t208) (var_ref length_retval@1049) ) (declare (temporary ) float length_retval@1050) (call length (var_ref length_retval@1050) ((expression vec2 + (var_ref t187) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1051) (call smoothstep (var_ref smoothstep_retval@1051) ((expression float * (constant float (0.950000)) (var_ref t207) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t208) ) (constant float (0.001000)) ) (var_ref length_retval@1050) )) (assign (x) (var_ref t205) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1051) ) ) ) (assign (xy) (var_ref t210) (var_ref t21) ) (declare (temporary ) float length_retval@1052) (call length (var_ref length_retval@1052) ((var_ref t21) )) (assign (x) (var_ref t211) (var_ref length_retval@1052) ) (declare (temporary ) float length_retval@1053) (call length (var_ref length_retval@1053) ((var_ref t210) )) (assign (x) (var_ref t212) (var_ref length_retval@1053) ) (declare (temporary ) float length_retval@1054) (call length (var_ref length_retval@1054) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t187) ) ) )) (declare (temporary ) float smoothstep_retval@1055) (call smoothstep (var_ref smoothstep_retval@1055) ((expression float * (constant float (0.950000)) (var_ref t211) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t212) ) (constant float (0.001000)) ) (var_ref length_retval@1054) )) (declare (temporary ) float clamp_retval@1056) (call clamp (var_ref clamp_retval@1056) ((expression float + (var_ref t203) (expression float * (expression float * (var_ref t205) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1055) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t215) (constant float (0.000000)) ) (assign (xyz) (var_ref t215) (swiz xyz (var_ref t188) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t215) (swiz xxxx (var_ref clamp_retval@1056) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1056) ) ) (assign (w) (var_ref t216) (constant float (1.000000)) ) (assign (xyz) (var_ref t216) (swiz xyz (var_ref t188) )) (declare (temporary ) vec4 vec_ctor@1057) (assign (xyzw) (var_ref vec_ctor@1057) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1056) ) ) )) (declare (temporary ) float clamp_retval@1058) (call clamp (var_ref clamp_retval@1058) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t216) (var_ref vec_ctor@1057) ) (swiz xxxx (var_ref clamp_retval@1058) )) ) ) ) ()) (assign (xy) (var_ref t217) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.166667 -0.166667)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t218) (expression vec2 + (expression vec2 * (var_ref t217) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1059) (call greaterThan (var_ref greaterThan_retval@1059) ((var_ref t218) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1060) (assign (xy) (var_ref vec_ctor@1060) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1059) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1061) (call lessThan (var_ref lessThan_retval@1061) ((var_ref t218) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1062) (call all (var_ref all_retval@1062) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1060) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1061) ) ) ) ) ) )) (if (var_ref all_retval@1062) ( (declare () vec4 t248) (declare () vec4 t247) (declare () float t244) (declare () float t243) (declare () vec2 t242) (declare () float t240) (declare () float t239) (declare () vec2 t238) (declare () float t237) (declare () float t235) (declare () float t233) (declare () vec2 t232) (declare () float t230) (declare () float t228) (declare () vec2 t227) (declare () float t226) (declare () float t225) (declare () vec2 t224) (declare () vec2 t223) (declare () float t221) (declare () vec4 t220) (declare () vec2 t219) (assign (xy) (var_ref t219) (expression vec2 * (var_ref t217) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1063) (call textureLod (var_ref textureLod_retval@1063) ((var_ref ps0) (var_ref t217) (constant float (0.000000)) )) (assign (xyzw) (var_ref t220) (var_ref textureLod_retval@1063) ) (assign (x) (var_ref t221) (expression float neg (swiz w (var_ref textureLod_retval@1063) )) ) (declare (temporary ) vec4 textureLod_retval@1064) (call textureLod (var_ref textureLod_retval@1064) ((var_ref ps2) (var_ref t217) (constant float (0.000000)) )) (assign (xy) (var_ref t224) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1064) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1065) (if (expression bool > (swiz z (var_ref textureLod_retval@1064) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1065) (var_ref t224) ) ) ( (assign (xy) (var_ref conditional_tmp@1065) (var_ref t8) ) )) (assign (xy) (var_ref t223) (var_ref conditional_tmp@1065) ) (declare (temporary ) float clamp_retval@1066) (call clamp (var_ref clamp_retval@1066) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t221) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t225) (var_ref clamp_retval@1066) ) (declare (temporary ) float clamp_retval@1067) (call clamp (var_ref clamp_retval@1067) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t221) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t226) (var_ref clamp_retval@1067) ) (assign (xy) (var_ref t227) (var_ref t223) ) (declare (temporary ) float length_retval@1068) (call length (var_ref length_retval@1068) ((expression vec2 + (var_ref t219) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t228) (var_ref length_retval@1068) ) (declare (temporary ) float length_retval@1069) (call length (var_ref length_retval@1069) ((var_ref t227) )) (assign (x) (var_ref t230) (expression float * (var_ref t225) (expression float b2f (expression bool < (var_ref t228) (var_ref length_retval@1069) ) ) ) ) (assign (xy) (var_ref t232) (var_ref t21) ) (declare (temporary ) float length_retval@1070) (call length (var_ref length_retval@1070) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t219) ) ) )) (assign (x) (var_ref t233) (var_ref length_retval@1070) ) (declare (temporary ) float length_retval@1071) (call length (var_ref length_retval@1071) ((var_ref t232) )) (assign (x) (var_ref t235) (expression float + (var_ref t230) (expression float * (var_ref t226) (expression float b2f (expression bool < (var_ref t233) (var_ref length_retval@1071) ) ) ) ) ) (assign (xy) (var_ref t238) (var_ref t223) ) (declare (temporary ) float length_retval@1072) (call length (var_ref length_retval@1072) ((var_ref t223) )) (assign (x) (var_ref t239) (var_ref length_retval@1072) ) (declare (temporary ) float length_retval@1073) (call length (var_ref length_retval@1073) ((var_ref t238) )) (assign (x) (var_ref t240) (var_ref length_retval@1073) ) (declare (temporary ) float length_retval@1074) (call length (var_ref length_retval@1074) ((expression vec2 + (var_ref t219) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1075) (call smoothstep (var_ref smoothstep_retval@1075) ((expression float * (constant float (0.950000)) (var_ref t239) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t240) ) (constant float (0.001000)) ) (var_ref length_retval@1074) )) (assign (x) (var_ref t237) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1075) ) ) ) (assign (xy) (var_ref t242) (var_ref t21) ) (declare (temporary ) float length_retval@1076) (call length (var_ref length_retval@1076) ((var_ref t21) )) (assign (x) (var_ref t243) (var_ref length_retval@1076) ) (declare (temporary ) float length_retval@1077) (call length (var_ref length_retval@1077) ((var_ref t242) )) (assign (x) (var_ref t244) (var_ref length_retval@1077) ) (declare (temporary ) float length_retval@1078) (call length (var_ref length_retval@1078) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t219) ) ) )) (declare (temporary ) float smoothstep_retval@1079) (call smoothstep (var_ref smoothstep_retval@1079) ((expression float * (constant float (0.950000)) (var_ref t243) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t244) ) (constant float (0.001000)) ) (var_ref length_retval@1078) )) (declare (temporary ) float clamp_retval@1080) (call clamp (var_ref clamp_retval@1080) ((expression float + (var_ref t235) (expression float * (expression float * (var_ref t237) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1079) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t247) (constant float (0.000000)) ) (assign (xyz) (var_ref t247) (swiz xyz (var_ref t220) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t247) (swiz xxxx (var_ref clamp_retval@1080) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1080) ) ) (assign (w) (var_ref t248) (constant float (1.000000)) ) (assign (xyz) (var_ref t248) (swiz xyz (var_ref t220) )) (declare (temporary ) vec4 vec_ctor@1081) (assign (xyzw) (var_ref vec_ctor@1081) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1080) ) ) )) (declare (temporary ) float clamp_retval@1082) (call clamp (var_ref clamp_retval@1082) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t248) (var_ref vec_ctor@1081) ) (swiz xxxx (var_ref clamp_retval@1082) )) ) ) ) ()) (assign (xy) (var_ref t249) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.233333 0.233333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t250) (expression vec2 + (expression vec2 * (var_ref t249) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1083) (call greaterThan (var_ref greaterThan_retval@1083) ((var_ref t250) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1084) (assign (xy) (var_ref vec_ctor@1084) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1083) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1085) (call lessThan (var_ref lessThan_retval@1085) ((var_ref t250) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1086) (call all (var_ref all_retval@1086) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1084) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1085) ) ) ) ) ) )) (if (var_ref all_retval@1086) ( (declare () vec4 t280) (declare () vec4 t279) (declare () float t276) (declare () float t275) (declare () vec2 t274) (declare () float t272) (declare () float t271) (declare () vec2 t270) (declare () float t269) (declare () float t267) (declare () float t265) (declare () vec2 t264) (declare () float t262) (declare () float t260) (declare () vec2 t259) (declare () float t258) (declare () float t257) (declare () vec2 t256) (declare () vec2 t255) (declare () float t253) (declare () vec4 t252) (declare () vec2 t251) (assign (xy) (var_ref t251) (expression vec2 * (var_ref t249) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1087) (call textureLod (var_ref textureLod_retval@1087) ((var_ref ps0) (var_ref t249) (constant float (0.000000)) )) (assign (xyzw) (var_ref t252) (var_ref textureLod_retval@1087) ) (assign (x) (var_ref t253) (expression float neg (swiz w (var_ref textureLod_retval@1087) )) ) (declare (temporary ) vec4 textureLod_retval@1088) (call textureLod (var_ref textureLod_retval@1088) ((var_ref ps2) (var_ref t249) (constant float (0.000000)) )) (assign (xy) (var_ref t256) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1088) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1089) (if (expression bool > (swiz z (var_ref textureLod_retval@1088) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1089) (var_ref t256) ) ) ( (assign (xy) (var_ref conditional_tmp@1089) (var_ref t8) ) )) (assign (xy) (var_ref t255) (var_ref conditional_tmp@1089) ) (declare (temporary ) float clamp_retval@1090) (call clamp (var_ref clamp_retval@1090) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t253) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t257) (var_ref clamp_retval@1090) ) (declare (temporary ) float clamp_retval@1091) (call clamp (var_ref clamp_retval@1091) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t253) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t258) (var_ref clamp_retval@1091) ) (assign (xy) (var_ref t259) (var_ref t255) ) (declare (temporary ) float length_retval@1092) (call length (var_ref length_retval@1092) ((expression vec2 + (var_ref t251) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t260) (var_ref length_retval@1092) ) (declare (temporary ) float length_retval@1093) (call length (var_ref length_retval@1093) ((var_ref t259) )) (assign (x) (var_ref t262) (expression float * (var_ref t257) (expression float b2f (expression bool < (var_ref t260) (var_ref length_retval@1093) ) ) ) ) (assign (xy) (var_ref t264) (var_ref t21) ) (declare (temporary ) float length_retval@1094) (call length (var_ref length_retval@1094) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t251) ) ) )) (assign (x) (var_ref t265) (var_ref length_retval@1094) ) (declare (temporary ) float length_retval@1095) (call length (var_ref length_retval@1095) ((var_ref t264) )) (assign (x) (var_ref t267) (expression float + (var_ref t262) (expression float * (var_ref t258) (expression float b2f (expression bool < (var_ref t265) (var_ref length_retval@1095) ) ) ) ) ) (assign (xy) (var_ref t270) (var_ref t255) ) (declare (temporary ) float length_retval@1096) (call length (var_ref length_retval@1096) ((var_ref t255) )) (assign (x) (var_ref t271) (var_ref length_retval@1096) ) (declare (temporary ) float length_retval@1097) (call length (var_ref length_retval@1097) ((var_ref t270) )) (assign (x) (var_ref t272) (var_ref length_retval@1097) ) (declare (temporary ) float length_retval@1098) (call length (var_ref length_retval@1098) ((expression vec2 + (var_ref t251) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1099) (call smoothstep (var_ref smoothstep_retval@1099) ((expression float * (constant float (0.950000)) (var_ref t271) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t272) ) (constant float (0.001000)) ) (var_ref length_retval@1098) )) (assign (x) (var_ref t269) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1099) ) ) ) (assign (xy) (var_ref t274) (var_ref t21) ) (declare (temporary ) float length_retval@1100) (call length (var_ref length_retval@1100) ((var_ref t21) )) (assign (x) (var_ref t275) (var_ref length_retval@1100) ) (declare (temporary ) float length_retval@1101) (call length (var_ref length_retval@1101) ((var_ref t274) )) (assign (x) (var_ref t276) (var_ref length_retval@1101) ) (declare (temporary ) float length_retval@1102) (call length (var_ref length_retval@1102) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t251) ) ) )) (declare (temporary ) float smoothstep_retval@1103) (call smoothstep (var_ref smoothstep_retval@1103) ((expression float * (constant float (0.950000)) (var_ref t275) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t276) ) (constant float (0.001000)) ) (var_ref length_retval@1102) )) (declare (temporary ) float clamp_retval@1104) (call clamp (var_ref clamp_retval@1104) ((expression float + (var_ref t267) (expression float * (expression float * (var_ref t269) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1103) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t279) (constant float (0.000000)) ) (assign (xyz) (var_ref t279) (swiz xyz (var_ref t252) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t279) (swiz xxxx (var_ref clamp_retval@1104) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1104) ) ) (assign (w) (var_ref t280) (constant float (1.000000)) ) (assign (xyz) (var_ref t280) (swiz xyz (var_ref t252) )) (declare (temporary ) vec4 vec_ctor@1105) (assign (xyzw) (var_ref vec_ctor@1105) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1104) ) ) )) (declare (temporary ) float clamp_retval@1106) (call clamp (var_ref clamp_retval@1106) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t280) (var_ref vec_ctor@1105) ) (swiz xxxx (var_ref clamp_retval@1106) )) ) ) ) ()) (assign (xy) (var_ref t281) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.233333 -0.233333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t282) (expression vec2 + (expression vec2 * (var_ref t281) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1107) (call greaterThan (var_ref greaterThan_retval@1107) ((var_ref t282) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1108) (assign (xy) (var_ref vec_ctor@1108) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1107) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1109) (call lessThan (var_ref lessThan_retval@1109) ((var_ref t282) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1110) (call all (var_ref all_retval@1110) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1108) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1109) ) ) ) ) ) )) (if (var_ref all_retval@1110) ( (declare () vec4 t312) (declare () vec4 t311) (declare () float t308) (declare () float t307) (declare () vec2 t306) (declare () float t304) (declare () float t303) (declare () vec2 t302) (declare () float t301) (declare () float t299) (declare () float t297) (declare () vec2 t296) (declare () float t294) (declare () float t292) (declare () vec2 t291) (declare () float t290) (declare () float t289) (declare () vec2 t288) (declare () vec2 t287) (declare () float t285) (declare () vec4 t284) (declare () vec2 t283) (assign (xy) (var_ref t283) (expression vec2 * (var_ref t281) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1111) (call textureLod (var_ref textureLod_retval@1111) ((var_ref ps0) (var_ref t281) (constant float (0.000000)) )) (assign (xyzw) (var_ref t284) (var_ref textureLod_retval@1111) ) (assign (x) (var_ref t285) (expression float neg (swiz w (var_ref textureLod_retval@1111) )) ) (declare (temporary ) vec4 textureLod_retval@1112) (call textureLod (var_ref textureLod_retval@1112) ((var_ref ps2) (var_ref t281) (constant float (0.000000)) )) (assign (xy) (var_ref t288) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1112) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1113) (if (expression bool > (swiz z (var_ref textureLod_retval@1112) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1113) (var_ref t288) ) ) ( (assign (xy) (var_ref conditional_tmp@1113) (var_ref t8) ) )) (assign (xy) (var_ref t287) (var_ref conditional_tmp@1113) ) (declare (temporary ) float clamp_retval@1114) (call clamp (var_ref clamp_retval@1114) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t285) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t289) (var_ref clamp_retval@1114) ) (declare (temporary ) float clamp_retval@1115) (call clamp (var_ref clamp_retval@1115) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t285) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t290) (var_ref clamp_retval@1115) ) (assign (xy) (var_ref t291) (var_ref t287) ) (declare (temporary ) float length_retval@1116) (call length (var_ref length_retval@1116) ((expression vec2 + (var_ref t283) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t292) (var_ref length_retval@1116) ) (declare (temporary ) float length_retval@1117) (call length (var_ref length_retval@1117) ((var_ref t291) )) (assign (x) (var_ref t294) (expression float * (var_ref t289) (expression float b2f (expression bool < (var_ref t292) (var_ref length_retval@1117) ) ) ) ) (assign (xy) (var_ref t296) (var_ref t21) ) (declare (temporary ) float length_retval@1118) (call length (var_ref length_retval@1118) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t283) ) ) )) (assign (x) (var_ref t297) (var_ref length_retval@1118) ) (declare (temporary ) float length_retval@1119) (call length (var_ref length_retval@1119) ((var_ref t296) )) (assign (x) (var_ref t299) (expression float + (var_ref t294) (expression float * (var_ref t290) (expression float b2f (expression bool < (var_ref t297) (var_ref length_retval@1119) ) ) ) ) ) (assign (xy) (var_ref t302) (var_ref t287) ) (declare (temporary ) float length_retval@1120) (call length (var_ref length_retval@1120) ((var_ref t287) )) (assign (x) (var_ref t303) (var_ref length_retval@1120) ) (declare (temporary ) float length_retval@1121) (call length (var_ref length_retval@1121) ((var_ref t302) )) (assign (x) (var_ref t304) (var_ref length_retval@1121) ) (declare (temporary ) float length_retval@1122) (call length (var_ref length_retval@1122) ((expression vec2 + (var_ref t283) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1123) (call smoothstep (var_ref smoothstep_retval@1123) ((expression float * (constant float (0.950000)) (var_ref t303) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t304) ) (constant float (0.001000)) ) (var_ref length_retval@1122) )) (assign (x) (var_ref t301) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1123) ) ) ) (assign (xy) (var_ref t306) (var_ref t21) ) (declare (temporary ) float length_retval@1124) (call length (var_ref length_retval@1124) ((var_ref t21) )) (assign (x) (var_ref t307) (var_ref length_retval@1124) ) (declare (temporary ) float length_retval@1125) (call length (var_ref length_retval@1125) ((var_ref t306) )) (assign (x) (var_ref t308) (var_ref length_retval@1125) ) (declare (temporary ) float length_retval@1126) (call length (var_ref length_retval@1126) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t283) ) ) )) (declare (temporary ) float smoothstep_retval@1127) (call smoothstep (var_ref smoothstep_retval@1127) ((expression float * (constant float (0.950000)) (var_ref t307) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t308) ) (constant float (0.001000)) ) (var_ref length_retval@1126) )) (declare (temporary ) float clamp_retval@1128) (call clamp (var_ref clamp_retval@1128) ((expression float + (var_ref t299) (expression float * (expression float * (var_ref t301) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1127) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t311) (constant float (0.000000)) ) (assign (xyz) (var_ref t311) (swiz xyz (var_ref t284) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t311) (swiz xxxx (var_ref clamp_retval@1128) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1128) ) ) (assign (w) (var_ref t312) (constant float (1.000000)) ) (assign (xyz) (var_ref t312) (swiz xyz (var_ref t284) )) (declare (temporary ) vec4 vec_ctor@1129) (assign (xyzw) (var_ref vec_ctor@1129) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1128) ) ) )) (declare (temporary ) float clamp_retval@1130) (call clamp (var_ref clamp_retval@1130) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t312) (var_ref vec_ctor@1129) ) (swiz xxxx (var_ref clamp_retval@1130) )) ) ) ) ()) (assign (xy) (var_ref t313) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.300000 0.300000)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t314) (expression vec2 + (expression vec2 * (var_ref t313) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1131) (call greaterThan (var_ref greaterThan_retval@1131) ((var_ref t314) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1132) (assign (xy) (var_ref vec_ctor@1132) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1131) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1133) (call lessThan (var_ref lessThan_retval@1133) ((var_ref t314) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1134) (call all (var_ref all_retval@1134) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1132) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1133) ) ) ) ) ) )) (if (var_ref all_retval@1134) ( (declare () vec4 t344) (declare () vec4 t343) (declare () float t340) (declare () float t339) (declare () vec2 t338) (declare () float t336) (declare () float t335) (declare () vec2 t334) (declare () float t333) (declare () float t331) (declare () float t329) (declare () vec2 t328) (declare () float t326) (declare () float t324) (declare () vec2 t323) (declare () float t322) (declare () float t321) (declare () vec2 t320) (declare () vec2 t319) (declare () float t317) (declare () vec4 t316) (declare () vec2 t315) (assign (xy) (var_ref t315) (expression vec2 * (var_ref t313) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1135) (call textureLod (var_ref textureLod_retval@1135) ((var_ref ps0) (var_ref t313) (constant float (0.000000)) )) (assign (xyzw) (var_ref t316) (var_ref textureLod_retval@1135) ) (assign (x) (var_ref t317) (expression float neg (swiz w (var_ref textureLod_retval@1135) )) ) (declare (temporary ) vec4 textureLod_retval@1136) (call textureLod (var_ref textureLod_retval@1136) ((var_ref ps2) (var_ref t313) (constant float (0.000000)) )) (assign (xy) (var_ref t320) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1136) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1137) (if (expression bool > (swiz z (var_ref textureLod_retval@1136) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1137) (var_ref t320) ) ) ( (assign (xy) (var_ref conditional_tmp@1137) (var_ref t8) ) )) (assign (xy) (var_ref t319) (var_ref conditional_tmp@1137) ) (declare (temporary ) float clamp_retval@1138) (call clamp (var_ref clamp_retval@1138) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t317) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t321) (var_ref clamp_retval@1138) ) (declare (temporary ) float clamp_retval@1139) (call clamp (var_ref clamp_retval@1139) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t317) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t322) (var_ref clamp_retval@1139) ) (assign (xy) (var_ref t323) (var_ref t319) ) (declare (temporary ) float length_retval@1140) (call length (var_ref length_retval@1140) ((expression vec2 + (var_ref t315) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t324) (var_ref length_retval@1140) ) (declare (temporary ) float length_retval@1141) (call length (var_ref length_retval@1141) ((var_ref t323) )) (assign (x) (var_ref t326) (expression float * (var_ref t321) (expression float b2f (expression bool < (var_ref t324) (var_ref length_retval@1141) ) ) ) ) (assign (xy) (var_ref t328) (var_ref t21) ) (declare (temporary ) float length_retval@1142) (call length (var_ref length_retval@1142) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t315) ) ) )) (assign (x) (var_ref t329) (var_ref length_retval@1142) ) (declare (temporary ) float length_retval@1143) (call length (var_ref length_retval@1143) ((var_ref t328) )) (assign (x) (var_ref t331) (expression float + (var_ref t326) (expression float * (var_ref t322) (expression float b2f (expression bool < (var_ref t329) (var_ref length_retval@1143) ) ) ) ) ) (assign (xy) (var_ref t334) (var_ref t319) ) (declare (temporary ) float length_retval@1144) (call length (var_ref length_retval@1144) ((var_ref t319) )) (assign (x) (var_ref t335) (var_ref length_retval@1144) ) (declare (temporary ) float length_retval@1145) (call length (var_ref length_retval@1145) ((var_ref t334) )) (assign (x) (var_ref t336) (var_ref length_retval@1145) ) (declare (temporary ) float length_retval@1146) (call length (var_ref length_retval@1146) ((expression vec2 + (var_ref t315) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1147) (call smoothstep (var_ref smoothstep_retval@1147) ((expression float * (constant float (0.950000)) (var_ref t335) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t336) ) (constant float (0.001000)) ) (var_ref length_retval@1146) )) (assign (x) (var_ref t333) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1147) ) ) ) (assign (xy) (var_ref t338) (var_ref t21) ) (declare (temporary ) float length_retval@1148) (call length (var_ref length_retval@1148) ((var_ref t21) )) (assign (x) (var_ref t339) (var_ref length_retval@1148) ) (declare (temporary ) float length_retval@1149) (call length (var_ref length_retval@1149) ((var_ref t338) )) (assign (x) (var_ref t340) (var_ref length_retval@1149) ) (declare (temporary ) float length_retval@1150) (call length (var_ref length_retval@1150) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t315) ) ) )) (declare (temporary ) float smoothstep_retval@1151) (call smoothstep (var_ref smoothstep_retval@1151) ((expression float * (constant float (0.950000)) (var_ref t339) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t340) ) (constant float (0.001000)) ) (var_ref length_retval@1150) )) (declare (temporary ) float clamp_retval@1152) (call clamp (var_ref clamp_retval@1152) ((expression float + (var_ref t331) (expression float * (expression float * (var_ref t333) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1151) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t343) (constant float (0.000000)) ) (assign (xyz) (var_ref t343) (swiz xyz (var_ref t316) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t343) (swiz xxxx (var_ref clamp_retval@1152) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1152) ) ) (assign (w) (var_ref t344) (constant float (1.000000)) ) (assign (xyz) (var_ref t344) (swiz xyz (var_ref t316) )) (declare (temporary ) vec4 vec_ctor@1153) (assign (xyzw) (var_ref vec_ctor@1153) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1152) ) ) )) (declare (temporary ) float clamp_retval@1154) (call clamp (var_ref clamp_retval@1154) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t344) (var_ref vec_ctor@1153) ) (swiz xxxx (var_ref clamp_retval@1154) )) ) ) ) ()) (assign (xy) (var_ref t345) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.300000 -0.300000)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t346) (expression vec2 + (expression vec2 * (var_ref t345) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1155) (call greaterThan (var_ref greaterThan_retval@1155) ((var_ref t346) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1156) (assign (xy) (var_ref vec_ctor@1156) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1155) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1157) (call lessThan (var_ref lessThan_retval@1157) ((var_ref t346) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1158) (call all (var_ref all_retval@1158) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1156) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1157) ) ) ) ) ) )) (if (var_ref all_retval@1158) ( (declare () vec4 t376) (declare () vec4 t375) (declare () float t372) (declare () float t371) (declare () vec2 t370) (declare () float t368) (declare () float t367) (declare () vec2 t366) (declare () float t365) (declare () float t363) (declare () float t361) (declare () vec2 t360) (declare () float t358) (declare () float t356) (declare () vec2 t355) (declare () float t354) (declare () float t353) (declare () vec2 t352) (declare () vec2 t351) (declare () float t349) (declare () vec4 t348) (declare () vec2 t347) (assign (xy) (var_ref t347) (expression vec2 * (var_ref t345) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1159) (call textureLod (var_ref textureLod_retval@1159) ((var_ref ps0) (var_ref t345) (constant float (0.000000)) )) (assign (xyzw) (var_ref t348) (var_ref textureLod_retval@1159) ) (assign (x) (var_ref t349) (expression float neg (swiz w (var_ref textureLod_retval@1159) )) ) (declare (temporary ) vec4 textureLod_retval@1160) (call textureLod (var_ref textureLod_retval@1160) ((var_ref ps2) (var_ref t345) (constant float (0.000000)) )) (assign (xy) (var_ref t352) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1160) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1161) (if (expression bool > (swiz z (var_ref textureLod_retval@1160) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1161) (var_ref t352) ) ) ( (assign (xy) (var_ref conditional_tmp@1161) (var_ref t8) ) )) (assign (xy) (var_ref t351) (var_ref conditional_tmp@1161) ) (declare (temporary ) float clamp_retval@1162) (call clamp (var_ref clamp_retval@1162) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t349) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t353) (var_ref clamp_retval@1162) ) (declare (temporary ) float clamp_retval@1163) (call clamp (var_ref clamp_retval@1163) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t349) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t354) (var_ref clamp_retval@1163) ) (assign (xy) (var_ref t355) (var_ref t351) ) (declare (temporary ) float length_retval@1164) (call length (var_ref length_retval@1164) ((expression vec2 + (var_ref t347) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t356) (var_ref length_retval@1164) ) (declare (temporary ) float length_retval@1165) (call length (var_ref length_retval@1165) ((var_ref t355) )) (assign (x) (var_ref t358) (expression float * (var_ref t353) (expression float b2f (expression bool < (var_ref t356) (var_ref length_retval@1165) ) ) ) ) (assign (xy) (var_ref t360) (var_ref t21) ) (declare (temporary ) float length_retval@1166) (call length (var_ref length_retval@1166) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t347) ) ) )) (assign (x) (var_ref t361) (var_ref length_retval@1166) ) (declare (temporary ) float length_retval@1167) (call length (var_ref length_retval@1167) ((var_ref t360) )) (assign (x) (var_ref t363) (expression float + (var_ref t358) (expression float * (var_ref t354) (expression float b2f (expression bool < (var_ref t361) (var_ref length_retval@1167) ) ) ) ) ) (assign (xy) (var_ref t366) (var_ref t351) ) (declare (temporary ) float length_retval@1168) (call length (var_ref length_retval@1168) ((var_ref t351) )) (assign (x) (var_ref t367) (var_ref length_retval@1168) ) (declare (temporary ) float length_retval@1169) (call length (var_ref length_retval@1169) ((var_ref t366) )) (assign (x) (var_ref t368) (var_ref length_retval@1169) ) (declare (temporary ) float length_retval@1170) (call length (var_ref length_retval@1170) ((expression vec2 + (var_ref t347) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1171) (call smoothstep (var_ref smoothstep_retval@1171) ((expression float * (constant float (0.950000)) (var_ref t367) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t368) ) (constant float (0.001000)) ) (var_ref length_retval@1170) )) (assign (x) (var_ref t365) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1171) ) ) ) (assign (xy) (var_ref t370) (var_ref t21) ) (declare (temporary ) float length_retval@1172) (call length (var_ref length_retval@1172) ((var_ref t21) )) (assign (x) (var_ref t371) (var_ref length_retval@1172) ) (declare (temporary ) float length_retval@1173) (call length (var_ref length_retval@1173) ((var_ref t370) )) (assign (x) (var_ref t372) (var_ref length_retval@1173) ) (declare (temporary ) float length_retval@1174) (call length (var_ref length_retval@1174) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t347) ) ) )) (declare (temporary ) float smoothstep_retval@1175) (call smoothstep (var_ref smoothstep_retval@1175) ((expression float * (constant float (0.950000)) (var_ref t371) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t372) ) (constant float (0.001000)) ) (var_ref length_retval@1174) )) (declare (temporary ) float clamp_retval@1176) (call clamp (var_ref clamp_retval@1176) ((expression float + (var_ref t363) (expression float * (expression float * (var_ref t365) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1175) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t375) (constant float (0.000000)) ) (assign (xyz) (var_ref t375) (swiz xyz (var_ref t348) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t375) (swiz xxxx (var_ref clamp_retval@1176) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1176) ) ) (assign (w) (var_ref t376) (constant float (1.000000)) ) (assign (xyz) (var_ref t376) (swiz xyz (var_ref t348) )) (declare (temporary ) vec4 vec_ctor@1177) (assign (xyzw) (var_ref vec_ctor@1177) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1176) ) ) )) (declare (temporary ) float clamp_retval@1178) (call clamp (var_ref clamp_retval@1178) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t376) (var_ref vec_ctor@1177) ) (swiz xxxx (var_ref clamp_retval@1178) )) ) ) ) ()) (assign (xy) (var_ref t377) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.366667 0.366667)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t378) (expression vec2 + (expression vec2 * (var_ref t377) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1179) (call greaterThan (var_ref greaterThan_retval@1179) ((var_ref t378) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1180) (assign (xy) (var_ref vec_ctor@1180) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1179) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1181) (call lessThan (var_ref lessThan_retval@1181) ((var_ref t378) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1182) (call all (var_ref all_retval@1182) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1180) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1181) ) ) ) ) ) )) (if (var_ref all_retval@1182) ( (declare () vec4 t408) (declare () vec4 t407) (declare () float t404) (declare () float t403) (declare () vec2 t402) (declare () float t400) (declare () float t399) (declare () vec2 t398) (declare () float t397) (declare () float t395) (declare () float t393) (declare () vec2 t392) (declare () float t390) (declare () float t388) (declare () vec2 t387) (declare () float t386) (declare () float t385) (declare () vec2 t384) (declare () vec2 t383) (declare () float t381) (declare () vec4 t380) (declare () vec2 t379) (assign (xy) (var_ref t379) (expression vec2 * (var_ref t377) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1183) (call textureLod (var_ref textureLod_retval@1183) ((var_ref ps0) (var_ref t377) (constant float (0.000000)) )) (assign (xyzw) (var_ref t380) (var_ref textureLod_retval@1183) ) (assign (x) (var_ref t381) (expression float neg (swiz w (var_ref textureLod_retval@1183) )) ) (declare (temporary ) vec4 textureLod_retval@1184) (call textureLod (var_ref textureLod_retval@1184) ((var_ref ps2) (var_ref t377) (constant float (0.000000)) )) (assign (xy) (var_ref t384) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1184) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1185) (if (expression bool > (swiz z (var_ref textureLod_retval@1184) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1185) (var_ref t384) ) ) ( (assign (xy) (var_ref conditional_tmp@1185) (var_ref t8) ) )) (assign (xy) (var_ref t383) (var_ref conditional_tmp@1185) ) (declare (temporary ) float clamp_retval@1186) (call clamp (var_ref clamp_retval@1186) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t381) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t385) (var_ref clamp_retval@1186) ) (declare (temporary ) float clamp_retval@1187) (call clamp (var_ref clamp_retval@1187) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t381) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t386) (var_ref clamp_retval@1187) ) (assign (xy) (var_ref t387) (var_ref t383) ) (declare (temporary ) float length_retval@1188) (call length (var_ref length_retval@1188) ((expression vec2 + (var_ref t379) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t388) (var_ref length_retval@1188) ) (declare (temporary ) float length_retval@1189) (call length (var_ref length_retval@1189) ((var_ref t387) )) (assign (x) (var_ref t390) (expression float * (var_ref t385) (expression float b2f (expression bool < (var_ref t388) (var_ref length_retval@1189) ) ) ) ) (assign (xy) (var_ref t392) (var_ref t21) ) (declare (temporary ) float length_retval@1190) (call length (var_ref length_retval@1190) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t379) ) ) )) (assign (x) (var_ref t393) (var_ref length_retval@1190) ) (declare (temporary ) float length_retval@1191) (call length (var_ref length_retval@1191) ((var_ref t392) )) (assign (x) (var_ref t395) (expression float + (var_ref t390) (expression float * (var_ref t386) (expression float b2f (expression bool < (var_ref t393) (var_ref length_retval@1191) ) ) ) ) ) (assign (xy) (var_ref t398) (var_ref t383) ) (declare (temporary ) float length_retval@1192) (call length (var_ref length_retval@1192) ((var_ref t383) )) (assign (x) (var_ref t399) (var_ref length_retval@1192) ) (declare (temporary ) float length_retval@1193) (call length (var_ref length_retval@1193) ((var_ref t398) )) (assign (x) (var_ref t400) (var_ref length_retval@1193) ) (declare (temporary ) float length_retval@1194) (call length (var_ref length_retval@1194) ((expression vec2 + (var_ref t379) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1195) (call smoothstep (var_ref smoothstep_retval@1195) ((expression float * (constant float (0.950000)) (var_ref t399) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t400) ) (constant float (0.001000)) ) (var_ref length_retval@1194) )) (assign (x) (var_ref t397) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1195) ) ) ) (assign (xy) (var_ref t402) (var_ref t21) ) (declare (temporary ) float length_retval@1196) (call length (var_ref length_retval@1196) ((var_ref t21) )) (assign (x) (var_ref t403) (var_ref length_retval@1196) ) (declare (temporary ) float length_retval@1197) (call length (var_ref length_retval@1197) ((var_ref t402) )) (assign (x) (var_ref t404) (var_ref length_retval@1197) ) (declare (temporary ) float length_retval@1198) (call length (var_ref length_retval@1198) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t379) ) ) )) (declare (temporary ) float smoothstep_retval@1199) (call smoothstep (var_ref smoothstep_retval@1199) ((expression float * (constant float (0.950000)) (var_ref t403) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t404) ) (constant float (0.001000)) ) (var_ref length_retval@1198) )) (declare (temporary ) float clamp_retval@1200) (call clamp (var_ref clamp_retval@1200) ((expression float + (var_ref t395) (expression float * (expression float * (var_ref t397) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1199) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t407) (constant float (0.000000)) ) (assign (xyz) (var_ref t407) (swiz xyz (var_ref t380) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t407) (swiz xxxx (var_ref clamp_retval@1200) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1200) ) ) (assign (w) (var_ref t408) (constant float (1.000000)) ) (assign (xyz) (var_ref t408) (swiz xyz (var_ref t380) )) (declare (temporary ) vec4 vec_ctor@1201) (assign (xyzw) (var_ref vec_ctor@1201) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1200) ) ) )) (declare (temporary ) float clamp_retval@1202) (call clamp (var_ref clamp_retval@1202) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t408) (var_ref vec_ctor@1201) ) (swiz xxxx (var_ref clamp_retval@1202) )) ) ) ) ()) (assign (xy) (var_ref t409) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.366667 -0.366667)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t410) (expression vec2 + (expression vec2 * (var_ref t409) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1203) (call greaterThan (var_ref greaterThan_retval@1203) ((var_ref t410) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1204) (assign (xy) (var_ref vec_ctor@1204) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1203) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1205) (call lessThan (var_ref lessThan_retval@1205) ((var_ref t410) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1206) (call all (var_ref all_retval@1206) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1204) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1205) ) ) ) ) ) )) (if (var_ref all_retval@1206) ( (declare () vec4 t440) (declare () vec4 t439) (declare () float t436) (declare () float t435) (declare () vec2 t434) (declare () float t432) (declare () float t431) (declare () vec2 t430) (declare () float t429) (declare () float t427) (declare () float t425) (declare () vec2 t424) (declare () float t422) (declare () float t420) (declare () vec2 t419) (declare () float t418) (declare () float t417) (declare () vec2 t416) (declare () vec2 t415) (declare () float t413) (declare () vec4 t412) (declare () vec2 t411) (assign (xy) (var_ref t411) (expression vec2 * (var_ref t409) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1207) (call textureLod (var_ref textureLod_retval@1207) ((var_ref ps0) (var_ref t409) (constant float (0.000000)) )) (assign (xyzw) (var_ref t412) (var_ref textureLod_retval@1207) ) (assign (x) (var_ref t413) (expression float neg (swiz w (var_ref textureLod_retval@1207) )) ) (declare (temporary ) vec4 textureLod_retval@1208) (call textureLod (var_ref textureLod_retval@1208) ((var_ref ps2) (var_ref t409) (constant float (0.000000)) )) (assign (xy) (var_ref t416) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1208) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1209) (if (expression bool > (swiz z (var_ref textureLod_retval@1208) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1209) (var_ref t416) ) ) ( (assign (xy) (var_ref conditional_tmp@1209) (var_ref t8) ) )) (assign (xy) (var_ref t415) (var_ref conditional_tmp@1209) ) (declare (temporary ) float clamp_retval@1210) (call clamp (var_ref clamp_retval@1210) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t413) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t417) (var_ref clamp_retval@1210) ) (declare (temporary ) float clamp_retval@1211) (call clamp (var_ref clamp_retval@1211) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t413) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t418) (var_ref clamp_retval@1211) ) (assign (xy) (var_ref t419) (var_ref t415) ) (declare (temporary ) float length_retval@1212) (call length (var_ref length_retval@1212) ((expression vec2 + (var_ref t411) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t420) (var_ref length_retval@1212) ) (declare (temporary ) float length_retval@1213) (call length (var_ref length_retval@1213) ((var_ref t419) )) (assign (x) (var_ref t422) (expression float * (var_ref t417) (expression float b2f (expression bool < (var_ref t420) (var_ref length_retval@1213) ) ) ) ) (assign (xy) (var_ref t424) (var_ref t21) ) (declare (temporary ) float length_retval@1214) (call length (var_ref length_retval@1214) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t411) ) ) )) (assign (x) (var_ref t425) (var_ref length_retval@1214) ) (declare (temporary ) float length_retval@1215) (call length (var_ref length_retval@1215) ((var_ref t424) )) (assign (x) (var_ref t427) (expression float + (var_ref t422) (expression float * (var_ref t418) (expression float b2f (expression bool < (var_ref t425) (var_ref length_retval@1215) ) ) ) ) ) (assign (xy) (var_ref t430) (var_ref t415) ) (declare (temporary ) float length_retval@1216) (call length (var_ref length_retval@1216) ((var_ref t415) )) (assign (x) (var_ref t431) (var_ref length_retval@1216) ) (declare (temporary ) float length_retval@1217) (call length (var_ref length_retval@1217) ((var_ref t430) )) (assign (x) (var_ref t432) (var_ref length_retval@1217) ) (declare (temporary ) float length_retval@1218) (call length (var_ref length_retval@1218) ((expression vec2 + (var_ref t411) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1219) (call smoothstep (var_ref smoothstep_retval@1219) ((expression float * (constant float (0.950000)) (var_ref t431) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t432) ) (constant float (0.001000)) ) (var_ref length_retval@1218) )) (assign (x) (var_ref t429) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1219) ) ) ) (assign (xy) (var_ref t434) (var_ref t21) ) (declare (temporary ) float length_retval@1220) (call length (var_ref length_retval@1220) ((var_ref t21) )) (assign (x) (var_ref t435) (var_ref length_retval@1220) ) (declare (temporary ) float length_retval@1221) (call length (var_ref length_retval@1221) ((var_ref t434) )) (assign (x) (var_ref t436) (var_ref length_retval@1221) ) (declare (temporary ) float length_retval@1222) (call length (var_ref length_retval@1222) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t411) ) ) )) (declare (temporary ) float smoothstep_retval@1223) (call smoothstep (var_ref smoothstep_retval@1223) ((expression float * (constant float (0.950000)) (var_ref t435) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t436) ) (constant float (0.001000)) ) (var_ref length_retval@1222) )) (declare (temporary ) float clamp_retval@1224) (call clamp (var_ref clamp_retval@1224) ((expression float + (var_ref t427) (expression float * (expression float * (var_ref t429) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1223) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t439) (constant float (0.000000)) ) (assign (xyz) (var_ref t439) (swiz xyz (var_ref t412) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t439) (swiz xxxx (var_ref clamp_retval@1224) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1224) ) ) (assign (w) (var_ref t440) (constant float (1.000000)) ) (assign (xyz) (var_ref t440) (swiz xyz (var_ref t412) )) (declare (temporary ) vec4 vec_ctor@1225) (assign (xyzw) (var_ref vec_ctor@1225) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1224) ) ) )) (declare (temporary ) float clamp_retval@1226) (call clamp (var_ref clamp_retval@1226) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t440) (var_ref vec_ctor@1225) ) (swiz xxxx (var_ref clamp_retval@1226) )) ) ) ) ()) (assign (xy) (var_ref t441) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.433333 0.433333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t442) (expression vec2 + (expression vec2 * (var_ref t441) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1227) (call greaterThan (var_ref greaterThan_retval@1227) ((var_ref t442) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1228) (assign (xy) (var_ref vec_ctor@1228) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1227) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1229) (call lessThan (var_ref lessThan_retval@1229) ((var_ref t442) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1230) (call all (var_ref all_retval@1230) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1228) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1229) ) ) ) ) ) )) (if (var_ref all_retval@1230) ( (declare () vec4 t472) (declare () vec4 t471) (declare () float t468) (declare () float t467) (declare () vec2 t466) (declare () float t464) (declare () float t463) (declare () vec2 t462) (declare () float t461) (declare () float t459) (declare () float t457) (declare () vec2 t456) (declare () float t454) (declare () float t452) (declare () vec2 t451) (declare () float t450) (declare () float t449) (declare () vec2 t448) (declare () vec2 t447) (declare () float t445) (declare () vec4 t444) (declare () vec2 t443) (assign (xy) (var_ref t443) (expression vec2 * (var_ref t441) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1231) (call textureLod (var_ref textureLod_retval@1231) ((var_ref ps0) (var_ref t441) (constant float (0.000000)) )) (assign (xyzw) (var_ref t444) (var_ref textureLod_retval@1231) ) (assign (x) (var_ref t445) (expression float neg (swiz w (var_ref textureLod_retval@1231) )) ) (declare (temporary ) vec4 textureLod_retval@1232) (call textureLod (var_ref textureLod_retval@1232) ((var_ref ps2) (var_ref t441) (constant float (0.000000)) )) (assign (xy) (var_ref t448) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1232) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1233) (if (expression bool > (swiz z (var_ref textureLod_retval@1232) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1233) (var_ref t448) ) ) ( (assign (xy) (var_ref conditional_tmp@1233) (var_ref t8) ) )) (assign (xy) (var_ref t447) (var_ref conditional_tmp@1233) ) (declare (temporary ) float clamp_retval@1234) (call clamp (var_ref clamp_retval@1234) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t445) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t449) (var_ref clamp_retval@1234) ) (declare (temporary ) float clamp_retval@1235) (call clamp (var_ref clamp_retval@1235) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t445) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t450) (var_ref clamp_retval@1235) ) (assign (xy) (var_ref t451) (var_ref t447) ) (declare (temporary ) float length_retval@1236) (call length (var_ref length_retval@1236) ((expression vec2 + (var_ref t443) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t452) (var_ref length_retval@1236) ) (declare (temporary ) float length_retval@1237) (call length (var_ref length_retval@1237) ((var_ref t451) )) (assign (x) (var_ref t454) (expression float * (var_ref t449) (expression float b2f (expression bool < (var_ref t452) (var_ref length_retval@1237) ) ) ) ) (assign (xy) (var_ref t456) (var_ref t21) ) (declare (temporary ) float length_retval@1238) (call length (var_ref length_retval@1238) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t443) ) ) )) (assign (x) (var_ref t457) (var_ref length_retval@1238) ) (declare (temporary ) float length_retval@1239) (call length (var_ref length_retval@1239) ((var_ref t456) )) (assign (x) (var_ref t459) (expression float + (var_ref t454) (expression float * (var_ref t450) (expression float b2f (expression bool < (var_ref t457) (var_ref length_retval@1239) ) ) ) ) ) (assign (xy) (var_ref t462) (var_ref t447) ) (declare (temporary ) float length_retval@1240) (call length (var_ref length_retval@1240) ((var_ref t447) )) (assign (x) (var_ref t463) (var_ref length_retval@1240) ) (declare (temporary ) float length_retval@1241) (call length (var_ref length_retval@1241) ((var_ref t462) )) (assign (x) (var_ref t464) (var_ref length_retval@1241) ) (declare (temporary ) float length_retval@1242) (call length (var_ref length_retval@1242) ((expression vec2 + (var_ref t443) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1243) (call smoothstep (var_ref smoothstep_retval@1243) ((expression float * (constant float (0.950000)) (var_ref t463) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t464) ) (constant float (0.001000)) ) (var_ref length_retval@1242) )) (assign (x) (var_ref t461) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1243) ) ) ) (assign (xy) (var_ref t466) (var_ref t21) ) (declare (temporary ) float length_retval@1244) (call length (var_ref length_retval@1244) ((var_ref t21) )) (assign (x) (var_ref t467) (var_ref length_retval@1244) ) (declare (temporary ) float length_retval@1245) (call length (var_ref length_retval@1245) ((var_ref t466) )) (assign (x) (var_ref t468) (var_ref length_retval@1245) ) (declare (temporary ) float length_retval@1246) (call length (var_ref length_retval@1246) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t443) ) ) )) (declare (temporary ) float smoothstep_retval@1247) (call smoothstep (var_ref smoothstep_retval@1247) ((expression float * (constant float (0.950000)) (var_ref t467) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t468) ) (constant float (0.001000)) ) (var_ref length_retval@1246) )) (declare (temporary ) float clamp_retval@1248) (call clamp (var_ref clamp_retval@1248) ((expression float + (var_ref t459) (expression float * (expression float * (var_ref t461) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1247) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t471) (constant float (0.000000)) ) (assign (xyz) (var_ref t471) (swiz xyz (var_ref t444) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t471) (swiz xxxx (var_ref clamp_retval@1248) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1248) ) ) (assign (w) (var_ref t472) (constant float (1.000000)) ) (assign (xyz) (var_ref t472) (swiz xyz (var_ref t444) )) (declare (temporary ) vec4 vec_ctor@1249) (assign (xyzw) (var_ref vec_ctor@1249) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1248) ) ) )) (declare (temporary ) float clamp_retval@1250) (call clamp (var_ref clamp_retval@1250) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t472) (var_ref vec_ctor@1249) ) (swiz xxxx (var_ref clamp_retval@1250) )) ) ) ) ()) (assign (xy) (var_ref t473) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.433333 -0.433333)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t474) (expression vec2 + (expression vec2 * (var_ref t473) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1251) (call greaterThan (var_ref greaterThan_retval@1251) ((var_ref t474) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1252) (assign (xy) (var_ref vec_ctor@1252) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1251) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1253) (call lessThan (var_ref lessThan_retval@1253) ((var_ref t474) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1254) (call all (var_ref all_retval@1254) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1252) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1253) ) ) ) ) ) )) (if (var_ref all_retval@1254) ( (declare () vec4 t504) (declare () vec4 t503) (declare () float t500) (declare () float t499) (declare () vec2 t498) (declare () float t496) (declare () float t495) (declare () vec2 t494) (declare () float t493) (declare () float t491) (declare () float t489) (declare () vec2 t488) (declare () float t486) (declare () float t484) (declare () vec2 t483) (declare () float t482) (declare () float t481) (declare () vec2 t480) (declare () vec2 t479) (declare () float t477) (declare () vec4 t476) (declare () vec2 t475) (assign (xy) (var_ref t475) (expression vec2 * (var_ref t473) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1255) (call textureLod (var_ref textureLod_retval@1255) ((var_ref ps0) (var_ref t473) (constant float (0.000000)) )) (assign (xyzw) (var_ref t476) (var_ref textureLod_retval@1255) ) (assign (x) (var_ref t477) (expression float neg (swiz w (var_ref textureLod_retval@1255) )) ) (declare (temporary ) vec4 textureLod_retval@1256) (call textureLod (var_ref textureLod_retval@1256) ((var_ref ps2) (var_ref t473) (constant float (0.000000)) )) (assign (xy) (var_ref t480) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1256) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1257) (if (expression bool > (swiz z (var_ref textureLod_retval@1256) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1257) (var_ref t480) ) ) ( (assign (xy) (var_ref conditional_tmp@1257) (var_ref t8) ) )) (assign (xy) (var_ref t479) (var_ref conditional_tmp@1257) ) (declare (temporary ) float clamp_retval@1258) (call clamp (var_ref clamp_retval@1258) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t477) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t481) (var_ref clamp_retval@1258) ) (declare (temporary ) float clamp_retval@1259) (call clamp (var_ref clamp_retval@1259) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t477) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t482) (var_ref clamp_retval@1259) ) (assign (xy) (var_ref t483) (var_ref t479) ) (declare (temporary ) float length_retval@1260) (call length (var_ref length_retval@1260) ((expression vec2 + (var_ref t475) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t484) (var_ref length_retval@1260) ) (declare (temporary ) float length_retval@1261) (call length (var_ref length_retval@1261) ((var_ref t483) )) (assign (x) (var_ref t486) (expression float * (var_ref t481) (expression float b2f (expression bool < (var_ref t484) (var_ref length_retval@1261) ) ) ) ) (assign (xy) (var_ref t488) (var_ref t21) ) (declare (temporary ) float length_retval@1262) (call length (var_ref length_retval@1262) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t475) ) ) )) (assign (x) (var_ref t489) (var_ref length_retval@1262) ) (declare (temporary ) float length_retval@1263) (call length (var_ref length_retval@1263) ((var_ref t488) )) (assign (x) (var_ref t491) (expression float + (var_ref t486) (expression float * (var_ref t482) (expression float b2f (expression bool < (var_ref t489) (var_ref length_retval@1263) ) ) ) ) ) (assign (xy) (var_ref t494) (var_ref t479) ) (declare (temporary ) float length_retval@1264) (call length (var_ref length_retval@1264) ((var_ref t479) )) (assign (x) (var_ref t495) (var_ref length_retval@1264) ) (declare (temporary ) float length_retval@1265) (call length (var_ref length_retval@1265) ((var_ref t494) )) (assign (x) (var_ref t496) (var_ref length_retval@1265) ) (declare (temporary ) float length_retval@1266) (call length (var_ref length_retval@1266) ((expression vec2 + (var_ref t475) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1267) (call smoothstep (var_ref smoothstep_retval@1267) ((expression float * (constant float (0.950000)) (var_ref t495) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t496) ) (constant float (0.001000)) ) (var_ref length_retval@1266) )) (assign (x) (var_ref t493) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1267) ) ) ) (assign (xy) (var_ref t498) (var_ref t21) ) (declare (temporary ) float length_retval@1268) (call length (var_ref length_retval@1268) ((var_ref t21) )) (assign (x) (var_ref t499) (var_ref length_retval@1268) ) (declare (temporary ) float length_retval@1269) (call length (var_ref length_retval@1269) ((var_ref t498) )) (assign (x) (var_ref t500) (var_ref length_retval@1269) ) (declare (temporary ) float length_retval@1270) (call length (var_ref length_retval@1270) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t475) ) ) )) (declare (temporary ) float smoothstep_retval@1271) (call smoothstep (var_ref smoothstep_retval@1271) ((expression float * (constant float (0.950000)) (var_ref t499) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t500) ) (constant float (0.001000)) ) (var_ref length_retval@1270) )) (declare (temporary ) float clamp_retval@1272) (call clamp (var_ref clamp_retval@1272) ((expression float + (var_ref t491) (expression float * (expression float * (var_ref t493) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1271) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t503) (constant float (0.000000)) ) (assign (xyz) (var_ref t503) (swiz xyz (var_ref t476) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t503) (swiz xxxx (var_ref clamp_retval@1272) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1272) ) ) (assign (w) (var_ref t504) (constant float (1.000000)) ) (assign (xyz) (var_ref t504) (swiz xyz (var_ref t476) )) (declare (temporary ) vec4 vec_ctor@1273) (assign (xyzw) (var_ref vec_ctor@1273) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1272) ) ) )) (declare (temporary ) float clamp_retval@1274) (call clamp (var_ref clamp_retval@1274) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t504) (var_ref vec_ctor@1273) ) (swiz xxxx (var_ref clamp_retval@1274) )) ) ) ) ()) (assign (xy) (var_ref t505) (expression vec2 + (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.500000 0.500000)) (var_ref t12) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t506) (expression vec2 + (expression vec2 * (var_ref t505) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare (temporary ) bvec2 greaterThan_retval@1275) (call greaterThan (var_ref greaterThan_retval@1275) ((var_ref t506) (constant vec2 (0.000000 0.000000)) )) (declare (temporary ) uvec2 vec_ctor@1276) (assign (xy) (var_ref vec_ctor@1276) (expression uvec2 i2u (expression ivec2 b2i (var_ref greaterThan_retval@1275) ) ) ) (declare (temporary ) bvec2 lessThan_retval@1277) (call lessThan (var_ref lessThan_retval@1277) ((var_ref t506) (constant vec2 (1.000000 1.000000)) )) (declare (temporary ) bool all_retval@1278) (call all (var_ref all_retval@1278) ((expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (var_ref vec_ctor@1276) (expression uvec2 i2u (expression ivec2 b2i (var_ref lessThan_retval@1277) ) ) ) ) ) )) (if (var_ref all_retval@1278) ( (declare () vec4 t536) (declare () vec4 t535) (declare () float t532) (declare () float t531) (declare () vec2 t530) (declare () float t528) (declare () float t527) (declare () vec2 t526) (declare () float t525) (declare () float t523) (declare () float t521) (declare () vec2 t520) (declare () float t518) (declare () float t516) (declare () vec2 t515) (declare () float t514) (declare () float t513) (declare () vec2 t512) (declare () vec2 t511) (declare () float t509) (declare () vec4 t508) (declare () vec2 t507) (assign (xy) (var_ref t507) (expression vec2 * (var_ref t505) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1279) (call textureLod (var_ref textureLod_retval@1279) ((var_ref ps0) (var_ref t505) (constant float (0.000000)) )) (assign (xyzw) (var_ref t508) (var_ref textureLod_retval@1279) ) (assign (x) (var_ref t509) (expression float neg (swiz w (var_ref textureLod_retval@1279) )) ) (declare (temporary ) vec4 textureLod_retval@1280) (call textureLod (var_ref textureLod_retval@1280) ((var_ref ps2) (var_ref t505) (constant float (0.000000)) )) (assign (xy) (var_ref t512) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1280) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1281) (if (expression bool > (swiz z (var_ref textureLod_retval@1280) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1281) (var_ref t512) ) ) ( (assign (xy) (var_ref conditional_tmp@1281) (var_ref t8) ) )) (assign (xy) (var_ref t511) (var_ref conditional_tmp@1281) ) (declare (temporary ) float clamp_retval@1282) (call clamp (var_ref clamp_retval@1282) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t509) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t513) (var_ref clamp_retval@1282) ) (declare (temporary ) float clamp_retval@1283) (call clamp (var_ref clamp_retval@1283) ((expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t509) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (x) (var_ref t514) (var_ref clamp_retval@1283) ) (assign (xy) (var_ref t515) (var_ref t511) ) (declare (temporary ) float length_retval@1284) (call length (var_ref length_retval@1284) ((expression vec2 + (var_ref t507) (expression vec2 neg (var_ref t19) ) ) )) (assign (x) (var_ref t516) (var_ref length_retval@1284) ) (declare (temporary ) float length_retval@1285) (call length (var_ref length_retval@1285) ((var_ref t515) )) (assign (x) (var_ref t518) (expression float * (var_ref t513) (expression float b2f (expression bool < (var_ref t516) (var_ref length_retval@1285) ) ) ) ) (assign (xy) (var_ref t520) (var_ref t21) ) (declare (temporary ) float length_retval@1286) (call length (var_ref length_retval@1286) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t507) ) ) )) (assign (x) (var_ref t521) (var_ref length_retval@1286) ) (declare (temporary ) float length_retval@1287) (call length (var_ref length_retval@1287) ((var_ref t520) )) (assign (x) (var_ref t523) (expression float + (var_ref t518) (expression float * (var_ref t514) (expression float b2f (expression bool < (var_ref t521) (var_ref length_retval@1287) ) ) ) ) ) (assign (xy) (var_ref t526) (var_ref t511) ) (declare (temporary ) float length_retval@1288) (call length (var_ref length_retval@1288) ((var_ref t511) )) (assign (x) (var_ref t527) (var_ref length_retval@1288) ) (declare (temporary ) float length_retval@1289) (call length (var_ref length_retval@1289) ((var_ref t526) )) (assign (x) (var_ref t528) (var_ref length_retval@1289) ) (declare (temporary ) float length_retval@1290) (call length (var_ref length_retval@1290) ((expression vec2 + (var_ref t507) (expression vec2 neg (var_ref t19) ) ) )) (declare (temporary ) float smoothstep_retval@1291) (call smoothstep (var_ref smoothstep_retval@1291) ((expression float * (constant float (0.950000)) (var_ref t527) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t528) ) (constant float (0.001000)) ) (var_ref length_retval@1290) )) (assign (x) (var_ref t525) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1291) ) ) ) (assign (xy) (var_ref t530) (var_ref t21) ) (declare (temporary ) float length_retval@1292) (call length (var_ref length_retval@1292) ((var_ref t21) )) (assign (x) (var_ref t531) (var_ref length_retval@1292) ) (declare (temporary ) float length_retval@1293) (call length (var_ref length_retval@1293) ((var_ref t530) )) (assign (x) (var_ref t532) (var_ref length_retval@1293) ) (declare (temporary ) float length_retval@1294) (call length (var_ref length_retval@1294) ((expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t507) ) ) )) (declare (temporary ) float smoothstep_retval@1295) (call smoothstep (var_ref smoothstep_retval@1295) ((expression float * (constant float (0.950000)) (var_ref t531) ) (expression float + (expression float * (constant float (1.050000)) (var_ref t532) ) (constant float (0.001000)) ) (var_ref length_retval@1294) )) (declare (temporary ) float clamp_retval@1296) (call clamp (var_ref clamp_retval@1296) ((expression float + (var_ref t523) (expression float * (expression float * (var_ref t525) (expression float + (constant float (1.000000)) (expression float neg (var_ref smoothstep_retval@1295) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t535) (constant float (0.000000)) ) (assign (xyz) (var_ref t535) (swiz xyz (var_ref t508) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t535) (swiz xxxx (var_ref clamp_retval@1296) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1296) ) ) (assign (w) (var_ref t536) (constant float (1.000000)) ) (assign (xyz) (var_ref t536) (swiz xyz (var_ref t508) )) (declare (temporary ) vec4 vec_ctor@1297) (assign (xyzw) (var_ref vec_ctor@1297) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1296) ) ) )) (declare (temporary ) float clamp_retval@1298) (call clamp (var_ref clamp_retval@1298) ((expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t536) (var_ref vec_ctor@1297) ) (swiz xxxx (var_ref clamp_retval@1298) )) ) ) ) ()) (assign (xyz) (var_ref t537) (expression vec3 / (swiz xyz (var_ref t14) )(swiz www (var_ref t14) )) ) (declare (temporary ) float length_retval@1299) (call length (var_ref length_retval@1299) ((var_ref t3) )) (assign (x) (var_ref t538) (var_ref length_retval@1299) ) (declare (temporary ) float length_retval@1300) (call length (var_ref length_retval@1300) ((var_ref t17) )) (assign (x) (var_ref t540) (expression float / (var_ref t16) (constant float (16.000000)) ) ) (assign (w) (var_ref t541) (constant float (1.000000)) ) (declare (temporary ) float clamp_retval@1301) (call clamp (var_ref clamp_retval@1301) ((expression float + (var_ref t538) (expression float neg (var_ref length_retval@1300) ) ) (constant float (0.000000)) (constant float (1.000000)) )) (declare (temporary ) vec3 mix_retval@1302) (call mix (var_ref mix_retval@1302) ((swiz xyz (var_ref t11) )(var_ref t537) (swiz xxx (var_ref clamp_retval@1301) ))) (assign (xyz) (var_ref t541) (var_ref mix_retval@1302) ) (declare (temporary ) vec4 mix_retval@1303) (call mix (var_ref mix_retval@1303) ((var_ref t541) (expression vec4 / (var_ref t15) (swiz xxxx (var_ref t16) )) (swiz xxxx (var_ref t540) ))) (assign (xyzw) (var_ref t542) (var_ref mix_retval@1303) ) (assign (xyz) (var_ref t0) (swiz xyz (var_ref mix_retval@1303) )) (assign (w) (var_ref t0) (constant float (1.000000)) ) (declare (temporary ) float length_retval@1304) (call length (var_ref length_retval@1304) ((var_ref t3) )) (assign (x) (var_ref t543) (var_ref length_retval@1304) ) (declare (temporary ) float length_retval@1305) (call length (var_ref length_retval@1305) ((var_ref t1) )) (declare (temporary ) float mix_retval@1306) (call mix (var_ref mix_retval@1306) ((var_ref t543) (var_ref length_retval@1305) (var_ref t540) )) (declare (temporary ) float clamp_retval@1307) (call clamp (var_ref clamp_retval@1307) ((expression float * (var_ref mix_retval@1306) (constant float (0.250000)) ) (constant float (0.000000)) (constant float (1.000000)) )) (assign (w) (var_ref t0) (var_ref t13) ) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (var_ref t542) )(swiz xxx (var_ref t13) )) ) )) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) (function length (signature float (parameters (declare (in ) vec2 x) ) ( )) ) (function mix (signature vec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) (declare (in ) vec2 a) ) ( )) (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) (declare (in ) vec3 a) ) ( )) (signature vec4 (parameters (declare (in ) vec4 x) (declare (in ) vec4 y) (declare (in ) vec4 a) ) ( )) (signature float (parameters (declare (in ) float x) (declare (in ) float y) (declare (in ) float a) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function max (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function sqrt (signature float (parameters (declare (in ) float x) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) (function greaterThan (signature bvec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function lessThan (signature bvec2 (parameters (declare (in ) vec2 x) (declare (in ) vec2 y) ) ( )) ) (function all (signature bool (parameters (declare (in ) bvec2 v) ) ( )) ) (function smoothstep (signature float (parameters (declare (in ) float edge0) (declare (in ) float edge1) (declare (in ) float x) ) ( )) ) ) GLSL IR for linked vertex program 67: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@1308) (assign (xyzw) (var_ref cse@1308) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@1308) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@1309) (assign (xyzw) (var_ref cse@1309) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@1309) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@1309) )) ) (swiz zw (var_ref cse@1308) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@1310) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@1311) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 67: ( (declare (shader_in ) vec4 Data) (declare (uniform ) mat4 View_ScreenToWorldpb0) (declare (uniform ) (array vec4 8) pu_h) (declare (uniform ) sampler2D ps2) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t11) (declare () vec3 t10) (declare () vec2 t8) (declare () vec2 t6) (declare () vec4 t5) (declare () vec3 t4) (declare () vec2 t2) (declare () vec4 t0) (assign (xyz) (var_ref t4) (expression vec3 * (swiz xyz (expression vec4 + (expression vec4 ubo_load (constant uint (0)) (constant uint (416)) ) (expression vec4 + (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (400)) ) (swiz wwww (var_ref Data) )) (expression vec4 * (expression vec4 ubo_load (constant uint (0)) (constant uint (384)) ) (swiz zzzz (var_ref Data) )) ) ) )(swiz www (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))) ) (assign (xyzw) (var_ref t5) (expression vec4 + (array_ref (var_ref pu_h) (constant int (3)) ) (expression vec4 + (expression vec4 * (array_ref (var_ref pu_h) (constant int (2)) ) (swiz zzzz (var_ref t4) )) (expression vec4 + (expression vec4 * (array_ref (var_ref pu_h) (constant int (1)) ) (swiz yyyy (var_ref t4) )) (expression vec4 * (array_ref (var_ref pu_h) (constant int (0)) ) (swiz xxxx (var_ref t4) )) ) ) ) ) (assign (xy) (var_ref t6) (expression vec2 * (expression vec2 + (swiz zw (var_ref Data) )(expression vec2 neg (swiz xy (expression vec3 * (swiz xyz (var_ref t5) )(expression vec3 rcp (swiz www (var_ref t5) )) ) )) ) (swiz xy (array_ref (var_ref pu_h) (constant int (4)) ) )) ) (assign (xy) (var_ref t2) (var_ref t6) ) (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) (declare (temporary ) float length_retval) (assign (x) (var_ref length_retval) (expression float sqrt (expression float dot (var_ref t6) (var_ref t6) ) ) ) (if (expression bool > (var_ref length_retval) (constant float (1.000000)) ) ( (assign (xy) (var_ref t2) (expression vec2 * (var_ref t6) (expression vec2 rcp (swiz xx (var_ref length_retval) )) ) ) ) ()) (assign (xy) (var_ref t8) (expression vec2 * (expression vec2 * (var_ref t2) (swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec4 textureLod_retval) (assign (xyzw) (var_ref textureLod_retval) (txl vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (assign (xyz) (var_ref t10) (expression vec3 * (swiz xyz (var_ref textureLod_retval) )(expression vec3 rcp (swiz xxx (expression float + (swiz w (var_ref textureLod_retval) )(constant float (0.003922)) ) )) ) ) (assign (w) (var_ref t11) (constant float (1.000000)) ) (assign (xyz) (var_ref t11) (swiz xyz (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))) (declare (temporary ) vec2 mix_retval) (assign (xy) (var_ref mix_retval) (expression vec2 lrp (var_ref t8) (expression vec2 * (expression vec2 * (expression vec2 * (swiz xy (var_ref t10) )(expression vec2 rcp (swiz xx (expression float + (swiz z (var_ref t10) )(constant float (0.003922)) ) )) ) (swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) (swiz zz (var_ref t10) )) ) (declare (temporary ) float clamp_retval) (assign (x) (var_ref clamp_retval) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float max (expression float dot (var_ref mix_retval) (var_ref mix_retval) ) (constant float (0.000015)) ) ) (constant float (-2.000000)) ) (constant float (0.250000)) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (if (expression bool all_equal (var_ref clamp_retval) (constant float (0.000000)) ) ( (assign (xyzw) (var_ref t0) (constant vec4 (0.000000 0.000000 0.000000 0.000000)) ) ) ( (declare () vec4 t541) (declare () vec2 t506) (declare () vec2 t505) (declare () vec2 t474) (declare () vec2 t473) (declare () vec2 t442) (declare () vec2 t441) (declare () vec2 t410) (declare () vec2 t409) (declare () vec2 t378) (declare () vec2 t377) (declare () vec2 t346) (declare () vec2 t345) (declare () vec2 t314) (declare () vec2 t313) (declare () vec2 t282) (declare () vec2 t281) (declare () vec2 t250) (declare () vec2 t249) (declare () vec2 t218) (declare () vec2 t217) (declare () vec2 t186) (declare () vec2 t185) (declare () vec2 t154) (declare () vec2 t153) (declare () vec2 t122) (declare () vec2 t121) (declare () vec2 t90) (declare () vec2 t89) (declare () vec2 t58) (declare () vec2 t57) (declare () vec2 t26) (declare () vec2 t25) (declare () vec4 t24) (declare () vec4 t23) (declare () vec2 t22) (declare () vec2 t19) (declare () float t18) (declare () float t16) (declare () vec4 t15) (declare () vec4 t14) (assign (xy) (var_ref t19) (expression vec2 * (swiz xy (var_ref Data) )(swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (assign (x) (var_ref t18) (expression float neg (swiz w (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))) ) (declare (temporary ) vec4 textureLod_retval@1312) (assign (xyzw) (var_ref textureLod_retval@1312) (txl vec4 (var_ref ps2) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t22) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1312) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp) (if (expression bool > (swiz z (var_ref textureLod_retval@1312) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp) (var_ref t22) ) ) ( (assign (xy) (var_ref conditional_tmp) (var_ref t8) ) )) (assign (x) (var_ref t16) (constant float (0.000100)) ) (assign (w) (var_ref t23) (constant float (1.000000)) ) (assign (xyz) (var_ref t23) (swiz xyz (var_ref t11) )) (assign (xyzw) (var_ref t15) (expression vec4 * (var_ref t23) (constant vec4 (0.000100 0.000100 0.000100 0.000100)) ) ) (assign (w) (var_ref t24) (constant float (1.000000)) ) (assign (xyz) (var_ref t24) (swiz xyz (var_ref t11) )) (assign (xyzw) (var_ref t14) (expression vec4 * (var_ref t24) (constant vec4 (0.000100 0.000100 0.000100 0.000100)) ) ) (assign (xy) (var_ref t25) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.033333 0.033333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t26) (expression vec2 + (expression vec2 * (var_ref t25) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v) (assign (xy) (var_ref v) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t26) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t26) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v) )(swiz y (var_ref v) )) ( (declare () vec4 t56) (declare () vec4 t55) (declare () vec2 t32) (declare () float t29) (declare () vec2 t27) (assign (xy) (var_ref t27) (expression vec2 * (var_ref t25) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1313) (assign (xyzw) (var_ref textureLod_retval@1313) (txl vec4 (var_ref ps0) (var_ref t25) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t29) (expression float neg (swiz w (var_ref textureLod_retval@1313) )) ) (declare (temporary ) vec4 textureLod_retval@1314) (assign (xyzw) (var_ref textureLod_retval@1314) (txl vec4 (var_ref ps2) (var_ref t25) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t32) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1314) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1315) (if (expression bool > (swiz z (var_ref textureLod_retval@1314) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1315) (var_ref t32) ) ) ( (assign (xy) (var_ref conditional_tmp@1315) (var_ref t8) ) )) (declare () vec2 x) (assign (xy) (var_ref x) (expression vec2 + (var_ref t27) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1316) (assign (xy) (var_ref x@1316) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t27) ) ) ) (declare () vec2 x@1317) (assign (xy) (var_ref x@1317) (expression vec2 + (var_ref t27) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0) (assign (x) (var_ref edge0) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1315) (var_ref conditional_tmp@1315) ) ) ) ) (declare (temporary ) float t) (assign (x) (var_ref t) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1317) (var_ref x@1317) ) ) (expression float neg (var_ref edge0) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1315) (var_ref conditional_tmp@1315) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1318) (assign (xy) (var_ref x@1318) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t27) ) ) ) (declare () float edge0@1319) (assign (x) (var_ref edge0@1319) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1320) (assign (x) (var_ref t@1320) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1318) (var_ref x@1318) ) ) (expression float neg (var_ref edge0@1319) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1319) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1321) (assign (x) (var_ref clamp_retval@1321) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t29) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x) (var_ref x) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1315) (var_ref conditional_tmp@1315) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t29) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1316) (var_ref x@1316) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t) (expression float * (var_ref t) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1320) (expression float * (var_ref t@1320) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1320) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t55) (constant float (0.000000)) ) (assign (xyz) (var_ref t55) (swiz xyz (var_ref textureLod_retval@1313) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t55) (swiz xxxx (var_ref clamp_retval@1321) )) ) ) (assign (x) (var_ref t16) (expression float + (constant float (0.000100)) (var_ref clamp_retval@1321) ) ) (assign (w) (var_ref t56) (constant float (1.000000)) ) (assign (xyz) (var_ref t56) (swiz xyz (var_ref textureLod_retval@1313) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t56) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1321) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t57) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.033333 0.033333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t58) (expression vec2 + (expression vec2 * (var_ref t57) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1322) (assign (xy) (var_ref v@1322) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t58) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t58) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1322) )(swiz y (var_ref v@1322) )) ( (declare () vec4 t88) (declare () vec4 t87) (declare () vec2 t64) (declare () float t61) (declare () vec2 t59) (assign (xy) (var_ref t59) (expression vec2 * (var_ref t57) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1323) (assign (xyzw) (var_ref textureLod_retval@1323) (txl vec4 (var_ref ps0) (var_ref t57) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t61) (expression float neg (swiz w (var_ref textureLod_retval@1323) )) ) (declare (temporary ) vec4 textureLod_retval@1324) (assign (xyzw) (var_ref textureLod_retval@1324) (txl vec4 (var_ref ps2) (var_ref t57) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t64) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1324) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1325) (if (expression bool > (swiz z (var_ref textureLod_retval@1324) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1325) (var_ref t64) ) ) ( (assign (xy) (var_ref conditional_tmp@1325) (var_ref t8) ) )) (declare () vec2 x@1326) (assign (xy) (var_ref x@1326) (expression vec2 + (var_ref t59) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1327) (assign (xy) (var_ref x@1327) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t59) ) ) ) (declare () vec2 x@1328) (assign (xy) (var_ref x@1328) (expression vec2 + (var_ref t59) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1329) (assign (x) (var_ref edge0@1329) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1325) (var_ref conditional_tmp@1325) ) ) ) ) (declare (temporary ) float t@1330) (assign (x) (var_ref t@1330) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1328) (var_ref x@1328) ) ) (expression float neg (var_ref edge0@1329) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1325) (var_ref conditional_tmp@1325) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1329) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1331) (assign (xy) (var_ref x@1331) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t59) ) ) ) (declare () float edge0@1332) (assign (x) (var_ref edge0@1332) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1333) (assign (x) (var_ref t@1333) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1331) (var_ref x@1331) ) ) (expression float neg (var_ref edge0@1332) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1332) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1334) (assign (x) (var_ref clamp_retval@1334) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t61) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1326) (var_ref x@1326) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1325) (var_ref conditional_tmp@1325) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t61) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1327) (var_ref x@1327) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1330) (expression float * (var_ref t@1330) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1330) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1333) (expression float * (var_ref t@1333) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1333) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t87) (constant float (0.000000)) ) (assign (xyz) (var_ref t87) (swiz xyz (var_ref textureLod_retval@1323) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t87) (swiz xxxx (var_ref clamp_retval@1334) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1334) ) ) (assign (w) (var_ref t88) (constant float (1.000000)) ) (assign (xyz) (var_ref t88) (swiz xyz (var_ref textureLod_retval@1323) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t88) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1334) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t89) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.033333 -0.033333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t90) (expression vec2 + (expression vec2 * (var_ref t89) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1335) (assign (xy) (var_ref v@1335) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t90) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t90) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1335) )(swiz y (var_ref v@1335) )) ( (declare () vec4 t120) (declare () vec4 t119) (declare () vec2 t96) (declare () float t93) (declare () vec2 t91) (assign (xy) (var_ref t91) (expression vec2 * (var_ref t89) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1336) (assign (xyzw) (var_ref textureLod_retval@1336) (txl vec4 (var_ref ps0) (var_ref t89) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t93) (expression float neg (swiz w (var_ref textureLod_retval@1336) )) ) (declare (temporary ) vec4 textureLod_retval@1337) (assign (xyzw) (var_ref textureLod_retval@1337) (txl vec4 (var_ref ps2) (var_ref t89) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t96) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1337) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1338) (if (expression bool > (swiz z (var_ref textureLod_retval@1337) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1338) (var_ref t96) ) ) ( (assign (xy) (var_ref conditional_tmp@1338) (var_ref t8) ) )) (declare () vec2 x@1339) (assign (xy) (var_ref x@1339) (expression vec2 + (var_ref t91) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1340) (assign (xy) (var_ref x@1340) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t91) ) ) ) (declare () vec2 x@1341) (assign (xy) (var_ref x@1341) (expression vec2 + (var_ref t91) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1342) (assign (x) (var_ref edge0@1342) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1338) (var_ref conditional_tmp@1338) ) ) ) ) (declare (temporary ) float t@1343) (assign (x) (var_ref t@1343) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1341) (var_ref x@1341) ) ) (expression float neg (var_ref edge0@1342) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1338) (var_ref conditional_tmp@1338) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1342) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1344) (assign (xy) (var_ref x@1344) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t91) ) ) ) (declare () float edge0@1345) (assign (x) (var_ref edge0@1345) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1346) (assign (x) (var_ref t@1346) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1344) (var_ref x@1344) ) ) (expression float neg (var_ref edge0@1345) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1345) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1347) (assign (x) (var_ref clamp_retval@1347) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t93) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1339) (var_ref x@1339) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1338) (var_ref conditional_tmp@1338) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t93) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1340) (var_ref x@1340) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1343) (expression float * (var_ref t@1343) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1343) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1346) (expression float * (var_ref t@1346) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1346) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t119) (constant float (0.000000)) ) (assign (xyz) (var_ref t119) (swiz xyz (var_ref textureLod_retval@1336) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t119) (swiz xxxx (var_ref clamp_retval@1347) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1347) ) ) (assign (w) (var_ref t120) (constant float (1.000000)) ) (assign (xyz) (var_ref t120) (swiz xyz (var_ref textureLod_retval@1336) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t120) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1347) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t121) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.100000 0.100000)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t122) (expression vec2 + (expression vec2 * (var_ref t121) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1348) (assign (xy) (var_ref v@1348) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t122) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t122) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1348) )(swiz y (var_ref v@1348) )) ( (declare () vec4 t152) (declare () vec4 t151) (declare () vec2 t128) (declare () float t125) (declare () vec2 t123) (assign (xy) (var_ref t123) (expression vec2 * (var_ref t121) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1349) (assign (xyzw) (var_ref textureLod_retval@1349) (txl vec4 (var_ref ps0) (var_ref t121) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t125) (expression float neg (swiz w (var_ref textureLod_retval@1349) )) ) (declare (temporary ) vec4 textureLod_retval@1350) (assign (xyzw) (var_ref textureLod_retval@1350) (txl vec4 (var_ref ps2) (var_ref t121) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t128) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1350) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1351) (if (expression bool > (swiz z (var_ref textureLod_retval@1350) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1351) (var_ref t128) ) ) ( (assign (xy) (var_ref conditional_tmp@1351) (var_ref t8) ) )) (declare () vec2 x@1352) (assign (xy) (var_ref x@1352) (expression vec2 + (var_ref t123) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1353) (assign (xy) (var_ref x@1353) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t123) ) ) ) (declare () vec2 x@1354) (assign (xy) (var_ref x@1354) (expression vec2 + (var_ref t123) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1355) (assign (x) (var_ref edge0@1355) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1351) (var_ref conditional_tmp@1351) ) ) ) ) (declare (temporary ) float t@1356) (assign (x) (var_ref t@1356) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1354) (var_ref x@1354) ) ) (expression float neg (var_ref edge0@1355) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1351) (var_ref conditional_tmp@1351) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1355) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1357) (assign (xy) (var_ref x@1357) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t123) ) ) ) (declare () float edge0@1358) (assign (x) (var_ref edge0@1358) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1359) (assign (x) (var_ref t@1359) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1357) (var_ref x@1357) ) ) (expression float neg (var_ref edge0@1358) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1358) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1360) (assign (x) (var_ref clamp_retval@1360) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t125) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1352) (var_ref x@1352) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1351) (var_ref conditional_tmp@1351) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t125) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1353) (var_ref x@1353) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1356) (expression float * (var_ref t@1356) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1356) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1359) (expression float * (var_ref t@1359) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1359) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t151) (constant float (0.000000)) ) (assign (xyz) (var_ref t151) (swiz xyz (var_ref textureLod_retval@1349) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t151) (swiz xxxx (var_ref clamp_retval@1360) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1360) ) ) (assign (w) (var_ref t152) (constant float (1.000000)) ) (assign (xyz) (var_ref t152) (swiz xyz (var_ref textureLod_retval@1349) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t152) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1360) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t153) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.100000 -0.100000)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t154) (expression vec2 + (expression vec2 * (var_ref t153) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1361) (assign (xy) (var_ref v@1361) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t154) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t154) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1361) )(swiz y (var_ref v@1361) )) ( (declare () vec4 t184) (declare () vec4 t183) (declare () vec2 t160) (declare () float t157) (declare () vec2 t155) (assign (xy) (var_ref t155) (expression vec2 * (var_ref t153) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1362) (assign (xyzw) (var_ref textureLod_retval@1362) (txl vec4 (var_ref ps0) (var_ref t153) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t157) (expression float neg (swiz w (var_ref textureLod_retval@1362) )) ) (declare (temporary ) vec4 textureLod_retval@1363) (assign (xyzw) (var_ref textureLod_retval@1363) (txl vec4 (var_ref ps2) (var_ref t153) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t160) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1363) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1364) (if (expression bool > (swiz z (var_ref textureLod_retval@1363) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1364) (var_ref t160) ) ) ( (assign (xy) (var_ref conditional_tmp@1364) (var_ref t8) ) )) (declare () vec2 x@1365) (assign (xy) (var_ref x@1365) (expression vec2 + (var_ref t155) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1366) (assign (xy) (var_ref x@1366) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t155) ) ) ) (declare () vec2 x@1367) (assign (xy) (var_ref x@1367) (expression vec2 + (var_ref t155) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1368) (assign (x) (var_ref edge0@1368) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1364) (var_ref conditional_tmp@1364) ) ) ) ) (declare (temporary ) float t@1369) (assign (x) (var_ref t@1369) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1367) (var_ref x@1367) ) ) (expression float neg (var_ref edge0@1368) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1364) (var_ref conditional_tmp@1364) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1368) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1370) (assign (xy) (var_ref x@1370) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t155) ) ) ) (declare () float edge0@1371) (assign (x) (var_ref edge0@1371) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1372) (assign (x) (var_ref t@1372) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1370) (var_ref x@1370) ) ) (expression float neg (var_ref edge0@1371) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1371) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1373) (assign (x) (var_ref clamp_retval@1373) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t157) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1365) (var_ref x@1365) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1364) (var_ref conditional_tmp@1364) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t157) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1366) (var_ref x@1366) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1369) (expression float * (var_ref t@1369) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1369) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1372) (expression float * (var_ref t@1372) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1372) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t183) (constant float (0.000000)) ) (assign (xyz) (var_ref t183) (swiz xyz (var_ref textureLod_retval@1362) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t183) (swiz xxxx (var_ref clamp_retval@1373) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1373) ) ) (assign (w) (var_ref t184) (constant float (1.000000)) ) (assign (xyz) (var_ref t184) (swiz xyz (var_ref textureLod_retval@1362) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t184) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1373) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t185) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.166667 0.166667)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t186) (expression vec2 + (expression vec2 * (var_ref t185) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1374) (assign (xy) (var_ref v@1374) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t186) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t186) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1374) )(swiz y (var_ref v@1374) )) ( (declare () vec4 t216) (declare () vec4 t215) (declare () vec2 t192) (declare () float t189) (declare () vec2 t187) (assign (xy) (var_ref t187) (expression vec2 * (var_ref t185) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1375) (assign (xyzw) (var_ref textureLod_retval@1375) (txl vec4 (var_ref ps0) (var_ref t185) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t189) (expression float neg (swiz w (var_ref textureLod_retval@1375) )) ) (declare (temporary ) vec4 textureLod_retval@1376) (assign (xyzw) (var_ref textureLod_retval@1376) (txl vec4 (var_ref ps2) (var_ref t185) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t192) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1376) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1377) (if (expression bool > (swiz z (var_ref textureLod_retval@1376) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1377) (var_ref t192) ) ) ( (assign (xy) (var_ref conditional_tmp@1377) (var_ref t8) ) )) (declare () vec2 x@1378) (assign (xy) (var_ref x@1378) (expression vec2 + (var_ref t187) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1379) (assign (xy) (var_ref x@1379) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t187) ) ) ) (declare () vec2 x@1380) (assign (xy) (var_ref x@1380) (expression vec2 + (var_ref t187) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1381) (assign (x) (var_ref edge0@1381) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1377) (var_ref conditional_tmp@1377) ) ) ) ) (declare (temporary ) float t@1382) (assign (x) (var_ref t@1382) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1380) (var_ref x@1380) ) ) (expression float neg (var_ref edge0@1381) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1377) (var_ref conditional_tmp@1377) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1381) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1383) (assign (xy) (var_ref x@1383) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t187) ) ) ) (declare () float edge0@1384) (assign (x) (var_ref edge0@1384) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1385) (assign (x) (var_ref t@1385) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1383) (var_ref x@1383) ) ) (expression float neg (var_ref edge0@1384) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1384) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1386) (assign (x) (var_ref clamp_retval@1386) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t189) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1378) (var_ref x@1378) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1377) (var_ref conditional_tmp@1377) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t189) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1379) (var_ref x@1379) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1382) (expression float * (var_ref t@1382) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1382) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1385) (expression float * (var_ref t@1385) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1385) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t215) (constant float (0.000000)) ) (assign (xyz) (var_ref t215) (swiz xyz (var_ref textureLod_retval@1375) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t215) (swiz xxxx (var_ref clamp_retval@1386) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1386) ) ) (assign (w) (var_ref t216) (constant float (1.000000)) ) (assign (xyz) (var_ref t216) (swiz xyz (var_ref textureLod_retval@1375) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t216) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1386) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t217) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.166667 -0.166667)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t218) (expression vec2 + (expression vec2 * (var_ref t217) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1387) (assign (xy) (var_ref v@1387) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t218) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t218) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1387) )(swiz y (var_ref v@1387) )) ( (declare () vec4 t248) (declare () vec4 t247) (declare () vec2 t224) (declare () float t221) (declare () vec2 t219) (assign (xy) (var_ref t219) (expression vec2 * (var_ref t217) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1388) (assign (xyzw) (var_ref textureLod_retval@1388) (txl vec4 (var_ref ps0) (var_ref t217) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t221) (expression float neg (swiz w (var_ref textureLod_retval@1388) )) ) (declare (temporary ) vec4 textureLod_retval@1389) (assign (xyzw) (var_ref textureLod_retval@1389) (txl vec4 (var_ref ps2) (var_ref t217) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t224) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1389) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1390) (if (expression bool > (swiz z (var_ref textureLod_retval@1389) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1390) (var_ref t224) ) ) ( (assign (xy) (var_ref conditional_tmp@1390) (var_ref t8) ) )) (declare () vec2 x@1391) (assign (xy) (var_ref x@1391) (expression vec2 + (var_ref t219) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1392) (assign (xy) (var_ref x@1392) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t219) ) ) ) (declare () vec2 x@1393) (assign (xy) (var_ref x@1393) (expression vec2 + (var_ref t219) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1394) (assign (x) (var_ref edge0@1394) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1390) (var_ref conditional_tmp@1390) ) ) ) ) (declare (temporary ) float t@1395) (assign (x) (var_ref t@1395) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1393) (var_ref x@1393) ) ) (expression float neg (var_ref edge0@1394) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1390) (var_ref conditional_tmp@1390) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1394) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1396) (assign (xy) (var_ref x@1396) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t219) ) ) ) (declare () float edge0@1397) (assign (x) (var_ref edge0@1397) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1398) (assign (x) (var_ref t@1398) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1396) (var_ref x@1396) ) ) (expression float neg (var_ref edge0@1397) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1397) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1399) (assign (x) (var_ref clamp_retval@1399) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t221) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1391) (var_ref x@1391) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1390) (var_ref conditional_tmp@1390) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t221) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1392) (var_ref x@1392) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1395) (expression float * (var_ref t@1395) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1395) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1398) (expression float * (var_ref t@1398) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1398) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t247) (constant float (0.000000)) ) (assign (xyz) (var_ref t247) (swiz xyz (var_ref textureLod_retval@1388) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t247) (swiz xxxx (var_ref clamp_retval@1399) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1399) ) ) (assign (w) (var_ref t248) (constant float (1.000000)) ) (assign (xyz) (var_ref t248) (swiz xyz (var_ref textureLod_retval@1388) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t248) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1399) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t249) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.233333 0.233333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t250) (expression vec2 + (expression vec2 * (var_ref t249) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1400) (assign (xy) (var_ref v@1400) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t250) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t250) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1400) )(swiz y (var_ref v@1400) )) ( (declare () vec4 t280) (declare () vec4 t279) (declare () vec2 t256) (declare () float t253) (declare () vec2 t251) (assign (xy) (var_ref t251) (expression vec2 * (var_ref t249) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1401) (assign (xyzw) (var_ref textureLod_retval@1401) (txl vec4 (var_ref ps0) (var_ref t249) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t253) (expression float neg (swiz w (var_ref textureLod_retval@1401) )) ) (declare (temporary ) vec4 textureLod_retval@1402) (assign (xyzw) (var_ref textureLod_retval@1402) (txl vec4 (var_ref ps2) (var_ref t249) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t256) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1402) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1403) (if (expression bool > (swiz z (var_ref textureLod_retval@1402) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1403) (var_ref t256) ) ) ( (assign (xy) (var_ref conditional_tmp@1403) (var_ref t8) ) )) (declare () vec2 x@1404) (assign (xy) (var_ref x@1404) (expression vec2 + (var_ref t251) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1405) (assign (xy) (var_ref x@1405) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t251) ) ) ) (declare () vec2 x@1406) (assign (xy) (var_ref x@1406) (expression vec2 + (var_ref t251) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1407) (assign (x) (var_ref edge0@1407) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1403) (var_ref conditional_tmp@1403) ) ) ) ) (declare (temporary ) float t@1408) (assign (x) (var_ref t@1408) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1406) (var_ref x@1406) ) ) (expression float neg (var_ref edge0@1407) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1403) (var_ref conditional_tmp@1403) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1407) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1409) (assign (xy) (var_ref x@1409) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t251) ) ) ) (declare () float edge0@1410) (assign (x) (var_ref edge0@1410) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1411) (assign (x) (var_ref t@1411) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1409) (var_ref x@1409) ) ) (expression float neg (var_ref edge0@1410) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1410) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1412) (assign (x) (var_ref clamp_retval@1412) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t253) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1404) (var_ref x@1404) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1403) (var_ref conditional_tmp@1403) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t253) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1405) (var_ref x@1405) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1408) (expression float * (var_ref t@1408) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1408) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1411) (expression float * (var_ref t@1411) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1411) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t279) (constant float (0.000000)) ) (assign (xyz) (var_ref t279) (swiz xyz (var_ref textureLod_retval@1401) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t279) (swiz xxxx (var_ref clamp_retval@1412) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1412) ) ) (assign (w) (var_ref t280) (constant float (1.000000)) ) (assign (xyz) (var_ref t280) (swiz xyz (var_ref textureLod_retval@1401) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t280) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1412) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t281) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.233333 -0.233333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t282) (expression vec2 + (expression vec2 * (var_ref t281) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1413) (assign (xy) (var_ref v@1413) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t282) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t282) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1413) )(swiz y (var_ref v@1413) )) ( (declare () vec4 t312) (declare () vec4 t311) (declare () vec2 t288) (declare () float t285) (declare () vec2 t283) (assign (xy) (var_ref t283) (expression vec2 * (var_ref t281) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1414) (assign (xyzw) (var_ref textureLod_retval@1414) (txl vec4 (var_ref ps0) (var_ref t281) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t285) (expression float neg (swiz w (var_ref textureLod_retval@1414) )) ) (declare (temporary ) vec4 textureLod_retval@1415) (assign (xyzw) (var_ref textureLod_retval@1415) (txl vec4 (var_ref ps2) (var_ref t281) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t288) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1415) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1416) (if (expression bool > (swiz z (var_ref textureLod_retval@1415) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1416) (var_ref t288) ) ) ( (assign (xy) (var_ref conditional_tmp@1416) (var_ref t8) ) )) (declare () vec2 x@1417) (assign (xy) (var_ref x@1417) (expression vec2 + (var_ref t283) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1418) (assign (xy) (var_ref x@1418) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t283) ) ) ) (declare () vec2 x@1419) (assign (xy) (var_ref x@1419) (expression vec2 + (var_ref t283) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1420) (assign (x) (var_ref edge0@1420) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1416) (var_ref conditional_tmp@1416) ) ) ) ) (declare (temporary ) float t@1421) (assign (x) (var_ref t@1421) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1419) (var_ref x@1419) ) ) (expression float neg (var_ref edge0@1420) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1416) (var_ref conditional_tmp@1416) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1420) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1422) (assign (xy) (var_ref x@1422) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t283) ) ) ) (declare () float edge0@1423) (assign (x) (var_ref edge0@1423) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1424) (assign (x) (var_ref t@1424) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1422) (var_ref x@1422) ) ) (expression float neg (var_ref edge0@1423) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1423) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1425) (assign (x) (var_ref clamp_retval@1425) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t285) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1417) (var_ref x@1417) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1416) (var_ref conditional_tmp@1416) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t285) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1418) (var_ref x@1418) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1421) (expression float * (var_ref t@1421) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1421) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1424) (expression float * (var_ref t@1424) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1424) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t311) (constant float (0.000000)) ) (assign (xyz) (var_ref t311) (swiz xyz (var_ref textureLod_retval@1414) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t311) (swiz xxxx (var_ref clamp_retval@1425) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1425) ) ) (assign (w) (var_ref t312) (constant float (1.000000)) ) (assign (xyz) (var_ref t312) (swiz xyz (var_ref textureLod_retval@1414) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t312) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1425) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t313) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.300000 0.300000)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t314) (expression vec2 + (expression vec2 * (var_ref t313) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1426) (assign (xy) (var_ref v@1426) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t314) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t314) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1426) )(swiz y (var_ref v@1426) )) ( (declare () vec4 t344) (declare () vec4 t343) (declare () vec2 t320) (declare () float t317) (declare () vec2 t315) (assign (xy) (var_ref t315) (expression vec2 * (var_ref t313) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1427) (assign (xyzw) (var_ref textureLod_retval@1427) (txl vec4 (var_ref ps0) (var_ref t313) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t317) (expression float neg (swiz w (var_ref textureLod_retval@1427) )) ) (declare (temporary ) vec4 textureLod_retval@1428) (assign (xyzw) (var_ref textureLod_retval@1428) (txl vec4 (var_ref ps2) (var_ref t313) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t320) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1428) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1429) (if (expression bool > (swiz z (var_ref textureLod_retval@1428) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1429) (var_ref t320) ) ) ( (assign (xy) (var_ref conditional_tmp@1429) (var_ref t8) ) )) (declare () vec2 x@1430) (assign (xy) (var_ref x@1430) (expression vec2 + (var_ref t315) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1431) (assign (xy) (var_ref x@1431) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t315) ) ) ) (declare () vec2 x@1432) (assign (xy) (var_ref x@1432) (expression vec2 + (var_ref t315) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1433) (assign (x) (var_ref edge0@1433) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1429) (var_ref conditional_tmp@1429) ) ) ) ) (declare (temporary ) float t@1434) (assign (x) (var_ref t@1434) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1432) (var_ref x@1432) ) ) (expression float neg (var_ref edge0@1433) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1429) (var_ref conditional_tmp@1429) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1433) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1435) (assign (xy) (var_ref x@1435) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t315) ) ) ) (declare () float edge0@1436) (assign (x) (var_ref edge0@1436) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1437) (assign (x) (var_ref t@1437) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1435) (var_ref x@1435) ) ) (expression float neg (var_ref edge0@1436) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1436) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1438) (assign (x) (var_ref clamp_retval@1438) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t317) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1430) (var_ref x@1430) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1429) (var_ref conditional_tmp@1429) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t317) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1431) (var_ref x@1431) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1434) (expression float * (var_ref t@1434) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1434) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1437) (expression float * (var_ref t@1437) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1437) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t343) (constant float (0.000000)) ) (assign (xyz) (var_ref t343) (swiz xyz (var_ref textureLod_retval@1427) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t343) (swiz xxxx (var_ref clamp_retval@1438) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1438) ) ) (assign (w) (var_ref t344) (constant float (1.000000)) ) (assign (xyz) (var_ref t344) (swiz xyz (var_ref textureLod_retval@1427) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t344) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1438) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t345) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.300000 -0.300000)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t346) (expression vec2 + (expression vec2 * (var_ref t345) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1439) (assign (xy) (var_ref v@1439) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t346) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t346) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1439) )(swiz y (var_ref v@1439) )) ( (declare () vec4 t376) (declare () vec4 t375) (declare () vec2 t352) (declare () float t349) (declare () vec2 t347) (assign (xy) (var_ref t347) (expression vec2 * (var_ref t345) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1440) (assign (xyzw) (var_ref textureLod_retval@1440) (txl vec4 (var_ref ps0) (var_ref t345) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t349) (expression float neg (swiz w (var_ref textureLod_retval@1440) )) ) (declare (temporary ) vec4 textureLod_retval@1441) (assign (xyzw) (var_ref textureLod_retval@1441) (txl vec4 (var_ref ps2) (var_ref t345) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t352) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1441) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1442) (if (expression bool > (swiz z (var_ref textureLod_retval@1441) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1442) (var_ref t352) ) ) ( (assign (xy) (var_ref conditional_tmp@1442) (var_ref t8) ) )) (declare () vec2 x@1443) (assign (xy) (var_ref x@1443) (expression vec2 + (var_ref t347) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1444) (assign (xy) (var_ref x@1444) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t347) ) ) ) (declare () vec2 x@1445) (assign (xy) (var_ref x@1445) (expression vec2 + (var_ref t347) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1446) (assign (x) (var_ref edge0@1446) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1442) (var_ref conditional_tmp@1442) ) ) ) ) (declare (temporary ) float t@1447) (assign (x) (var_ref t@1447) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1445) (var_ref x@1445) ) ) (expression float neg (var_ref edge0@1446) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1442) (var_ref conditional_tmp@1442) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1446) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1448) (assign (xy) (var_ref x@1448) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t347) ) ) ) (declare () float edge0@1449) (assign (x) (var_ref edge0@1449) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1450) (assign (x) (var_ref t@1450) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1448) (var_ref x@1448) ) ) (expression float neg (var_ref edge0@1449) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1449) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1451) (assign (x) (var_ref clamp_retval@1451) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t349) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1443) (var_ref x@1443) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1442) (var_ref conditional_tmp@1442) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t349) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1444) (var_ref x@1444) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1447) (expression float * (var_ref t@1447) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1447) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1450) (expression float * (var_ref t@1450) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1450) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t375) (constant float (0.000000)) ) (assign (xyz) (var_ref t375) (swiz xyz (var_ref textureLod_retval@1440) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t375) (swiz xxxx (var_ref clamp_retval@1451) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1451) ) ) (assign (w) (var_ref t376) (constant float (1.000000)) ) (assign (xyz) (var_ref t376) (swiz xyz (var_ref textureLod_retval@1440) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t376) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1451) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t377) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.366667 0.366667)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t378) (expression vec2 + (expression vec2 * (var_ref t377) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1452) (assign (xy) (var_ref v@1452) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t378) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t378) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1452) )(swiz y (var_ref v@1452) )) ( (declare () vec4 t408) (declare () vec4 t407) (declare () vec2 t384) (declare () float t381) (declare () vec2 t379) (assign (xy) (var_ref t379) (expression vec2 * (var_ref t377) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1453) (assign (xyzw) (var_ref textureLod_retval@1453) (txl vec4 (var_ref ps0) (var_ref t377) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t381) (expression float neg (swiz w (var_ref textureLod_retval@1453) )) ) (declare (temporary ) vec4 textureLod_retval@1454) (assign (xyzw) (var_ref textureLod_retval@1454) (txl vec4 (var_ref ps2) (var_ref t377) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t384) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1454) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1455) (if (expression bool > (swiz z (var_ref textureLod_retval@1454) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1455) (var_ref t384) ) ) ( (assign (xy) (var_ref conditional_tmp@1455) (var_ref t8) ) )) (declare () vec2 x@1456) (assign (xy) (var_ref x@1456) (expression vec2 + (var_ref t379) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1457) (assign (xy) (var_ref x@1457) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t379) ) ) ) (declare () vec2 x@1458) (assign (xy) (var_ref x@1458) (expression vec2 + (var_ref t379) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1459) (assign (x) (var_ref edge0@1459) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1455) (var_ref conditional_tmp@1455) ) ) ) ) (declare (temporary ) float t@1460) (assign (x) (var_ref t@1460) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1458) (var_ref x@1458) ) ) (expression float neg (var_ref edge0@1459) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1455) (var_ref conditional_tmp@1455) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1459) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1461) (assign (xy) (var_ref x@1461) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t379) ) ) ) (declare () float edge0@1462) (assign (x) (var_ref edge0@1462) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1463) (assign (x) (var_ref t@1463) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1461) (var_ref x@1461) ) ) (expression float neg (var_ref edge0@1462) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1462) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1464) (assign (x) (var_ref clamp_retval@1464) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t381) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1456) (var_ref x@1456) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1455) (var_ref conditional_tmp@1455) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t381) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1457) (var_ref x@1457) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1460) (expression float * (var_ref t@1460) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1460) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1463) (expression float * (var_ref t@1463) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1463) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t407) (constant float (0.000000)) ) (assign (xyz) (var_ref t407) (swiz xyz (var_ref textureLod_retval@1453) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t407) (swiz xxxx (var_ref clamp_retval@1464) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1464) ) ) (assign (w) (var_ref t408) (constant float (1.000000)) ) (assign (xyz) (var_ref t408) (swiz xyz (var_ref textureLod_retval@1453) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t408) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1464) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t409) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.366667 -0.366667)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t410) (expression vec2 + (expression vec2 * (var_ref t409) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1465) (assign (xy) (var_ref v@1465) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t410) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t410) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1465) )(swiz y (var_ref v@1465) )) ( (declare () vec4 t440) (declare () vec4 t439) (declare () vec2 t416) (declare () float t413) (declare () vec2 t411) (assign (xy) (var_ref t411) (expression vec2 * (var_ref t409) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1466) (assign (xyzw) (var_ref textureLod_retval@1466) (txl vec4 (var_ref ps0) (var_ref t409) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t413) (expression float neg (swiz w (var_ref textureLod_retval@1466) )) ) (declare (temporary ) vec4 textureLod_retval@1467) (assign (xyzw) (var_ref textureLod_retval@1467) (txl vec4 (var_ref ps2) (var_ref t409) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t416) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1467) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1468) (if (expression bool > (swiz z (var_ref textureLod_retval@1467) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1468) (var_ref t416) ) ) ( (assign (xy) (var_ref conditional_tmp@1468) (var_ref t8) ) )) (declare () vec2 x@1469) (assign (xy) (var_ref x@1469) (expression vec2 + (var_ref t411) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1470) (assign (xy) (var_ref x@1470) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t411) ) ) ) (declare () vec2 x@1471) (assign (xy) (var_ref x@1471) (expression vec2 + (var_ref t411) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1472) (assign (x) (var_ref edge0@1472) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1468) (var_ref conditional_tmp@1468) ) ) ) ) (declare (temporary ) float t@1473) (assign (x) (var_ref t@1473) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1471) (var_ref x@1471) ) ) (expression float neg (var_ref edge0@1472) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1468) (var_ref conditional_tmp@1468) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1472) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1474) (assign (xy) (var_ref x@1474) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t411) ) ) ) (declare () float edge0@1475) (assign (x) (var_ref edge0@1475) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1476) (assign (x) (var_ref t@1476) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1474) (var_ref x@1474) ) ) (expression float neg (var_ref edge0@1475) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1475) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1477) (assign (x) (var_ref clamp_retval@1477) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t413) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1469) (var_ref x@1469) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1468) (var_ref conditional_tmp@1468) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t413) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1470) (var_ref x@1470) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1473) (expression float * (var_ref t@1473) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1473) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1476) (expression float * (var_ref t@1476) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1476) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t439) (constant float (0.000000)) ) (assign (xyz) (var_ref t439) (swiz xyz (var_ref textureLod_retval@1466) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t439) (swiz xxxx (var_ref clamp_retval@1477) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1477) ) ) (assign (w) (var_ref t440) (constant float (1.000000)) ) (assign (xyz) (var_ref t440) (swiz xyz (var_ref textureLod_retval@1466) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t440) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1477) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t441) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.433333 0.433333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t442) (expression vec2 + (expression vec2 * (var_ref t441) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1478) (assign (xy) (var_ref v@1478) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t442) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t442) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1478) )(swiz y (var_ref v@1478) )) ( (declare () vec4 t472) (declare () vec4 t471) (declare () vec2 t448) (declare () float t445) (declare () vec2 t443) (assign (xy) (var_ref t443) (expression vec2 * (var_ref t441) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1479) (assign (xyzw) (var_ref textureLod_retval@1479) (txl vec4 (var_ref ps0) (var_ref t441) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t445) (expression float neg (swiz w (var_ref textureLod_retval@1479) )) ) (declare (temporary ) vec4 textureLod_retval@1480) (assign (xyzw) (var_ref textureLod_retval@1480) (txl vec4 (var_ref ps2) (var_ref t441) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t448) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1480) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1481) (if (expression bool > (swiz z (var_ref textureLod_retval@1480) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1481) (var_ref t448) ) ) ( (assign (xy) (var_ref conditional_tmp@1481) (var_ref t8) ) )) (declare () vec2 x@1482) (assign (xy) (var_ref x@1482) (expression vec2 + (var_ref t443) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1483) (assign (xy) (var_ref x@1483) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t443) ) ) ) (declare () vec2 x@1484) (assign (xy) (var_ref x@1484) (expression vec2 + (var_ref t443) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1485) (assign (x) (var_ref edge0@1485) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1481) (var_ref conditional_tmp@1481) ) ) ) ) (declare (temporary ) float t@1486) (assign (x) (var_ref t@1486) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1484) (var_ref x@1484) ) ) (expression float neg (var_ref edge0@1485) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1481) (var_ref conditional_tmp@1481) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1485) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1487) (assign (xy) (var_ref x@1487) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t443) ) ) ) (declare () float edge0@1488) (assign (x) (var_ref edge0@1488) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1489) (assign (x) (var_ref t@1489) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1487) (var_ref x@1487) ) ) (expression float neg (var_ref edge0@1488) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1488) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1490) (assign (x) (var_ref clamp_retval@1490) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t445) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1482) (var_ref x@1482) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1481) (var_ref conditional_tmp@1481) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t445) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1483) (var_ref x@1483) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1486) (expression float * (var_ref t@1486) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1486) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1489) (expression float * (var_ref t@1489) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1489) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t471) (constant float (0.000000)) ) (assign (xyz) (var_ref t471) (swiz xyz (var_ref textureLod_retval@1479) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t471) (swiz xxxx (var_ref clamp_retval@1490) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1490) ) ) (assign (w) (var_ref t472) (constant float (1.000000)) ) (assign (xyz) (var_ref t472) (swiz xyz (var_ref textureLod_retval@1479) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t472) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1490) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t473) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (-0.433333 -0.433333)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t474) (expression vec2 + (expression vec2 * (var_ref t473) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1491) (assign (xy) (var_ref v@1491) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t474) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t474) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1491) )(swiz y (var_ref v@1491) )) ( (declare () vec4 t504) (declare () vec4 t503) (declare () vec2 t480) (declare () float t477) (declare () vec2 t475) (assign (xy) (var_ref t475) (expression vec2 * (var_ref t473) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1492) (assign (xyzw) (var_ref textureLod_retval@1492) (txl vec4 (var_ref ps0) (var_ref t473) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t477) (expression float neg (swiz w (var_ref textureLod_retval@1492) )) ) (declare (temporary ) vec4 textureLod_retval@1493) (assign (xyzw) (var_ref textureLod_retval@1493) (txl vec4 (var_ref ps2) (var_ref t473) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t480) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1493) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1494) (if (expression bool > (swiz z (var_ref textureLod_retval@1493) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1494) (var_ref t480) ) ) ( (assign (xy) (var_ref conditional_tmp@1494) (var_ref t8) ) )) (declare () vec2 x@1495) (assign (xy) (var_ref x@1495) (expression vec2 + (var_ref t475) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1496) (assign (xy) (var_ref x@1496) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t475) ) ) ) (declare () vec2 x@1497) (assign (xy) (var_ref x@1497) (expression vec2 + (var_ref t475) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1498) (assign (x) (var_ref edge0@1498) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1494) (var_ref conditional_tmp@1494) ) ) ) ) (declare (temporary ) float t@1499) (assign (x) (var_ref t@1499) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1497) (var_ref x@1497) ) ) (expression float neg (var_ref edge0@1498) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1494) (var_ref conditional_tmp@1494) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1498) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1500) (assign (xy) (var_ref x@1500) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t475) ) ) ) (declare () float edge0@1501) (assign (x) (var_ref edge0@1501) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1502) (assign (x) (var_ref t@1502) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1500) (var_ref x@1500) ) ) (expression float neg (var_ref edge0@1501) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1501) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1503) (assign (x) (var_ref clamp_retval@1503) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t477) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1495) (var_ref x@1495) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1494) (var_ref conditional_tmp@1494) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t477) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1496) (var_ref x@1496) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1499) (expression float * (var_ref t@1499) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1499) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1502) (expression float * (var_ref t@1502) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1502) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t503) (constant float (0.000000)) ) (assign (xyz) (var_ref t503) (swiz xyz (var_ref textureLod_retval@1492) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t503) (swiz xxxx (var_ref clamp_retval@1503) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1503) ) ) (assign (w) (var_ref t504) (constant float (1.000000)) ) (assign (xyz) (var_ref t504) (swiz xyz (var_ref textureLod_retval@1492) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t504) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1503) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (xy) (var_ref t505) (expression vec2 + (swiz xy (var_ref Data) )(expression vec2 * (expression vec2 * (constant vec2 (0.500000 0.500000)) (var_ref mix_retval) ) (swiz zw (array_ref (var_ref pu_h) (constant int (5)) ) )) ) ) (assign (xy) (var_ref t506) (expression vec2 + (expression vec2 * (var_ref t505) (swiz xy (array_ref (var_ref pu_h) (constant int (7)) ) )) (swiz zw (array_ref (var_ref pu_h) (constant int (7)) ) )) ) (declare () bvec2 v@1504) (assign (xy) (var_ref v@1504) (expression bvec2 i2b (expression ivec2 u2i (expression uvec2 * (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 > (var_ref t506) (constant vec2 (0.000000 0.000000)) ) ) ) (expression uvec2 i2u (expression ivec2 b2i (expression bvec2 < (var_ref t506) (constant vec2 (1.000000 1.000000)) ) ) ) ) ) ) ) (if (expression bool && (swiz x (var_ref v@1504) )(swiz y (var_ref v@1504) )) ( (declare () vec4 t536) (declare () vec4 t535) (declare () vec2 t512) (declare () float t509) (declare () vec2 t507) (assign (xy) (var_ref t507) (expression vec2 * (var_ref t505) (swiz xy (array_ref (var_ref pu_h) (constant int (5)) ) )) ) (declare (temporary ) vec4 textureLod_retval@1505) (assign (xyzw) (var_ref textureLod_retval@1505) (txl vec4 (var_ref ps0) (var_ref t505) 0 1 () (constant float (0.000000)) )) (assign (x) (var_ref t509) (expression float neg (swiz w (var_ref textureLod_retval@1505) )) ) (declare (temporary ) vec4 textureLod_retval@1506) (assign (xyzw) (var_ref textureLod_retval@1506) (txl vec4 (var_ref ps2) (var_ref t505) 0 1 () (constant float (0.000000)) )) (assign (xy) (var_ref t512) (expression vec2 * (expression vec2 * (swiz xy (var_ref textureLod_retval@1506) )(swiz zw (array_ref (var_ref pu_h) (constant int (4)) ) )) (swiz xy (array_ref (var_ref pu_h) (constant int (6)) ) )) ) (declare (temporary ) vec2 conditional_tmp@1507) (if (expression bool > (swiz z (var_ref textureLod_retval@1506) )(constant float (0.500000)) ) ( (assign (xy) (var_ref conditional_tmp@1507) (var_ref t512) ) ) ( (assign (xy) (var_ref conditional_tmp@1507) (var_ref t8) ) )) (declare () vec2 x@1508) (assign (xy) (var_ref x@1508) (expression vec2 + (var_ref t507) (expression vec2 neg (var_ref t19) ) ) ) (declare () vec2 x@1509) (assign (xy) (var_ref x@1509) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t507) ) ) ) (declare () vec2 x@1510) (assign (xy) (var_ref x@1510) (expression vec2 + (var_ref t507) (expression vec2 neg (var_ref t19) ) ) ) (declare () float edge0@1511) (assign (x) (var_ref edge0@1511) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1507) (var_ref conditional_tmp@1507) ) ) ) ) (declare (temporary ) float t@1512) (assign (x) (var_ref t@1512) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1510) (var_ref x@1510) ) ) (expression float neg (var_ref edge0@1511) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp@1507) (var_ref conditional_tmp@1507) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1511) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare () vec2 x@1513) (assign (xy) (var_ref x@1513) (expression vec2 + (var_ref t19) (expression vec2 neg (var_ref t507) ) ) ) (declare () float edge0@1514) (assign (x) (var_ref edge0@1514) (expression float * (constant float (0.950000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (declare (temporary ) float t@1515) (assign (x) (var_ref t@1515) (expression float min (expression float max (expression float * (expression float + (expression float sqrt (expression float dot (var_ref x@1513) (var_ref x@1513) ) ) (expression float neg (var_ref edge0@1514) ) ) (expression float rcp (expression float + (expression float + (expression float * (constant float (1.050000)) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) (constant float (0.001000)) ) (expression float neg (var_ref edge0@1514) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (declare (temporary ) float clamp_retval@1516) (assign (x) (var_ref clamp_retval@1516) (expression float min (expression float max (expression float + (expression float + (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t18) (expression float neg (var_ref t509) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1508) (var_ref x@1508) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp@1507) (var_ref conditional_tmp@1507) ) ) ) ) ) (expression float * (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (expression float + (var_ref t509) (expression float neg (var_ref t18) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) (expression float b2f (expression bool < (expression float sqrt (expression float dot (var_ref x@1509) (var_ref x@1509) ) ) (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) ) ) (expression float * (expression float * (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1512) (expression float * (var_ref t@1512) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1512) ) ) ) ) ) ) ) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref t@1515) (expression float * (var_ref t@1515) (expression float + (constant float (3.000000)) (expression float neg (expression float * (constant float (2.000000)) (var_ref t@1515) ) ) ) ) ) ) ) ) (constant float (2.000000)) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) ) (assign (w) (var_ref t535) (constant float (0.000000)) ) (assign (xyz) (var_ref t535) (swiz xyz (var_ref textureLod_retval@1505) )) (assign (xyzw) (var_ref t15) (expression vec4 + (var_ref t15) (expression vec4 * (var_ref t535) (swiz xxxx (var_ref clamp_retval@1516) )) ) ) (assign (x) (var_ref t16) (expression float + (var_ref t16) (var_ref clamp_retval@1516) ) ) (assign (w) (var_ref t536) (constant float (1.000000)) ) (assign (xyz) (var_ref t536) (swiz xyz (var_ref textureLod_retval@1505) )) (assign (xyzw) (var_ref t14) (expression vec4 + (var_ref t14) (expression vec4 * (expression vec4 * (var_ref t536) (swiz xxxx (expression float + (constant float (1.000000)) (expression float neg (var_ref clamp_retval@1516) ) ) )) (swiz xxxx (expression float min (expression float max (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t14) )) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) ) ) ()) (assign (w) (var_ref t541) (constant float (1.000000)) ) (assign (xyz) (var_ref t541) (expression vec3 lrp (swiz xyz (var_ref t11) )(expression vec3 * (swiz xyz (var_ref t14) )(expression vec3 rcp (swiz www (var_ref t14) )) ) (swiz xxx (expression float min (expression float max (expression float + (expression float sqrt (expression float dot (var_ref t8) (var_ref t8) ) ) (expression float neg (expression float sqrt (expression float dot (var_ref conditional_tmp) (var_ref conditional_tmp) ) ) ) ) (constant float (0.000000)) ) (constant float (1.000000)) ) )) ) (assign (w) (var_ref t0) (var_ref clamp_retval) ) (assign (xyz) (var_ref t0) (expression vec3 * (swiz xyz (expression vec4 lrp (var_ref t541) (expression vec4 * (var_ref t15) (expression vec4 rcp (swiz xxxx (var_ref t16) )) ) (swiz xxxx (expression float * (var_ref t16) (constant float (0.062500)) ) )) )(swiz xxx (var_ref clamp_retval) )) ) )) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@1517) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 68: #version 150 uniform highp sampler2D ps1; uniform highp sampler2D ps0; in TEXCOORD0 { vec4 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; t1.xyzw = textureLod(ps1,in_TEXCOORD0.Data.xy,0); t0.xyz = ((textureLod(ps0,in_TEXCOORD0.Data.xy,0).xyz*vec3((1.000000e+000+(-t1.w))))+t1.xyz); t0.w = 0.000000e+000; out_Target0.xyzw = t0; } GLSL IR for shader 68: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (declare (temporary ) vec4 textureLod_retval) (call textureLod (var_ref textureLod_retval) ((var_ref ps1) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyzw) (var_ref t1) (var_ref textureLod_retval) ) (declare (temporary ) vec4 textureLod_retval@1518) (call textureLod (var_ref textureLod_retval@1518) ((var_ref ps0) (swiz xy (record_ref (var_ref in_TEXCOORD0) Data) )(constant float (0.000000)) )) (assign (xyz) (var_ref t0) (expression vec3 + (expression vec3 * (swiz xyz (var_ref textureLod_retval@1518) )(swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref t1) )) ) )) (swiz xyz (var_ref t1) )) ) (assign (w) (var_ref t0) (constant float (0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function textureLod (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) (declare (in ) float lod) ) ( )) ) ) GLSL IR for linked vertex program 69: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 Data) (declare (temporary ) vec4 Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t2) (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t2) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@1519) (assign (xyzw) (var_ref cse@1519) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t2) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@1519) )) ) ) (assign (xy) (var_ref t2) (expression vec2 * (swiz xy (var_ref t2) )(constant vec2 (1.000000 -1.000000)) ) ) (declare () vec4 cse@1520) (assign (xyzw) (var_ref cse@1520) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref t1) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@1520) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@1520) )) ) (swiz zw (var_ref cse@1519) )) ) (assign (zw) (var_ref t1) (swiz xy (var_ref t2) )) (assign (xw) (var_ref t0) (swiz xw (var_ref t2) )) (assign (xyzw) (var_ref Data) (var_ref t1) ) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t2) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (assign (xyzw) (var_ref gl_Position@1521) (var_ref gl_Position) ) (assign (xyzw) (var_ref Data@1522) (var_ref Data) ) )) ) ) GLSL IR for linked fragment program 69: ( (declare (shader_in ) vec4 Data) (declare (uniform ) sampler2D ps1) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t0) (declare (temporary ) vec4 textureLod_retval) (assign (xyzw) (var_ref textureLod_retval) (txl vec4 (var_ref ps1) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) )) (assign (xyz) (var_ref t0) (expression vec3 + (expression vec3 * (swiz xyz (txl vec4 (var_ref ps0) (swiz xy (var_ref Data) ) 0 1 () (constant float (0.000000)) ))(swiz xxx (expression float + (constant float (1.000000)) (expression float neg (swiz w (var_ref textureLod_retval) )) ) )) (swiz xyz (var_ref textureLod_retval) )) ) (assign (w) (var_ref t0) (constant float (0.000000)) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@1523) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 70: #version 150 uniform highp vec4 pu_h[1]; uniform highp sampler2D ps0; in TEXCOORD0 { vec2 Data; } in_TEXCOORD0; out highp vec4 out_Target0; void main() { highp vec4 t0; highp vec4 t1; t1.xyzw = ((((texture(ps0,(in_TEXCOORD0.Data+(pu_h[0].zw*vec2(-1.000000e+000,-1.000000e+000))))+texture(ps0,(in_TEXCOORD0.Data+(pu_h[0].zw*vec2(1.000000e+000,-1.000000e+000)))))+texture(ps0,(in_TEXCOORD0.Data+(pu_h[0].zw*vec2(-1.000000e+000,1.000000e+000)))))+texture(ps0,(in_TEXCOORD0.Data+pu_h[0].zw)))*vec4(2.500000e-001,2.500000e-001,2.500000e-001,2.500000e-001)); t0.xyzw = t1; t0.xyz = max(vec3(0.000000e+000,0.000000e+000,0.000000e+000),t1.xyz); out_Target0.xyzw = t0; } GLSL IR for shader 70: ( (declare (shader_in ) TEXCOORD0 in_TEXCOORD0) (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 1) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (declare (temporary ) vec4 texture_retval) (call texture (var_ref texture_retval) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 neg (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )) ) )) (declare (temporary ) vec4 texture_retval@1524) (call texture (var_ref texture_retval@1524) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 * (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )(constant vec2 (1.000000 -1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@1525) (call texture (var_ref texture_retval@1525) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (expression vec2 * (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )(constant vec2 (-1.000000 1.000000)) ) ) )) (declare (temporary ) vec4 texture_retval@1526) (call texture (var_ref texture_retval@1526) ((var_ref ps0) (expression vec2 + (record_ref (var_ref in_TEXCOORD0) Data) (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )) )) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 + (var_ref texture_retval) (var_ref texture_retval@1524) ) (expression vec4 + (var_ref texture_retval@1525) (var_ref texture_retval@1526) ) ) (constant vec4 (0.250000 0.250000 0.250000 0.250000)) ) ) (assign (xyzw) (var_ref t0) (var_ref t1) ) (declare (temporary ) vec3 max_retval) (call max (var_ref max_retval) ((constant vec3 (0.000000 0.000000 0.000000)) (swiz xyz (var_ref t1) ))) (assign (xyz) (var_ref t0) (var_ref max_retval) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) )) ) (function texture (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) vec2 P) ) ( )) ) (function max (signature vec3 (parameters (declare (in ) vec3 x) (declare (in ) vec3 y) ) ( )) ) ) GLSL IR for linked vertex program 71: ( (declare (shader_out ) vec4 gl_Position) (declare (temporary ) vec4 gl_Position) (declare (shader_out ) vec4 packed:Data) (declare (temporary ) vec4 packed:Data) (declare (uniform ) vec4 DrawRectangleParameters_InvTargetSizeAndTextureSizevb0) (declare (uniform ) vec4 DrawRectangleParameters_UVScaleBiasvb0) (declare (uniform ) vec4 DrawRectangleParameters_PosScaleBiasvb0) (declare (shader_in ) vec4 in_ATTRIBUTE0) (declare (shader_in ) vec2 in_ATTRIBUTE1) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (zw) (var_ref t1) (swiz zw (var_ref in_ATTRIBUTE0) )) (declare () vec4 cse) (assign (xyzw) (var_ref cse) (expression vec4 ubo_load (constant uint (0)) (constant uint (0)) ) ) (declare () vec4 cse@1527) (assign (xyzw) (var_ref cse@1527) (expression vec4 ubo_load (constant uint (0)) (constant uint (32)) ) ) (assign (xy) (var_ref t1) (expression vec2 + (constant vec2 (-1.000000 -1.000000)) (expression vec2 * (expression vec2 * (constant vec2 (2.000000 2.000000)) (expression vec2 + (swiz zw (var_ref cse) )(expression vec2 * (swiz xy (var_ref in_ATTRIBUTE0) )(swiz xy (var_ref cse) )) ) ) (swiz xy (var_ref cse@1527) )) ) ) (assign (xy) (var_ref t1) (expression vec2 * (swiz xy (var_ref t1) )(constant vec2 (1.000000 -1.000000)) ) ) (assign (xw) (var_ref t0) (swiz xw (var_ref t1) )) (assign (y) (var_ref t0) (expression float neg (swiz y (var_ref t1) )) ) (assign (z) (var_ref t0) (expression float + (expression float * (constant float (2.000000)) (swiz z (var_ref in_ATTRIBUTE0) )) (expression float neg (swiz w (var_ref in_ATTRIBUTE0) )) ) ) (assign (xyzw) (var_ref gl_Position) (var_ref t0) ) (declare () vec4 cse@1528) (assign (xyzw) (var_ref cse@1528) (expression vec4 ubo_load (constant uint (0)) (constant uint (16)) ) ) (assign (xy) (var_ref packed:Data) (expression vec2 * (expression vec2 + (swiz zw (var_ref cse@1528) )(expression vec2 * (var_ref in_ATTRIBUTE1) (swiz xy (var_ref cse@1528) )) ) (swiz zw (var_ref cse@1527) )) ) (assign (xyzw) (var_ref packed:Data@1529) (var_ref packed:Data) ) (assign (xyzw) (var_ref gl_Position@1530) (var_ref gl_Position) ) )) ) ) GLSL IR for linked fragment program 71: ( (declare (shader_in ) vec4 packed:Data) (declare (uniform ) (array vec4 1) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) vec4 out_Target0) (declare (temporary ) vec4 out_Target0) (function main (signature void (parameters ) ( (declare () vec4 t1) (declare () vec4 t0) (assign (xyzw) (var_ref t1) (expression vec4 * (expression vec4 + (expression vec4 + (tex vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 neg (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )) ) 0 1 () )(tex vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 * (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )(constant vec2 (1.000000 -1.000000)) ) ) 0 1 () )) (expression vec4 + (tex vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(expression vec2 * (swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )(constant vec2 (-1.000000 1.000000)) ) ) 0 1 () )(tex vec4 (var_ref ps0) (expression vec2 + (swiz xy (var_ref packed:Data) )(swiz zw (array_ref (var_ref pu_h) (constant int (0)) ) )) 0 1 () )) ) (constant vec4 (0.250000 0.250000 0.250000 0.250000)) ) ) (assign (w) (var_ref t0) (swiz w (var_ref t1) )) (assign (xyz) (var_ref t0) (expression vec3 max (constant vec3 (0.000000 0.000000 0.000000)) (swiz xyz (var_ref t1) )) ) (assign (xyzw) (var_ref out_Target0) (var_ref t0) ) (assign (xyzw) (var_ref out_Target0@1531) (var_ref out_Target0) ) )) ) ) GLSL source for fragment shader 72: #version 150 uniform highp vec4 pu_h[3]; uniform highp sampler2D ps0; out highp float out_Target0; void main() { highp float t0; t0 = 0.000000e+000; uint t1; t1 = 0u; for (;t1<64u;) { ivec3 t2; t2.yz = ivec2(0,0); t2.x = int((t1/4u)); highp vec4 t3; t3.xyzw = texelFetch(ps0,t2.xy,0); uint t4; t4 = ((t1)%(4u)); highp float t5; if ((t4==1u)) { t5 = t3.y; } else { t5 = t3.x; } highp float t6; if ((t4==2u)) { t6 = t3.z; } else { t6 = t5; } highp float t7; if ((t4==3u)) { t7 = t3.w; } else { t7 = t6; } t0 = (t0+t7); t1 = (t1+1u); } highp float t8; t8 = (t0*pu_h[0].x); highp float t9; t9 = (t0*pu_h[0].y); highp vec2 t10; highp vec4 t11; t11.xyzw = texelFetch(ps0,ivec2(0,0),0); highp float t12; t12 = min(t11.x,t8); t8 = (t8+(-t12)); highp float t13; t13 = (t9+(-t12)); highp float t14; t14 = min((t11.x+(-t12)),t13); t9 = (t13+(-t14)); highp vec2 t15; t15.y = 1.000000e+000; t15.x = exp2(((-pu_h[2].y)/pu_h[2].x)); t10.xy = (t15*vec2(t14)); highp vec4 t16; t16.xyzw = texelFetch(ps0,ivec2(0,0),0); highp float t17; t17 = min(t16.y,t8); t8 = (t8+(-t17)); highp float t18; t18 = (t9+(-t17)); highp float t19; t19 = min((t16.y+(-t17)),t18); t9 = (t18+(-t19)); highp vec2 t20; t20.y = 1.000000e+000; t20.x = exp2(((1.562500e-002+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t20*vec2(t19))); highp vec4 t21; t21.xyzw = texelFetch(ps0,ivec2(0,0),0); highp float t22; t22 = min(t21.z,t8); t8 = (t8+(-t22)); highp float t23; t23 = (t9+(-t22)); highp float t24; t24 = min((t21.z+(-t22)),t23); t9 = (t23+(-t24)); highp vec2 t25; t25.y = 1.000000e+000; t25.x = exp2(((3.125000e-002+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t25*vec2(t24))); highp vec4 t26; t26.xyzw = texelFetch(ps0,ivec2(0,0),0); highp float t27; t27 = min(t26.w,t8); t8 = (t8+(-t27)); highp float t28; t28 = (t9+(-t27)); highp float t29; t29 = min((t26.w+(-t27)),t28); t9 = (t28+(-t29)); highp vec2 t30; t30.y = 1.000000e+000; t30.x = exp2(((4.687500e-002+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t30*vec2(t29))); highp vec4 t31; t31.xyzw = texelFetch(ps0,ivec2(1,0),0); highp float t32; t32 = min(t31.x,t8); t8 = (t8+(-t32)); highp float t33; t33 = (t9+(-t32)); highp float t34; t34 = min((t31.x+(-t32)),t33); t9 = (t33+(-t34)); highp vec2 t35; t35.y = 1.000000e+000; t35.x = exp2(((6.250000e-002+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t35*vec2(t34))); highp vec4 t36; t36.xyzw = texelFetch(ps0,ivec2(1,0),0); highp float t37; t37 = min(t36.y,t8); t8 = (t8+(-t37)); highp float t38; t38 = (t9+(-t37)); highp float t39; t39 = min((t36.y+(-t37)),t38); t9 = (t38+(-t39)); highp vec2 t40; t40.y = 1.000000e+000; t40.x = exp2(((7.812500e-002+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t40*vec2(t39))); highp vec4 t41; t41.xyzw = texelFetch(ps0,ivec2(1,0),0); highp float t42; t42 = min(t41.z,t8); t8 = (t8+(-t42)); highp float t43; t43 = (t9+(-t42)); highp float t44; t44 = min((t41.z+(-t42)),t43); t9 = (t43+(-t44)); highp vec2 t45; t45.y = 1.000000e+000; t45.x = exp2(((9.375000e-002+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t45*vec2(t44))); highp vec4 t46; t46.xyzw = texelFetch(ps0,ivec2(1,0),0); highp float t47; t47 = min(t46.w,t8); t8 = (t8+(-t47)); highp float t48; t48 = (t9+(-t47)); highp float t49; t49 = min((t46.w+(-t47)),t48); t9 = (t48+(-t49)); highp vec2 t50; t50.y = 1.000000e+000; t50.x = exp2(((1.093750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t50*vec2(t49))); highp vec4 t51; t51.xyzw = texelFetch(ps0,ivec2(2,0),0); highp float t52; t52 = min(t51.x,t8); t8 = (t8+(-t52)); highp float t53; t53 = (t9+(-t52)); highp float t54; t54 = min((t51.x+(-t52)),t53); t9 = (t53+(-t54)); highp vec2 t55; t55.y = 1.000000e+000; t55.x = exp2(((1.250000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t55*vec2(t54))); highp vec4 t56; t56.xyzw = texelFetch(ps0,ivec2(2,0),0); highp float t57; t57 = min(t56.y,t8); t8 = (t8+(-t57)); highp float t58; t58 = (t9+(-t57)); highp float t59; t59 = min((t56.y+(-t57)),t58); t9 = (t58+(-t59)); highp vec2 t60; t60.y = 1.000000e+000; t60.x = exp2(((1.406250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t60*vec2(t59))); highp vec4 t61; t61.xyzw = texelFetch(ps0,ivec2(2,0),0); highp float t62; t62 = min(t61.z,t8); t8 = (t8+(-t62)); highp float t63; t63 = (t9+(-t62)); highp float t64; t64 = min((t61.z+(-t62)),t63); t9 = (t63+(-t64)); highp vec2 t65; t65.y = 1.000000e+000; t65.x = exp2(((1.562500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t65*vec2(t64))); highp vec4 t66; t66.xyzw = texelFetch(ps0,ivec2(2,0),0); highp float t67; t67 = min(t66.w,t8); t8 = (t8+(-t67)); highp float t68; t68 = (t9+(-t67)); highp float t69; t69 = min((t66.w+(-t67)),t68); t9 = (t68+(-t69)); highp vec2 t70; t70.y = 1.000000e+000; t70.x = exp2(((1.718750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t70*vec2(t69))); highp vec4 t71; t71.xyzw = texelFetch(ps0,ivec2(3,0),0); highp float t72; t72 = min(t71.x,t8); t8 = (t8+(-t72)); highp float t73; t73 = (t9+(-t72)); highp float t74; t74 = min((t71.x+(-t72)),t73); t9 = (t73+(-t74)); highp vec2 t75; t75.y = 1.000000e+000; t75.x = exp2(((1.875000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t75*vec2(t74))); highp vec4 t76; t76.xyzw = texelFetch(ps0,ivec2(3,0),0); highp float t77; t77 = min(t76.y,t8); t8 = (t8+(-t77)); highp float t78; t78 = (t9+(-t77)); highp float t79; t79 = min((t76.y+(-t77)),t78); t9 = (t78+(-t79)); highp vec2 t80; t80.y = 1.000000e+000; t80.x = exp2(((2.031250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t80*vec2(t79))); highp vec4 t81; t81.xyzw = texelFetch(ps0,ivec2(3,0),0); highp float t82; t82 = min(t81.z,t8); t8 = (t8+(-t82)); highp float t83; t83 = (t9+(-t82)); highp float t84; t84 = min((t81.z+(-t82)),t83); t9 = (t83+(-t84)); highp vec2 t85; t85.y = 1.000000e+000; t85.x = exp2(((2.187500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t85*vec2(t84))); highp vec4 t86; t86.xyzw = texelFetch(ps0,ivec2(3,0),0); highp float t87; t87 = min(t86.w,t8); t8 = (t8+(-t87)); highp float t88; t88 = (t9+(-t87)); highp float t89; t89 = min((t86.w+(-t87)),t88); t9 = (t88+(-t89)); highp vec2 t90; t90.y = 1.000000e+000; t90.x = exp2(((2.343750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t90*vec2(t89))); highp vec4 t91; t91.xyzw = texelFetch(ps0,ivec2(4,0),0); highp float t92; t92 = min(t91.x,t8); t8 = (t8+(-t92)); highp float t93; t93 = (t9+(-t92)); highp float t94; t94 = min((t91.x+(-t92)),t93); t9 = (t93+(-t94)); highp vec2 t95; t95.y = 1.000000e+000; t95.x = exp2(((2.500000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t95*vec2(t94))); highp vec4 t96; t96.xyzw = texelFetch(ps0,ivec2(4,0),0); highp float t97; t97 = min(t96.y,t8); t8 = (t8+(-t97)); highp float t98; t98 = (t9+(-t97)); highp float t99; t99 = min((t96.y+(-t97)),t98); t9 = (t98+(-t99)); highp vec2 t100; t100.y = 1.000000e+000; t100.x = exp2(((2.656250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t100*vec2(t99))); highp vec4 t101; t101.xyzw = texelFetch(ps0,ivec2(4,0),0); highp float t102; t102 = min(t101.z,t8); t8 = (t8+(-t102)); highp float t103; t103 = (t9+(-t102)); highp float t104; t104 = min((t101.z+(-t102)),t103); t9 = (t103+(-t104)); highp vec2 t105; t105.y = 1.000000e+000; t105.x = exp2(((2.812500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t105*vec2(t104))); highp vec4 t106; t106.xyzw = texelFetch(ps0,ivec2(4,0),0); highp float t107; t107 = min(t106.w,t8); t8 = (t8+(-t107)); highp float t108; t108 = (t9+(-t107)); highp float t109; t109 = min((t106.w+(-t107)),t108); t9 = (t108+(-t109)); highp vec2 t110; t110.y = 1.000000e+000; t110.x = exp2(((2.968750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t110*vec2(t109))); highp vec4 t111; t111.xyzw = texelFetch(ps0,ivec2(5,0),0); highp float t112; t112 = min(t111.x,t8); t8 = (t8+(-t112)); highp float t113; t113 = (t9+(-t112)); highp float t114; t114 = min((t111.x+(-t112)),t113); t9 = (t113+(-t114)); highp vec2 t115; t115.y = 1.000000e+000; t115.x = exp2(((3.125000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t115*vec2(t114))); highp vec4 t116; t116.xyzw = texelFetch(ps0,ivec2(5,0),0); highp float t117; t117 = min(t116.y,t8); t8 = (t8+(-t117)); highp float t118; t118 = (t9+(-t117)); highp float t119; t119 = min((t116.y+(-t117)),t118); t9 = (t118+(-t119)); highp vec2 t120; t120.y = 1.000000e+000; t120.x = exp2(((3.281250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t120*vec2(t119))); highp vec4 t121; t121.xyzw = texelFetch(ps0,ivec2(5,0),0); highp float t122; t122 = min(t121.z,t8); t8 = (t8+(-t122)); highp float t123; t123 = (t9+(-t122)); highp float t124; t124 = min((t121.z+(-t122)),t123); t9 = (t123+(-t124)); highp vec2 t125; t125.y = 1.000000e+000; t125.x = exp2(((3.437500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t125*vec2(t124))); highp vec4 t126; t126.xyzw = texelFetch(ps0,ivec2(5,0),0); highp float t127; t127 = min(t126.w,t8); t8 = (t8+(-t127)); highp float t128; t128 = (t9+(-t127)); highp float t129; t129 = min((t126.w+(-t127)),t128); t9 = (t128+(-t129)); highp vec2 t130; t130.y = 1.000000e+000; t130.x = exp2(((3.593750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t130*vec2(t129))); highp vec4 t131; t131.xyzw = texelFetch(ps0,ivec2(6,0),0); highp float t132; t132 = min(t131.x,t8); t8 = (t8+(-t132)); highp float t133; t133 = (t9+(-t132)); highp float t134; t134 = min((t131.x+(-t132)),t133); t9 = (t133+(-t134)); highp vec2 t135; t135.y = 1.000000e+000; t135.x = exp2(((3.750000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t135*vec2(t134))); highp vec4 t136; t136.xyzw = texelFetch(ps0,ivec2(6,0),0); highp float t137; t137 = min(t136.y,t8); t8 = (t8+(-t137)); highp float t138; t138 = (t9+(-t137)); highp float t139; t139 = min((t136.y+(-t137)),t138); t9 = (t138+(-t139)); highp vec2 t140; t140.y = 1.000000e+000; t140.x = exp2(((3.906250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t140*vec2(t139))); highp vec4 t141; t141.xyzw = texelFetch(ps0,ivec2(6,0),0); highp float t142; t142 = min(t141.z,t8); t8 = (t8+(-t142)); highp float t143; t143 = (t9+(-t142)); highp float t144; t144 = min((t141.z+(-t142)),t143); t9 = (t143+(-t144)); highp vec2 t145; t145.y = 1.000000e+000; t145.x = exp2(((4.062500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t145*vec2(t144))); highp vec4 t146; t146.xyzw = texelFetch(ps0,ivec2(6,0),0); highp float t147; t147 = min(t146.w,t8); t8 = (t8+(-t147)); highp float t148; t148 = (t9+(-t147)); highp float t149; t149 = min((t146.w+(-t147)),t148); t9 = (t148+(-t149)); highp vec2 t150; t150.y = 1.000000e+000; t150.x = exp2(((4.218750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t150*vec2(t149))); highp vec4 t151; t151.xyzw = texelFetch(ps0,ivec2(7,0),0); highp float t152; t152 = min(t151.x,t8); t8 = (t8+(-t152)); highp float t153; t153 = (t9+(-t152)); highp float t154; t154 = min((t151.x+(-t152)),t153); t9 = (t153+(-t154)); highp vec2 t155; t155.y = 1.000000e+000; t155.x = exp2(((4.375000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t155*vec2(t154))); highp vec4 t156; t156.xyzw = texelFetch(ps0,ivec2(7,0),0); highp float t157; t157 = min(t156.y,t8); t8 = (t8+(-t157)); highp float t158; t158 = (t9+(-t157)); highp float t159; t159 = min((t156.y+(-t157)),t158); t9 = (t158+(-t159)); highp vec2 t160; t160.y = 1.000000e+000; t160.x = exp2(((4.531250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t160*vec2(t159))); highp vec4 t161; t161.xyzw = texelFetch(ps0,ivec2(7,0),0); highp float t162; t162 = min(t161.z,t8); t8 = (t8+(-t162)); highp float t163; t163 = (t9+(-t162)); highp float t164; t164 = min((t161.z+(-t162)),t163); t9 = (t163+(-t164)); highp vec2 t165; t165.y = 1.000000e+000; t165.x = exp2(((4.687500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t165*vec2(t164))); highp vec4 t166; t166.xyzw = texelFetch(ps0,ivec2(7,0),0); highp float t167; t167 = min(t166.w,t8); t8 = (t8+(-t167)); highp float t168; t168 = (t9+(-t167)); highp float t169; t169 = min((t166.w+(-t167)),t168); t9 = (t168+(-t169)); highp vec2 t170; t170.y = 1.000000e+000; t170.x = exp2(((4.843750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t170*vec2(t169))); highp vec4 t171; t171.xyzw = texelFetch(ps0,ivec2(8,0),0); highp float t172; t172 = min(t171.x,t8); t8 = (t8+(-t172)); highp float t173; t173 = (t9+(-t172)); highp float t174; t174 = min((t171.x+(-t172)),t173); t9 = (t173+(-t174)); highp vec2 t175; t175.y = 1.000000e+000; t175.x = exp2(((5.000000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t175*vec2(t174))); highp vec4 t176; t176.xyzw = texelFetch(ps0,ivec2(8,0),0); highp float t177; t177 = min(t176.y,t8); t8 = (t8+(-t177)); highp float t178; t178 = (t9+(-t177)); highp float t179; t179 = min((t176.y+(-t177)),t178); t9 = (t178+(-t179)); highp vec2 t180; t180.y = 1.000000e+000; t180.x = exp2(((5.156250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t180*vec2(t179))); highp vec4 t181; t181.xyzw = texelFetch(ps0,ivec2(8,0),0); highp float t182; t182 = min(t181.z,t8); t8 = (t8+(-t182)); highp float t183; t183 = (t9+(-t182)); highp float t184; t184 = min((t181.z+(-t182)),t183); t9 = (t183+(-t184)); highp vec2 t185; t185.y = 1.000000e+000; t185.x = exp2(((5.312500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t185*vec2(t184))); highp vec4 t186; t186.xyzw = texelFetch(ps0,ivec2(8,0),0); highp float t187; t187 = min(t186.w,t8); t8 = (t8+(-t187)); highp float t188; t188 = (t9+(-t187)); highp float t189; t189 = min((t186.w+(-t187)),t188); t9 = (t188+(-t189)); highp vec2 t190; t190.y = 1.000000e+000; t190.x = exp2(((5.468750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t190*vec2(t189))); highp vec4 t191; t191.xyzw = texelFetch(ps0,ivec2(9,0),0); highp float t192; t192 = min(t191.x,t8); t8 = (t8+(-t192)); highp float t193; t193 = (t9+(-t192)); highp float t194; t194 = min((t191.x+(-t192)),t193); t9 = (t193+(-t194)); highp vec2 t195; t195.y = 1.000000e+000; t195.x = exp2(((5.625000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t195*vec2(t194))); highp vec4 t196; t196.xyzw = texelFetch(ps0,ivec2(9,0),0); highp float t197; t197 = min(t196.y,t8); t8 = (t8+(-t197)); highp float t198; t198 = (t9+(-t197)); highp float t199; t199 = min((t196.y+(-t197)),t198); t9 = (t198+(-t199)); highp vec2 t200; t200.y = 1.000000e+000; t200.x = exp2(((5.781250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t200*vec2(t199))); highp vec4 t201; t201.xyzw = texelFetch(ps0,ivec2(9,0),0); highp float t202; t202 = min(t201.z,t8); t8 = (t8+(-t202)); highp float t203; t203 = (t9+(-t202)); highp float t204; t204 = min((t201.z+(-t202)),t203); t9 = (t203+(-t204)); highp vec2 t205; t205.y = 1.000000e+000; t205.x = exp2(((5.937500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t205*vec2(t204))); highp vec4 t206; t206.xyzw = texelFetch(ps0,ivec2(9,0),0); highp float t207; t207 = min(t206.w,t8); t8 = (t8+(-t207)); highp float t208; t208 = (t9+(-t207)); highp float t209; t209 = min((t206.w+(-t207)),t208); t9 = (t208+(-t209)); highp vec2 t210; t210.y = 1.000000e+000; t210.x = exp2(((6.093750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t210*vec2(t209))); highp vec4 t211; t211.xyzw = texelFetch(ps0,ivec2(10,0),0); highp float t212; t212 = min(t211.x,t8); t8 = (t8+(-t212)); highp float t213; t213 = (t9+(-t212)); highp float t214; t214 = min((t211.x+(-t212)),t213); t9 = (t213+(-t214)); highp vec2 t215; t215.y = 1.000000e+000; t215.x = exp2(((6.250000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t215*vec2(t214))); highp vec4 t216; t216.xyzw = texelFetch(ps0,ivec2(10,0),0); highp float t217; t217 = min(t216.y,t8); t8 = (t8+(-t217)); highp float t218; t218 = (t9+(-t217)); highp float t219; t219 = min((t216.y+(-t217)),t218); t9 = (t218+(-t219)); highp vec2 t220; t220.y = 1.000000e+000; t220.x = exp2(((6.406250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t220*vec2(t219))); highp vec4 t221; t221.xyzw = texelFetch(ps0,ivec2(10,0),0); highp float t222; t222 = min(t221.z,t8); t8 = (t8+(-t222)); highp float t223; t223 = (t9+(-t222)); highp float t224; t224 = min((t221.z+(-t222)),t223); t9 = (t223+(-t224)); highp vec2 t225; t225.y = 1.000000e+000; t225.x = exp2(((6.562500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t225*vec2(t224))); highp vec4 t226; t226.xyzw = texelFetch(ps0,ivec2(10,0),0); highp float t227; t227 = min(t226.w,t8); t8 = (t8+(-t227)); highp float t228; t228 = (t9+(-t227)); highp float t229; t229 = min((t226.w+(-t227)),t228); t9 = (t228+(-t229)); highp vec2 t230; t230.y = 1.000000e+000; t230.x = exp2(((6.718750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t230*vec2(t229))); highp vec4 t231; t231.xyzw = texelFetch(ps0,ivec2(11,0),0); highp float t232; t232 = min(t231.x,t8); t8 = (t8+(-t232)); highp float t233; t233 = (t9+(-t232)); highp float t234; t234 = min((t231.x+(-t232)),t233); t9 = (t233+(-t234)); highp vec2 t235; t235.y = 1.000000e+000; t235.x = exp2(((6.875000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t235*vec2(t234))); highp vec4 t236; t236.xyzw = texelFetch(ps0,ivec2(11,0),0); highp float t237; t237 = min(t236.y,t8); t8 = (t8+(-t237)); highp float t238; t238 = (t9+(-t237)); highp float t239; t239 = min((t236.y+(-t237)),t238); t9 = (t238+(-t239)); highp vec2 t240; t240.y = 1.000000e+000; t240.x = exp2(((7.031250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t240*vec2(t239))); highp vec4 t241; t241.xyzw = texelFetch(ps0,ivec2(11,0),0); highp float t242; t242 = min(t241.z,t8); t8 = (t8+(-t242)); highp float t243; t243 = (t9+(-t242)); highp float t244; t244 = min((t241.z+(-t242)),t243); t9 = (t243+(-t244)); highp vec2 t245; t245.y = 1.000000e+000; t245.x = exp2(((7.187500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t245*vec2(t244))); highp vec4 t246; t246.xyzw = texelFetch(ps0,ivec2(11,0),0); highp float t247; t247 = min(t246.w,t8); t8 = (t8+(-t247)); highp float t248; t248 = (t9+(-t247)); highp float t249; t249 = min((t246.w+(-t247)),t248); t9 = (t248+(-t249)); highp vec2 t250; t250.y = 1.000000e+000; t250.x = exp2(((7.343750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t250*vec2(t249))); highp vec4 t251; t251.xyzw = texelFetch(ps0,ivec2(12,0),0); highp float t252; t252 = min(t251.x,t8); t8 = (t8+(-t252)); highp float t253; t253 = (t9+(-t252)); highp float t254; t254 = min((t251.x+(-t252)),t253); t9 = (t253+(-t254)); highp vec2 t255; t255.y = 1.000000e+000; t255.x = exp2(((7.500000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t255*vec2(t254))); highp vec4 t256; t256.xyzw = texelFetch(ps0,ivec2(12,0),0); highp float t257; t257 = min(t256.y,t8); t8 = (t8+(-t257)); highp float t258; t258 = (t9+(-t257)); highp float t259; t259 = min((t256.y+(-t257)),t258); t9 = (t258+(-t259)); highp vec2 t260; t260.y = 1.000000e+000; t260.x = exp2(((7.656250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t260*vec2(t259))); highp vec4 t261; t261.xyzw = texelFetch(ps0,ivec2(12,0),0); highp float t262; t262 = min(t261.z,t8); t8 = (t8+(-t262)); highp float t263; t263 = (t9+(-t262)); highp float t264; t264 = min((t261.z+(-t262)),t263); t9 = (t263+(-t264)); highp vec2 t265; t265.y = 1.000000e+000; t265.x = exp2(((7.812500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t265*vec2(t264))); highp vec4 t266; t266.xyzw = texelFetch(ps0,ivec2(12,0),0); highp float t267; t267 = min(t266.w,t8); t8 = (t8+(-t267)); highp float t268; t268 = (t9+(-t267)); highp float t269; t269 = min((t266.w+(-t267)),t268); t9 = (t268+(-t269)); highp vec2 t270; t270.y = 1.000000e+000; t270.x = exp2(((7.968750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t270*vec2(t269))); highp vec4 t271; t271.xyzw = texelFetch(ps0,ivec2(13,0),0); highp float t272; t272 = min(t271.x,t8); t8 = (t8+(-t272)); highp float t273; t273 = (t9+(-t272)); highp float t274; t274 = min((t271.x+(-t272)),t273); t9 = (t273+(-t274)); highp vec2 t275; t275.y = 1.000000e+000; t275.x = exp2(((8.125000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t275*vec2(t274))); highp vec4 t276; t276.xyzw = texelFetch(ps0,ivec2(13,0),0); highp float t277; t277 = min(t276.y,t8); t8 = (t8+(-t277)); highp float t278; t278 = (t9+(-t277)); highp float t279; t279 = min((t276.y+(-t277)),t278); t9 = (t278+(-t279)); highp vec2 t280; t280.y = 1.000000e+000; t280.x = exp2(((8.281250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t280*vec2(t279))); highp vec4 t281; t281.xyzw = texelFetch(ps0,ivec2(13,0),0); highp float t282; t282 = min(t281.z,t8); t8 = (t8+(-t282)); highp float t283; t283 = (t9+(-t282)); highp float t284; t284 = min((t281.z+(-t282)),t283); t9 = (t283+(-t284)); highp vec2 t285; t285.y = 1.000000e+000; t285.x = exp2(((8.437500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t285*vec2(t284))); highp vec4 t286; t286.xyzw = texelFetch(ps0,ivec2(13,0),0); highp float t287; t287 = min(t286.w,t8); t8 = (t8+(-t287)); highp float t288; t288 = (t9+(-t287)); highp float t289; t289 = min((t286.w+(-t287)),t288); t9 = (t288+(-t289)); highp vec2 t290; t290.y = 1.000000e+000; t290.x = exp2(((8.593750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t290*vec2(t289))); highp vec4 t291; t291.xyzw = texelFetch(ps0,ivec2(14,0),0); highp float t292; t292 = min(t291.x,t8); t8 = (t8+(-t292)); highp float t293; t293 = (t9+(-t292)); highp float t294; t294 = min((t291.x+(-t292)),t293); t9 = (t293+(-t294)); highp vec2 t295; t295.y = 1.000000e+000; t295.x = exp2(((8.750000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t295*vec2(t294))); highp vec4 t296; t296.xyzw = texelFetch(ps0,ivec2(14,0),0); highp float t297; t297 = min(t296.y,t8); t8 = (t8+(-t297)); highp float t298; t298 = (t9+(-t297)); highp float t299; t299 = min((t296.y+(-t297)),t298); t9 = (t298+(-t299)); highp vec2 t300; t300.y = 1.000000e+000; t300.x = exp2(((8.906250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t300*vec2(t299))); highp vec4 t301; t301.xyzw = texelFetch(ps0,ivec2(14,0),0); highp float t302; t302 = min(t301.z,t8); t8 = (t8+(-t302)); highp float t303; t303 = (t9+(-t302)); highp float t304; t304 = min((t301.z+(-t302)),t303); t9 = (t303+(-t304)); highp vec2 t305; t305.y = 1.000000e+000; t305.x = exp2(((9.062500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t305*vec2(t304))); highp vec4 t306; t306.xyzw = texelFetch(ps0,ivec2(14,0),0); highp float t307; t307 = min(t306.w,t8); t8 = (t8+(-t307)); highp float t308; t308 = (t9+(-t307)); highp float t309; t309 = min((t306.w+(-t307)),t308); t9 = (t308+(-t309)); highp vec2 t310; t310.y = 1.000000e+000; t310.x = exp2(((9.218750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t310*vec2(t309))); highp vec4 t311; t311.xyzw = texelFetch(ps0,ivec2(15,0),0); highp float t312; t312 = min(t311.x,t8); t8 = (t8+(-t312)); highp float t313; t313 = (t9+(-t312)); highp float t314; t314 = min((t311.x+(-t312)),t313); t9 = (t313+(-t314)); highp vec2 t315; t315.y = 1.000000e+000; t315.x = exp2(((9.375000e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t315*vec2(t314))); highp vec4 t316; t316.xyzw = texelFetch(ps0,ivec2(15,0),0); highp float t317; t317 = min(t316.y,t8); t8 = (t8+(-t317)); highp float t318; t318 = (t9+(-t317)); highp float t319; t319 = min((t316.y+(-t317)),t318); t9 = (t318+(-t319)); highp vec2 t320; t320.y = 1.000000e+000; t320.x = exp2(((9.531250e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t320*vec2(t319))); highp vec4 t321; t321.xyzw = texelFetch(ps0,ivec2(15,0),0); highp float t322; t322 = min(t321.z,t8); t8 = (t8+(-t322)); highp float t323; t323 = (t9+(-t322)); highp float t324; t324 = min((t321.z+(-t322)),t323); t9 = (t323+(-t324)); highp vec2 t325; t325.y = 1.000000e+000; t325.x = exp2(((9.687500e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t325*vec2(t324))); highp vec4 t326; t326.xyzw = texelFetch(ps0,ivec2(15,0),0); highp float t327; t327 = min(t326.w,t8); highp vec2 t328; t328.y = 1.000000e+000; t328.x = exp2(((9.843750e-001+(-pu_h[2].y))/pu_h[2].x)); t10.xy = (t10+(t328*vec2(min((t326.w+(-t327)),(t9+(-t327)))))); highp float t329; t329 = clamp((t10.x/max(1.000000e-004,t10.y)),pu_h[0].z,pu_h[0].w); highp float t330; t330 = texelFetch(ps0,ivec2(0,1),0).x; highp float t331; t331 = ((t330!=0.000000e+000))?(t330):(1.000000e+000); highp float t332; t332 = (pu_h[1].x/t331); highp float t333; t333 = (t329+(-t332)); highp float t334; if ((t333>0.000000e+000)) { t334 = pu_h[1].z; } else { t334 = pu_h[1].w; } out_Target0 = ((1.0/(max(1.000000e-004,clamp((t332+(t333*(1.000000e+000+(-exp2(((-pu_h[1].y)*t334)))))),pu_h[0].z,pu_h[0].w))))*pu_h[1].x); } GLSL IR for shader 72: ( (declare (shader_out ) float gl_FragDepth) (declare (shader_out ) (array vec4 8) gl_FragData) (declare (shader_out ) vec4 gl_FragColor) (declare (shader_in flat) int gl_PrimitiveID) (declare (shader_in ) vec2 gl_PointCoord) (declare (shader_in ) bool gl_FrontFacing) (declare (shader_in ) vec4 gl_FragCoord) (declare (shader_in ) (array float 0) gl_ClipDistance) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxGeometryVaryingComponents) (declare () int gl_MaxGeometryUniformComponents) (declare () int gl_MaxGeometryTotalOutputComponents) (declare () int gl_MaxGeometryOutputVertices) (declare () int gl_MaxGeometryTextureImageUnits) (declare () int gl_MaxFragmentInputComponents) (declare () int gl_MaxGeometryOutputComponents) (declare () int gl_MaxGeometryInputComponents) (declare () int gl_MaxVertexOutputComponents) (declare () int gl_MaxVaryingComponents) (declare () int gl_MaxClipDistances) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (uniform ) (array vec4 3) pu_h) (declare (uniform ) sampler2D ps0) (declare (shader_out ) float out_Target0) (function main (signature void (parameters ) ( (declare () float t334) (declare () float t333) (declare () float t332) (declare () float t330) (declare () float t329) (declare () vec2 t328) (declare () float t327) (declare () vec4 t326) (declare () vec2 t325) (declare () float t324) (declare () float t323) (declare () vec4 t321) (declare () vec2 t320) (declare () float t319) (declare () float t318) (declare () vec4 t316) (declare () vec2 t315) (declare () float t314) (declare () float t313) (declare () vec4 t311) (declare () vec2 t310) (declare () float t309) (declare () float t308) (declare () vec4 t306) (declare () vec2 t305) (declare () float t304) (declare () float t303) (declare () vec4 t301) (declare () vec2 t300) (declare () float t299) (declare () float t298) (declare () vec4 t296) (declare () vec2 t295) (declare () float t294) (declare () float t293) (declare () vec4 t291) (declare () vec2 t290) (declare () float t289) (declare () float t288) (declare () vec4 t286) (declare () vec2 t285) (declare () float t284) (declare () float t283) (declare () vec4 t281) (declare () vec2 t280) (declare () float t279) (declare () float t278) (declare () vec4 t276) (declare () vec2 t275) (declare () float t274) (declare () float t273) (declare () vec4 t271) (declare () vec2 t270) (declare () float t269) (declare () float t268) (declare () vec4 t266) (declare () vec2 t265) (declare () float t264) (declare () float t263) (declare () vec4 t261) (declare () vec2 t260) (declare () float t259) (declare () float t258) (declare () vec4 t256) (declare () vec2 t255) (declare () float t254) (declare () float t253) (declare () vec4 t251) (declare () vec2 t250) (declare () float t249) (declare () float t248) (declare () vec4 t246) (declare () vec2 t245) (declare () float t244) (declare () float t243) (declare () vec4 t241) (declare () vec2 t240) (declare () float t239) (declare () float t238) (declare () vec4 t236) (declare () vec2 t235) (declare () float t234) (declare () float t233) (declare () vec4 t231) (declare () vec2 t230) (declare () float t229) (declare () float t228) (declare () vec4 t226) (declare () vec2 t225) (declare () float t224) (declare () float t223) (declare () vec4 t221) (declare () vec2 t220) (declare () float t219) (declare () float t218) (declare () vec4 t216) (declare () vec2 t215) (declare () float t214) (declare () float t213) (declare () vec4 t211) (declare () vec2 t210) (declare () float t209) (declare () float t208) (declare () vec4 t206) (declare () vec2 t205) (declare () float t204) (declare () float t203) (declare () vec4 t201) (declare () vec2 t200) (declare () float t199) (declare () float t198) (declare () vec4 t196) (declare () vec2 t195) (declare () float t194) (declare () float t193) (declare () vec4 t191) (declare () vec2 t190) (declare () float t189) (declare () float t188) (declare () vec4 t186) (declare () vec2 t185) (declare () float t184) (declare () float t183) (declare () vec4 t181) (declare () vec2 t180) (declare () float t179) (declare () float t178) (declare () vec4 t176) (declare () vec2 t175) (declare () float t174) (declare () float t173) (declare () vec4 t171) (declare () vec2 t170) (declare () float t169) (declare () float t168) (declare () vec4 t166) (declare () vec2 t165) (declare () float t164) (declare () float t163) (declare () vec4 t161) (declare () vec2 t160) (declare () float t159) (declare () float t158) (declare () vec4 t156) (declare () vec2 t155) (declare () float t154) (declare () float t153) (declare () vec4 t151) (declare () vec2 t150) (declare () float t149) (declare () float t148) (declare () vec4 t146) (declare () vec2 t145) (declare () float t144) (declare () float t143) (declare () vec4 t141) (declare () vec2 t140) (declare () float t139) (declare () float t138) (declare () vec4 t136) (declare () vec2 t135) (declare () float t134) (declare () float t133) (declare () vec4 t131) (declare () vec2 t130) (declare () float t129) (declare () float t128) (declare () vec4 t126) (declare () vec2 t125) (declare () float t124) (declare () float t123) (declare () vec4 t121) (declare () vec2 t120) (declare () float t119) (declare () float t118) (declare () vec4 t116) (declare () vec2 t115) (declare () float t114) (declare () float t113) (declare () vec4 t111) (declare () vec2 t110) (declare () float t109) (declare () float t108) (declare () vec4 t106) (declare () vec2 t105) (declare () float t104) (declare () float t103) (declare () vec4 t101) (declare () vec2 t100) (declare () float t99) (declare () float t98) (declare () vec4 t96) (declare () vec2 t95) (declare () float t94) (declare () float t93) (declare () vec4 t91) (declare () vec2 t90) (declare () float t89) (declare () float t88) (declare () vec4 t86) (declare () vec2 t85) (declare () float t84) (declare () float t83) (declare () vec4 t81) (declare () vec2 t80) (declare () float t79) (declare () float t78) (declare () vec4 t76) (declare () vec2 t75) (declare () float t74) (declare () float t73) (declare () vec4 t71) (declare () vec2 t70) (declare () float t69) (declare () float t68) (declare () vec4 t66) (declare () vec2 t65) (declare () float t64) (declare () float t63) (declare () vec4 t61) (declare () vec2 t60) (declare () float t59) (declare () float t58) (declare () vec4 t56) (declare () vec2 t55) (declare () float t54) (declare () float t53) (declare () vec4 t51) (declare () vec2 t50) (declare () float t49) (declare () float t48) (declare () vec4 t46) (declare () vec2 t45) (declare () float t44) (declare () float t43) (declare () vec4 t41) (declare () vec2 t40) (declare () float t39) (declare () float t38) (declare () vec4 t36) (declare () vec2 t35) (declare () float t34) (declare () float t33) (declare () vec4 t31) (declare () vec2 t30) (declare () float t29) (declare () float t28) (declare () vec4 t26) (declare () vec2 t25) (declare () float t24) (declare () float t23) (declare () vec4 t21) (declare () vec2 t20) (declare () float t19) (declare () float t18) (declare () vec4 t16) (declare () vec2 t15) (declare () float t14) (declare () float t13) (declare () vec4 t11) (declare () vec2 t10) (declare () float t9) (declare () float t8) (declare () uint t1) (declare () float t0) (assign (x) (var_ref t0) (constant float (0.000000)) ) (assign (x) (var_ref t1) (constant uint (0)) ) (loop ( (declare () float t7) (declare () float t6) (declare () float t5) (declare () uint t4) (declare () ivec3 t2) (if (expression bool >= (var_ref t1) (constant uint (64)) ) ( break ) ()) (assign (yz) (var_ref t2) (constant ivec2 (0 0)) ) (assign (x) (var_ref t2) (expression int u2i (expression uint / (var_ref t1) (constant uint (4)) ) ) ) (declare (temporary ) vec4 texelFetch_retval) (call texelFetch (var_ref texelFetch_retval) ((var_ref ps0) (swiz xy (var_ref t2) )(constant int (0)) )) (assign (x) (var_ref t4) (expression uint % (var_ref t1) (constant uint (4)) ) ) (if (expression bool all_equal (var_ref t4) (constant uint (1)) ) ( (assign (x) (var_ref t5) (swiz y (var_ref texelFetch_retval) )) ) ( (assign (x) (var_ref t5) (swiz x (var_ref texelFetch_retval) )) )) (if (expression bool all_equal (var_ref t4) (constant uint (2)) ) ( (assign (x) (var_ref t6) (swiz z (var_ref texelFetch_retval) )) ) ( (assign (x) (var_ref t6) (var_ref t5) ) )) (if (expression bool all_equal (var_ref t4) (constant uint (3)) ) ( (assign (x) (var_ref t7) (swiz w (var_ref texelFetch_retval) )) ) ( (assign (x) (var_ref t7) (var_ref t6) ) )) (assign (x) (var_ref t0) (expression float + (var_ref t0) (var_ref t7) ) ) (assign (x) (var_ref t1) (expression uint + (var_ref t1) (constant uint (1)) ) ) )) (assign (x) (var_ref t8) (expression float * (var_ref t0) (swiz x (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (assign (x) (var_ref t9) (expression float * (var_ref t0) (swiz y (array_ref (var_ref pu_h) (constant int (0)) ) )) ) (declare (temporary ) vec4 texelFetch_retval@1532) (call texelFetch (var_ref texelFetch_retval@1532) ((var_ref ps0) (constant ivec2 (0 0)) (constant int (0)) )) (assign (xyzw) (var_ref t11) (var_ref texelFetch_retval@1532) ) (declare (temporary ) float min_retval) (call min (var_ref min_retval) ((swiz x (var_ref texelFetch_retval@1532) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval) ) ) ) (assign (x) (var_ref t13) (expression float + (var_ref t9) (expression float neg (var_ref min_retval) ) ) ) (declare (temporary ) float min_retval@1533) (call min (var_ref min_retval@1533) ((expression float + (swiz x (var_ref t11) )(expression float neg (var_ref min_retval) ) ) (var_ref t13) )) (assign (x) (var_ref t14) (var_ref min_retval@1533) ) (assign (x) (var_ref t9) (expression float + (var_ref t13) (expression float neg (var_ref min_retval@1533) ) ) ) (assign (y) (var_ref t15) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval) (call exp2 (var_ref exp2_retval) ((expression float / (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t15) (var_ref exp2_retval) ) (assign (xy) (var_ref t10) (expression vec2 * (var_ref t15) (swiz xx (var_ref t14) )) ) (declare (temporary ) vec4 texelFetch_retval@1534) (call texelFetch (var_ref texelFetch_retval@1534) ((var_ref ps0) (constant ivec2 (0 0)) (constant int (0)) )) (assign (xyzw) (var_ref t16) (var_ref texelFetch_retval@1534) ) (declare (temporary ) float min_retval@1535) (call min (var_ref min_retval@1535) ((swiz y (var_ref texelFetch_retval@1534) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1535) ) ) ) (assign (x) (var_ref t18) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1535) ) ) ) (declare (temporary ) float min_retval@1536) (call min (var_ref min_retval@1536) ((expression float + (swiz y (var_ref t16) )(expression float neg (var_ref min_retval@1535) ) ) (var_ref t18) )) (assign (x) (var_ref t19) (var_ref min_retval@1536) ) (assign (x) (var_ref t9) (expression float + (var_ref t18) (expression float neg (var_ref min_retval@1536) ) ) ) (assign (y) (var_ref t20) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1537) (call exp2 (var_ref exp2_retval@1537) ((expression float / (expression float + (constant float (0.015625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t20) (var_ref exp2_retval@1537) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t20) (swiz xx (var_ref t19) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1538) (call texelFetch (var_ref texelFetch_retval@1538) ((var_ref ps0) (constant ivec2 (0 0)) (constant int (0)) )) (assign (xyzw) (var_ref t21) (var_ref texelFetch_retval@1538) ) (declare (temporary ) float min_retval@1539) (call min (var_ref min_retval@1539) ((swiz z (var_ref texelFetch_retval@1538) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1539) ) ) ) (assign (x) (var_ref t23) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1539) ) ) ) (declare (temporary ) float min_retval@1540) (call min (var_ref min_retval@1540) ((expression float + (swiz z (var_ref t21) )(expression float neg (var_ref min_retval@1539) ) ) (var_ref t23) )) (assign (x) (var_ref t24) (var_ref min_retval@1540) ) (assign (x) (var_ref t9) (expression float + (var_ref t23) (expression float neg (var_ref min_retval@1540) ) ) ) (assign (y) (var_ref t25) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1541) (call exp2 (var_ref exp2_retval@1541) ((expression float / (expression float + (constant float (0.031250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t25) (var_ref exp2_retval@1541) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t25) (swiz xx (var_ref t24) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1542) (call texelFetch (var_ref texelFetch_retval@1542) ((var_ref ps0) (constant ivec2 (0 0)) (constant int (0)) )) (assign (xyzw) (var_ref t26) (var_ref texelFetch_retval@1542) ) (declare (temporary ) float min_retval@1543) (call min (var_ref min_retval@1543) ((swiz w (var_ref texelFetch_retval@1542) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1543) ) ) ) (assign (x) (var_ref t28) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1543) ) ) ) (declare (temporary ) float min_retval@1544) (call min (var_ref min_retval@1544) ((expression float + (swiz w (var_ref t26) )(expression float neg (var_ref min_retval@1543) ) ) (var_ref t28) )) (assign (x) (var_ref t29) (var_ref min_retval@1544) ) (assign (x) (var_ref t9) (expression float + (var_ref t28) (expression float neg (var_ref min_retval@1544) ) ) ) (assign (y) (var_ref t30) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1545) (call exp2 (var_ref exp2_retval@1545) ((expression float / (expression float + (constant float (0.046875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t30) (var_ref exp2_retval@1545) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t30) (swiz xx (var_ref t29) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1546) (call texelFetch (var_ref texelFetch_retval@1546) ((var_ref ps0) (constant ivec2 (1 0)) (constant int (0)) )) (assign (xyzw) (var_ref t31) (var_ref texelFetch_retval@1546) ) (declare (temporary ) float min_retval@1547) (call min (var_ref min_retval@1547) ((swiz x (var_ref texelFetch_retval@1546) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1547) ) ) ) (assign (x) (var_ref t33) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1547) ) ) ) (declare (temporary ) float min_retval@1548) (call min (var_ref min_retval@1548) ((expression float + (swiz x (var_ref t31) )(expression float neg (var_ref min_retval@1547) ) ) (var_ref t33) )) (assign (x) (var_ref t34) (var_ref min_retval@1548) ) (assign (x) (var_ref t9) (expression float + (var_ref t33) (expression float neg (var_ref min_retval@1548) ) ) ) (assign (y) (var_ref t35) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1549) (call exp2 (var_ref exp2_retval@1549) ((expression float / (expression float + (constant float (0.062500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t35) (var_ref exp2_retval@1549) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t35) (swiz xx (var_ref t34) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1550) (call texelFetch (var_ref texelFetch_retval@1550) ((var_ref ps0) (constant ivec2 (1 0)) (constant int (0)) )) (assign (xyzw) (var_ref t36) (var_ref texelFetch_retval@1550) ) (declare (temporary ) float min_retval@1551) (call min (var_ref min_retval@1551) ((swiz y (var_ref texelFetch_retval@1550) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1551) ) ) ) (assign (x) (var_ref t38) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1551) ) ) ) (declare (temporary ) float min_retval@1552) (call min (var_ref min_retval@1552) ((expression float + (swiz y (var_ref t36) )(expression float neg (var_ref min_retval@1551) ) ) (var_ref t38) )) (assign (x) (var_ref t39) (var_ref min_retval@1552) ) (assign (x) (var_ref t9) (expression float + (var_ref t38) (expression float neg (var_ref min_retval@1552) ) ) ) (assign (y) (var_ref t40) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1553) (call exp2 (var_ref exp2_retval@1553) ((expression float / (expression float + (constant float (0.078125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t40) (var_ref exp2_retval@1553) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t40) (swiz xx (var_ref t39) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1554) (call texelFetch (var_ref texelFetch_retval@1554) ((var_ref ps0) (constant ivec2 (1 0)) (constant int (0)) )) (assign (xyzw) (var_ref t41) (var_ref texelFetch_retval@1554) ) (declare (temporary ) float min_retval@1555) (call min (var_ref min_retval@1555) ((swiz z (var_ref texelFetch_retval@1554) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1555) ) ) ) (assign (x) (var_ref t43) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1555) ) ) ) (declare (temporary ) float min_retval@1556) (call min (var_ref min_retval@1556) ((expression float + (swiz z (var_ref t41) )(expression float neg (var_ref min_retval@1555) ) ) (var_ref t43) )) (assign (x) (var_ref t44) (var_ref min_retval@1556) ) (assign (x) (var_ref t9) (expression float + (var_ref t43) (expression float neg (var_ref min_retval@1556) ) ) ) (assign (y) (var_ref t45) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1557) (call exp2 (var_ref exp2_retval@1557) ((expression float / (expression float + (constant float (0.093750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t45) (var_ref exp2_retval@1557) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t45) (swiz xx (var_ref t44) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1558) (call texelFetch (var_ref texelFetch_retval@1558) ((var_ref ps0) (constant ivec2 (1 0)) (constant int (0)) )) (assign (xyzw) (var_ref t46) (var_ref texelFetch_retval@1558) ) (declare (temporary ) float min_retval@1559) (call min (var_ref min_retval@1559) ((swiz w (var_ref texelFetch_retval@1558) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1559) ) ) ) (assign (x) (var_ref t48) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1559) ) ) ) (declare (temporary ) float min_retval@1560) (call min (var_ref min_retval@1560) ((expression float + (swiz w (var_ref t46) )(expression float neg (var_ref min_retval@1559) ) ) (var_ref t48) )) (assign (x) (var_ref t49) (var_ref min_retval@1560) ) (assign (x) (var_ref t9) (expression float + (var_ref t48) (expression float neg (var_ref min_retval@1560) ) ) ) (assign (y) (var_ref t50) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1561) (call exp2 (var_ref exp2_retval@1561) ((expression float / (expression float + (constant float (0.109375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t50) (var_ref exp2_retval@1561) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t50) (swiz xx (var_ref t49) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1562) (call texelFetch (var_ref texelFetch_retval@1562) ((var_ref ps0) (constant ivec2 (2 0)) (constant int (0)) )) (assign (xyzw) (var_ref t51) (var_ref texelFetch_retval@1562) ) (declare (temporary ) float min_retval@1563) (call min (var_ref min_retval@1563) ((swiz x (var_ref texelFetch_retval@1562) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1563) ) ) ) (assign (x) (var_ref t53) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1563) ) ) ) (declare (temporary ) float min_retval@1564) (call min (var_ref min_retval@1564) ((expression float + (swiz x (var_ref t51) )(expression float neg (var_ref min_retval@1563) ) ) (var_ref t53) )) (assign (x) (var_ref t54) (var_ref min_retval@1564) ) (assign (x) (var_ref t9) (expression float + (var_ref t53) (expression float neg (var_ref min_retval@1564) ) ) ) (assign (y) (var_ref t55) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1565) (call exp2 (var_ref exp2_retval@1565) ((expression float / (expression float + (constant float (0.125000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t55) (var_ref exp2_retval@1565) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t55) (swiz xx (var_ref t54) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1566) (call texelFetch (var_ref texelFetch_retval@1566) ((var_ref ps0) (constant ivec2 (2 0)) (constant int (0)) )) (assign (xyzw) (var_ref t56) (var_ref texelFetch_retval@1566) ) (declare (temporary ) float min_retval@1567) (call min (var_ref min_retval@1567) ((swiz y (var_ref texelFetch_retval@1566) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1567) ) ) ) (assign (x) (var_ref t58) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1567) ) ) ) (declare (temporary ) float min_retval@1568) (call min (var_ref min_retval@1568) ((expression float + (swiz y (var_ref t56) )(expression float neg (var_ref min_retval@1567) ) ) (var_ref t58) )) (assign (x) (var_ref t59) (var_ref min_retval@1568) ) (assign (x) (var_ref t9) (expression float + (var_ref t58) (expression float neg (var_ref min_retval@1568) ) ) ) (assign (y) (var_ref t60) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1569) (call exp2 (var_ref exp2_retval@1569) ((expression float / (expression float + (constant float (0.140625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t60) (var_ref exp2_retval@1569) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t60) (swiz xx (var_ref t59) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1570) (call texelFetch (var_ref texelFetch_retval@1570) ((var_ref ps0) (constant ivec2 (2 0)) (constant int (0)) )) (assign (xyzw) (var_ref t61) (var_ref texelFetch_retval@1570) ) (declare (temporary ) float min_retval@1571) (call min (var_ref min_retval@1571) ((swiz z (var_ref texelFetch_retval@1570) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1571) ) ) ) (assign (x) (var_ref t63) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1571) ) ) ) (declare (temporary ) float min_retval@1572) (call min (var_ref min_retval@1572) ((expression float + (swiz z (var_ref t61) )(expression float neg (var_ref min_retval@1571) ) ) (var_ref t63) )) (assign (x) (var_ref t64) (var_ref min_retval@1572) ) (assign (x) (var_ref t9) (expression float + (var_ref t63) (expression float neg (var_ref min_retval@1572) ) ) ) (assign (y) (var_ref t65) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1573) (call exp2 (var_ref exp2_retval@1573) ((expression float / (expression float + (constant float (0.156250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t65) (var_ref exp2_retval@1573) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t65) (swiz xx (var_ref t64) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1574) (call texelFetch (var_ref texelFetch_retval@1574) ((var_ref ps0) (constant ivec2 (2 0)) (constant int (0)) )) (assign (xyzw) (var_ref t66) (var_ref texelFetch_retval@1574) ) (declare (temporary ) float min_retval@1575) (call min (var_ref min_retval@1575) ((swiz w (var_ref texelFetch_retval@1574) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1575) ) ) ) (assign (x) (var_ref t68) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1575) ) ) ) (declare (temporary ) float min_retval@1576) (call min (var_ref min_retval@1576) ((expression float + (swiz w (var_ref t66) )(expression float neg (var_ref min_retval@1575) ) ) (var_ref t68) )) (assign (x) (var_ref t69) (var_ref min_retval@1576) ) (assign (x) (var_ref t9) (expression float + (var_ref t68) (expression float neg (var_ref min_retval@1576) ) ) ) (assign (y) (var_ref t70) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1577) (call exp2 (var_ref exp2_retval@1577) ((expression float / (expression float + (constant float (0.171875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t70) (var_ref exp2_retval@1577) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t70) (swiz xx (var_ref t69) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1578) (call texelFetch (var_ref texelFetch_retval@1578) ((var_ref ps0) (constant ivec2 (3 0)) (constant int (0)) )) (assign (xyzw) (var_ref t71) (var_ref texelFetch_retval@1578) ) (declare (temporary ) float min_retval@1579) (call min (var_ref min_retval@1579) ((swiz x (var_ref texelFetch_retval@1578) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1579) ) ) ) (assign (x) (var_ref t73) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1579) ) ) ) (declare (temporary ) float min_retval@1580) (call min (var_ref min_retval@1580) ((expression float + (swiz x (var_ref t71) )(expression float neg (var_ref min_retval@1579) ) ) (var_ref t73) )) (assign (x) (var_ref t74) (var_ref min_retval@1580) ) (assign (x) (var_ref t9) (expression float + (var_ref t73) (expression float neg (var_ref min_retval@1580) ) ) ) (assign (y) (var_ref t75) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1581) (call exp2 (var_ref exp2_retval@1581) ((expression float / (expression float + (constant float (0.187500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t75) (var_ref exp2_retval@1581) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t75) (swiz xx (var_ref t74) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1582) (call texelFetch (var_ref texelFetch_retval@1582) ((var_ref ps0) (constant ivec2 (3 0)) (constant int (0)) )) (assign (xyzw) (var_ref t76) (var_ref texelFetch_retval@1582) ) (declare (temporary ) float min_retval@1583) (call min (var_ref min_retval@1583) ((swiz y (var_ref texelFetch_retval@1582) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1583) ) ) ) (assign (x) (var_ref t78) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1583) ) ) ) (declare (temporary ) float min_retval@1584) (call min (var_ref min_retval@1584) ((expression float + (swiz y (var_ref t76) )(expression float neg (var_ref min_retval@1583) ) ) (var_ref t78) )) (assign (x) (var_ref t79) (var_ref min_retval@1584) ) (assign (x) (var_ref t9) (expression float + (var_ref t78) (expression float neg (var_ref min_retval@1584) ) ) ) (assign (y) (var_ref t80) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1585) (call exp2 (var_ref exp2_retval@1585) ((expression float / (expression float + (constant float (0.203125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t80) (var_ref exp2_retval@1585) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t80) (swiz xx (var_ref t79) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1586) (call texelFetch (var_ref texelFetch_retval@1586) ((var_ref ps0) (constant ivec2 (3 0)) (constant int (0)) )) (assign (xyzw) (var_ref t81) (var_ref texelFetch_retval@1586) ) (declare (temporary ) float min_retval@1587) (call min (var_ref min_retval@1587) ((swiz z (var_ref texelFetch_retval@1586) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1587) ) ) ) (assign (x) (var_ref t83) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1587) ) ) ) (declare (temporary ) float min_retval@1588) (call min (var_ref min_retval@1588) ((expression float + (swiz z (var_ref t81) )(expression float neg (var_ref min_retval@1587) ) ) (var_ref t83) )) (assign (x) (var_ref t84) (var_ref min_retval@1588) ) (assign (x) (var_ref t9) (expression float + (var_ref t83) (expression float neg (var_ref min_retval@1588) ) ) ) (assign (y) (var_ref t85) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1589) (call exp2 (var_ref exp2_retval@1589) ((expression float / (expression float + (constant float (0.218750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t85) (var_ref exp2_retval@1589) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t85) (swiz xx (var_ref t84) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1590) (call texelFetch (var_ref texelFetch_retval@1590) ((var_ref ps0) (constant ivec2 (3 0)) (constant int (0)) )) (assign (xyzw) (var_ref t86) (var_ref texelFetch_retval@1590) ) (declare (temporary ) float min_retval@1591) (call min (var_ref min_retval@1591) ((swiz w (var_ref texelFetch_retval@1590) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1591) ) ) ) (assign (x) (var_ref t88) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1591) ) ) ) (declare (temporary ) float min_retval@1592) (call min (var_ref min_retval@1592) ((expression float + (swiz w (var_ref t86) )(expression float neg (var_ref min_retval@1591) ) ) (var_ref t88) )) (assign (x) (var_ref t89) (var_ref min_retval@1592) ) (assign (x) (var_ref t9) (expression float + (var_ref t88) (expression float neg (var_ref min_retval@1592) ) ) ) (assign (y) (var_ref t90) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1593) (call exp2 (var_ref exp2_retval@1593) ((expression float / (expression float + (constant float (0.234375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t90) (var_ref exp2_retval@1593) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t90) (swiz xx (var_ref t89) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1594) (call texelFetch (var_ref texelFetch_retval@1594) ((var_ref ps0) (constant ivec2 (4 0)) (constant int (0)) )) (assign (xyzw) (var_ref t91) (var_ref texelFetch_retval@1594) ) (declare (temporary ) float min_retval@1595) (call min (var_ref min_retval@1595) ((swiz x (var_ref texelFetch_retval@1594) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1595) ) ) ) (assign (x) (var_ref t93) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1595) ) ) ) (declare (temporary ) float min_retval@1596) (call min (var_ref min_retval@1596) ((expression float + (swiz x (var_ref t91) )(expression float neg (var_ref min_retval@1595) ) ) (var_ref t93) )) (assign (x) (var_ref t94) (var_ref min_retval@1596) ) (assign (x) (var_ref t9) (expression float + (var_ref t93) (expression float neg (var_ref min_retval@1596) ) ) ) (assign (y) (var_ref t95) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1597) (call exp2 (var_ref exp2_retval@1597) ((expression float / (expression float + (constant float (0.250000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t95) (var_ref exp2_retval@1597) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t95) (swiz xx (var_ref t94) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1598) (call texelFetch (var_ref texelFetch_retval@1598) ((var_ref ps0) (constant ivec2 (4 0)) (constant int (0)) )) (assign (xyzw) (var_ref t96) (var_ref texelFetch_retval@1598) ) (declare (temporary ) float min_retval@1599) (call min (var_ref min_retval@1599) ((swiz y (var_ref texelFetch_retval@1598) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1599) ) ) ) (assign (x) (var_ref t98) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1599) ) ) ) (declare (temporary ) float min_retval@1600) (call min (var_ref min_retval@1600) ((expression float + (swiz y (var_ref t96) )(expression float neg (var_ref min_retval@1599) ) ) (var_ref t98) )) (assign (x) (var_ref t99) (var_ref min_retval@1600) ) (assign (x) (var_ref t9) (expression float + (var_ref t98) (expression float neg (var_ref min_retval@1600) ) ) ) (assign (y) (var_ref t100) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1601) (call exp2 (var_ref exp2_retval@1601) ((expression float / (expression float + (constant float (0.265625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t100) (var_ref exp2_retval@1601) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t100) (swiz xx (var_ref t99) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1602) (call texelFetch (var_ref texelFetch_retval@1602) ((var_ref ps0) (constant ivec2 (4 0)) (constant int (0)) )) (assign (xyzw) (var_ref t101) (var_ref texelFetch_retval@1602) ) (declare (temporary ) float min_retval@1603) (call min (var_ref min_retval@1603) ((swiz z (var_ref texelFetch_retval@1602) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1603) ) ) ) (assign (x) (var_ref t103) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1603) ) ) ) (declare (temporary ) float min_retval@1604) (call min (var_ref min_retval@1604) ((expression float + (swiz z (var_ref t101) )(expression float neg (var_ref min_retval@1603) ) ) (var_ref t103) )) (assign (x) (var_ref t104) (var_ref min_retval@1604) ) (assign (x) (var_ref t9) (expression float + (var_ref t103) (expression float neg (var_ref min_retval@1604) ) ) ) (assign (y) (var_ref t105) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1605) (call exp2 (var_ref exp2_retval@1605) ((expression float / (expression float + (constant float (0.281250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t105) (var_ref exp2_retval@1605) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t105) (swiz xx (var_ref t104) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1606) (call texelFetch (var_ref texelFetch_retval@1606) ((var_ref ps0) (constant ivec2 (4 0)) (constant int (0)) )) (assign (xyzw) (var_ref t106) (var_ref texelFetch_retval@1606) ) (declare (temporary ) float min_retval@1607) (call min (var_ref min_retval@1607) ((swiz w (var_ref texelFetch_retval@1606) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1607) ) ) ) (assign (x) (var_ref t108) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1607) ) ) ) (declare (temporary ) float min_retval@1608) (call min (var_ref min_retval@1608) ((expression float + (swiz w (var_ref t106) )(expression float neg (var_ref min_retval@1607) ) ) (var_ref t108) )) (assign (x) (var_ref t109) (var_ref min_retval@1608) ) (assign (x) (var_ref t9) (expression float + (var_ref t108) (expression float neg (var_ref min_retval@1608) ) ) ) (assign (y) (var_ref t110) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1609) (call exp2 (var_ref exp2_retval@1609) ((expression float / (expression float + (constant float (0.296875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t110) (var_ref exp2_retval@1609) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t110) (swiz xx (var_ref t109) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1610) (call texelFetch (var_ref texelFetch_retval@1610) ((var_ref ps0) (constant ivec2 (5 0)) (constant int (0)) )) (assign (xyzw) (var_ref t111) (var_ref texelFetch_retval@1610) ) (declare (temporary ) float min_retval@1611) (call min (var_ref min_retval@1611) ((swiz x (var_ref texelFetch_retval@1610) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1611) ) ) ) (assign (x) (var_ref t113) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1611) ) ) ) (declare (temporary ) float min_retval@1612) (call min (var_ref min_retval@1612) ((expression float + (swiz x (var_ref t111) )(expression float neg (var_ref min_retval@1611) ) ) (var_ref t113) )) (assign (x) (var_ref t114) (var_ref min_retval@1612) ) (assign (x) (var_ref t9) (expression float + (var_ref t113) (expression float neg (var_ref min_retval@1612) ) ) ) (assign (y) (var_ref t115) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1613) (call exp2 (var_ref exp2_retval@1613) ((expression float / (expression float + (constant float (0.312500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t115) (var_ref exp2_retval@1613) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t115) (swiz xx (var_ref t114) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1614) (call texelFetch (var_ref texelFetch_retval@1614) ((var_ref ps0) (constant ivec2 (5 0)) (constant int (0)) )) (assign (xyzw) (var_ref t116) (var_ref texelFetch_retval@1614) ) (declare (temporary ) float min_retval@1615) (call min (var_ref min_retval@1615) ((swiz y (var_ref texelFetch_retval@1614) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1615) ) ) ) (assign (x) (var_ref t118) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1615) ) ) ) (declare (temporary ) float min_retval@1616) (call min (var_ref min_retval@1616) ((expression float + (swiz y (var_ref t116) )(expression float neg (var_ref min_retval@1615) ) ) (var_ref t118) )) (assign (x) (var_ref t119) (var_ref min_retval@1616) ) (assign (x) (var_ref t9) (expression float + (var_ref t118) (expression float neg (var_ref min_retval@1616) ) ) ) (assign (y) (var_ref t120) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1617) (call exp2 (var_ref exp2_retval@1617) ((expression float / (expression float + (constant float (0.328125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t120) (var_ref exp2_retval@1617) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t120) (swiz xx (var_ref t119) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1618) (call texelFetch (var_ref texelFetch_retval@1618) ((var_ref ps0) (constant ivec2 (5 0)) (constant int (0)) )) (assign (xyzw) (var_ref t121) (var_ref texelFetch_retval@1618) ) (declare (temporary ) float min_retval@1619) (call min (var_ref min_retval@1619) ((swiz z (var_ref texelFetch_retval@1618) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1619) ) ) ) (assign (x) (var_ref t123) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1619) ) ) ) (declare (temporary ) float min_retval@1620) (call min (var_ref min_retval@1620) ((expression float + (swiz z (var_ref t121) )(expression float neg (var_ref min_retval@1619) ) ) (var_ref t123) )) (assign (x) (var_ref t124) (var_ref min_retval@1620) ) (assign (x) (var_ref t9) (expression float + (var_ref t123) (expression float neg (var_ref min_retval@1620) ) ) ) (assign (y) (var_ref t125) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1621) (call exp2 (var_ref exp2_retval@1621) ((expression float / (expression float + (constant float (0.343750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t125) (var_ref exp2_retval@1621) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t125) (swiz xx (var_ref t124) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1622) (call texelFetch (var_ref texelFetch_retval@1622) ((var_ref ps0) (constant ivec2 (5 0)) (constant int (0)) )) (assign (xyzw) (var_ref t126) (var_ref texelFetch_retval@1622) ) (declare (temporary ) float min_retval@1623) (call min (var_ref min_retval@1623) ((swiz w (var_ref texelFetch_retval@1622) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1623) ) ) ) (assign (x) (var_ref t128) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1623) ) ) ) (declare (temporary ) float min_retval@1624) (call min (var_ref min_retval@1624) ((expression float + (swiz w (var_ref t126) )(expression float neg (var_ref min_retval@1623) ) ) (var_ref t128) )) (assign (x) (var_ref t129) (var_ref min_retval@1624) ) (assign (x) (var_ref t9) (expression float + (var_ref t128) (expression float neg (var_ref min_retval@1624) ) ) ) (assign (y) (var_ref t130) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1625) (call exp2 (var_ref exp2_retval@1625) ((expression float / (expression float + (constant float (0.359375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t130) (var_ref exp2_retval@1625) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t130) (swiz xx (var_ref t129) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1626) (call texelFetch (var_ref texelFetch_retval@1626) ((var_ref ps0) (constant ivec2 (6 0)) (constant int (0)) )) (assign (xyzw) (var_ref t131) (var_ref texelFetch_retval@1626) ) (declare (temporary ) float min_retval@1627) (call min (var_ref min_retval@1627) ((swiz x (var_ref texelFetch_retval@1626) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1627) ) ) ) (assign (x) (var_ref t133) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1627) ) ) ) (declare (temporary ) float min_retval@1628) (call min (var_ref min_retval@1628) ((expression float + (swiz x (var_ref t131) )(expression float neg (var_ref min_retval@1627) ) ) (var_ref t133) )) (assign (x) (var_ref t134) (var_ref min_retval@1628) ) (assign (x) (var_ref t9) (expression float + (var_ref t133) (expression float neg (var_ref min_retval@1628) ) ) ) (assign (y) (var_ref t135) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1629) (call exp2 (var_ref exp2_retval@1629) ((expression float / (expression float + (constant float (0.375000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t135) (var_ref exp2_retval@1629) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t135) (swiz xx (var_ref t134) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1630) (call texelFetch (var_ref texelFetch_retval@1630) ((var_ref ps0) (constant ivec2 (6 0)) (constant int (0)) )) (assign (xyzw) (var_ref t136) (var_ref texelFetch_retval@1630) ) (declare (temporary ) float min_retval@1631) (call min (var_ref min_retval@1631) ((swiz y (var_ref texelFetch_retval@1630) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1631) ) ) ) (assign (x) (var_ref t138) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1631) ) ) ) (declare (temporary ) float min_retval@1632) (call min (var_ref min_retval@1632) ((expression float + (swiz y (var_ref t136) )(expression float neg (var_ref min_retval@1631) ) ) (var_ref t138) )) (assign (x) (var_ref t139) (var_ref min_retval@1632) ) (assign (x) (var_ref t9) (expression float + (var_ref t138) (expression float neg (var_ref min_retval@1632) ) ) ) (assign (y) (var_ref t140) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1633) (call exp2 (var_ref exp2_retval@1633) ((expression float / (expression float + (constant float (0.390625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t140) (var_ref exp2_retval@1633) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t140) (swiz xx (var_ref t139) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1634) (call texelFetch (var_ref texelFetch_retval@1634) ((var_ref ps0) (constant ivec2 (6 0)) (constant int (0)) )) (assign (xyzw) (var_ref t141) (var_ref texelFetch_retval@1634) ) (declare (temporary ) float min_retval@1635) (call min (var_ref min_retval@1635) ((swiz z (var_ref texelFetch_retval@1634) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1635) ) ) ) (assign (x) (var_ref t143) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1635) ) ) ) (declare (temporary ) float min_retval@1636) (call min (var_ref min_retval@1636) ((expression float + (swiz z (var_ref t141) )(expression float neg (var_ref min_retval@1635) ) ) (var_ref t143) )) (assign (x) (var_ref t144) (var_ref min_retval@1636) ) (assign (x) (var_ref t9) (expression float + (var_ref t143) (expression float neg (var_ref min_retval@1636) ) ) ) (assign (y) (var_ref t145) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1637) (call exp2 (var_ref exp2_retval@1637) ((expression float / (expression float + (constant float (0.406250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t145) (var_ref exp2_retval@1637) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t145) (swiz xx (var_ref t144) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1638) (call texelFetch (var_ref texelFetch_retval@1638) ((var_ref ps0) (constant ivec2 (6 0)) (constant int (0)) )) (assign (xyzw) (var_ref t146) (var_ref texelFetch_retval@1638) ) (declare (temporary ) float min_retval@1639) (call min (var_ref min_retval@1639) ((swiz w (var_ref texelFetch_retval@1638) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1639) ) ) ) (assign (x) (var_ref t148) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1639) ) ) ) (declare (temporary ) float min_retval@1640) (call min (var_ref min_retval@1640) ((expression float + (swiz w (var_ref t146) )(expression float neg (var_ref min_retval@1639) ) ) (var_ref t148) )) (assign (x) (var_ref t149) (var_ref min_retval@1640) ) (assign (x) (var_ref t9) (expression float + (var_ref t148) (expression float neg (var_ref min_retval@1640) ) ) ) (assign (y) (var_ref t150) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1641) (call exp2 (var_ref exp2_retval@1641) ((expression float / (expression float + (constant float (0.421875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t150) (var_ref exp2_retval@1641) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t150) (swiz xx (var_ref t149) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1642) (call texelFetch (var_ref texelFetch_retval@1642) ((var_ref ps0) (constant ivec2 (7 0)) (constant int (0)) )) (assign (xyzw) (var_ref t151) (var_ref texelFetch_retval@1642) ) (declare (temporary ) float min_retval@1643) (call min (var_ref min_retval@1643) ((swiz x (var_ref texelFetch_retval@1642) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1643) ) ) ) (assign (x) (var_ref t153) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1643) ) ) ) (declare (temporary ) float min_retval@1644) (call min (var_ref min_retval@1644) ((expression float + (swiz x (var_ref t151) )(expression float neg (var_ref min_retval@1643) ) ) (var_ref t153) )) (assign (x) (var_ref t154) (var_ref min_retval@1644) ) (assign (x) (var_ref t9) (expression float + (var_ref t153) (expression float neg (var_ref min_retval@1644) ) ) ) (assign (y) (var_ref t155) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1645) (call exp2 (var_ref exp2_retval@1645) ((expression float / (expression float + (constant float (0.437500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t155) (var_ref exp2_retval@1645) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t155) (swiz xx (var_ref t154) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1646) (call texelFetch (var_ref texelFetch_retval@1646) ((var_ref ps0) (constant ivec2 (7 0)) (constant int (0)) )) (assign (xyzw) (var_ref t156) (var_ref texelFetch_retval@1646) ) (declare (temporary ) float min_retval@1647) (call min (var_ref min_retval@1647) ((swiz y (var_ref texelFetch_retval@1646) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1647) ) ) ) (assign (x) (var_ref t158) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1647) ) ) ) (declare (temporary ) float min_retval@1648) (call min (var_ref min_retval@1648) ((expression float + (swiz y (var_ref t156) )(expression float neg (var_ref min_retval@1647) ) ) (var_ref t158) )) (assign (x) (var_ref t159) (var_ref min_retval@1648) ) (assign (x) (var_ref t9) (expression float + (var_ref t158) (expression float neg (var_ref min_retval@1648) ) ) ) (assign (y) (var_ref t160) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1649) (call exp2 (var_ref exp2_retval@1649) ((expression float / (expression float + (constant float (0.453125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t160) (var_ref exp2_retval@1649) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t160) (swiz xx (var_ref t159) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1650) (call texelFetch (var_ref texelFetch_retval@1650) ((var_ref ps0) (constant ivec2 (7 0)) (constant int (0)) )) (assign (xyzw) (var_ref t161) (var_ref texelFetch_retval@1650) ) (declare (temporary ) float min_retval@1651) (call min (var_ref min_retval@1651) ((swiz z (var_ref texelFetch_retval@1650) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1651) ) ) ) (assign (x) (var_ref t163) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1651) ) ) ) (declare (temporary ) float min_retval@1652) (call min (var_ref min_retval@1652) ((expression float + (swiz z (var_ref t161) )(expression float neg (var_ref min_retval@1651) ) ) (var_ref t163) )) (assign (x) (var_ref t164) (var_ref min_retval@1652) ) (assign (x) (var_ref t9) (expression float + (var_ref t163) (expression float neg (var_ref min_retval@1652) ) ) ) (assign (y) (var_ref t165) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1653) (call exp2 (var_ref exp2_retval@1653) ((expression float / (expression float + (constant float (0.468750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t165) (var_ref exp2_retval@1653) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t165) (swiz xx (var_ref t164) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1654) (call texelFetch (var_ref texelFetch_retval@1654) ((var_ref ps0) (constant ivec2 (7 0)) (constant int (0)) )) (assign (xyzw) (var_ref t166) (var_ref texelFetch_retval@1654) ) (declare (temporary ) float min_retval@1655) (call min (var_ref min_retval@1655) ((swiz w (var_ref texelFetch_retval@1654) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1655) ) ) ) (assign (x) (var_ref t168) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1655) ) ) ) (declare (temporary ) float min_retval@1656) (call min (var_ref min_retval@1656) ((expression float + (swiz w (var_ref t166) )(expression float neg (var_ref min_retval@1655) ) ) (var_ref t168) )) (assign (x) (var_ref t169) (var_ref min_retval@1656) ) (assign (x) (var_ref t9) (expression float + (var_ref t168) (expression float neg (var_ref min_retval@1656) ) ) ) (assign (y) (var_ref t170) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1657) (call exp2 (var_ref exp2_retval@1657) ((expression float / (expression float + (constant float (0.484375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t170) (var_ref exp2_retval@1657) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t170) (swiz xx (var_ref t169) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1658) (call texelFetch (var_ref texelFetch_retval@1658) ((var_ref ps0) (constant ivec2 (8 0)) (constant int (0)) )) (assign (xyzw) (var_ref t171) (var_ref texelFetch_retval@1658) ) (declare (temporary ) float min_retval@1659) (call min (var_ref min_retval@1659) ((swiz x (var_ref texelFetch_retval@1658) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1659) ) ) ) (assign (x) (var_ref t173) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1659) ) ) ) (declare (temporary ) float min_retval@1660) (call min (var_ref min_retval@1660) ((expression float + (swiz x (var_ref t171) )(expression float neg (var_ref min_retval@1659) ) ) (var_ref t173) )) (assign (x) (var_ref t174) (var_ref min_retval@1660) ) (assign (x) (var_ref t9) (expression float + (var_ref t173) (expression float neg (var_ref min_retval@1660) ) ) ) (assign (y) (var_ref t175) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1661) (call exp2 (var_ref exp2_retval@1661) ((expression float / (expression float + (constant float (0.500000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t175) (var_ref exp2_retval@1661) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t175) (swiz xx (var_ref t174) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1662) (call texelFetch (var_ref texelFetch_retval@1662) ((var_ref ps0) (constant ivec2 (8 0)) (constant int (0)) )) (assign (xyzw) (var_ref t176) (var_ref texelFetch_retval@1662) ) (declare (temporary ) float min_retval@1663) (call min (var_ref min_retval@1663) ((swiz y (var_ref texelFetch_retval@1662) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1663) ) ) ) (assign (x) (var_ref t178) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1663) ) ) ) (declare (temporary ) float min_retval@1664) (call min (var_ref min_retval@1664) ((expression float + (swiz y (var_ref t176) )(expression float neg (var_ref min_retval@1663) ) ) (var_ref t178) )) (assign (x) (var_ref t179) (var_ref min_retval@1664) ) (assign (x) (var_ref t9) (expression float + (var_ref t178) (expression float neg (var_ref min_retval@1664) ) ) ) (assign (y) (var_ref t180) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1665) (call exp2 (var_ref exp2_retval@1665) ((expression float / (expression float + (constant float (0.515625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t180) (var_ref exp2_retval@1665) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t180) (swiz xx (var_ref t179) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1666) (call texelFetch (var_ref texelFetch_retval@1666) ((var_ref ps0) (constant ivec2 (8 0)) (constant int (0)) )) (assign (xyzw) (var_ref t181) (var_ref texelFetch_retval@1666) ) (declare (temporary ) float min_retval@1667) (call min (var_ref min_retval@1667) ((swiz z (var_ref texelFetch_retval@1666) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1667) ) ) ) (assign (x) (var_ref t183) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1667) ) ) ) (declare (temporary ) float min_retval@1668) (call min (var_ref min_retval@1668) ((expression float + (swiz z (var_ref t181) )(expression float neg (var_ref min_retval@1667) ) ) (var_ref t183) )) (assign (x) (var_ref t184) (var_ref min_retval@1668) ) (assign (x) (var_ref t9) (expression float + (var_ref t183) (expression float neg (var_ref min_retval@1668) ) ) ) (assign (y) (var_ref t185) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1669) (call exp2 (var_ref exp2_retval@1669) ((expression float / (expression float + (constant float (0.531250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t185) (var_ref exp2_retval@1669) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t185) (swiz xx (var_ref t184) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1670) (call texelFetch (var_ref texelFetch_retval@1670) ((var_ref ps0) (constant ivec2 (8 0)) (constant int (0)) )) (assign (xyzw) (var_ref t186) (var_ref texelFetch_retval@1670) ) (declare (temporary ) float min_retval@1671) (call min (var_ref min_retval@1671) ((swiz w (var_ref texelFetch_retval@1670) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1671) ) ) ) (assign (x) (var_ref t188) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1671) ) ) ) (declare (temporary ) float min_retval@1672) (call min (var_ref min_retval@1672) ((expression float + (swiz w (var_ref t186) )(expression float neg (var_ref min_retval@1671) ) ) (var_ref t188) )) (assign (x) (var_ref t189) (var_ref min_retval@1672) ) (assign (x) (var_ref t9) (expression float + (var_ref t188) (expression float neg (var_ref min_retval@1672) ) ) ) (assign (y) (var_ref t190) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1673) (call exp2 (var_ref exp2_retval@1673) ((expression float / (expression float + (constant float (0.546875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t190) (var_ref exp2_retval@1673) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t190) (swiz xx (var_ref t189) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1674) (call texelFetch (var_ref texelFetch_retval@1674) ((var_ref ps0) (constant ivec2 (9 0)) (constant int (0)) )) (assign (xyzw) (var_ref t191) (var_ref texelFetch_retval@1674) ) (declare (temporary ) float min_retval@1675) (call min (var_ref min_retval@1675) ((swiz x (var_ref texelFetch_retval@1674) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1675) ) ) ) (assign (x) (var_ref t193) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1675) ) ) ) (declare (temporary ) float min_retval@1676) (call min (var_ref min_retval@1676) ((expression float + (swiz x (var_ref t191) )(expression float neg (var_ref min_retval@1675) ) ) (var_ref t193) )) (assign (x) (var_ref t194) (var_ref min_retval@1676) ) (assign (x) (var_ref t9) (expression float + (var_ref t193) (expression float neg (var_ref min_retval@1676) ) ) ) (assign (y) (var_ref t195) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1677) (call exp2 (var_ref exp2_retval@1677) ((expression float / (expression float + (constant float (0.562500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t195) (var_ref exp2_retval@1677) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t195) (swiz xx (var_ref t194) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1678) (call texelFetch (var_ref texelFetch_retval@1678) ((var_ref ps0) (constant ivec2 (9 0)) (constant int (0)) )) (assign (xyzw) (var_ref t196) (var_ref texelFetch_retval@1678) ) (declare (temporary ) float min_retval@1679) (call min (var_ref min_retval@1679) ((swiz y (var_ref texelFetch_retval@1678) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1679) ) ) ) (assign (x) (var_ref t198) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1679) ) ) ) (declare (temporary ) float min_retval@1680) (call min (var_ref min_retval@1680) ((expression float + (swiz y (var_ref t196) )(expression float neg (var_ref min_retval@1679) ) ) (var_ref t198) )) (assign (x) (var_ref t199) (var_ref min_retval@1680) ) (assign (x) (var_ref t9) (expression float + (var_ref t198) (expression float neg (var_ref min_retval@1680) ) ) ) (assign (y) (var_ref t200) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1681) (call exp2 (var_ref exp2_retval@1681) ((expression float / (expression float + (constant float (0.578125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t200) (var_ref exp2_retval@1681) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t200) (swiz xx (var_ref t199) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1682) (call texelFetch (var_ref texelFetch_retval@1682) ((var_ref ps0) (constant ivec2 (9 0)) (constant int (0)) )) (assign (xyzw) (var_ref t201) (var_ref texelFetch_retval@1682) ) (declare (temporary ) float min_retval@1683) (call min (var_ref min_retval@1683) ((swiz z (var_ref texelFetch_retval@1682) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1683) ) ) ) (assign (x) (var_ref t203) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1683) ) ) ) (declare (temporary ) float min_retval@1684) (call min (var_ref min_retval@1684) ((expression float + (swiz z (var_ref t201) )(expression float neg (var_ref min_retval@1683) ) ) (var_ref t203) )) (assign (x) (var_ref t204) (var_ref min_retval@1684) ) (assign (x) (var_ref t9) (expression float + (var_ref t203) (expression float neg (var_ref min_retval@1684) ) ) ) (assign (y) (var_ref t205) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1685) (call exp2 (var_ref exp2_retval@1685) ((expression float / (expression float + (constant float (0.593750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t205) (var_ref exp2_retval@1685) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t205) (swiz xx (var_ref t204) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1686) (call texelFetch (var_ref texelFetch_retval@1686) ((var_ref ps0) (constant ivec2 (9 0)) (constant int (0)) )) (assign (xyzw) (var_ref t206) (var_ref texelFetch_retval@1686) ) (declare (temporary ) float min_retval@1687) (call min (var_ref min_retval@1687) ((swiz w (var_ref texelFetch_retval@1686) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1687) ) ) ) (assign (x) (var_ref t208) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1687) ) ) ) (declare (temporary ) float min_retval@1688) (call min (var_ref min_retval@1688) ((expression float + (swiz w (var_ref t206) )(expression float neg (var_ref min_retval@1687) ) ) (var_ref t208) )) (assign (x) (var_ref t209) (var_ref min_retval@1688) ) (assign (x) (var_ref t9) (expression float + (var_ref t208) (expression float neg (var_ref min_retval@1688) ) ) ) (assign (y) (var_ref t210) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1689) (call exp2 (var_ref exp2_retval@1689) ((expression float / (expression float + (constant float (0.609375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t210) (var_ref exp2_retval@1689) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t210) (swiz xx (var_ref t209) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1690) (call texelFetch (var_ref texelFetch_retval@1690) ((var_ref ps0) (constant ivec2 (10 0)) (constant int (0)) )) (assign (xyzw) (var_ref t211) (var_ref texelFetch_retval@1690) ) (declare (temporary ) float min_retval@1691) (call min (var_ref min_retval@1691) ((swiz x (var_ref texelFetch_retval@1690) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1691) ) ) ) (assign (x) (var_ref t213) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1691) ) ) ) (declare (temporary ) float min_retval@1692) (call min (var_ref min_retval@1692) ((expression float + (swiz x (var_ref t211) )(expression float neg (var_ref min_retval@1691) ) ) (var_ref t213) )) (assign (x) (var_ref t214) (var_ref min_retval@1692) ) (assign (x) (var_ref t9) (expression float + (var_ref t213) (expression float neg (var_ref min_retval@1692) ) ) ) (assign (y) (var_ref t215) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1693) (call exp2 (var_ref exp2_retval@1693) ((expression float / (expression float + (constant float (0.625000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t215) (var_ref exp2_retval@1693) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t215) (swiz xx (var_ref t214) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1694) (call texelFetch (var_ref texelFetch_retval@1694) ((var_ref ps0) (constant ivec2 (10 0)) (constant int (0)) )) (assign (xyzw) (var_ref t216) (var_ref texelFetch_retval@1694) ) (declare (temporary ) float min_retval@1695) (call min (var_ref min_retval@1695) ((swiz y (var_ref texelFetch_retval@1694) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1695) ) ) ) (assign (x) (var_ref t218) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1695) ) ) ) (declare (temporary ) float min_retval@1696) (call min (var_ref min_retval@1696) ((expression float + (swiz y (var_ref t216) )(expression float neg (var_ref min_retval@1695) ) ) (var_ref t218) )) (assign (x) (var_ref t219) (var_ref min_retval@1696) ) (assign (x) (var_ref t9) (expression float + (var_ref t218) (expression float neg (var_ref min_retval@1696) ) ) ) (assign (y) (var_ref t220) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1697) (call exp2 (var_ref exp2_retval@1697) ((expression float / (expression float + (constant float (0.640625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t220) (var_ref exp2_retval@1697) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t220) (swiz xx (var_ref t219) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1698) (call texelFetch (var_ref texelFetch_retval@1698) ((var_ref ps0) (constant ivec2 (10 0)) (constant int (0)) )) (assign (xyzw) (var_ref t221) (var_ref texelFetch_retval@1698) ) (declare (temporary ) float min_retval@1699) (call min (var_ref min_retval@1699) ((swiz z (var_ref texelFetch_retval@1698) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1699) ) ) ) (assign (x) (var_ref t223) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1699) ) ) ) (declare (temporary ) float min_retval@1700) (call min (var_ref min_retval@1700) ((expression float + (swiz z (var_ref t221) )(expression float neg (var_ref min_retval@1699) ) ) (var_ref t223) )) (assign (x) (var_ref t224) (var_ref min_retval@1700) ) (assign (x) (var_ref t9) (expression float + (var_ref t223) (expression float neg (var_ref min_retval@1700) ) ) ) (assign (y) (var_ref t225) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1701) (call exp2 (var_ref exp2_retval@1701) ((expression float / (expression float + (constant float (0.656250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t225) (var_ref exp2_retval@1701) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t225) (swiz xx (var_ref t224) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1702) (call texelFetch (var_ref texelFetch_retval@1702) ((var_ref ps0) (constant ivec2 (10 0)) (constant int (0)) )) (assign (xyzw) (var_ref t226) (var_ref texelFetch_retval@1702) ) (declare (temporary ) float min_retval@1703) (call min (var_ref min_retval@1703) ((swiz w (var_ref texelFetch_retval@1702) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1703) ) ) ) (assign (x) (var_ref t228) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1703) ) ) ) (declare (temporary ) float min_retval@1704) (call min (var_ref min_retval@1704) ((expression float + (swiz w (var_ref t226) )(expression float neg (var_ref min_retval@1703) ) ) (var_ref t228) )) (assign (x) (var_ref t229) (var_ref min_retval@1704) ) (assign (x) (var_ref t9) (expression float + (var_ref t228) (expression float neg (var_ref min_retval@1704) ) ) ) (assign (y) (var_ref t230) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1705) (call exp2 (var_ref exp2_retval@1705) ((expression float / (expression float + (constant float (0.671875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t230) (var_ref exp2_retval@1705) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t230) (swiz xx (var_ref t229) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1706) (call texelFetch (var_ref texelFetch_retval@1706) ((var_ref ps0) (constant ivec2 (11 0)) (constant int (0)) )) (assign (xyzw) (var_ref t231) (var_ref texelFetch_retval@1706) ) (declare (temporary ) float min_retval@1707) (call min (var_ref min_retval@1707) ((swiz x (var_ref texelFetch_retval@1706) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1707) ) ) ) (assign (x) (var_ref t233) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1707) ) ) ) (declare (temporary ) float min_retval@1708) (call min (var_ref min_retval@1708) ((expression float + (swiz x (var_ref t231) )(expression float neg (var_ref min_retval@1707) ) ) (var_ref t233) )) (assign (x) (var_ref t234) (var_ref min_retval@1708) ) (assign (x) (var_ref t9) (expression float + (var_ref t233) (expression float neg (var_ref min_retval@1708) ) ) ) (assign (y) (var_ref t235) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1709) (call exp2 (var_ref exp2_retval@1709) ((expression float / (expression float + (constant float (0.687500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t235) (var_ref exp2_retval@1709) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t235) (swiz xx (var_ref t234) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1710) (call texelFetch (var_ref texelFetch_retval@1710) ((var_ref ps0) (constant ivec2 (11 0)) (constant int (0)) )) (assign (xyzw) (var_ref t236) (var_ref texelFetch_retval@1710) ) (declare (temporary ) float min_retval@1711) (call min (var_ref min_retval@1711) ((swiz y (var_ref texelFetch_retval@1710) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1711) ) ) ) (assign (x) (var_ref t238) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1711) ) ) ) (declare (temporary ) float min_retval@1712) (call min (var_ref min_retval@1712) ((expression float + (swiz y (var_ref t236) )(expression float neg (var_ref min_retval@1711) ) ) (var_ref t238) )) (assign (x) (var_ref t239) (var_ref min_retval@1712) ) (assign (x) (var_ref t9) (expression float + (var_ref t238) (expression float neg (var_ref min_retval@1712) ) ) ) (assign (y) (var_ref t240) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1713) (call exp2 (var_ref exp2_retval@1713) ((expression float / (expression float + (constant float (0.703125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t240) (var_ref exp2_retval@1713) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t240) (swiz xx (var_ref t239) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1714) (call texelFetch (var_ref texelFetch_retval@1714) ((var_ref ps0) (constant ivec2 (11 0)) (constant int (0)) )) (assign (xyzw) (var_ref t241) (var_ref texelFetch_retval@1714) ) (declare (temporary ) float min_retval@1715) (call min (var_ref min_retval@1715) ((swiz z (var_ref texelFetch_retval@1714) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1715) ) ) ) (assign (x) (var_ref t243) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1715) ) ) ) (declare (temporary ) float min_retval@1716) (call min (var_ref min_retval@1716) ((expression float + (swiz z (var_ref t241) )(expression float neg (var_ref min_retval@1715) ) ) (var_ref t243) )) (assign (x) (var_ref t244) (var_ref min_retval@1716) ) (assign (x) (var_ref t9) (expression float + (var_ref t243) (expression float neg (var_ref min_retval@1716) ) ) ) (assign (y) (var_ref t245) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1717) (call exp2 (var_ref exp2_retval@1717) ((expression float / (expression float + (constant float (0.718750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t245) (var_ref exp2_retval@1717) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t245) (swiz xx (var_ref t244) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1718) (call texelFetch (var_ref texelFetch_retval@1718) ((var_ref ps0) (constant ivec2 (11 0)) (constant int (0)) )) (assign (xyzw) (var_ref t246) (var_ref texelFetch_retval@1718) ) (declare (temporary ) float min_retval@1719) (call min (var_ref min_retval@1719) ((swiz w (var_ref texelFetch_retval@1718) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1719) ) ) ) (assign (x) (var_ref t248) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1719) ) ) ) (declare (temporary ) float min_retval@1720) (call min (var_ref min_retval@1720) ((expression float + (swiz w (var_ref t246) )(expression float neg (var_ref min_retval@1719) ) ) (var_ref t248) )) (assign (x) (var_ref t249) (var_ref min_retval@1720) ) (assign (x) (var_ref t9) (expression float + (var_ref t248) (expression float neg (var_ref min_retval@1720) ) ) ) (assign (y) (var_ref t250) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1721) (call exp2 (var_ref exp2_retval@1721) ((expression float / (expression float + (constant float (0.734375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t250) (var_ref exp2_retval@1721) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t250) (swiz xx (var_ref t249) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1722) (call texelFetch (var_ref texelFetch_retval@1722) ((var_ref ps0) (constant ivec2 (12 0)) (constant int (0)) )) (assign (xyzw) (var_ref t251) (var_ref texelFetch_retval@1722) ) (declare (temporary ) float min_retval@1723) (call min (var_ref min_retval@1723) ((swiz x (var_ref texelFetch_retval@1722) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1723) ) ) ) (assign (x) (var_ref t253) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1723) ) ) ) (declare (temporary ) float min_retval@1724) (call min (var_ref min_retval@1724) ((expression float + (swiz x (var_ref t251) )(expression float neg (var_ref min_retval@1723) ) ) (var_ref t253) )) (assign (x) (var_ref t254) (var_ref min_retval@1724) ) (assign (x) (var_ref t9) (expression float + (var_ref t253) (expression float neg (var_ref min_retval@1724) ) ) ) (assign (y) (var_ref t255) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1725) (call exp2 (var_ref exp2_retval@1725) ((expression float / (expression float + (constant float (0.750000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t255) (var_ref exp2_retval@1725) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t255) (swiz xx (var_ref t254) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1726) (call texelFetch (var_ref texelFetch_retval@1726) ((var_ref ps0) (constant ivec2 (12 0)) (constant int (0)) )) (assign (xyzw) (var_ref t256) (var_ref texelFetch_retval@1726) ) (declare (temporary ) float min_retval@1727) (call min (var_ref min_retval@1727) ((swiz y (var_ref texelFetch_retval@1726) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1727) ) ) ) (assign (x) (var_ref t258) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1727) ) ) ) (declare (temporary ) float min_retval@1728) (call min (var_ref min_retval@1728) ((expression float + (swiz y (var_ref t256) )(expression float neg (var_ref min_retval@1727) ) ) (var_ref t258) )) (assign (x) (var_ref t259) (var_ref min_retval@1728) ) (assign (x) (var_ref t9) (expression float + (var_ref t258) (expression float neg (var_ref min_retval@1728) ) ) ) (assign (y) (var_ref t260) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1729) (call exp2 (var_ref exp2_retval@1729) ((expression float / (expression float + (constant float (0.765625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t260) (var_ref exp2_retval@1729) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t260) (swiz xx (var_ref t259) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1730) (call texelFetch (var_ref texelFetch_retval@1730) ((var_ref ps0) (constant ivec2 (12 0)) (constant int (0)) )) (assign (xyzw) (var_ref t261) (var_ref texelFetch_retval@1730) ) (declare (temporary ) float min_retval@1731) (call min (var_ref min_retval@1731) ((swiz z (var_ref texelFetch_retval@1730) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1731) ) ) ) (assign (x) (var_ref t263) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1731) ) ) ) (declare (temporary ) float min_retval@1732) (call min (var_ref min_retval@1732) ((expression float + (swiz z (var_ref t261) )(expression float neg (var_ref min_retval@1731) ) ) (var_ref t263) )) (assign (x) (var_ref t264) (var_ref min_retval@1732) ) (assign (x) (var_ref t9) (expression float + (var_ref t263) (expression float neg (var_ref min_retval@1732) ) ) ) (assign (y) (var_ref t265) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1733) (call exp2 (var_ref exp2_retval@1733) ((expression float / (expression float + (constant float (0.781250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t265) (var_ref exp2_retval@1733) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t265) (swiz xx (var_ref t264) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1734) (call texelFetch (var_ref texelFetch_retval@1734) ((var_ref ps0) (constant ivec2 (12 0)) (constant int (0)) )) (assign (xyzw) (var_ref t266) (var_ref texelFetch_retval@1734) ) (declare (temporary ) float min_retval@1735) (call min (var_ref min_retval@1735) ((swiz w (var_ref texelFetch_retval@1734) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1735) ) ) ) (assign (x) (var_ref t268) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1735) ) ) ) (declare (temporary ) float min_retval@1736) (call min (var_ref min_retval@1736) ((expression float + (swiz w (var_ref t266) )(expression float neg (var_ref min_retval@1735) ) ) (var_ref t268) )) (assign (x) (var_ref t269) (var_ref min_retval@1736) ) (assign (x) (var_ref t9) (expression float + (var_ref t268) (expression float neg (var_ref min_retval@1736) ) ) ) (assign (y) (var_ref t270) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1737) (call exp2 (var_ref exp2_retval@1737) ((expression float / (expression float + (constant float (0.796875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t270) (var_ref exp2_retval@1737) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t270) (swiz xx (var_ref t269) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1738) (call texelFetch (var_ref texelFetch_retval@1738) ((var_ref ps0) (constant ivec2 (13 0)) (constant int (0)) )) (assign (xyzw) (var_ref t271) (var_ref texelFetch_retval@1738) ) (declare (temporary ) float min_retval@1739) (call min (var_ref min_retval@1739) ((swiz x (var_ref texelFetch_retval@1738) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1739) ) ) ) (assign (x) (var_ref t273) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1739) ) ) ) (declare (temporary ) float min_retval@1740) (call min (var_ref min_retval@1740) ((expression float + (swiz x (var_ref t271) )(expression float neg (var_ref min_retval@1739) ) ) (var_ref t273) )) (assign (x) (var_ref t274) (var_ref min_retval@1740) ) (assign (x) (var_ref t9) (expression float + (var_ref t273) (expression float neg (var_ref min_retval@1740) ) ) ) (assign (y) (var_ref t275) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1741) (call exp2 (var_ref exp2_retval@1741) ((expression float / (expression float + (constant float (0.812500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t275) (var_ref exp2_retval@1741) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t275) (swiz xx (var_ref t274) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1742) (call texelFetch (var_ref texelFetch_retval@1742) ((var_ref ps0) (constant ivec2 (13 0)) (constant int (0)) )) (assign (xyzw) (var_ref t276) (var_ref texelFetch_retval@1742) ) (declare (temporary ) float min_retval@1743) (call min (var_ref min_retval@1743) ((swiz y (var_ref texelFetch_retval@1742) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1743) ) ) ) (assign (x) (var_ref t278) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1743) ) ) ) (declare (temporary ) float min_retval@1744) (call min (var_ref min_retval@1744) ((expression float + (swiz y (var_ref t276) )(expression float neg (var_ref min_retval@1743) ) ) (var_ref t278) )) (assign (x) (var_ref t279) (var_ref min_retval@1744) ) (assign (x) (var_ref t9) (expression float + (var_ref t278) (expression float neg (var_ref min_retval@1744) ) ) ) (assign (y) (var_ref t280) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1745) (call exp2 (var_ref exp2_retval@1745) ((expression float / (expression float + (constant float (0.828125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t280) (var_ref exp2_retval@1745) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t280) (swiz xx (var_ref t279) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1746) (call texelFetch (var_ref texelFetch_retval@1746) ((var_ref ps0) (constant ivec2 (13 0)) (constant int (0)) )) (assign (xyzw) (var_ref t281) (var_ref texelFetch_retval@1746) ) (declare (temporary ) float min_retval@1747) (call min (var_ref min_retval@1747) ((swiz z (var_ref texelFetch_retval@1746) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1747) ) ) ) (assign (x) (var_ref t283) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1747) ) ) ) (declare (temporary ) float min_retval@1748) (call min (var_ref min_retval@1748) ((expression float + (swiz z (var_ref t281) )(expression float neg (var_ref min_retval@1747) ) ) (var_ref t283) )) (assign (x) (var_ref t284) (var_ref min_retval@1748) ) (assign (x) (var_ref t9) (expression float + (var_ref t283) (expression float neg (var_ref min_retval@1748) ) ) ) (assign (y) (var_ref t285) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1749) (call exp2 (var_ref exp2_retval@1749) ((expression float / (expression float + (constant float (0.843750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t285) (var_ref exp2_retval@1749) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t285) (swiz xx (var_ref t284) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1750) (call texelFetch (var_ref texelFetch_retval@1750) ((var_ref ps0) (constant ivec2 (13 0)) (constant int (0)) )) (assign (xyzw) (var_ref t286) (var_ref texelFetch_retval@1750) ) (declare (temporary ) float min_retval@1751) (call min (var_ref min_retval@1751) ((swiz w (var_ref texelFetch_retval@1750) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1751) ) ) ) (assign (x) (var_ref t288) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1751) ) ) ) (declare (temporary ) float min_retval@1752) (call min (var_ref min_retval@1752) ((expression float + (swiz w (var_ref t286) )(expression float neg (var_ref min_retval@1751) ) ) (var_ref t288) )) (assign (x) (var_ref t289) (var_ref min_retval@1752) ) (assign (x) (var_ref t9) (expression float + (var_ref t288) (expression float neg (var_ref min_retval@1752) ) ) ) (assign (y) (var_ref t290) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1753) (call exp2 (var_ref exp2_retval@1753) ((expression float / (expression float + (constant float (0.859375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t290) (var_ref exp2_retval@1753) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t290) (swiz xx (var_ref t289) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1754) (call texelFetch (var_ref texelFetch_retval@1754) ((var_ref ps0) (constant ivec2 (14 0)) (constant int (0)) )) (assign (xyzw) (var_ref t291) (var_ref texelFetch_retval@1754) ) (declare (temporary ) float min_retval@1755) (call min (var_ref min_retval@1755) ((swiz x (var_ref texelFetch_retval@1754) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1755) ) ) ) (assign (x) (var_ref t293) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1755) ) ) ) (declare (temporary ) float min_retval@1756) (call min (var_ref min_retval@1756) ((expression float + (swiz x (var_ref t291) )(expression float neg (var_ref min_retval@1755) ) ) (var_ref t293) )) (assign (x) (var_ref t294) (var_ref min_retval@1756) ) (assign (x) (var_ref t9) (expression float + (var_ref t293) (expression float neg (var_ref min_retval@1756) ) ) ) (assign (y) (var_ref t295) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1757) (call exp2 (var_ref exp2_retval@1757) ((expression float / (expression float + (constant float (0.875000)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t295) (var_ref exp2_retval@1757) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t295) (swiz xx (var_ref t294) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1758) (call texelFetch (var_ref texelFetch_retval@1758) ((var_ref ps0) (constant ivec2 (14 0)) (constant int (0)) )) (assign (xyzw) (var_ref t296) (var_ref texelFetch_retval@1758) ) (declare (temporary ) float min_retval@1759) (call min (var_ref min_retval@1759) ((swiz y (var_ref texelFetch_retval@1758) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1759) ) ) ) (assign (x) (var_ref t298) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1759) ) ) ) (declare (temporary ) float min_retval@1760) (call min (var_ref min_retval@1760) ((expression float + (swiz y (var_ref t296) )(expression float neg (var_ref min_retval@1759) ) ) (var_ref t298) )) (assign (x) (var_ref t299) (var_ref min_retval@1760) ) (assign (x) (var_ref t9) (expression float + (var_ref t298) (expression float neg (var_ref min_retval@1760) ) ) ) (assign (y) (var_ref t300) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1761) (call exp2 (var_ref exp2_retval@1761) ((expression float / (expression float + (constant float (0.890625)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t300) (var_ref exp2_retval@1761) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t300) (swiz xx (var_ref t299) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1762) (call texelFetch (var_ref texelFetch_retval@1762) ((var_ref ps0) (constant ivec2 (14 0)) (constant int (0)) )) (assign (xyzw) (var_ref t301) (var_ref texelFetch_retval@1762) ) (declare (temporary ) float min_retval@1763) (call min (var_ref min_retval@1763) ((swiz z (var_ref texelFetch_retval@1762) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1763) ) ) ) (assign (x) (var_ref t303) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1763) ) ) ) (declare (temporary ) float min_retval@1764) (call min (var_ref min_retval@1764) ((expression float + (swiz z (var_ref t301) )(expression float neg (var_ref min_retval@1763) ) ) (var_ref t303) )) (assign (x) (var_ref t304) (var_ref min_retval@1764) ) (assign (x) (var_ref t9) (expression float + (var_ref t303) (expression float neg (var_ref min_retval@1764) ) ) ) (assign (y) (var_ref t305) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1765) (call exp2 (var_ref exp2_retval@1765) ((expression float / (expression float + (constant float (0.906250)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t305) (var_ref exp2_retval@1765) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t305) (swiz xx (var_ref t304) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1766) (call texelFetch (var_ref texelFetch_retval@1766) ((var_ref ps0) (constant ivec2 (14 0)) (constant int (0)) )) (assign (xyzw) (var_ref t306) (var_ref texelFetch_retval@1766) ) (declare (temporary ) float min_retval@1767) (call min (var_ref min_retval@1767) ((swiz w (var_ref texelFetch_retval@1766) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1767) ) ) ) (assign (x) (var_ref t308) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1767) ) ) ) (declare (temporary ) float min_retval@1768) (call min (var_ref min_retval@1768) ((expression float + (swiz w (var_ref t306) )(expression float neg (var_ref min_retval@1767) ) ) (var_ref t308) )) (assign (x) (var_ref t309) (var_ref min_retval@1768) ) (assign (x) (var_ref t9) (expression float + (var_ref t308) (expression float neg (var_ref min_retval@1768) ) ) ) (assign (y) (var_ref t310) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1769) (call exp2 (var_ref exp2_retval@1769) ((expression float / (expression float + (constant float (0.921875)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t310) (var_ref exp2_retval@1769) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t310) (swiz xx (var_ref t309) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1770) (call texelFetch (var_ref texelFetch_retval@1770) ((var_ref ps0) (constant ivec2 (15 0)) (constant int (0)) )) (assign (xyzw) (var_ref t311) (var_ref texelFetch_retval@1770) ) (declare (temporary ) float min_retval@1771) (call min (var_ref min_retval@1771) ((swiz x (var_ref texelFetch_retval@1770) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1771) ) ) ) (assign (x) (var_ref t313) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1771) ) ) ) (declare (temporary ) float min_retval@1772) (call min (var_ref min_retval@1772) ((expression float + (swiz x (var_ref t311) )(expression float neg (var_ref min_retval@1771) ) ) (var_ref t313) )) (assign (x) (var_ref t314) (var_ref min_retval@1772) ) (assign (x) (var_ref t9) (expression float + (var_ref t313) (expression float neg (var_ref min_retval@1772) ) ) ) (assign (y) (var_ref t315) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1773) (call exp2 (var_ref exp2_retval@1773) ((expression float / (expression float + (constant float (0.937500)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t315) (var_ref exp2_retval@1773) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t315) (swiz xx (var_ref t314) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1774) (call texelFetch (var_ref texelFetch_retval@1774) ((var_ref ps0) (constant ivec2 (15 0)) (constant int (0)) )) (assign (xyzw) (var_ref t316) (var_ref texelFetch_retval@1774) ) (declare (temporary ) float min_retval@1775) (call min (var_ref min_retval@1775) ((swiz y (var_ref texelFetch_retval@1774) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1775) ) ) ) (assign (x) (var_ref t318) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1775) ) ) ) (declare (temporary ) float min_retval@1776) (call min (var_ref min_retval@1776) ((expression float + (swiz y (var_ref t316) )(expression float neg (var_ref min_retval@1775) ) ) (var_ref t318) )) (assign (x) (var_ref t319) (var_ref min_retval@1776) ) (assign (x) (var_ref t9) (expression float + (var_ref t318) (expression float neg (var_ref min_retval@1776) ) ) ) (assign (y) (var_ref t320) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1777) (call exp2 (var_ref exp2_retval@1777) ((expression float / (expression float + (constant float (0.953125)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t320) (var_ref exp2_retval@1777) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t320) (swiz xx (var_ref t319) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1778) (call texelFetch (var_ref texelFetch_retval@1778) ((var_ref ps0) (constant ivec2 (15 0)) (constant int (0)) )) (assign (xyzw) (var_ref t321) (var_ref texelFetch_retval@1778) ) (declare (temporary ) float min_retval@1779) (call min (var_ref min_retval@1779) ((swiz z (var_ref texelFetch_retval@1778) )(var_ref t8) )) (assign (x) (var_ref t8) (expression float + (var_ref t8) (expression float neg (var_ref min_retval@1779) ) ) ) (assign (x) (var_ref t323) (expression float + (var_ref t9) (expression float neg (var_ref min_retval@1779) ) ) ) (declare (temporary ) float min_retval@1780) (call min (var_ref min_retval@1780) ((expression float + (swiz z (var_ref t321) )(expression float neg (var_ref min_retval@1779) ) ) (var_ref t323) )) (assign (x) (var_ref t324) (var_ref min_retval@1780) ) (assign (x) (var_ref t9) (expression float + (var_ref t323) (expression float neg (var_ref min_retval@1780) ) ) ) (assign (y) (var_ref t325) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1781) (call exp2 (var_ref exp2_retval@1781) ((expression float / (expression float + (constant float (0.968750)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t325) (var_ref exp2_retval@1781) ) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t325) (swiz xx (var_ref t324) )) ) ) (declare (temporary ) vec4 texelFetch_retval@1782) (call texelFetch (var_ref texelFetch_retval@1782) ((var_ref ps0) (constant ivec2 (15 0)) (constant int (0)) )) (assign (xyzw) (var_ref t326) (var_ref texelFetch_retval@1782) ) (declare (temporary ) float min_retval@1783) (call min (var_ref min_retval@1783) ((swiz w (var_ref texelFetch_retval@1782) )(var_ref t8) )) (assign (x) (var_ref t327) (var_ref min_retval@1783) ) (assign (y) (var_ref t328) (constant float (1.000000)) ) (declare (temporary ) float exp2_retval@1784) (call exp2 (var_ref exp2_retval@1784) ((expression float / (expression float + (constant float (0.984375)) (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (2)) ) )) ) (swiz x (array_ref (var_ref pu_h) (constant int (2)) ) )) )) (assign (x) (var_ref t328) (var_ref exp2_retval@1784) ) (declare (temporary ) float min_retval@1785) (call min (var_ref min_retval@1785) ((expression float + (swiz w (var_ref t326) )(expression float neg (var_ref t327) ) ) (expression float + (var_ref t9) (expression float neg (var_ref t327) ) ) )) (assign (xy) (var_ref t10) (expression vec2 + (var_ref t10) (expression vec2 * (var_ref t328) (swiz xx (var_ref min_retval@1785) )) ) ) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((constant float (0.000100)) (swiz y (var_ref t10) ))) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float / (swiz x (var_ref t10) )(var_ref max_retval) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (0)) ) ))) (assign (x) (var_ref t329) (var_ref clamp_retval) ) (declare (temporary ) vec4 texelFetch_retval@1786) (call texelFetch (var_ref texelFetch_retval@1786) ((var_ref ps0) (constant ivec2 (0 1)) (constant int (0)) )) (assign (x) (var_ref t330) (swiz x (var_ref texelFetch_retval@1786) )) (declare (temporary ) float conditional_tmp) (if (expression bool any_nequal (swiz x (var_ref texelFetch_retval@1786) )(constant float (0.000000)) ) ( (assign (x) (var_ref conditional_tmp) (var_ref t330) ) ) ( (assign (x) (var_ref conditional_tmp) (constant float (1.000000)) ) )) (assign (x) (var_ref t332) (expression float / (swiz x (array_ref (var_ref pu_h) (constant int (1)) ) )(var_ref conditional_tmp) ) ) (assign (x) (var_ref t333) (expression float + (var_ref t329) (expression float neg (var_ref t332) ) ) ) (if (expression bool > (var_ref t333) (constant float (0.000000)) ) ( (assign (x) (var_ref t334) (swiz z (array_ref (var_ref pu_h) (constant int (1)) ) )) ) ( (assign (x) (var_ref t334) (swiz w (array_ref (var_ref pu_h) (constant int (1)) ) )) )) (declare (temporary ) float exp2_retval@1787) (call exp2 (var_ref exp2_retval@1787) ((expression float * (expression float neg (swiz y (array_ref (var_ref pu_h) (constant int (1)) ) )) (var_ref t334) ) )) (declare (temporary ) float clamp_retval@1788) (call clamp (var_ref clamp_retval@1788) ((expression float + (var_ref t332) (expression float * (var_ref t333) (expression float + (constant float (1.000000)) (expression float neg (var_ref exp2_retval@1787) ) ) ) ) (swiz z (array_ref (var_ref pu_h) (constant int (0)) ) )(swiz w (array_ref (var_ref pu_h) (constant int (0)) ) ))) (declare (temporary ) float max_retval@1789) (call max (var_ref max_retval@1789) ((constant float (0.000100)) (var_ref clamp_retval@1788) )) (assign (x) (var_ref out_Target0) (expression float * (expression float rcp (var_ref max_retval@1789) ) (swiz x (array_ref (var_ref pu_h) (constant int (1)) ) )) ) )) ) (function texelFetch (signature vec4 (parameters (declare (in ) sampler2D sampler) (declare (in ) ivec2 P) (declare (in ) int lod) ) ( )) ) (function min (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function exp2 (signature float (parameters (declare (in ) float x) ) ( )) ) (function max (signature float (parameters (declare (in ) float x) (declare (in ) float y) ) ( )) ) (function clamp (signature float (parameters (declare (in ) float x) (declare (in ) float minVal) (declare (in ) float maxVal) ) ( )) ) ) TappyChicken: ../../../src/glsl/ir_constant_expression.cpp:521: virtual ir_constant* ir_expression::constant_expression_value(hash_table*): Assertion `op[0]->type->base_type == op[1]->type->base_type' failed.