[10/14] WineD3D: Implement the varying map

Stefan Dösinger stefan at codeweavers.com
Wed Nov 7 01:10:35 CST 2007


Am Dienstag, 6. November 2007 23:41:40 schrieb Allan Tong:
> 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)"?
yes, I think you are right. Thanks for spotting this
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071107/88f8310c/attachment.pgp 


More information about the wine-devel mailing list