On 11/6/07, Stefan Dösinger stefan@codeweavers.com wrote:
/* Don't do any register mapping magic if it is not needed, or if we can't* achive anything anyway*/if(highest_reg_used < (GL_LIMITS(glsl_varyings) / 4) ||num_regs_used >= (GL_LIMITS(glsl_varyings) / 4) ) {if(num_regs_used >= (GL_LIMITS(glsl_varyings) / 4)) {
Should it not be "num_regs_used > (GL_LIMITS(glsl_varyings) / 4)"?
- Allan