[10/14] WineD3D: Implement the varying map

Stefan Dösinger stefan at codeweavers.com
Wed Nov 7 03:34:32 CST 2007


Am Mittwoch, 7. November 2007 08:10:35 schrieb Stefan Dösinger:
> 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
Here is a fixed patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-WineD3D-Implement-the-varying-map.patch
Type: text/x-diff
Size: 5391 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071107/00d6175e/attachment-0001.patch 


More information about the wine-devel mailing list