+ if(gl_info->max_glsl_varyings > 32) + gl_info->max_glsl_varyings -= 4; + if(!apple && gl_info->gl_vendor == VENDOR_ATI && gl_info->max_glsl_varyings == 40) { + WARN("Hardcoded 32 varyings instead of 44 to avoid crashing the ATI driver\n"); + gl_info->max_glsl_varyings -= 4; + } This will give you 36 varyings, not 32. Is this intentional?
-----Original Message----- From: wine-patches-bounces@winehq.org [mailto:wine-patches- bounces@winehq.org] On Behalf Of Fabian Bieler Sent: Monday, August 25, 2008 6:25 AM To: wine-patches@winehq.org Subject: [try 3][1/2]wined3d: Support clipplanes with GLSL shaders