[10/14] WineD3D: Implement the varying map

Allan Tong actong88 at gmail.com
Tue Nov 6 16:41:40 CST 2007


On 11/6/07, Stefan Dösinger <stefan at 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



More information about the wine-devel mailing list