GLSL source for shader 2: #version 120 uniform vec4 VC[256]; uniform vec4 posFixup; void order_ps_input(in vec4[12]); vec4 OUT[12]; attribute vec4 attrib0; attribute vec4 attrib1; attribute vec4 attrib2; vec4 tmp0; vec4 tmp1; void main() { OUT[10].x = (dot(attrib0.xyzw, VC[0].xyzw)); OUT[10].y = (dot(attrib0.xyzw, VC[1].xyzw)); OUT[10].z = (dot(attrib0.xyzw, VC[2].xyzw)); OUT[10].w = (dot(attrib0.xyzw, VC[3].xyzw)); OUT[0].xyzw = (attrib2.xyzw + VC[4].xyzw); OUT[8].xyzw = (attrib1.xyzw); order_ps_input(OUT); gl_FogFragCoord = 0.0; gl_Position.y = gl_Position.y * posFixup.y; gl_Position.xy += posFixup.zw * gl_Position.ww; gl_Position.z = gl_Position.z * 2.0 - gl_Position.w; } GLSL IR for shader 2: ( (declare () vec4 tmp1@0x7be76408) (declare () vec4 tmp0@0x7be76330) (declare (in ) vec4 attrib2@0x7be761e8) (declare (in ) vec4 attrib1@0x7be76110) (declare (in ) vec4 attrib0@0x7be75fc8) (declare () (array vec4 12) OUT@0x7be75ef0) (declare (uniform ) vec4 posFixup@0x7be67538) (declare (uniform ) (array vec4 256) VC@0x7be68090) (declare (out ) vec4 gl_Position@0x7cfc40d0) (declare (out ) float gl_PointSize@0x7cfc41d0) (declare (in ) vec4 gl_Vertex@0x7cfc42d8) (declare (in ) vec3 gl_Normal@0x7cfca4a8) (declare (in ) vec4 gl_Color@0x7cfca5a8) (declare (in ) vec4 gl_SecondaryColor@0x7cfca6a8) (declare (in ) vec4 gl_MultiTexCoord0@0x7cfca7b0) (declare (in ) vec4 gl_MultiTexCoord1@0x7cfca8b8) (declare (in ) vec4 gl_MultiTexCoord2@0x7cfca9c0) (declare (in ) vec4 gl_MultiTexCoord3@0x7cfcaac8) (declare (in ) vec4 gl_MultiTexCoord4@0x7cfcabd0) (declare (in ) vec4 gl_MultiTexCoord5@0x7cfcacd8) (declare (in ) vec4 gl_MultiTexCoord6@0x7cfcade0) (declare (in ) vec4 gl_MultiTexCoord7@0x7cfcaee8) (declare (in ) float gl_FogCoord@0x7cfcaff0) (declare (out ) vec4 gl_ClipVertex@0x7cfcb0f0) (declare (out ) vec4 gl_FrontColor@0x7cfcb1f8) (declare (out ) vec4 gl_BackColor@0x7cfcb300) (declare (out ) vec4 gl_FrontSecondaryColor@0x7cfcb408) (declare (out ) vec4 gl_BackSecondaryColor@0x7cfcb538) (declare (out ) float gl_FogFragCoord@0x7cfcb668) (declare (uniform ) mat4 gl_ModelViewMatrix@0x7cfcb770) (declare (uniform ) mat4 gl_ProjectionMatrix@0x7cfcb878) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix@0x7cfcb980) (declare (uniform ) mat3 gl_NormalMatrix@0x7cfcbac0) (declare (uniform ) mat4 gl_ModelViewMatrixInverse@0x7cfcbbc8) (declare (uniform ) mat4 gl_ProjectionMatrixInverse@0x7cfcbcf8) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse@0x7cfcbe28) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose@0x7cfcbf68) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose@0x7cfcc098) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose@0x7cfcc1d8) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose@0x7cfcc328) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose@0x7cfcc468) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose@0x7cfcc5a8) (declare (uniform ) float gl_NormalScale@0x7cfcc6d0) (declare (uniform ) gl_LightModelParameters gl_LightModel@0x7cfcc7d8) (declare () int gl_MaxLights@0x7cfcc8e0) (declare () int gl_MaxClipPlanes@0x7cfcca80) (declare () int gl_MaxTextureUnits@0x7cfccc20) (declare () int gl_MaxTextureCoords@0x7cfccdc0) (declare () int gl_MaxVertexAttribs@0x7cfccf60) (declare () int gl_MaxVertexUniformComponents@0x7cfcd100) (declare () int gl_MaxVaryingFloats@0x7cfcd2d8) (declare () int gl_MaxVertexTextureImageUnits@0x7cfcd478) (declare () int gl_MaxCombinedTextureImageUnits@0x7cfcd650) (declare () int gl_MaxTextureImageUnits@0x7cfcd828) (declare () int gl_MaxFragmentUniformComponents@0x7cfcd9f0) (declare (uniform ) (array mat4 8) gl_TextureMatrix@0x7cfcdeb8) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse@0x7cfcdfc0) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose@0x7cfce0f0) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose@0x7cfce220) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange@0x7cfce360) (declare (uniform ) (array vec4 6) gl_ClipPlane@0x7cfce548) (declare (uniform ) gl_PointParameters gl_Point@0x7cfce650) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial@0x7cfce750) (declare (uniform ) gl_MaterialParameters gl_BackMaterial@0x7cfce858) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource@0x7cfcea58) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct@0x7cfceb60) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct@0x7cfcec90) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct@0x7cfceeb0) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct@0x7cfcefe0) (declare (uniform ) (array vec4 8) gl_TextureEnvColor@0x7cfcf210) (declare (uniform ) (array vec4 8) gl_EyePlaneS@0x7cfcf348) (declare (uniform ) (array vec4 8) gl_EyePlaneT@0x7cfcf480) (declare (uniform ) (array vec4 8) gl_EyePlaneR@0x7cfcf5b8) (declare (uniform ) (array vec4 8) gl_EyePlaneQ@0x7cfcf6f0) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS@0x7cfcf828) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT@0x7cfcf960) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR@0x7cfcfa98) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ@0x7cfcfbd0) (declare (uniform ) gl_FogParameters gl_Fog@0x7cfcfd08) (declare (out ) (array vec4 0) gl_TexCoord@0x7cfcff18) (declare () int gl_MaxDrawBuffers@0x7cfd0030) (function order_ps_input (signature void (parameters (declare (in ) (array vec4 12) (null)@0x7be66ee8) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec4 arg0@0x7be775e0) (declare (in ) vec4 arg1@0x7be776b8) ) ( )) ) (function main (signature void (parameters ) ( (declare (temporary ) float dot_retval@0x7be778d8) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7be778d8) (call dot ((var_ref attrib0@0x7be75fc8) (array_ref (var_ref VC@0x7be68090) (constant int (0)) ) )) ) (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7be75ef0) (constant int (10)) ) (var_ref dot_retval@0x7be778d8) ) (declare (temporary ) float dot_retval@0x7be795d8) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7be795d8) (call dot ((var_ref attrib0@0x7be75fc8) (array_ref (var_ref VC@0x7be68090) (constant int (1)) ) )) ) (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7be75ef0) (constant int (10)) ) (var_ref dot_retval@0x7be795d8) ) (declare (temporary ) float dot_retval@0x7be7b0f0) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7be7b0f0) (call dot ((var_ref attrib0@0x7be75fc8) (array_ref (var_ref VC@0x7be68090) (constant int (2)) ) )) ) (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7be75ef0) (constant int (10)) ) (var_ref dot_retval@0x7be7b0f0) ) (declare (temporary ) float dot_retval@0x7be7cb98) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7be7cb98) (call dot ((var_ref attrib0@0x7be75fc8) (array_ref (var_ref VC@0x7be68090) (constant int (3)) ) )) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7be75ef0) (constant int (10)) ) (var_ref dot_retval@0x7be7cb98) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7be75ef0) (constant int (0)) ) (expression vec4 + (var_ref attrib2@0x7be761e8) (array_ref (var_ref VC@0x7be68090) (constant int (4)) ) ) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7be75ef0) (constant int (8)) ) (var_ref attrib1@0x7be76110) ) (call order_ps_input ((var_ref OUT@0x7be75ef0) )) (assign (constant bool (1)) (x) (var_ref gl_FogFragCoord@0x7cfcb668) (constant float (0.000000)) ) (assign (constant bool (1)) (y) (var_ref gl_Position@0x7cfc40d0) (expression float * (swiz y (var_ref gl_Position@0x7cfc40d0) )(swiz y (var_ref posFixup@0x7be67538) )) ) (assign (constant bool (1)) (xy) (var_ref gl_Position@0x7cfc40d0) (expression vec2 + (swiz xy (var_ref gl_Position@0x7cfc40d0) )(expression vec2 * (swiz zw (var_ref posFixup@0x7be67538) )(swiz ww (var_ref gl_Position@0x7cfc40d0) )) ) ) (assign (constant bool (1)) (z) (var_ref gl_Position@0x7cfc40d0) (expression float + (expression float * (swiz z (var_ref gl_Position@0x7cfc40d0) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x7cfc40d0) )) ) ) )) ) ) GLSL source for shader 3: #version 120 const float FLT_MAX = 1e38; void order_ps_input(in vec4 OUT[12]) { gl_TexCoord[0].xyzw = clamp(OUT[0].xyzw, -FLT_MAX, FLT_MAX); gl_FrontColor.xyzw = clamp(OUT[8].xyzw, -FLT_MAX, FLT_MAX); gl_Position.xyzw = clamp(OUT[10].xyzw, -FLT_MAX, FLT_MAX); } GLSL IR for shader 3: ( (declare () float FLT_MAX@0x7be913e8) (declare (out ) vec4 gl_Position@0x7cfc5210) (declare (out ) float gl_PointSize@0x7be6b568) (declare (in ) vec4 gl_Vertex@0x7be6b490) (declare (in ) vec3 gl_Normal@0x7be6a780) (declare (in ) vec4 gl_Color@0x7be6a6a8) (declare (in ) vec4 gl_SecondaryColor@0x7be6a560) (declare (in ) vec4 gl_MultiTexCoord0@0x7be6a488) (declare (in ) vec4 gl_MultiTexCoord1@0x7be6a340) (declare (in ) vec4 gl_MultiTexCoord2@0x7be6a268) (declare (in ) vec4 gl_MultiTexCoord3@0x7be6a120) (declare (in ) vec4 gl_MultiTexCoord4@0x7be6a048) (declare (in ) vec4 gl_MultiTexCoord5@0x7be69f00) (declare (in ) vec4 gl_MultiTexCoord6@0x7be69e28) (declare (in ) vec4 gl_MultiTexCoord7@0x7be69cc0) (declare (in ) float gl_FogCoord@0x7be69be8) (declare (out ) vec4 gl_ClipVertex@0x7be69998) (declare (out ) vec4 gl_FrontColor@0x7be698c0) (declare (out ) vec4 gl_BackColor@0x7be69778) (declare (out ) vec4 gl_FrontSecondaryColor@0x7be696a0) (declare (out ) vec4 gl_BackSecondaryColor@0x7be69338) (declare (out ) float gl_FogFragCoord@0x7be69118) (declare (uniform ) mat4 gl_ModelViewMatrix@0x7be69040) (declare (uniform ) mat4 gl_ProjectionMatrix@0x7be68ef8) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix@0x7be68e20) (declare (uniform ) mat3 gl_NormalMatrix@0x7be68bc0) (declare (uniform ) mat4 gl_ModelViewMatrixInverse@0x7be68970) (declare (uniform ) mat4 gl_ProjectionMatrixInverse@0x7be67f28) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse@0x7be678d8) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose@0x7be668a0) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose@0x7be665f0) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose@0x7be66250) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose@0x7be65fa0) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose@0x7be65c00) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose@0x7be65950) (declare (uniform ) float gl_NormalScale@0x7be655b0) (declare (uniform ) gl_LightModelParameters gl_LightModel@0x7be65468) (declare () int gl_MaxLights@0x7be65300) (declare () int gl_MaxClipPlanes@0x7be64f60) (declare () int gl_MaxTextureUnits@0x7be64cb0) (declare () int gl_MaxTextureCoords@0x7be64918) (declare () int gl_MaxVertexAttribs@0x7be64688) (declare () int gl_MaxVertexUniformComponents@0x7be64360) (declare () int gl_MaxVaryingFloats@0x7be63ff8) (declare () int gl_MaxVertexTextureImageUnits@0x7be63db8) (declare () int gl_MaxCombinedTextureImageUnits@0x7be63440) (declare () int gl_MaxTextureImageUnits@0x7be630d8) (declare () int gl_MaxFragmentUniformComponents@0x7be8b080) (declare (uniform ) (array mat4 8) gl_TextureMatrix@0x7be8c238) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse@0x7be8c160) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose@0x7be8bfb0) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose@0x7be8be00) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange@0x7be8bc50) (declare (uniform ) (array vec4 6) gl_ClipPlane@0x7be8bb78) (declare (uniform ) gl_PointParameters gl_Point@0x7be8baa0) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial@0x7be8b9c8) (declare (uniform ) gl_MaterialParameters gl_BackMaterial@0x7be8b8f0) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource@0x7be8b818) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct@0x7be8b740) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct@0x7be8b590) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct@0x7be8b3e0) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct@0x7be8b230) (declare (uniform ) (array vec4 8) gl_TextureEnvColor@0x7be932d0) (declare (uniform ) (array vec4 8) gl_EyePlaneS@0x7be931f8) (declare (uniform ) (array vec4 8) gl_EyePlaneT@0x7be93120) (declare (uniform ) (array vec4 8) gl_EyePlaneR@0x7be93048) (declare (uniform ) (array vec4 8) gl_EyePlaneQ@0x7be92f70) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS@0x7be92e98) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT@0x7be92dc0) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR@0x7be92d08) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ@0x7be92b70) (declare (uniform ) gl_FogParameters gl_Fog@0x7be92370) (declare (out ) (array vec4 0) gl_TexCoord@0x7be91e40) (declare () int gl_MaxDrawBuffers@0x7be91910) (declare (temporary ) float assignment_tmp@0x7be90ec0) (assign (constant bool (1)) (x) (var_ref FLT_MAX@0x7be913e8) (constant float (99999996802856924650656260769173209088.000000)) ) (function clamp (signature vec4 (parameters (declare (in ) vec4 arg0@0x7be8ec98) (declare (in ) float arg1@0x7be8e9e0) (declare (in ) float arg2@0x7be8e908) ) ( )) ) (function order_ps_input (signature void (parameters (declare (in ) (array vec4 12) OUT@0x7be907f8) ) ( (declare (temporary ) vec4 clamp_retval@0x7be8e758) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7be8e758) (call clamp ((array_ref (var_ref OUT@0x7be907f8) (constant int (0)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7be91e40) (constant int (0)) ) (var_ref clamp_retval@0x7be8e758) ) (declare (temporary ) vec4 clamp_retval@0x7be8d240) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7be8d240) (call clamp ((array_ref (var_ref OUT@0x7be907f8) (constant int (8)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (var_ref gl_FrontColor@0x7be698c0) (var_ref clamp_retval@0x7be8d240) ) (declare (temporary ) vec4 clamp_retval@0x7be94050) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7be94050) (call clamp ((array_ref (var_ref OUT@0x7be907f8) (constant int (10)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (var_ref gl_Position@0x7cfc5210) (var_ref clamp_retval@0x7be94050) ) )) ) ) GLSL source for shader 4: #version 120 uniform vec4 PC[8]; uniform sampler2D Psampler0; vec4 T0 = gl_TexCoord[0]; vec4 R0; vec4 tmp0; vec4 tmp1; void main() { T0.xyzw = (texture2D(Psampler0, T0.xy).xyzw); R0.xyzw = 2.0 * (T0.xyzw * gl_Color.xyzw); gl_FragData[0] = R0; } GLSL IR for shader 4: ( (declare () vec4 tmp1@0x75a36b78) (declare () vec4 tmp0@0x75a36c58) (declare () vec4 R0@0x75a36d38) (declare () vec4 T0@0x75a370b8) (declare (uniform ) sampler2D Psampler0@0x75a37198) (declare (uniform ) (array vec4 8) PC@0x75a37278) (declare (in ) vec4 gl_FragCoord@0x7be72dc0) (declare (in ) bool gl_FrontFacing@0x7cfd2fd0) (declare (out ) vec4 gl_FragColor@0x7cfd3438) (declare (out ) float gl_FragDepth@0x7cfd38a0) (declare (in ) vec4 gl_Color@0x7cfd3a50) (declare (in ) vec4 gl_SecondaryColor@0x7cfd3f40) (declare (in ) float gl_FogFragCoord@0x7cfd40f0) (declare (uniform ) mat4 gl_ModelViewMatrix@0x7cfd4558) (declare (uniform ) mat4 gl_ProjectionMatrix@0x7cfd4a98) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix@0x7cfd4fd8) (declare (uniform ) mat3 gl_NormalMatrix@0x7be73590) (declare (uniform ) mat4 gl_ModelViewMatrixInverse@0x7be73998) (declare (uniform ) mat4 gl_ProjectionMatrixInverse@0x7be73c98) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse@0x7be73f98) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose@0x7be743a8) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose@0x7be71308) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose@0x7be6b348) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose@0x7cfd2780) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose@0x7cfd29b8) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose@0x7bea15d8) (declare (uniform ) float gl_NormalScale@0x7be983f0) (declare (uniform ) gl_LightModelParameters gl_LightModel@0x7be985a0) (declare () int gl_MaxLights@0x7be98750) (declare () int gl_MaxClipPlanes@0x7be99680) (declare () int gl_MaxTextureUnits@0x7be99908) (declare () int gl_MaxTextureCoords@0x7be99b90) (declare () int gl_MaxVertexAttribs@0x7be949b0) (declare () int gl_MaxVertexUniformComponents@0x7be94d18) (declare () int gl_MaxVaryingFloats@0x7be94fa0) (declare () int gl_MaxVertexTextureImageUnits@0x7be95228) (declare () int gl_MaxCombinedTextureImageUnits@0x7be954b0) (declare () int gl_MaxTextureImageUnits@0x7be95738) (declare () int gl_MaxFragmentUniformComponents@0x7be959c0) (declare (uniform ) (array mat4 8) gl_TextureMatrix@0x7be95c48) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse@0x7be95df8) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose@0x7be95fa8) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose@0x7be96158) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange@0x7be96308) (declare (uniform ) (array vec4 6) gl_ClipPlane@0x7be964b8) (declare (uniform ) gl_PointParameters gl_Point@0x7be96668) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial@0x7be96818) (declare (uniform ) gl_MaterialParameters gl_BackMaterial@0x7be969c8) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource@0x7be96b78) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct@0x7be96d28) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct@0x7be96ed8) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct@0x7be97088) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct@0x7be97238) (declare (uniform ) (array vec4 8) gl_TextureEnvColor@0x7be973e8) (declare (uniform ) (array vec4 8) gl_EyePlaneS@0x7be97598) (declare (uniform ) (array vec4 8) gl_EyePlaneT@0x7be97748) (declare (uniform ) (array vec4 8) gl_EyePlaneR@0x7be97918) (declare (uniform ) (array vec4 8) gl_EyePlaneQ@0x7be97ae0) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS@0x7be97d30) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT@0x7be97ee0) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR@0x7be98090) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ@0x7be98240) (declare (uniform ) gl_FogParameters gl_Fog@0x7be994f0) (declare (in ) (array vec4 0) gl_TexCoord@0x7bea0e60) (declare () int gl_MaxDrawBuffers@0x7bea1010) (declare (out ) (array vec4 8) gl_FragData@0x7bea11c0) (declare (in ) vec2 gl_PointCoord@0x7be9a270) (declare (temporary ) vec4 assignment_tmp@0x75a36fd8) (assign (constant bool (1)) (xyzw) (var_ref T0@0x75a370b8) (array_ref (var_ref gl_TexCoord@0x7bea0e60) (constant int (0)) ) ) (function texture2D (signature vec4 (parameters (declare (in ) sampler2D sampler@0x75a368d8) (declare (in ) vec2 P@0x75a367f8) ) ( )) ) (function main (signature void (parameters ) ( (declare (temporary ) vec4 texture2D_retval@0x75a36638) (assign (constant bool (1)) (xyzw) (var_ref texture2D_retval@0x75a36638) (call texture2D ((var_ref Psampler0@0x75a37198) (swiz xy (var_ref T0@0x75a370b8) ))) ) (assign (constant bool (1)) (xyzw) (var_ref T0@0x75a370b8) (var_ref texture2D_retval@0x75a36638) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_FragData@0x7bea11c0) (constant int (0)) ) (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref texture2D_retval@0x75a36638) (var_ref gl_Color@0x7cfd3a50) ) ) ) )) ) ) GLSL IR for linked vertex program 1: ( (declare (in ) vec4 attrib2@0x75a27ea0) (declare (in ) vec4 attrib1@0x75a27dc8) (declare (in ) vec4 attrib0@0x75a27ce8) (declare () (array vec4 12) OUT@0x75a27c10) (declare (uniform ) vec4 posFixup@0x75a27b38) (declare (uniform ) (array vec4 5) VC@0x75a27a60) (declare (out ) vec4 gl_Position@0x75a27988) (declare (out ) vec4 gl_FrontColor@0x75a26c08) (declare (out ) float gl_FogFragCoord@0x75a26898) (declare (out ) (array vec4 1) gl_TexCoord@0x75a22d08) (function main (signature void (parameters ) ( (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (0)) ) ) ) (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (1)) ) ) ) (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (2)) ) ) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (3)) ) ) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x75a27c10) (constant int (0)) ) (expression vec4 + (var_ref attrib2@0x75a27ea0) (array_ref (var_ref VC@0x75a27a60) (constant int (4)) ) ) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x75a27c10) (constant int (8)) ) (var_ref attrib1@0x75a27dc8) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x75a22d08) (constant int (0)) ) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (assign (constant bool (1)) (xyzw) (var_ref gl_FrontColor@0x75a26c08) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (declare () vec4 _ret_val@0x75a38c08) (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x75a38c08) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (assign (constant bool (1)) (xyzw) (var_ref gl_Position@0x75a27988) (var_ref _ret_val@0x75a38c08) ) (assign (constant bool (1)) (x) (var_ref gl_FogFragCoord@0x75a26898) (constant float (0.000000)) ) (assign (constant bool (1)) (y) (var_ref gl_Position@0x75a27988) (expression float * (swiz y (var_ref _ret_val@0x75a38c08) )(swiz y (var_ref posFixup@0x75a27b38) )) ) (assign (constant bool (1)) (xy) (var_ref gl_Position@0x75a27988) (expression vec2 + (swiz xy (var_ref gl_Position@0x75a27988) )(expression vec2 * (swiz zw (var_ref posFixup@0x75a27b38) )(swiz ww (var_ref gl_Position@0x75a27988) )) ) ) (assign (constant bool (1)) (z) (var_ref gl_Position@0x75a27988) (expression float + (expression float * (swiz z (var_ref gl_Position@0x75a27988) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x75a27988) )) ) ) )) ) ) Mesa IR for linked vertex program 1: 0: (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (0)) ) ) DP4 TEMP[1].x, INPUT[16], UNIFORM[1]; 1: (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (0)) ) ) ) MOV TEMP[12].x, TEMP[1].xxxx; 2: (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (1)) ) ) DP4 TEMP[14].x, INPUT[16], UNIFORM[2]; 3: (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (1)) ) ) ) MOV TEMP[12].y, TEMP[14].xxxx; 4: (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (2)) ) ) DP4 TEMP[15].x, INPUT[16], UNIFORM[3]; 5: (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (2)) ) ) ) MOV TEMP[12].z, TEMP[15].xxxx; 6: (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (3)) ) ) DP4 TEMP[16].x, INPUT[16], UNIFORM[4]; 7: (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (expression float dot (var_ref attrib0@0x75a27ce8) (array_ref (var_ref VC@0x75a27a60) (constant int (3)) ) ) ) MOV TEMP[12].w, TEMP[16].xxxx; 8: (expression vec4 + (var_ref attrib2@0x75a27ea0) (array_ref (var_ref VC@0x75a27a60) (constant int (4)) ) ) ADD TEMP[17], INPUT[18], UNIFORM[5]; 9: (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x75a27c10) (constant int (0)) ) (expression vec4 + (var_ref attrib2@0x75a27ea0) (array_ref (var_ref VC@0x75a27a60) (constant int (4)) ) ) ) MOV TEMP[2], TEMP[17]; 10: (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x75a27c10) (constant int (8)) ) (var_ref attrib1@0x75a27dc8) ) MOV TEMP[10], INPUT[17]; 11: (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[18], TEMP[2], CONST[6].xxxx; 12: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[19], TEMP[18], CONST[6].yyyy; 13: (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x75a22d08) (constant int (0)) ) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV OUTPUT[4], TEMP[19]; 14: (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[20], TEMP[10], CONST[6].xxxx; 15: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[21], TEMP[20], CONST[6].yyyy; 16: (assign (constant bool (1)) (xyzw) (var_ref gl_FrontColor@0x75a26c08) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV OUTPUT[1], TEMP[21]; 17: (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[22], TEMP[12], CONST[6].xxxx; 18: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[23], TEMP[22], CONST[6].yyyy; 19: (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x75a38c08) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x75a27c10) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV TEMP[24], TEMP[23]; 20: (assign (constant bool (1)) (xyzw) (var_ref gl_Position@0x75a27988) (var_ref _ret_val@0x75a38c08) ) MOV OUTPUT[0], TEMP[24]; 21: (assign (constant bool (1)) (x) (var_ref gl_FogFragCoord@0x75a26898) (constant float (0.000000)) ) MOV OUTPUT[3], CONST[6].zzzz; 22: (expression float * (swiz y (var_ref _ret_val@0x75a38c08) )(swiz y (var_ref posFixup@0x75a27b38) )) MUL TEMP[25].x, TEMP[24].yyyy, UNIFORM[0].yyyy; 23: (assign (constant bool (1)) (y) (var_ref gl_Position@0x75a27988) (expression float * (swiz y (var_ref _ret_val@0x75a38c08) )(swiz y (var_ref posFixup@0x75a27b38) )) ) MOV OUTPUT[0].y, TEMP[25].xxxx; 24: (expression vec2 + (swiz xy (var_ref gl_Position@0x75a27988) )(expression vec2 * (swiz zw (var_ref posFixup@0x75a27b38) )(swiz ww (var_ref gl_Position@0x75a27988) )) ) MAD TEMP[26], UNIFORM[0].zwww, OUTPUT[0].wwww, OUTPUT[0].xyyy; 25: (assign (constant bool (1)) (xy) (var_ref gl_Position@0x75a27988) (expression vec2 + (swiz xy (var_ref gl_Position@0x75a27988) )(expression vec2 * (swiz zw (var_ref posFixup@0x75a27b38) )(swiz ww (var_ref gl_Position@0x75a27988) )) ) ) MOV OUTPUT[0].xy, TEMP[26].xyxx; 26: (expression float + (expression float * (swiz z (var_ref gl_Position@0x75a27988) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x75a27988) )) ) MAD TEMP[28], OUTPUT[0].zzzz, CONST[6].wwww, OUTPUT[0].-w-w-w-w; 27: (assign (constant bool (1)) (z) (var_ref gl_Position@0x75a27988) (expression float + (expression float * (swiz z (var_ref gl_Position@0x75a27988) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x75a27988) )) ) ) MOV OUTPUT[0].z, TEMP[28].xxxx; 28: END GLSL IR for linked fragment program 1: ( (declare () vec4 T0@0x75a17390) (declare (uniform ) sampler2D Psampler0@0x75a172b0) (declare (in ) vec4 gl_Color@0x75a16a50) (declare (in ) (array vec4 1) gl_TexCoord@0x75a11278) (declare (out ) (array vec4 1) gl_FragData@0x75a11058) (function main (signature void (parameters ) ( (assign (constant bool (1)) (xyzw) (var_ref T0@0x75a17390) (array_ref (var_ref gl_TexCoord@0x75a11278) (constant int (0)) ) ) (declare () vec4 _ret_val@0x75a288f0) (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x75a288f0) (tex (var_ref Psampler0@0x75a172b0) (swiz xy (var_ref T0@0x75a17390) ) (0 0 0) 1 () )) (assign (constant bool (1)) (xyzw) (var_ref T0@0x75a17390) (var_ref _ret_val@0x75a288f0) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_FragData@0x75a11058) (constant int (0)) ) (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref _ret_val@0x75a288f0) (var_ref gl_Color@0x75a16a50) ) ) ) )) ) ) Mesa IR for linked fragment program 1: 0: (assign (constant bool (1)) (xyzw) (var_ref T0@0x75a17390) (array_ref (var_ref gl_TexCoord@0x75a11278) (constant int (0)) ) ) MOV TEMP[1], INPUT[4]; 1: (tex (var_ref Psampler0@0x75a172b0) (swiz xy (var_ref T0@0x75a17390) ) (0 0 0) 1 () ) MOV TEMP[2], TEMP[1].xyyy; 2: TEX TEMP[3], TEMP[2], texture[0], 2D; 3: (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x75a288f0) (tex (var_ref Psampler0@0x75a172b0) (swiz xy (var_ref T0@0x75a17390) ) (0 0 0) 1 () )) MOV TEMP[4], TEMP[3]; 4: (assign (constant bool (1)) (xyzw) (var_ref T0@0x75a17390) (var_ref _ret_val@0x75a288f0) ) MOV TEMP[1], TEMP[4]; 5: (expression vec4 * (var_ref _ret_val@0x75a288f0) (var_ref gl_Color@0x75a16a50) ) MUL TEMP[5], TEMP[4], INPUT[1]; 6: (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref _ret_val@0x75a288f0) (var_ref gl_Color@0x75a16a50) ) ) MUL TEMP[6], CONST[1].xxxx, TEMP[5]; 7: (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_FragData@0x75a11058) (constant int (0)) ) (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref _ret_val@0x75a288f0) (var_ref gl_Color@0x75a16a50) ) ) ) MOV OUTPUT[3], TEMP[6]; 8: END GLSL source for shader 6: #version 120 uniform vec4 VC[256]; uniform vec4 posFixup; void order_ps_input(in vec4[12]); vec4 OUT[12]; vec4 R0; vec4 R1; vec4 R2; vec4 R3; vec4 R4; vec4 R5; vec4 R6; vec4 R7; vec4 R8; vec4 R9; vec4 R10; vec4 R11; attribute vec4 attrib0; attribute vec4 attrib1; attribute vec4 attrib2; vec4 tmp0; vec4 tmp1; uniform vec4 VLC24; void main() { OUT[10].x = (dot(attrib0.xyzw, VC[10].xyzw)); OUT[10].y = (dot(attrib0.xyzw, VC[11].xyzw)); OUT[10].z = (dot(attrib0.xyzw, VC[12].xyzw)); OUT[10].w = (dot(attrib0.xyzw, VC[13].xyzw)); R7.xyz = (-attrib0.xyz + VC[17].xyz); R7.w = (dot(R7.xyz, R7.xyz)); R7.w = (inversesqrt(abs(R7.w))); R2.xyz = (R7.xyz * R7.www); R2.w = (dot(R2.xyz, attrib1.xyz)); R2.w = (max(R2.w, VLC24.x)); R9.w = (log2(abs(R2.w))); R4.w = (R9.w * VC[23].x); R11.w = (R9.w * VC[22].x); OUT[9].w = (exp2(R4.w)); R6.xyzw = (attrib1.xyzy * attrib1.xyzx); R11.xyz = (R6.xxx * VC[1].xyz); R11.xyz = (R11.xyz + VC[0].xyz); R11.xyz = ((R6.yyy * VC[2].xyz) + R11.xyz); R11.xyz = ((R6.zzz * VC[3].xyz) + R11.xyz); R11.xyz = ((R6.www * VC[4].xyz) + R11.xyz); R3.xy = (attrib1.xz * attrib1.zy); R11.xyz = ((R3.xxx * VC[5].xyz) + R11.xyz); R11.xyz = ((R3.yyy * VC[6].xyz) + R11.xyz); R11.xyz = ((attrib1.xxx * VC[7].xyz) + R11.xyz); R11.xyz = ((attrib1.yyy * VC[8].xyz) + R11.xyz); R11.xyz = ((attrib1.zzz * VC[9].xyz) + R11.xyz); R4.xyzw = (R2.wwww * VC[19].xyzw); R2.w = (R2.w + R2.w); R1.xyzw = (R4.xyzw + VC[18].xyzw); R6.xyz = (R11.xyz * R1.xyz); R6.w = (R1.w); OUT[8].xyzw = (R6.xyzw * VLC24.wwww); R11.xyz = ((R2.www * attrib1.xyz) + -R2.xyz); OUT[0].x = (dot(R11.xyz, VC[14].xyz)); OUT[0].y = (dot(R11.xyz, VC[15].xyz)); OUT[0].z = (dot(R11.xyz, VC[16].xyz)); R11.w = (exp2(R11.w)); R8.xyz = (R11.www * VC[21].xyz); R3.xyz = (R8.xyz + VC[20].xyz); R10.xyzw = (R11.zzzz * VC[9].xyzw); R5.xyzw = (R11.yyyy * VC[8].xyzw); R0.xyzw = (R11.xyzy * R11.xyzx); R7.xyzw = (R0.xxxx * VC[1].xyzw); R9.xyzw = (R7.xyzw + VC[0].xyzw); R2.xyzw = ((R0.yyyy * VC[2].xyzw) + R9.xyzw); R8.xyzw = ((R0.zzzz * VC[3].xyzw) + R2.xyzw); R0.xyzw = ((R0.wwww * VC[4].xyzw) + R8.xyzw); R7.xy = (R11.xz * R11.zy); R11.xyzw = (R11.xxxx * VC[7].xyzw); R2.xyzw = ((R7.xxxx * VC[5].xyzw) + R0.xyzw); R1.xyzw = ((R7.yyyy * VC[6].xyzw) + R2.xyzw); R6.xyzw = (R11.xyzw + R1.xyzw); R5.xyzw = (R5.xyzw + R6.xyzw); R10.xyzw = (R10.xyzw + R5.xyzw); R10.w = (max(R10.w, VLC24.y)); R10.w = (min(R10.w, VLC24.z)); R10.w = (log2(abs(R10.w))); R10.w = (R10.w * VC[22].x); R10.w = (exp2(R10.w)); R8.xyz = (R10.xyz * R10.www); R3.xyz = (R3.xyz * R8.xyz); OUT[9].xyz = (R3.xyz * VLC24.www); OUT[0].w = (VLC24.z); OUT[1].xyzw = (attrib2.xyzw); order_ps_input(OUT); gl_FogFragCoord = 0.0; gl_Position.y = gl_Position.y * posFixup.y; gl_Position.xy += posFixup.zw * gl_Position.ww; gl_Position.z = gl_Position.z * 2.0 - gl_Position.w; } GLSL IR for shader 6: ( (declare (uniform ) vec4 VLC24@0x7bdd60a0) (declare () vec4 tmp1@0x7bdd5f68) (declare () vec4 tmp0@0x7bdd5e30) (declare (in ) vec4 attrib2@0x7bdd5cf8) (declare (in ) vec4 attrib1@0x7bdd5bc0) (declare (in ) vec4 attrib0@0x7bdd5a88) (declare () vec4 R11@0x7bdd5958) (declare () vec4 R10@0x7bdd5828) (declare () vec4 R9@0x7bdd56f8) (declare () vec4 R8@0x7bdd55c8) (declare () vec4 R7@0x7bdd5498) (declare () vec4 R6@0x7bdd5368) (declare () vec4 R5@0x7bdd5238) (declare () vec4 R4@0x7bdd5108) (declare () vec4 R3@0x7bdd4fd8) (declare () vec4 R2@0x7bdd4ea8) (declare () vec4 R1@0x7bdd4da0) (declare () vec4 R0@0x7bd2b5f0) (declare () (array vec4 12) OUT@0x7bd2b4c0) (declare (uniform ) vec4 posFixup@0x7bd2b048) (declare (uniform ) (array vec4 256) VC@0x7bd2af18) (declare (out ) vec4 gl_Position@0x7bbf78e0) (declare (out ) float gl_PointSize@0x7befc0b0) (declare (in ) vec4 gl_Vertex@0x7cfc5ce0) (declare (in ) vec3 gl_Normal@0x7cfc6060) (declare (in ) vec4 gl_Color@0x7cfc63e0) (declare (in ) vec4 gl_SecondaryColor@0x7bbeae50) (declare (in ) vec4 gl_MultiTexCoord0@0x7cfd7658) (declare (in ) vec4 gl_MultiTexCoord1@0x7bd9df28) (declare (in ) vec4 gl_MultiTexCoord2@0x7bd9e010) (declare (in ) vec4 gl_MultiTexCoord3@0x7bd9e0f8) (declare (in ) vec4 gl_MultiTexCoord4@0x7bd9e1e0) (declare (in ) vec4 gl_MultiTexCoord5@0x7bd9e2c8) (declare (in ) vec4 gl_MultiTexCoord6@0x7bd9e3c8) (declare (in ) vec4 gl_MultiTexCoord7@0x7bd9e4e0) (declare (in ) float gl_FogCoord@0x7bd9e5f8) (declare (out ) vec4 gl_ClipVertex@0x7bd9e6f0) (declare (out ) vec4 gl_FrontColor@0x7bd9e808) (declare (out ) vec4 gl_BackColor@0x7bd9e950) (declare (out ) vec4 gl_FrontSecondaryColor@0x7bd14f80) (declare (out ) vec4 gl_BackSecondaryColor@0x7bd150d8) (declare (out ) float gl_FogFragCoord@0x7bd15230) (declare (uniform ) mat4 gl_ModelViewMatrix@0x7bd15378) (declare (uniform ) mat4 gl_ProjectionMatrix@0x7bd154c0) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix@0x7bd15608) (declare (uniform ) mat3 gl_NormalMatrix@0x7bd15748) (declare (uniform ) mat4 gl_ModelViewMatrixInverse@0x7bd15890) (declare (uniform ) mat4 gl_ProjectionMatrixInverse@0x7bd159e8) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse@0x7bd15b40) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose@0x7bd15c80) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose@0x7bb29ae8) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose@0x7bb29c50) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose@0x7bb29d98) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose@0x7bb29f00) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose@0x7bb2a068) (declare (uniform ) float gl_NormalScale@0x7bb2a1b8) (declare (uniform ) gl_LightModelParameters gl_LightModel@0x7bb2a300) (declare () int gl_MaxLights@0x7bb2a448) (declare () int gl_MaxClipPlanes@0x7bb2a628) (declare () int gl_MaxTextureUnits@0x7bb2a808) (declare () int gl_MaxTextureCoords@0x7bb2a9e8) (declare () int gl_MaxVertexAttribs@0x7bb2abc8) (declare () int gl_MaxVertexUniformComponents@0x7bb2ada8) (declare () int gl_MaxVaryingFloats@0x7bb2afa8) (declare () int gl_MaxVertexTextureImageUnits@0x7bb2b188) (declare () int gl_MaxCombinedTextureImageUnits@0x7bb2b388) (declare () int gl_MaxTextureImageUnits@0x7bb2b588) (declare () int gl_MaxFragmentUniformComponents@0x7bb2b778) (declare (uniform ) (array mat4 8) gl_TextureMatrix@0x7bb2b978) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse@0x7bb2bac0) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose@0x7bb2bc18) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose@0x7bd29050) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange@0x7bd291a8) (declare (uniform ) (array vec4 6) gl_ClipPlane@0x7bd292f0) (declare (uniform ) gl_PointParameters gl_Point@0x7bd29438) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial@0x7bd29570) (declare (uniform ) gl_MaterialParameters gl_BackMaterial@0x7bd296b8) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource@0x7bd29800) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct@0x7bd29948) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct@0x7bd29aa0) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct@0x7bd29bf8) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct@0x7bd29d50) (declare (uniform ) (array vec4 8) gl_TextureEnvColor@0x7bd29e98) (declare (uniform ) (array vec4 8) gl_EyePlaneS@0x7bd29fe0) (declare (uniform ) (array vec4 8) gl_EyePlaneT@0x7bd2a128) (declare (uniform ) (array vec4 8) gl_EyePlaneR@0x7bd2a270) (declare (uniform ) (array vec4 8) gl_EyePlaneQ@0x7bd2a3b8) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS@0x7bd2a500) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT@0x7bd2a648) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR@0x7bd2a790) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ@0x7bd2a8d8) (declare (uniform ) gl_FogParameters gl_Fog@0x7bd2aa20) (declare (out ) (array vec4 0) gl_TexCoord@0x7bd2ab58) (declare () int gl_MaxDrawBuffers@0x7bd2ac90) (function order_ps_input (signature void (parameters (declare (in ) (array vec4 12) (null)@0x7bd2b218) ) ( )) ) (function dot (signature float (parameters (declare (in ) vec4 arg0@0x7bdd68d0) (declare (in ) vec4 arg1@0x7bdd6970) ) ( )) (signature float (parameters (declare (in ) vec3 arg0@0x7bd19ce8) (declare (in ) vec3 arg1@0x7bd19d88) ) ( )) ) (function abs (signature float (parameters (declare (in ) float arg0@0x7bd581a8) ) ( )) ) (function inversesqrt (signature float (parameters (declare (in ) float arg0@0x7bd585f0) ) ( )) ) (function max (signature float (parameters (declare (in ) float arg0@0x7bd59b50) (declare (in ) float arg1@0x7bd59bf0) ) ( )) ) (function log2 (signature float (parameters (declare (in ) float arg0@0x7bd5a6b8) ) ( )) ) (function exp2 (signature float (parameters (declare (in ) float arg0@0x7bb95220) ) ( )) ) (function min (signature float (parameters (declare (in ) float arg0@0x7bed7fc8) (declare (in ) float arg1@0x7bed8068) ) ( )) ) (function main (signature void (parameters ) ( (declare (temporary ) float dot_retval@0x7bdd6aa8) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bdd6aa8) (call dot ((var_ref attrib0@0x7bdd5a88) (array_ref (var_ref VC@0x7bd2af18) (constant int (10)) ) )) ) (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (10)) ) (var_ref dot_retval@0x7bdd6aa8) ) (declare (temporary ) float dot_retval@0x7bdd7370) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bdd7370) (call dot ((var_ref attrib0@0x7bdd5a88) (array_ref (var_ref VC@0x7bd2af18) (constant int (11)) ) )) ) (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (10)) ) (var_ref dot_retval@0x7bdd7370) ) (declare (temporary ) float dot_retval@0x7bd186e0) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd186e0) (call dot ((var_ref attrib0@0x7bdd5a88) (array_ref (var_ref VC@0x7bd2af18) (constant int (12)) ) )) ) (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (10)) ) (var_ref dot_retval@0x7bd186e0) ) (declare (temporary ) float dot_retval@0x7bd18fa8) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd18fa8) (call dot ((var_ref attrib0@0x7bdd5a88) (array_ref (var_ref VC@0x7bd2af18) (constant int (13)) ) )) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (10)) ) (var_ref dot_retval@0x7bd18fa8) ) (assign (constant bool (1)) (xyz) (var_ref R7@0x7bdd5498) (expression vec3 + (expression vec3 neg (swiz xyz (var_ref attrib0@0x7bdd5a88) )) (swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (17)) ) )) ) (declare (temporary ) float dot_retval@0x7bd19ec0) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd19ec0) (call dot ((swiz xyz (var_ref R7@0x7bdd5498) )(swiz xyz (var_ref R7@0x7bdd5498) ))) ) (assign (constant bool (1)) (w) (var_ref R7@0x7bdd5498) (var_ref dot_retval@0x7bd19ec0) ) (declare (temporary ) float abs_retval@0x7bd582e0) (assign (constant bool (1)) (x) (var_ref abs_retval@0x7bd582e0) (call abs ((swiz w (var_ref R7@0x7bdd5498) ))) ) (declare (temporary ) float inversesqrt_retval@0x7bd58730) (assign (constant bool (1)) (x) (var_ref inversesqrt_retval@0x7bd58730) (call inversesqrt ((var_ref abs_retval@0x7bd582e0) )) ) (assign (constant bool (1)) (w) (var_ref R7@0x7bdd5498) (var_ref inversesqrt_retval@0x7bd58730) ) (assign (constant bool (1)) (xyz) (var_ref R2@0x7bdd4ea8) (expression vec3 * (swiz xyz (var_ref R7@0x7bdd5498) )(swiz www (var_ref R7@0x7bdd5498) )) ) (declare (temporary ) float dot_retval@0x7bd59358) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd59358) (call dot ((swiz xyz (var_ref R2@0x7bdd4ea8) )(swiz xyz (var_ref attrib1@0x7bdd5bc0) ))) ) (assign (constant bool (1)) (w) (var_ref R2@0x7bdd4ea8) (var_ref dot_retval@0x7bd59358) ) (declare (temporary ) float max_retval@0x7bd59d28) (assign (constant bool (1)) (x) (var_ref max_retval@0x7bd59d28) (call max ((swiz w (var_ref R2@0x7bdd4ea8) )(swiz x (var_ref VLC24@0x7bdd60a0) ))) ) (assign (constant bool (1)) (w) (var_ref R2@0x7bdd4ea8) (var_ref max_retval@0x7bd59d28) ) (declare (temporary ) float abs_retval@0x7bd5a380) (assign (constant bool (1)) (x) (var_ref abs_retval@0x7bd5a380) (call abs ((swiz w (var_ref R2@0x7bdd4ea8) ))) ) (declare (temporary ) float log2_retval@0x7bb93db8) (assign (constant bool (1)) (x) (var_ref log2_retval@0x7bb93db8) (call log2 ((var_ref abs_retval@0x7bd5a380) )) ) (assign (constant bool (1)) (w) (var_ref R9@0x7bdd56f8) (var_ref log2_retval@0x7bb93db8) ) (assign (constant bool (1)) (w) (var_ref R4@0x7bdd5108) (expression float * (swiz w (var_ref R9@0x7bdd56f8) )(swiz x (array_ref (var_ref VC@0x7bd2af18) (constant int (23)) ) )) ) (assign (constant bool (1)) (w) (var_ref R11@0x7bdd5958) (expression float * (swiz w (var_ref R9@0x7bdd56f8) )(swiz x (array_ref (var_ref VC@0x7bd2af18) (constant int (22)) ) )) ) (declare (temporary ) float exp2_retval@0x7bb95358) (assign (constant bool (1)) (x) (var_ref exp2_retval@0x7bb95358) (call exp2 ((swiz w (var_ref R4@0x7bdd5108) ))) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (9)) ) (var_ref exp2_retval@0x7bb95358) ) (assign (constant bool (1)) (xyzw) (var_ref R6@0x7bdd5368) (expression vec4 * (swiz xyzy (var_ref attrib1@0x7bdd5bc0) )(swiz xyzx (var_ref attrib1@0x7bdd5bc0) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 * (swiz xxx (var_ref R6@0x7bdd5368) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (1)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (swiz xyz (var_ref R11@0x7bdd5958) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (0)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz yyy (var_ref R6@0x7bdd5368) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (2)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz zzz (var_ref R6@0x7bdd5368) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (3)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz www (var_ref R6@0x7bdd5368) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (4)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xy) (var_ref R3@0x7bdd4fd8) (expression vec2 * (swiz xz (var_ref attrib1@0x7bdd5bc0) )(swiz zy (var_ref attrib1@0x7bdd5bc0) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz xxx (var_ref R3@0x7bdd4fd8) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (5)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz yyy (var_ref R3@0x7bdd4fd8) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (6)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz xxx (var_ref attrib1@0x7bdd5bc0) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (7)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz yyy (var_ref attrib1@0x7bdd5bc0) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (8)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz zzz (var_ref attrib1@0x7bdd5bc0) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (9)) ) )) (swiz xyz (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyzw) (var_ref R4@0x7bdd5108) (expression vec4 * (swiz wwww (var_ref R2@0x7bdd4ea8) )(array_ref (var_ref VC@0x7bd2af18) (constant int (19)) ) ) ) (assign (constant bool (1)) (w) (var_ref R2@0x7bdd4ea8) (expression float + (swiz w (var_ref R2@0x7bdd4ea8) )(swiz w (var_ref R2@0x7bdd4ea8) )) ) (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bdd4da0) (expression vec4 + (var_ref R4@0x7bdd5108) (array_ref (var_ref VC@0x7bd2af18) (constant int (18)) ) ) ) (assign (constant bool (1)) (xyz) (var_ref R6@0x7bdd5368) (expression vec3 * (swiz xyz (var_ref R11@0x7bdd5958) )(swiz xyz (var_ref R1@0x7bdd4da0) )) ) (assign (constant bool (1)) (w) (var_ref R6@0x7bdd5368) (swiz w (var_ref R1@0x7bdd4da0) )) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (8)) ) (expression vec4 * (var_ref R6@0x7bdd5368) (swiz wwww (var_ref VLC24@0x7bdd60a0) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bdd5958) (expression vec3 + (expression vec3 * (swiz www (var_ref R2@0x7bdd4ea8) )(swiz xyz (var_ref attrib1@0x7bdd5bc0) )) (expression vec3 neg (swiz xyz (var_ref R2@0x7bdd4ea8) )) ) ) (declare (temporary ) float dot_retval@0x7bd415c8) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd415c8) (call dot ((swiz xyz (var_ref R11@0x7bdd5958) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (14)) ) ))) ) (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (0)) ) (var_ref dot_retval@0x7bd415c8) ) (declare (temporary ) float dot_retval@0x7bd26500) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd26500) (call dot ((swiz xyz (var_ref R11@0x7bdd5958) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (15)) ) ))) ) (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (0)) ) (var_ref dot_retval@0x7bd26500) ) (declare (temporary ) float dot_retval@0x7bd26dc8) (assign (constant bool (1)) (x) (var_ref dot_retval@0x7bd26dc8) (call dot ((swiz xyz (var_ref R11@0x7bdd5958) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (16)) ) ))) ) (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (0)) ) (var_ref dot_retval@0x7bd26dc8) ) (declare (temporary ) float exp2_retval@0x7bd27420) (assign (constant bool (1)) (x) (var_ref exp2_retval@0x7bd27420) (call exp2 ((swiz w (var_ref R11@0x7bdd5958) ))) ) (assign (constant bool (1)) (w) (var_ref R11@0x7bdd5958) (var_ref exp2_retval@0x7bd27420) ) (assign (constant bool (1)) (xyz) (var_ref R8@0x7bdd55c8) (expression vec3 * (swiz www (var_ref R11@0x7bdd5958) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (21)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R3@0x7bdd4fd8) (expression vec3 + (swiz xyz (var_ref R8@0x7bdd55c8) )(swiz xyz (array_ref (var_ref VC@0x7bd2af18) (constant int (20)) ) )) ) (assign (constant bool (1)) (xyzw) (var_ref R10@0x7bdd5828) (expression vec4 * (swiz zzzz (var_ref R11@0x7bdd5958) )(array_ref (var_ref VC@0x7bd2af18) (constant int (9)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R5@0x7bdd5238) (expression vec4 * (swiz yyyy (var_ref R11@0x7bdd5958) )(array_ref (var_ref VC@0x7bd2af18) (constant int (8)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R0@0x7bd2b5f0) (expression vec4 * (swiz xyzy (var_ref R11@0x7bdd5958) )(swiz xyzx (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyzw) (var_ref R7@0x7bdd5498) (expression vec4 * (swiz xxxx (var_ref R0@0x7bd2b5f0) )(array_ref (var_ref VC@0x7bd2af18) (constant int (1)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R9@0x7bdd56f8) (expression vec4 + (var_ref R7@0x7bdd5498) (array_ref (var_ref VC@0x7bd2af18) (constant int (0)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R2@0x7bdd4ea8) (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R0@0x7bd2b5f0) )(array_ref (var_ref VC@0x7bd2af18) (constant int (2)) ) ) (var_ref R9@0x7bdd56f8) ) ) (assign (constant bool (1)) (xyzw) (var_ref R8@0x7bdd55c8) (expression vec4 + (expression vec4 * (swiz zzzz (var_ref R0@0x7bd2b5f0) )(array_ref (var_ref VC@0x7bd2af18) (constant int (3)) ) ) (var_ref R2@0x7bdd4ea8) ) ) (assign (constant bool (1)) (xyzw) (var_ref R0@0x7bd2b5f0) (expression vec4 + (expression vec4 * (swiz wwww (var_ref R0@0x7bd2b5f0) )(array_ref (var_ref VC@0x7bd2af18) (constant int (4)) ) ) (var_ref R8@0x7bdd55c8) ) ) (assign (constant bool (1)) (xy) (var_ref R7@0x7bdd5498) (expression vec2 * (swiz xz (var_ref R11@0x7bdd5958) )(swiz zy (var_ref R11@0x7bdd5958) )) ) (assign (constant bool (1)) (xyzw) (var_ref R11@0x7bdd5958) (expression vec4 * (swiz xxxx (var_ref R11@0x7bdd5958) )(array_ref (var_ref VC@0x7bd2af18) (constant int (7)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R2@0x7bdd4ea8) (expression vec4 + (expression vec4 * (swiz xxxx (var_ref R7@0x7bdd5498) )(array_ref (var_ref VC@0x7bd2af18) (constant int (5)) ) ) (var_ref R0@0x7bd2b5f0) ) ) (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bdd4da0) (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R7@0x7bdd5498) )(array_ref (var_ref VC@0x7bd2af18) (constant int (6)) ) ) (var_ref R2@0x7bdd4ea8) ) ) (assign (constant bool (1)) (xyzw) (var_ref R6@0x7bdd5368) (expression vec4 + (var_ref R11@0x7bdd5958) (var_ref R1@0x7bdd4da0) ) ) (assign (constant bool (1)) (xyzw) (var_ref R5@0x7bdd5238) (expression vec4 + (var_ref R5@0x7bdd5238) (var_ref R6@0x7bdd5368) ) ) (assign (constant bool (1)) (xyzw) (var_ref R10@0x7bdd5828) (expression vec4 + (var_ref R10@0x7bdd5828) (var_ref R5@0x7bdd5238) ) ) (declare (temporary ) float max_retval@0x7bed7818) (assign (constant bool (1)) (x) (var_ref max_retval@0x7bed7818) (call max ((swiz w (var_ref R10@0x7bdd5828) )(swiz y (var_ref VLC24@0x7bdd60a0) ))) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bdd5828) (var_ref max_retval@0x7bed7818) ) (declare (temporary ) float min_retval@0x7bed81a0) (assign (constant bool (1)) (x) (var_ref min_retval@0x7bed81a0) (call min ((swiz w (var_ref R10@0x7bdd5828) )(swiz z (var_ref VLC24@0x7bdd60a0) ))) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bdd5828) (var_ref min_retval@0x7bed81a0) ) (declare (temporary ) float abs_retval@0x7bed87f8) (assign (constant bool (1)) (x) (var_ref abs_retval@0x7bed87f8) (call abs ((swiz w (var_ref R10@0x7bdd5828) ))) ) (declare (temporary ) float log2_retval@0x7bed8a28) (assign (constant bool (1)) (x) (var_ref log2_retval@0x7bed8a28) (call log2 ((var_ref abs_retval@0x7bed87f8) )) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bdd5828) (var_ref log2_retval@0x7bed8a28) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bdd5828) (expression float * (swiz w (var_ref R10@0x7bdd5828) )(swiz x (array_ref (var_ref VC@0x7bd2af18) (constant int (22)) ) )) ) (declare (temporary ) float exp2_retval@0x7bd1b108) (assign (constant bool (1)) (x) (var_ref exp2_retval@0x7bd1b108) (call exp2 ((swiz w (var_ref R10@0x7bdd5828) ))) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bdd5828) (var_ref exp2_retval@0x7bd1b108) ) (assign (constant bool (1)) (xyz) (var_ref R8@0x7bdd55c8) (expression vec3 * (swiz xyz (var_ref R10@0x7bdd5828) )(swiz www (var_ref R10@0x7bdd5828) )) ) (assign (constant bool (1)) (xyz) (var_ref R3@0x7bdd4fd8) (expression vec3 * (swiz xyz (var_ref R3@0x7bdd4fd8) )(swiz xyz (var_ref R8@0x7bdd55c8) )) ) (assign (constant bool (1)) (xyz) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (9)) ) (expression vec3 * (swiz xyz (var_ref R3@0x7bdd4fd8) )(swiz www (var_ref VLC24@0x7bdd60a0) )) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (0)) ) (swiz z (var_ref VLC24@0x7bdd60a0) )) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7bd2b4c0) (constant int (1)) ) (var_ref attrib2@0x7bdd5cf8) ) (call order_ps_input ((var_ref OUT@0x7bd2b4c0) )) (assign (constant bool (1)) (x) (var_ref gl_FogFragCoord@0x7bd15230) (constant float (0.000000)) ) (assign (constant bool (1)) (y) (var_ref gl_Position@0x7bbf78e0) (expression float * (swiz y (var_ref gl_Position@0x7bbf78e0) )(swiz y (var_ref posFixup@0x7bd2b048) )) ) (assign (constant bool (1)) (xy) (var_ref gl_Position@0x7bbf78e0) (expression vec2 + (swiz xy (var_ref gl_Position@0x7bbf78e0) )(expression vec2 * (swiz zw (var_ref posFixup@0x7bd2b048) )(swiz ww (var_ref gl_Position@0x7bbf78e0) )) ) ) (assign (constant bool (1)) (z) (var_ref gl_Position@0x7bbf78e0) (expression float + (expression float * (swiz z (var_ref gl_Position@0x7bbf78e0) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x7bbf78e0) )) ) ) )) ) ) GLSL source for shader 7: #version 120 const float FLT_MAX = 1e38; void order_ps_input(in vec4 OUT[12]) { gl_TexCoord[0].xyzw = clamp(OUT[0].xyzw, -FLT_MAX, FLT_MAX); gl_TexCoord[1].xyzw = clamp(OUT[1].xyzw, -FLT_MAX, FLT_MAX); gl_FrontColor.xyzw = clamp(OUT[8].xyzw, -FLT_MAX, FLT_MAX); gl_FrontSecondaryColor.xyzw = clamp(OUT[9].xyzw, -FLT_MAX, FLT_MAX); gl_Position.xyzw = clamp(OUT[10].xyzw, -FLT_MAX, FLT_MAX); } GLSL IR for shader 7: ( (declare () float FLT_MAX@0x7bd1c360) (declare (out ) vec4 gl_Position@0x7be70a38) (declare (out ) float gl_PointSize@0x7bb93298) (declare (in ) vec4 gl_Vertex@0x7cfd5160) (declare (in ) vec3 gl_Normal@0x7cfddbb8) (declare (in ) vec4 gl_Color@0x7be41b18) (declare (in ) vec4 gl_SecondaryColor@0x7cfd88c8) (declare (in ) vec4 gl_MultiTexCoord0@0x7cfd9348) (declare (in ) vec4 gl_MultiTexCoord1@0x7be3dd40) (declare (in ) vec4 gl_MultiTexCoord2@0x7cfc5f48) (declare (in ) vec4 gl_MultiTexCoord3@0x7cfc62c8) (declare (in ) vec4 gl_MultiTexCoord4@0x7cfd5748) (declare (in ) vec4 gl_MultiTexCoord5@0x7cfd9140) (declare (in ) vec4 gl_MultiTexCoord6@0x7cfd9448) (declare (in ) vec4 gl_MultiTexCoord7@0x7cfd7370) (declare (in ) float gl_FogCoord@0x7cfd9a10) (declare (out ) vec4 gl_ClipVertex@0x7cfdd9a0) (declare (out ) vec4 gl_FrontColor@0x7cfc9e48) (declare (out ) vec4 gl_BackColor@0x7be3f920) (declare (out ) vec4 gl_FrontSecondaryColor@0x7be3b098) (declare (out ) vec4 gl_BackSecondaryColor@0x7be3b178) (declare (out ) float gl_FogFragCoord@0x7be3c068) (declare (uniform ) mat4 gl_ModelViewMatrix@0x7be3d038) (declare (uniform ) mat4 gl_ProjectionMatrix@0x7cfda5f0) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix@0x7bbdd8b8) (declare (uniform ) mat3 gl_NormalMatrix@0x7bbdd9a0) (declare (uniform ) mat4 gl_ModelViewMatrixInverse@0x7be3c850) (declare (uniform ) mat4 gl_ProjectionMatrixInverse@0x7be3c930) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse@0x7be3b880) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose@0x7be240d8) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose@0x7cfda0b0) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose@0x7cfda980) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose@0x7bb88c18) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose@0x7cfd8a50) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose@0x7bbeacf8) (declare (uniform ) float gl_NormalScale@0x7bd1b250) (declare (uniform ) gl_LightModelParameters gl_LightModel@0x7be3f138) (declare () int gl_MaxLights@0x7be408f0) (declare () int gl_MaxClipPlanes@0x7be3e9e8) (declare () int gl_MaxTextureUnits@0x7be3da18) (declare () int gl_MaxTextureCoords@0x7be41170) (declare () int gl_MaxVertexAttribs@0x7be401a0) (declare () int gl_MaxVertexUniformComponents@0x7cfd98f8) (declare () int gl_MaxVaryingFloats@0x7cfd9c08) (declare () int gl_MaxVertexTextureImageUnits@0x7cfd9028) (declare () int gl_MaxCombinedTextureImageUnits@0x7cfd9f98) (declare () int gl_MaxTextureImageUnits@0x7cfda4d8) (declare () int gl_MaxFragmentUniformComponents@0x7cfc61a0) (declare (uniform ) (array mat4 8) gl_TextureMatrix@0x7bd246c8) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse@0x7be409e0) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose@0x7cfc5d88) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose@0x7cfc5e80) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange@0x7cfc6618) (declare (uniform ) (array vec4 6) gl_ClipPlane@0x7cfc6708) (declare (uniform ) gl_PointParameters gl_Point@0x7cfd9d20) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial@0x7cfd9e38) (declare (uniform ) gl_MaterialParameters gl_BackMaterial@0x7cfd9680) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource@0x7cfd8408) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct@0x7be41f58) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct@0x7be42050) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct@0x7be40e28) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct@0x7be40f08) (declare (uniform ) (array vec4 8) gl_TextureEnvColor@0x7be40640) (declare (uniform ) (array vec4 8) gl_EyePlaneS@0x7be3deb8) (declare (uniform ) (array vec4 8) gl_EyePlaneT@0x7cf5aff0) (declare (uniform ) (array vec4 8) gl_EyePlaneR@0x7be3cd88) (declare (uniform ) (array vec4 8) gl_EyePlaneQ@0x7cfd74d0) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS@0x7bbe3ef0) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT@0x7bbf9e70) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR@0x7bbf9f70) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ@0x7bbf1358) (declare (uniform ) gl_FogParameters gl_Fog@0x7bb7bde8) (declare (out ) (array vec4 0) gl_TexCoord@0x7bb7bf20) (declare () int gl_MaxDrawBuffers@0x7bd1c7c8) (declare (temporary ) float assignment_tmp@0x7bd1bd40) (assign (constant bool (1)) (x) (var_ref FLT_MAX@0x7bd1c360) (constant float (99999996802856924650656260769173209088.000000)) ) (function clamp (signature vec4 (parameters (declare (in ) vec4 arg0@0x7bed72f8) (declare (in ) float arg1@0x7bed7398) (declare (in ) float arg2@0x7bed7438) ) ( )) ) (function order_ps_input (signature void (parameters (declare (in ) (array vec4 12) OUT@0x7bd1b818) ) ( (declare (temporary ) vec4 clamp_retval@0x7bed6e70) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7bed6e70) (call clamp ((array_ref (var_ref OUT@0x7bd1b818) (constant int (0)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7bb7bf20) (constant int (0)) ) (var_ref clamp_retval@0x7bed6e70) ) (declare (temporary ) vec4 clamp_retval@0x7bbb4b88) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7bbb4b88) (call clamp ((array_ref (var_ref OUT@0x7bd1b818) (constant int (1)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7bb7bf20) (constant int (1)) ) (var_ref clamp_retval@0x7bbb4b88) ) (declare (temporary ) vec4 clamp_retval@0x7bd5cd88) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7bd5cd88) (call clamp ((array_ref (var_ref OUT@0x7bd1b818) (constant int (8)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (var_ref gl_FrontColor@0x7cfc9e48) (var_ref clamp_retval@0x7bd5cd88) ) (declare (temporary ) vec4 clamp_retval@0x7bd27d00) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7bd27d00) (call clamp ((array_ref (var_ref OUT@0x7bd1b818) (constant int (9)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (var_ref gl_FrontSecondaryColor@0x7be3b098) (var_ref clamp_retval@0x7bd27d00) ) (declare (temporary ) vec4 clamp_retval@0x7bd40200) (assign (constant bool (1)) (xyzw) (var_ref clamp_retval@0x7bd40200) (call clamp ((array_ref (var_ref OUT@0x7bd1b818) (constant int (10)) ) (constant float (-99999996802856924650656260769173209088.000000)) (constant float (99999996802856924650656260769173209088.000000)) )) ) (assign (constant bool (1)) (xyzw) (var_ref gl_Position@0x7be70a38) (var_ref clamp_retval@0x7bd40200) ) )) ) ) GLSL source for shader 8: #version 120 uniform vec4 PC[8]; uniform sampler2D Psampler0; uniform sampler2D Psampler1; vec4 T0 = gl_TexCoord[0]; vec4 T1 = gl_TexCoord[1]; vec4 R0; vec4 R1; vec4 tmp0; vec4 tmp1; void main() { T0.xyzw = (texture2D(Psampler0, T0.xy).xyzw); T1.xyzw = (texture2D(Psampler1, T1.xy).xyzw); R0.xyz = ((gl_SecondaryColor.www * PC[1].xyz) + PC[0].xyz); R0.xyz = 4.0 * (T0.xyz * R0.xyz); R0.xyz = (R0.xyz + gl_SecondaryColor.xyz); R1.xyzw = 2.0 * (T1.xyzw * gl_Color.xyzw); R0.xyz = ((R0.xyz * R1.www) + R1.xyz); R0.w = (R1.w); gl_FragData[0] = R0; } GLSL IR for shader 8: ( (declare () vec4 tmp1@0x7bd14668) (declare () vec4 tmp0@0x7bd14530) (declare () vec4 R1@0x7bd14400) (declare () vec4 R0@0x7bd142d0) (declare () vec4 T1@0x7bd13dd0) (declare () vec4 T0@0x7bd9dca8) (declare (uniform ) sampler2D Psampler1@0x7bd9db70) (declare (uniform ) sampler2D Psampler0@0x7bd9da38) (declare (uniform ) (array vec4 8) PC@0x7bd9d908) (declare (in ) vec4 gl_FragCoord@0x7be3cc10) (declare (in ) bool gl_FrontFacing@0x7bea19f8) (declare (out ) vec4 gl_FragColor@0x7bb96028) (declare (out ) float gl_FragDepth@0x7bb96130) (declare (in ) vec4 gl_Color@0x7bb95ac0) (declare (in ) vec4 gl_SecondaryColor@0x7bb954a0) (declare (in ) float gl_FogFragCoord@0x7bb955a8) (declare (uniform ) mat4 gl_ModelViewMatrix@0x7bb94c18) (declare (uniform ) mat4 gl_ProjectionMatrix@0x7bb7a7b0) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix@0x7bb7a8b8) (declare (uniform ) mat3 gl_NormalMatrix@0x7bdd6cd0) (declare (uniform ) mat4 gl_ModelViewMatrixInverse@0x7cfda800) (declare (uniform ) mat4 gl_ProjectionMatrixInverse@0x7bd1d150) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse@0x7bd1d280) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose@0x7bb93fe0) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose@0x7be3e720) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose@0x7be3bdb8) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose@0x7be3bed8) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose@0x7be3b698) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose@0x7be41610) (declare (uniform ) float gl_NormalScale@0x7be41750) (declare (uniform ) gl_LightModelParameters gl_LightModel@0x7be3ef50) (declare () int gl_MaxLights@0x7be23e28) (declare () int gl_MaxClipPlanes@0x7be3d768) (declare () int gl_MaxTextureUnits@0x7be3f708) (declare () int gl_MaxTextureCoords@0x7cfd8680) (declare () int gl_MaxVertexAttribs@0x7bebd6b8) (declare () int gl_MaxVertexUniformComponents@0x7cfc5348) (declare () int gl_MaxVaryingFloats@0x7be3c638) (declare () int gl_MaxVertexTextureImageUnits@0x7be3fef0) (declare () int gl_MaxCombinedTextureImageUnits@0x7cfc5a30) (declare () int gl_MaxTextureImageUnits@0x7cfd7028) (declare () int gl_MaxFragmentUniformComponents@0x7bb7ae20) (declare (uniform ) (array mat4 8) gl_TextureMatrix@0x7bd1cd20) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse@0x7be23f60) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose@0x7bbf2d10) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose@0x7cfdc7a8) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange@0x7cfdc900) (declare (uniform ) (array vec4 6) gl_ClipPlane@0x7cfc6a28) (declare (uniform ) gl_PointParameters gl_Point@0x7bd2cb58) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial@0x7bd2cc90) (declare (uniform ) gl_MaterialParameters gl_BackMaterial@0x7ba41b68) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource@0x7ba41cb0) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct@0x7bb7b828) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct@0x7bb7b980) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct@0x7bb7baf0) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct@0x7bb7bc48) (declare (uniform ) (array vec4 8) gl_TextureEnvColor@0x7bb7c9a0) (declare (uniform ) (array vec4 8) gl_EyePlaneS@0x7bb7caa8) (declare (uniform ) (array vec4 8) gl_EyePlaneT@0x7bb7cbf0) (declare (uniform ) (array vec4 8) gl_EyePlaneR@0x7bb7cd38) (declare (uniform ) (array vec4 8) gl_EyePlaneQ@0x7bb7c080) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS@0x7bb7c1c8) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT@0x7bb7c310) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR@0x7bb7c458) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ@0x7bb7c5a0) (declare (uniform ) gl_FogParameters gl_Fog@0x7bb7c6e8) (declare (in ) (array vec4 0) gl_TexCoord@0x7bb7c820) (declare () int gl_MaxDrawBuffers@0x7bd9d400) (declare (out ) (array vec4 8) gl_FragData@0x7bd9d5e0) (declare (in ) vec2 gl_PointCoord@0x7bd9d718) (declare (temporary ) vec4 assignment_tmp@0x7bd9dec8) (assign (constant bool (1)) (xyzw) (var_ref T0@0x7bd9dca8) (array_ref (var_ref gl_TexCoord@0x7bb7c820) (constant int (0)) ) ) (declare (temporary ) vec4 assignment_tmp@0x7bd13ff0) (assign (constant bool (1)) (xyzw) (var_ref T1@0x7bd13dd0) (array_ref (var_ref gl_TexCoord@0x7bb7c820) (constant int (1)) ) ) (function texture2D (signature vec4 (parameters (declare (in ) sampler2D sampler@0x7bd14c80) (declare (in ) vec2 P@0x7bd14d20) ) ( )) ) (function main (signature void (parameters ) ( (declare (temporary ) vec4 texture2D_retval@0x7bd14e58) (assign (constant bool (1)) (xyzw) (var_ref texture2D_retval@0x7bd14e58) (call texture2D ((var_ref Psampler0@0x7bd9da38) (swiz xy (var_ref T0@0x7bd9dca8) ))) ) (assign (constant bool (1)) (xyzw) (var_ref T0@0x7bd9dca8) (var_ref texture2D_retval@0x7bd14e58) ) (declare (temporary ) vec4 texture2D_retval@0x7bbf68a8) (assign (constant bool (1)) (xyzw) (var_ref texture2D_retval@0x7bbf68a8) (call texture2D ((var_ref Psampler1@0x7bd9db70) (swiz xy (var_ref T1@0x7bd13dd0) ))) ) (assign (constant bool (1)) (xyzw) (var_ref T1@0x7bd13dd0) (var_ref texture2D_retval@0x7bbf68a8) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bd142d0) (expression vec3 + (expression vec3 * (swiz www (var_ref gl_SecondaryColor@0x7bb954a0) )(swiz xyz (array_ref (var_ref PC@0x7bd9d908) (constant int (1)) ) )) (swiz xyz (array_ref (var_ref PC@0x7bd9d908) (constant int (0)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bd142d0) (expression vec3 * (constant float (4.000000)) (expression vec3 * (swiz xyz (var_ref T0@0x7bd9dca8) )(swiz xyz (var_ref R0@0x7bd142d0) )) ) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bd142d0) (expression vec3 + (swiz xyz (var_ref R0@0x7bd142d0) )(swiz xyz (var_ref gl_SecondaryColor@0x7bb954a0) )) ) (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bd14400) (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref texture2D_retval@0x7bbf68a8) (var_ref gl_Color@0x7bb95ac0) ) ) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bd142d0) (expression vec3 + (expression vec3 * (swiz xyz (var_ref R0@0x7bd142d0) )(swiz www (var_ref R1@0x7bd14400) )) (swiz xyz (var_ref R1@0x7bd14400) )) ) (assign (constant bool (1)) (w) (var_ref R0@0x7bd142d0) (swiz w (var_ref R1@0x7bd14400) )) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_FragData@0x7bd9d5e0) (constant int (0)) ) (var_ref R0@0x7bd142d0) ) )) ) ) GLSL IR for linked vertex program 5: ( (declare (uniform ) vec4 VLC24@0x7bd26f10) (declare (in ) vec4 attrib2@0x7cfd50b0) (declare (in ) vec4 attrib1@0x7cfd36f0) (declare (in ) vec4 attrib0@0x7cfd25d0) (declare () vec4 R11@0x7bd5c678) (declare () vec4 R10@0x7bd417f8) (declare () vec4 R9@0x7cfd4d50) (declare () vec4 R8@0x7cfd42d0) (declare () vec4 R7@0x7cfd4330) (declare () vec4 R6@0x7bef9208) (declare () vec4 R5@0x7bef9268) (declare () vec4 R4@0x7bea33c8) (declare () vec4 R3@0x7bea3428) (declare () vec4 R2@0x7bea2790) (declare () vec4 R1@0x7bea27f0) (declare () vec4 R0@0x7bd58880) (declare () (array vec4 12) OUT@0x7bd588e0) (declare (uniform ) vec4 posFixup@0x7bd1a0b0) (declare (uniform ) (array vec4 24) VC@0x7bd1a110) (declare (out ) vec4 gl_Position@0x7bd19198) (declare (out ) vec4 gl_FrontColor@0x7bd594a0) (declare (out ) vec4 gl_FrontSecondaryColor@0x7bea2080) (declare (out ) float gl_FogFragCoord@0x7bea2140) (declare (out ) (array vec4 2) gl_TexCoord@0x7befba48) (function main (signature void (parameters ) ( (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (10)) ) ) ) (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (11)) ) ) ) (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (12)) ) ) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (13)) ) ) ) (assign (constant bool (1)) (xyz) (var_ref R7@0x7cfd4330) (expression vec3 + (expression vec3 neg (swiz xyz (var_ref attrib0@0x7cfd25d0) )) (swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (17)) ) )) ) (assign (constant bool (1)) (w) (var_ref R7@0x7cfd4330) (expression float dot (swiz xyz (var_ref R7@0x7cfd4330) )(swiz xyz (var_ref R7@0x7cfd4330) )) ) (assign (constant bool (1)) (w) (var_ref R7@0x7cfd4330) (expression float rsq (expression float abs (swiz w (var_ref R7@0x7cfd4330) )) ) ) (assign (constant bool (1)) (xyz) (var_ref R2@0x7bea2790) (expression vec3 * (swiz xyz (var_ref R7@0x7cfd4330) )(swiz www (var_ref R7@0x7cfd4330) )) ) (assign (constant bool (1)) (w) (var_ref R2@0x7bea2790) (expression float dot (swiz xyz (var_ref R2@0x7bea2790) )(swiz xyz (var_ref attrib1@0x7cfd36f0) )) ) (assign (constant bool (1)) (w) (var_ref R2@0x7bea2790) (expression float max (swiz w (var_ref R2@0x7bea2790) )(swiz x (var_ref VLC24@0x7bd26f10) )) ) (assign (constant bool (1)) (w) (var_ref R9@0x7cfd4d50) (expression float log2 (expression float abs (swiz w (var_ref R2@0x7bea2790) )) ) ) (assign (constant bool (1)) (w) (var_ref R4@0x7bea33c8) (expression float * (swiz w (var_ref R9@0x7cfd4d50) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (23)) ) )) ) (assign (constant bool (1)) (w) (var_ref R11@0x7bd5c678) (expression float * (swiz w (var_ref R9@0x7cfd4d50) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (22)) ) )) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (expression float exp2 (swiz w (var_ref R4@0x7bea33c8) )) ) (assign (constant bool (1)) (xyzw) (var_ref R6@0x7bef9208) (expression vec4 * (swiz xyzy (var_ref attrib1@0x7cfd36f0) )(swiz xyzx (var_ref attrib1@0x7cfd36f0) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 * (swiz xxx (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (1)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (0)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz yyy (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (2)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz zzz (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (3)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz www (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (4)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xy) (var_ref R3@0x7bea3428) (expression vec2 * (swiz xz (var_ref attrib1@0x7cfd36f0) )(swiz zy (var_ref attrib1@0x7cfd36f0) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz xxx (var_ref R3@0x7bea3428) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (5)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz yyy (var_ref R3@0x7bea3428) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (6)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz xxx (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (7)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz yyy (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (8)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz zzz (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (9)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyzw) (var_ref R4@0x7bea33c8) (expression vec4 * (swiz wwww (var_ref R2@0x7bea2790) )(array_ref (var_ref VC@0x7bd1a110) (constant int (19)) ) ) ) (assign (constant bool (1)) (w) (var_ref R2@0x7bea2790) (expression float + (swiz w (var_ref R2@0x7bea2790) )(swiz w (var_ref R2@0x7bea2790) )) ) (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bea27f0) (expression vec4 + (var_ref R4@0x7bea33c8) (array_ref (var_ref VC@0x7bd1a110) (constant int (18)) ) ) ) (assign (constant bool (1)) (xyz) (var_ref R6@0x7bef9208) (expression vec3 * (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (var_ref R1@0x7bea27f0) )) ) (assign (constant bool (1)) (w) (var_ref R6@0x7bef9208) (swiz w (var_ref R1@0x7bea27f0) )) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7bd588e0) (constant int (8)) ) (expression vec4 * (var_ref R6@0x7bef9208) (swiz wwww (var_ref VLC24@0x7bd26f10) )) ) (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz www (var_ref R2@0x7bea2790) )(swiz xyz (var_ref attrib1@0x7cfd36f0) )) (expression vec3 neg (swiz xyz (var_ref R2@0x7bea2790) )) ) ) (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (14)) ) )) ) (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (15)) ) )) ) (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (16)) ) )) ) (assign (constant bool (1)) (w) (var_ref R11@0x7bd5c678) (expression float exp2 (swiz w (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyz) (var_ref R8@0x7cfd42d0) (expression vec3 * (swiz www (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (21)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R3@0x7bea3428) (expression vec3 + (swiz xyz (var_ref R8@0x7cfd42d0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (20)) ) )) ) (assign (constant bool (1)) (xyzw) (var_ref R10@0x7bd417f8) (expression vec4 * (swiz zzzz (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (9)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R5@0x7bef9268) (expression vec4 * (swiz yyyy (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (8)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R0@0x7bd58880) (expression vec4 * (swiz xyzy (var_ref R11@0x7bd5c678) )(swiz xyzx (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyzw) (var_ref R7@0x7cfd4330) (expression vec4 * (swiz xxxx (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (1)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R9@0x7cfd4d50) (expression vec4 + (var_ref R7@0x7cfd4330) (array_ref (var_ref VC@0x7bd1a110) (constant int (0)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R2@0x7bea2790) (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (2)) ) ) (var_ref R9@0x7cfd4d50) ) ) (assign (constant bool (1)) (xyzw) (var_ref R8@0x7cfd42d0) (expression vec4 + (expression vec4 * (swiz zzzz (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (3)) ) ) (var_ref R2@0x7bea2790) ) ) (assign (constant bool (1)) (xyzw) (var_ref R0@0x7bd58880) (expression vec4 + (expression vec4 * (swiz wwww (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (4)) ) ) (var_ref R8@0x7cfd42d0) ) ) (assign (constant bool (1)) (xy) (var_ref R7@0x7cfd4330) (expression vec2 * (swiz xz (var_ref R11@0x7bd5c678) )(swiz zy (var_ref R11@0x7bd5c678) )) ) (assign (constant bool (1)) (xyzw) (var_ref R11@0x7bd5c678) (expression vec4 * (swiz xxxx (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (7)) ) ) ) (assign (constant bool (1)) (xyzw) (var_ref R2@0x7bea2790) (expression vec4 + (expression vec4 * (swiz xxxx (var_ref R7@0x7cfd4330) )(array_ref (var_ref VC@0x7bd1a110) (constant int (5)) ) ) (var_ref R0@0x7bd58880) ) ) (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bea27f0) (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R7@0x7cfd4330) )(array_ref (var_ref VC@0x7bd1a110) (constant int (6)) ) ) (var_ref R2@0x7bea2790) ) ) (assign (constant bool (1)) (xyzw) (var_ref R6@0x7bef9208) (expression vec4 + (var_ref R11@0x7bd5c678) (var_ref R1@0x7bea27f0) ) ) (assign (constant bool (1)) (xyzw) (var_ref R5@0x7bef9268) (expression vec4 + (var_ref R5@0x7bef9268) (var_ref R6@0x7bef9208) ) ) (assign (constant bool (1)) (xyzw) (var_ref R10@0x7bd417f8) (expression vec4 + (var_ref R10@0x7bd417f8) (var_ref R5@0x7bef9268) ) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float max (swiz w (var_ref R10@0x7bd417f8) )(swiz y (var_ref VLC24@0x7bd26f10) )) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float min (swiz w (var_ref R10@0x7bd417f8) )(swiz z (var_ref VLC24@0x7bd26f10) )) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float log2 (expression float abs (swiz w (var_ref R10@0x7bd417f8) )) ) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float * (swiz w (var_ref R10@0x7bd417f8) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (22)) ) )) ) (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float exp2 (swiz w (var_ref R10@0x7bd417f8) )) ) (assign (constant bool (1)) (xyz) (var_ref R8@0x7cfd42d0) (expression vec3 * (swiz xyz (var_ref R10@0x7bd417f8) )(swiz www (var_ref R10@0x7bd417f8) )) ) (assign (constant bool (1)) (xyz) (var_ref R3@0x7bea3428) (expression vec3 * (swiz xyz (var_ref R3@0x7bea3428) )(swiz xyz (var_ref R8@0x7cfd42d0) )) ) (assign (constant bool (1)) (xyz) (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (expression vec3 * (swiz xyz (var_ref R3@0x7bea3428) )(swiz www (var_ref VLC24@0x7bd26f10) )) ) (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (swiz z (var_ref VLC24@0x7bd26f10) )) (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7bd588e0) (constant int (1)) ) (var_ref attrib2@0x7cfd50b0) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7befba48) (constant int (0)) ) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7befba48) (constant int (1)) ) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (1)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (assign (constant bool (1)) (xyzw) (var_ref gl_FrontColor@0x7bd594a0) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (assign (constant bool (1)) (xyzw) (var_ref gl_FrontSecondaryColor@0x7bea2080) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (declare () vec4 _ret_val@0x7bb75470) (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x7bb75470) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) (assign (constant bool (1)) (xyzw) (var_ref gl_Position@0x7bd19198) (var_ref _ret_val@0x7bb75470) ) (assign (constant bool (1)) (x) (var_ref gl_FogFragCoord@0x7bea2140) (constant float (0.000000)) ) (assign (constant bool (1)) (y) (var_ref gl_Position@0x7bd19198) (expression float * (swiz y (var_ref _ret_val@0x7bb75470) )(swiz y (var_ref posFixup@0x7bd1a0b0) )) ) (assign (constant bool (1)) (xy) (var_ref gl_Position@0x7bd19198) (expression vec2 + (swiz xy (var_ref gl_Position@0x7bd19198) )(expression vec2 * (swiz zw (var_ref posFixup@0x7bd1a0b0) )(swiz ww (var_ref gl_Position@0x7bd19198) )) ) ) (assign (constant bool (1)) (z) (var_ref gl_Position@0x7bd19198) (expression float + (expression float * (swiz z (var_ref gl_Position@0x7bd19198) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x7bd19198) )) ) ) )) ) ) Mesa IR for linked vertex program 5: 0: (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (10)) ) ) DP4 TEMP[1].x, INPUT[16], UNIFORM[12]; 1: (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (10)) ) ) ) MOV TEMP[12].x, TEMP[1].xxxx; 2: (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (11)) ) ) DP4 TEMP[14].x, INPUT[16], UNIFORM[13]; 3: (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (11)) ) ) ) MOV TEMP[12].y, TEMP[14].xxxx; 4: (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (12)) ) ) DP4 TEMP[15].x, INPUT[16], UNIFORM[14]; 5: (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (12)) ) ) ) MOV TEMP[12].z, TEMP[15].xxxx; 6: (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (13)) ) ) DP4 TEMP[16].x, INPUT[16], UNIFORM[15]; 7: (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (expression float dot (var_ref attrib0@0x7cfd25d0) (array_ref (var_ref VC@0x7bd1a110) (constant int (13)) ) ) ) MOV TEMP[12].w, TEMP[16].xxxx; 8: (expression vec3 + (expression vec3 neg (swiz xyz (var_ref attrib0@0x7cfd25d0) )) (swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (17)) ) )) ADD TEMP[18].xyz, INPUT[16].-x-y-z-z, UNIFORM[19].xyzz; 9: (assign (constant bool (1)) (xyz) (var_ref R7@0x7cfd4330) (expression vec3 + (expression vec3 neg (swiz xyz (var_ref attrib0@0x7cfd25d0) )) (swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (17)) ) )) ) MOV TEMP[19].xyz, TEMP[18].xyzx; 10: (expression float dot (swiz xyz (var_ref R7@0x7cfd4330) )(swiz xyz (var_ref R7@0x7cfd4330) )) DP3 TEMP[20].x, TEMP[19].xyzz, TEMP[19].xyzz; 11: (assign (constant bool (1)) (w) (var_ref R7@0x7cfd4330) (expression float dot (swiz xyz (var_ref R7@0x7cfd4330) )(swiz xyz (var_ref R7@0x7cfd4330) )) ) MOV TEMP[19].w, TEMP[20].xxxx; 12: (expression float abs (swiz w (var_ref R7@0x7cfd4330) )) ABS TEMP[21].x, TEMP[19].wwww; 13: (expression float rsq (expression float abs (swiz w (var_ref R7@0x7cfd4330) )) ) RSQ TEMP[22].x, TEMP[21].xxxx; 14: (assign (constant bool (1)) (w) (var_ref R7@0x7cfd4330) (expression float rsq (expression float abs (swiz w (var_ref R7@0x7cfd4330) )) ) ) MOV TEMP[19].w, TEMP[22].xxxx; 15: (expression vec3 * (swiz xyz (var_ref R7@0x7cfd4330) )(swiz www (var_ref R7@0x7cfd4330) )) MUL TEMP[23].xyz, TEMP[19].xyzz, TEMP[19].wwww; 16: (assign (constant bool (1)) (xyz) (var_ref R2@0x7bea2790) (expression vec3 * (swiz xyz (var_ref R7@0x7cfd4330) )(swiz www (var_ref R7@0x7cfd4330) )) ) MOV TEMP[24].xyz, TEMP[23].xyzx; 17: (expression float dot (swiz xyz (var_ref R2@0x7bea2790) )(swiz xyz (var_ref attrib1@0x7cfd36f0) )) DP3 TEMP[25].x, TEMP[24].xyzz, INPUT[17].xyzz; 18: (assign (constant bool (1)) (w) (var_ref R2@0x7bea2790) (expression float dot (swiz xyz (var_ref R2@0x7bea2790) )(swiz xyz (var_ref attrib1@0x7cfd36f0) )) ) MOV TEMP[24].w, TEMP[25].xxxx; 19: (expression float max (swiz w (var_ref R2@0x7bea2790) )(swiz x (var_ref VLC24@0x7bd26f10) )) MAX TEMP[26].x, TEMP[24].wwww, UNIFORM[0].xxxx; 20: (assign (constant bool (1)) (w) (var_ref R2@0x7bea2790) (expression float max (swiz w (var_ref R2@0x7bea2790) )(swiz x (var_ref VLC24@0x7bd26f10) )) ) MOV TEMP[24].w, TEMP[26].xxxx; 21: (expression float abs (swiz w (var_ref R2@0x7bea2790) )) ABS TEMP[27].x, TEMP[24].wwww; 22: (expression float log2 (expression float abs (swiz w (var_ref R2@0x7bea2790) )) ) LG2 TEMP[28].x, TEMP[27].xxxx; 23: (assign (constant bool (1)) (w) (var_ref R9@0x7cfd4d50) (expression float log2 (expression float abs (swiz w (var_ref R2@0x7bea2790) )) ) ) MOV TEMP[29].w, TEMP[28].xxxx; 24: (expression float * (swiz w (var_ref R9@0x7cfd4d50) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (23)) ) )) MUL TEMP[30].x, TEMP[29].wwww, UNIFORM[25].xxxx; 25: (assign (constant bool (1)) (w) (var_ref R4@0x7bea33c8) (expression float * (swiz w (var_ref R9@0x7cfd4d50) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (23)) ) )) ) MOV TEMP[31].w, TEMP[30].xxxx; 26: (expression float * (swiz w (var_ref R9@0x7cfd4d50) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (22)) ) )) MUL TEMP[32].x, TEMP[29].wwww, UNIFORM[24].xxxx; 27: (assign (constant bool (1)) (w) (var_ref R11@0x7bd5c678) (expression float * (swiz w (var_ref R9@0x7cfd4d50) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (22)) ) )) ) MOV TEMP[33].w, TEMP[32].xxxx; 28: (expression float exp2 (swiz w (var_ref R4@0x7bea33c8) )) EX2 TEMP[34].x, TEMP[31].wwww; 29: (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (expression float exp2 (swiz w (var_ref R4@0x7bea33c8) )) ) MOV TEMP[11].w, TEMP[34].xxxx; 30: (expression vec4 * (swiz xyzy (var_ref attrib1@0x7cfd36f0) )(swiz xyzx (var_ref attrib1@0x7cfd36f0) )) MUL TEMP[35], INPUT[17].xyzy, INPUT[17].xyzx; 31: (assign (constant bool (1)) (xyzw) (var_ref R6@0x7bef9208) (expression vec4 * (swiz xyzy (var_ref attrib1@0x7cfd36f0) )(swiz xyzx (var_ref attrib1@0x7cfd36f0) )) ) MOV TEMP[36], TEMP[35]; 32: (expression vec3 * (swiz xxx (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (1)) ) )) MUL TEMP[37].xyz, TEMP[36].xxxx, UNIFORM[3].xyzz; 33: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 * (swiz xxx (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (1)) ) )) ) MOV TEMP[33].xyz, TEMP[37].xyzx; 34: (expression vec3 + (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (0)) ) )) ADD TEMP[38].xyz, TEMP[33].xyzz, UNIFORM[2].xyzz; 35: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (0)) ) )) ) MOV TEMP[33].xyz, TEMP[38].xyzx; 36: (expression vec3 + (expression vec3 * (swiz yyy (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (2)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[39], TEMP[36].yyyy, UNIFORM[4].xyzz, TEMP[33].xyzz; 37: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz yyy (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (2)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[39].xyzx; 38: (expression vec3 + (expression vec3 * (swiz zzz (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (3)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[40], TEMP[36].zzzz, UNIFORM[5].xyzz, TEMP[33].xyzz; 39: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz zzz (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (3)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[40].xyzx; 40: (expression vec3 + (expression vec3 * (swiz www (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (4)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[41], TEMP[36].wwww, UNIFORM[6].xyzz, TEMP[33].xyzz; 41: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz www (var_ref R6@0x7bef9208) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (4)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[41].xyzx; 42: (expression vec2 * (swiz xz (var_ref attrib1@0x7cfd36f0) )(swiz zy (var_ref attrib1@0x7cfd36f0) )) MUL TEMP[42].xy, INPUT[17].xzzz, INPUT[17].zyyy; 43: (assign (constant bool (1)) (xy) (var_ref R3@0x7bea3428) (expression vec2 * (swiz xz (var_ref attrib1@0x7cfd36f0) )(swiz zy (var_ref attrib1@0x7cfd36f0) )) ) MOV TEMP[43].xy, TEMP[42].xyxx; 44: (expression vec3 + (expression vec3 * (swiz xxx (var_ref R3@0x7bea3428) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (5)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[44], TEMP[43].xxxx, UNIFORM[7].xyzz, TEMP[33].xyzz; 45: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz xxx (var_ref R3@0x7bea3428) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (5)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[44].xyzx; 46: (expression vec3 + (expression vec3 * (swiz yyy (var_ref R3@0x7bea3428) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (6)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[45], TEMP[43].yyyy, UNIFORM[8].xyzz, TEMP[33].xyzz; 47: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz yyy (var_ref R3@0x7bea3428) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (6)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[45].xyzx; 48: (expression vec3 + (expression vec3 * (swiz xxx (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (7)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[46], INPUT[17].xxxx, UNIFORM[9].xyzz, TEMP[33].xyzz; 49: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz xxx (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (7)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[46].xyzx; 50: (expression vec3 + (expression vec3 * (swiz yyy (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (8)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[47], INPUT[17].yyyy, UNIFORM[10].xyzz, TEMP[33].xyzz; 51: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz yyy (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (8)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[47].xyzx; 52: (expression vec3 + (expression vec3 * (swiz zzz (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (9)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) MAD TEMP[48], INPUT[17].zzzz, UNIFORM[11].xyzz, TEMP[33].xyzz; 53: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz zzz (var_ref attrib1@0x7cfd36f0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (9)) ) )) (swiz xyz (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].xyz, TEMP[48].xyzx; 54: (expression vec4 * (swiz wwww (var_ref R2@0x7bea2790) )(array_ref (var_ref VC@0x7bd1a110) (constant int (19)) ) ) MUL TEMP[49], TEMP[24].wwww, UNIFORM[21]; 55: (assign (constant bool (1)) (xyzw) (var_ref R4@0x7bea33c8) (expression vec4 * (swiz wwww (var_ref R2@0x7bea2790) )(array_ref (var_ref VC@0x7bd1a110) (constant int (19)) ) ) ) MOV TEMP[31], TEMP[49]; 56: (expression float + (swiz w (var_ref R2@0x7bea2790) )(swiz w (var_ref R2@0x7bea2790) )) ADD TEMP[50].x, TEMP[24].wwww, TEMP[24].wwww; 57: (assign (constant bool (1)) (w) (var_ref R2@0x7bea2790) (expression float + (swiz w (var_ref R2@0x7bea2790) )(swiz w (var_ref R2@0x7bea2790) )) ) MOV TEMP[24].w, TEMP[50].xxxx; 58: (expression vec4 + (var_ref R4@0x7bea33c8) (array_ref (var_ref VC@0x7bd1a110) (constant int (18)) ) ) ADD TEMP[51], TEMP[31], UNIFORM[20]; 59: (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bea27f0) (expression vec4 + (var_ref R4@0x7bea33c8) (array_ref (var_ref VC@0x7bd1a110) (constant int (18)) ) ) ) MOV TEMP[52], TEMP[51]; 60: (expression vec3 * (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (var_ref R1@0x7bea27f0) )) MUL TEMP[53].xyz, TEMP[33].xyzz, TEMP[52].xyzz; 61: (assign (constant bool (1)) (xyz) (var_ref R6@0x7bef9208) (expression vec3 * (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (var_ref R1@0x7bea27f0) )) ) MOV TEMP[36].xyz, TEMP[53].xyzx; 62: (assign (constant bool (1)) (w) (var_ref R6@0x7bef9208) (swiz w (var_ref R1@0x7bea27f0) )) MOV TEMP[36].w, TEMP[52].wwww; 63: (expression vec4 * (var_ref R6@0x7bef9208) (swiz wwww (var_ref VLC24@0x7bd26f10) )) MUL TEMP[54], TEMP[36], UNIFORM[0].wwww; 64: (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7bd588e0) (constant int (8)) ) (expression vec4 * (var_ref R6@0x7bef9208) (swiz wwww (var_ref VLC24@0x7bd26f10) )) ) MOV TEMP[10], TEMP[54]; 65: (expression vec3 + (expression vec3 * (swiz www (var_ref R2@0x7bea2790) )(swiz xyz (var_ref attrib1@0x7cfd36f0) )) (expression vec3 neg (swiz xyz (var_ref R2@0x7bea2790) )) ) MAD TEMP[56], TEMP[24].wwww, INPUT[17].xyzz, TEMP[24].-x-y-z-z; 66: (assign (constant bool (1)) (xyz) (var_ref R11@0x7bd5c678) (expression vec3 + (expression vec3 * (swiz www (var_ref R2@0x7bea2790) )(swiz xyz (var_ref attrib1@0x7cfd36f0) )) (expression vec3 neg (swiz xyz (var_ref R2@0x7bea2790) )) ) ) MOV TEMP[33].xyz, TEMP[56].xyzx; 67: (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (14)) ) )) DP3 TEMP[57].x, TEMP[33].xyzz, UNIFORM[16].xyzz; 68: (assign (constant bool (1)) (x) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (14)) ) )) ) MOV TEMP[2].x, TEMP[57].xxxx; 69: (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (15)) ) )) DP3 TEMP[58].x, TEMP[33].xyzz, UNIFORM[17].xyzz; 70: (assign (constant bool (1)) (y) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (15)) ) )) ) MOV TEMP[2].y, TEMP[58].xxxx; 71: (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (16)) ) )) DP3 TEMP[59].x, TEMP[33].xyzz, UNIFORM[18].xyzz; 72: (assign (constant bool (1)) (z) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (expression float dot (swiz xyz (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (16)) ) )) ) MOV TEMP[2].z, TEMP[59].xxxx; 73: (expression float exp2 (swiz w (var_ref R11@0x7bd5c678) )) EX2 TEMP[60].x, TEMP[33].wwww; 74: (assign (constant bool (1)) (w) (var_ref R11@0x7bd5c678) (expression float exp2 (swiz w (var_ref R11@0x7bd5c678) )) ) MOV TEMP[33].w, TEMP[60].xxxx; 75: (expression vec3 * (swiz www (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (21)) ) )) MUL TEMP[61].xyz, TEMP[33].wwww, UNIFORM[23].xyzz; 76: (assign (constant bool (1)) (xyz) (var_ref R8@0x7cfd42d0) (expression vec3 * (swiz www (var_ref R11@0x7bd5c678) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (21)) ) )) ) MOV TEMP[62].xyz, TEMP[61].xyzx; 77: (expression vec3 + (swiz xyz (var_ref R8@0x7cfd42d0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (20)) ) )) ADD TEMP[63].xyz, TEMP[62].xyzz, UNIFORM[22].xyzz; 78: (assign (constant bool (1)) (xyz) (var_ref R3@0x7bea3428) (expression vec3 + (swiz xyz (var_ref R8@0x7cfd42d0) )(swiz xyz (array_ref (var_ref VC@0x7bd1a110) (constant int (20)) ) )) ) MOV TEMP[43].xyz, TEMP[63].xyzx; 79: (expression vec4 * (swiz zzzz (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (9)) ) ) MUL TEMP[64], TEMP[33].zzzz, UNIFORM[11]; 80: (assign (constant bool (1)) (xyzw) (var_ref R10@0x7bd417f8) (expression vec4 * (swiz zzzz (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (9)) ) ) ) MOV TEMP[65], TEMP[64]; 81: (expression vec4 * (swiz yyyy (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (8)) ) ) MUL TEMP[66], TEMP[33].yyyy, UNIFORM[10]; 82: (assign (constant bool (1)) (xyzw) (var_ref R5@0x7bef9268) (expression vec4 * (swiz yyyy (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (8)) ) ) ) MOV TEMP[67], TEMP[66]; 83: (expression vec4 * (swiz xyzy (var_ref R11@0x7bd5c678) )(swiz xyzx (var_ref R11@0x7bd5c678) )) MUL TEMP[68], TEMP[33].xyzy, TEMP[33].xyzx; 84: (assign (constant bool (1)) (xyzw) (var_ref R0@0x7bd58880) (expression vec4 * (swiz xyzy (var_ref R11@0x7bd5c678) )(swiz xyzx (var_ref R11@0x7bd5c678) )) ) MOV TEMP[69], TEMP[68]; 85: (expression vec4 * (swiz xxxx (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (1)) ) ) MUL TEMP[70], TEMP[69].xxxx, UNIFORM[3]; 86: (assign (constant bool (1)) (xyzw) (var_ref R7@0x7cfd4330) (expression vec4 * (swiz xxxx (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (1)) ) ) ) MOV TEMP[19], TEMP[70]; 87: (expression vec4 + (var_ref R7@0x7cfd4330) (array_ref (var_ref VC@0x7bd1a110) (constant int (0)) ) ) ADD TEMP[71], TEMP[19], UNIFORM[2]; 88: (assign (constant bool (1)) (xyzw) (var_ref R9@0x7cfd4d50) (expression vec4 + (var_ref R7@0x7cfd4330) (array_ref (var_ref VC@0x7bd1a110) (constant int (0)) ) ) ) MOV TEMP[29], TEMP[71]; 89: (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (2)) ) ) (var_ref R9@0x7cfd4d50) ) MAD TEMP[72], TEMP[69].yyyy, UNIFORM[4], TEMP[29]; 90: (assign (constant bool (1)) (xyzw) (var_ref R2@0x7bea2790) (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (2)) ) ) (var_ref R9@0x7cfd4d50) ) ) MOV TEMP[24], TEMP[72]; 91: (expression vec4 + (expression vec4 * (swiz zzzz (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (3)) ) ) (var_ref R2@0x7bea2790) ) MAD TEMP[73], TEMP[69].zzzz, UNIFORM[5], TEMP[24]; 92: (assign (constant bool (1)) (xyzw) (var_ref R8@0x7cfd42d0) (expression vec4 + (expression vec4 * (swiz zzzz (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (3)) ) ) (var_ref R2@0x7bea2790) ) ) MOV TEMP[62], TEMP[73]; 93: (expression vec4 + (expression vec4 * (swiz wwww (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (4)) ) ) (var_ref R8@0x7cfd42d0) ) MAD TEMP[74], TEMP[69].wwww, UNIFORM[6], TEMP[62]; 94: (assign (constant bool (1)) (xyzw) (var_ref R0@0x7bd58880) (expression vec4 + (expression vec4 * (swiz wwww (var_ref R0@0x7bd58880) )(array_ref (var_ref VC@0x7bd1a110) (constant int (4)) ) ) (var_ref R8@0x7cfd42d0) ) ) MOV TEMP[69], TEMP[74]; 95: (expression vec2 * (swiz xz (var_ref R11@0x7bd5c678) )(swiz zy (var_ref R11@0x7bd5c678) )) MUL TEMP[75].xy, TEMP[33].xzzz, TEMP[33].zyyy; 96: (assign (constant bool (1)) (xy) (var_ref R7@0x7cfd4330) (expression vec2 * (swiz xz (var_ref R11@0x7bd5c678) )(swiz zy (var_ref R11@0x7bd5c678) )) ) MOV TEMP[19].xy, TEMP[75].xyxx; 97: (expression vec4 * (swiz xxxx (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (7)) ) ) MUL TEMP[76], TEMP[33].xxxx, UNIFORM[9]; 98: (assign (constant bool (1)) (xyzw) (var_ref R11@0x7bd5c678) (expression vec4 * (swiz xxxx (var_ref R11@0x7bd5c678) )(array_ref (var_ref VC@0x7bd1a110) (constant int (7)) ) ) ) MOV TEMP[33], TEMP[76]; 99: (expression vec4 + (expression vec4 * (swiz xxxx (var_ref R7@0x7cfd4330) )(array_ref (var_ref VC@0x7bd1a110) (constant int (5)) ) ) (var_ref R0@0x7bd58880) ) MAD TEMP[77], TEMP[19].xxxx, UNIFORM[7], TEMP[69]; 100: (assign (constant bool (1)) (xyzw) (var_ref R2@0x7bea2790) (expression vec4 + (expression vec4 * (swiz xxxx (var_ref R7@0x7cfd4330) )(array_ref (var_ref VC@0x7bd1a110) (constant int (5)) ) ) (var_ref R0@0x7bd58880) ) ) MOV TEMP[24], TEMP[77]; 101: (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R7@0x7cfd4330) )(array_ref (var_ref VC@0x7bd1a110) (constant int (6)) ) ) (var_ref R2@0x7bea2790) ) MAD TEMP[78], TEMP[19].yyyy, UNIFORM[8], TEMP[24]; 102: (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bea27f0) (expression vec4 + (expression vec4 * (swiz yyyy (var_ref R7@0x7cfd4330) )(array_ref (var_ref VC@0x7bd1a110) (constant int (6)) ) ) (var_ref R2@0x7bea2790) ) ) MOV TEMP[52], TEMP[78]; 103: (expression vec4 + (var_ref R11@0x7bd5c678) (var_ref R1@0x7bea27f0) ) ADD TEMP[79], TEMP[33], TEMP[52]; 104: (assign (constant bool (1)) (xyzw) (var_ref R6@0x7bef9208) (expression vec4 + (var_ref R11@0x7bd5c678) (var_ref R1@0x7bea27f0) ) ) MOV TEMP[36], TEMP[79]; 105: (expression vec4 + (var_ref R5@0x7bef9268) (var_ref R6@0x7bef9208) ) ADD TEMP[80], TEMP[67], TEMP[36]; 106: (assign (constant bool (1)) (xyzw) (var_ref R5@0x7bef9268) (expression vec4 + (var_ref R5@0x7bef9268) (var_ref R6@0x7bef9208) ) ) MOV TEMP[67], TEMP[80]; 107: (expression vec4 + (var_ref R10@0x7bd417f8) (var_ref R5@0x7bef9268) ) ADD TEMP[81], TEMP[65], TEMP[67]; 108: (assign (constant bool (1)) (xyzw) (var_ref R10@0x7bd417f8) (expression vec4 + (var_ref R10@0x7bd417f8) (var_ref R5@0x7bef9268) ) ) MOV TEMP[65], TEMP[81]; 109: (expression float max (swiz w (var_ref R10@0x7bd417f8) )(swiz y (var_ref VLC24@0x7bd26f10) )) MAX TEMP[82].x, TEMP[65].wwww, UNIFORM[0].yyyy; 110: (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float max (swiz w (var_ref R10@0x7bd417f8) )(swiz y (var_ref VLC24@0x7bd26f10) )) ) MOV TEMP[65].w, TEMP[82].xxxx; 111: (expression float min (swiz w (var_ref R10@0x7bd417f8) )(swiz z (var_ref VLC24@0x7bd26f10) )) MIN TEMP[83].x, TEMP[65].wwww, UNIFORM[0].zzzz; 112: (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float min (swiz w (var_ref R10@0x7bd417f8) )(swiz z (var_ref VLC24@0x7bd26f10) )) ) MOV TEMP[65].w, TEMP[83].xxxx; 113: (expression float abs (swiz w (var_ref R10@0x7bd417f8) )) ABS TEMP[84].x, TEMP[65].wwww; 114: (expression float log2 (expression float abs (swiz w (var_ref R10@0x7bd417f8) )) ) LG2 TEMP[85].x, TEMP[84].xxxx; 115: (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float log2 (expression float abs (swiz w (var_ref R10@0x7bd417f8) )) ) ) MOV TEMP[65].w, TEMP[85].xxxx; 116: (expression float * (swiz w (var_ref R10@0x7bd417f8) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (22)) ) )) MUL TEMP[86].x, TEMP[65].wwww, UNIFORM[24].xxxx; 117: (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float * (swiz w (var_ref R10@0x7bd417f8) )(swiz x (array_ref (var_ref VC@0x7bd1a110) (constant int (22)) ) )) ) MOV TEMP[65].w, TEMP[86].xxxx; 118: (expression float exp2 (swiz w (var_ref R10@0x7bd417f8) )) EX2 TEMP[87].x, TEMP[65].wwww; 119: (assign (constant bool (1)) (w) (var_ref R10@0x7bd417f8) (expression float exp2 (swiz w (var_ref R10@0x7bd417f8) )) ) MOV TEMP[65].w, TEMP[87].xxxx; 120: (expression vec3 * (swiz xyz (var_ref R10@0x7bd417f8) )(swiz www (var_ref R10@0x7bd417f8) )) MUL TEMP[88].xyz, TEMP[65].xyzz, TEMP[65].wwww; 121: (assign (constant bool (1)) (xyz) (var_ref R8@0x7cfd42d0) (expression vec3 * (swiz xyz (var_ref R10@0x7bd417f8) )(swiz www (var_ref R10@0x7bd417f8) )) ) MOV TEMP[62].xyz, TEMP[88].xyzx; 122: (expression vec3 * (swiz xyz (var_ref R3@0x7bea3428) )(swiz xyz (var_ref R8@0x7cfd42d0) )) MUL TEMP[89].xyz, TEMP[43].xyzz, TEMP[62].xyzz; 123: (assign (constant bool (1)) (xyz) (var_ref R3@0x7bea3428) (expression vec3 * (swiz xyz (var_ref R3@0x7bea3428) )(swiz xyz (var_ref R8@0x7cfd42d0) )) ) MOV TEMP[43].xyz, TEMP[89].xyzx; 124: (expression vec3 * (swiz xyz (var_ref R3@0x7bea3428) )(swiz www (var_ref VLC24@0x7bd26f10) )) MUL TEMP[90].xyz, TEMP[43].xyzz, UNIFORM[0].wwww; 125: (assign (constant bool (1)) (xyz) (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (expression vec3 * (swiz xyz (var_ref R3@0x7bea3428) )(swiz www (var_ref VLC24@0x7bd26f10) )) ) MOV TEMP[11].xyz, TEMP[90].xyzx; 126: (assign (constant bool (1)) (w) (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (swiz z (var_ref VLC24@0x7bd26f10) )) MOV TEMP[2].w, UNIFORM[0].zzzz; 127: (assign (constant bool (1)) (xyzw) (array_ref (var_ref OUT@0x7bd588e0) (constant int (1)) ) (var_ref attrib2@0x7cfd50b0) ) MOV TEMP[3], INPUT[18]; 128: (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[91], TEMP[2], CONST[26].xxxx; 129: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[92], TEMP[91], CONST[26].yyyy; 130: (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7befba48) (constant int (0)) ) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (0)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV OUTPUT[4], TEMP[92]; 131: (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (1)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[93], TEMP[3], CONST[26].xxxx; 132: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (1)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[94], TEMP[93], CONST[26].yyyy; 133: (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_TexCoord@0x7befba48) (constant int (1)) ) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (1)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV OUTPUT[5], TEMP[94]; 134: (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[95], TEMP[10], CONST[26].xxxx; 135: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[96], TEMP[95], CONST[26].yyyy; 136: (assign (constant bool (1)) (xyzw) (var_ref gl_FrontColor@0x7bd594a0) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (8)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV OUTPUT[1], TEMP[96]; 137: (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[97], TEMP[11], CONST[26].xxxx; 138: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[98], TEMP[97], CONST[26].yyyy; 139: (assign (constant bool (1)) (xyzw) (var_ref gl_FrontSecondaryColor@0x7bea2080) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (9)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV OUTPUT[2], TEMP[98]; 140: (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) MIN TEMP[99], TEMP[12], CONST[26].xxxx; 141: (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) MAX TEMP[100], TEMP[99], CONST[26].yyyy; 142: (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x7bb75470) (expression vec4 max (expression vec4 min (array_ref (var_ref OUT@0x7bd588e0) (constant int (10)) ) (constant float (99999996802856924650656260769173209088.000000)) ) (constant float (-99999996802856924650656260769173209088.000000)) ) ) MOV TEMP[101], TEMP[100]; 143: (assign (constant bool (1)) (xyzw) (var_ref gl_Position@0x7bd19198) (var_ref _ret_val@0x7bb75470) ) MOV OUTPUT[0], TEMP[101]; 144: (assign (constant bool (1)) (x) (var_ref gl_FogFragCoord@0x7bea2140) (constant float (0.000000)) ) MOV OUTPUT[3], CONST[26].zzzz; 145: (expression float * (swiz y (var_ref _ret_val@0x7bb75470) )(swiz y (var_ref posFixup@0x7bd1a0b0) )) MUL TEMP[102].x, TEMP[101].yyyy, UNIFORM[1].yyyy; 146: (assign (constant bool (1)) (y) (var_ref gl_Position@0x7bd19198) (expression float * (swiz y (var_ref _ret_val@0x7bb75470) )(swiz y (var_ref posFixup@0x7bd1a0b0) )) ) MOV OUTPUT[0].y, TEMP[102].xxxx; 147: (expression vec2 + (swiz xy (var_ref gl_Position@0x7bd19198) )(expression vec2 * (swiz zw (var_ref posFixup@0x7bd1a0b0) )(swiz ww (var_ref gl_Position@0x7bd19198) )) ) MAD TEMP[103], UNIFORM[1].zwww, OUTPUT[0].wwww, OUTPUT[0].xyyy; 148: (assign (constant bool (1)) (xy) (var_ref gl_Position@0x7bd19198) (expression vec2 + (swiz xy (var_ref gl_Position@0x7bd19198) )(expression vec2 * (swiz zw (var_ref posFixup@0x7bd1a0b0) )(swiz ww (var_ref gl_Position@0x7bd19198) )) ) ) MOV OUTPUT[0].xy, TEMP[103].xyxx; 149: (expression float + (expression float * (swiz z (var_ref gl_Position@0x7bd19198) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x7bd19198) )) ) MAD TEMP[105], OUTPUT[0].zzzz, CONST[26].wwww, OUTPUT[0].-w-w-w-w; 150: (assign (constant bool (1)) (z) (var_ref gl_Position@0x7bd19198) (expression float + (expression float * (swiz z (var_ref gl_Position@0x7bd19198) )(constant float (2.000000)) ) (expression float neg (swiz w (var_ref gl_Position@0x7bd19198) )) ) ) MOV OUTPUT[0].z, TEMP[105].xxxx; 151: END GLSL IR for linked fragment program 5: ( (declare () vec4 R1@0x7bbdfb18) (declare () vec4 R0@0x7bbdfb78) (declare () vec4 T1@0x7bbdfbd8) (declare () vec4 T0@0x7bbdfc38) (declare (uniform ) sampler2D Psampler1@0x7bbdfc98) (declare (uniform ) sampler2D Psampler0@0x7bbdfcf8) (declare (uniform ) (array vec4 2) PC@0x7bbdfd58) (declare (in ) vec4 gl_Color@0x7bbe0058) (declare (in ) vec4 gl_SecondaryColor@0x7bbe00b8) (declare (in ) (array vec4 2) gl_TexCoord@0x7bbed168) (declare (out ) (array vec4 1) gl_FragData@0x7bbed308) (function main (signature void (parameters ) ( (assign (constant bool (1)) (xyzw) (var_ref T0@0x7bbdfc38) (array_ref (var_ref gl_TexCoord@0x7bbed168) (constant int (0)) ) ) (assign (constant bool (1)) (xyzw) (var_ref T1@0x7bbdfbd8) (array_ref (var_ref gl_TexCoord@0x7bbed168) (constant int (1)) ) ) (declare () vec4 _ret_val@0x7bd086f8) (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x7bd086f8) (tex (var_ref Psampler0@0x7bbdfcf8) (swiz xy (var_ref T0@0x7bbdfc38) ) (0 0 0) 1 () )) (assign (constant bool (1)) (xyzw) (var_ref T0@0x7bbdfc38) (var_ref _ret_val@0x7bd086f8) ) (declare () vec4 _ret_val@0x7bd08b40) (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x7bd08b40) (tex (var_ref Psampler1@0x7bbdfc98) (swiz xy (var_ref T1@0x7bbdfbd8) ) (0 0 0) 1 () )) (assign (constant bool (1)) (xyzw) (var_ref T1@0x7bbdfbd8) (var_ref _ret_val@0x7bd08b40) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 + (expression vec3 * (swiz www (var_ref gl_SecondaryColor@0x7bbe00b8) )(swiz xyz (array_ref (var_ref PC@0x7bbdfd58) (constant int (1)) ) )) (swiz xyz (array_ref (var_ref PC@0x7bbdfd58) (constant int (0)) ) )) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 * (constant float (4.000000)) (expression vec3 * (swiz xyz (var_ref _ret_val@0x7bd086f8) )(swiz xyz (var_ref R0@0x7bbdfb78) )) ) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 + (swiz xyz (var_ref R0@0x7bbdfb78) )(swiz xyz (var_ref gl_SecondaryColor@0x7bbe00b8) )) ) (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bbdfb18) (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref _ret_val@0x7bd08b40) (var_ref gl_Color@0x7bbe0058) ) ) ) (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 + (expression vec3 * (swiz xyz (var_ref R0@0x7bbdfb78) )(swiz www (var_ref R1@0x7bbdfb18) )) (swiz xyz (var_ref R1@0x7bbdfb18) )) ) (assign (constant bool (1)) (w) (var_ref R0@0x7bbdfb78) (swiz w (var_ref R1@0x7bbdfb18) )) (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_FragData@0x7bbed308) (constant int (0)) ) (var_ref R0@0x7bbdfb78) ) )) ) ) Mesa IR for linked fragment program 5: 0: (assign (constant bool (1)) (xyzw) (var_ref T0@0x7bbdfc38) (array_ref (var_ref gl_TexCoord@0x7bbed168) (constant int (0)) ) ) MOV TEMP[1], INPUT[4]; 1: (assign (constant bool (1)) (xyzw) (var_ref T1@0x7bbdfbd8) (array_ref (var_ref gl_TexCoord@0x7bbed168) (constant int (1)) ) ) MOV TEMP[2], INPUT[5]; 2: (tex (var_ref Psampler0@0x7bbdfcf8) (swiz xy (var_ref T0@0x7bbdfc38) ) (0 0 0) 1 () ) MOV TEMP[3], TEMP[1].xyyy; 3: TEX TEMP[4], TEMP[3], texture[1], 2D; 4: (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x7bd086f8) (tex (var_ref Psampler0@0x7bbdfcf8) (swiz xy (var_ref T0@0x7bbdfc38) ) (0 0 0) 1 () )) MOV TEMP[5], TEMP[4]; 5: (assign (constant bool (1)) (xyzw) (var_ref T0@0x7bbdfc38) (var_ref _ret_val@0x7bd086f8) ) MOV TEMP[1], TEMP[5]; 6: (tex (var_ref Psampler1@0x7bbdfc98) (swiz xy (var_ref T1@0x7bbdfbd8) ) (0 0 0) 1 () ) MOV TEMP[6], TEMP[2].xyyy; 7: TEX TEMP[7], TEMP[6], texture[0], 2D; 8: (assign (constant bool (1)) (xyzw) (var_ref _ret_val@0x7bd08b40) (tex (var_ref Psampler1@0x7bbdfc98) (swiz xy (var_ref T1@0x7bbdfbd8) ) (0 0 0) 1 () )) MOV TEMP[8], TEMP[7]; 9: (assign (constant bool (1)) (xyzw) (var_ref T1@0x7bbdfbd8) (var_ref _ret_val@0x7bd08b40) ) MOV TEMP[2], TEMP[8]; 10: (expression vec3 + (expression vec3 * (swiz www (var_ref gl_SecondaryColor@0x7bbe00b8) )(swiz xyz (array_ref (var_ref PC@0x7bbdfd58) (constant int (1)) ) )) (swiz xyz (array_ref (var_ref PC@0x7bbdfd58) (constant int (0)) ) )) MAD TEMP[9], INPUT[2].wwww, UNIFORM[3].xyzz, UNIFORM[2].xyzz; 11: (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 + (expression vec3 * (swiz www (var_ref gl_SecondaryColor@0x7bbe00b8) )(swiz xyz (array_ref (var_ref PC@0x7bbdfd58) (constant int (1)) ) )) (swiz xyz (array_ref (var_ref PC@0x7bbdfd58) (constant int (0)) ) )) ) MOV TEMP[10].xyz, TEMP[9].xyzx; 12: (expression vec3 * (swiz xyz (var_ref _ret_val@0x7bd086f8) )(swiz xyz (var_ref R0@0x7bbdfb78) )) MUL TEMP[11].xyz, TEMP[5].xyzz, TEMP[10].xyzz; 13: (expression vec3 * (constant float (4.000000)) (expression vec3 * (swiz xyz (var_ref _ret_val@0x7bd086f8) )(swiz xyz (var_ref R0@0x7bbdfb78) )) ) MUL TEMP[12].xyz, CONST[4].xxxx, TEMP[11].xyzz; 14: (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 * (constant float (4.000000)) (expression vec3 * (swiz xyz (var_ref _ret_val@0x7bd086f8) )(swiz xyz (var_ref R0@0x7bbdfb78) )) ) ) MOV TEMP[10].xyz, TEMP[12].xyzx; 15: (expression vec3 + (swiz xyz (var_ref R0@0x7bbdfb78) )(swiz xyz (var_ref gl_SecondaryColor@0x7bbe00b8) )) ADD TEMP[13].xyz, TEMP[10].xyzz, INPUT[2].xyzz; 16: (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 + (swiz xyz (var_ref R0@0x7bbdfb78) )(swiz xyz (var_ref gl_SecondaryColor@0x7bbe00b8) )) ) MOV TEMP[10].xyz, TEMP[13].xyzx; 17: (expression vec4 * (var_ref _ret_val@0x7bd08b40) (var_ref gl_Color@0x7bbe0058) ) MUL TEMP[14], TEMP[8], INPUT[1]; 18: (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref _ret_val@0x7bd08b40) (var_ref gl_Color@0x7bbe0058) ) ) MUL TEMP[15], CONST[4].yyyy, TEMP[14]; 19: (assign (constant bool (1)) (xyzw) (var_ref R1@0x7bbdfb18) (expression vec4 * (constant float (2.000000)) (expression vec4 * (var_ref _ret_val@0x7bd08b40) (var_ref gl_Color@0x7bbe0058) ) ) ) MOV TEMP[16], TEMP[15]; 20: (expression vec3 + (expression vec3 * (swiz xyz (var_ref R0@0x7bbdfb78) )(swiz www (var_ref R1@0x7bbdfb18) )) (swiz xyz (var_ref R1@0x7bbdfb18) )) MAD TEMP[17], TEMP[10].xyzz, TEMP[16].wwww, TEMP[16].xyzz; 21: (assign (constant bool (1)) (xyz) (var_ref R0@0x7bbdfb78) (expression vec3 + (expression vec3 * (swiz xyz (var_ref R0@0x7bbdfb78) )(swiz www (var_ref R1@0x7bbdfb18) )) (swiz xyz (var_ref R1@0x7bbdfb18) )) ) MOV TEMP[10].xyz, TEMP[17].xyzx; 22: (assign (constant bool (1)) (w) (var_ref R0@0x7bbdfb78) (swiz w (var_ref R1@0x7bbdfb18) )) MOV TEMP[10].w, TEMP[16].wwww; 23: (assign (constant bool (1)) (xyzw) (array_ref (var_ref gl_FragData@0x7bbed308) (constant int (0)) ) (var_ref R0@0x7bbdfb78) ) MOV OUTPUT[3], TEMP[10]; 24: END