Ian Romanick <i...@freedesktop.org> writes:
> Curses!  I already fixed this for pre-GEN6... over 3 years ago! :(

Yes, that's a pain. On the up-side, I'll be adding testing to piglit for
this so hopefully we can avoid having more, similar breakage in the
future.

> See commit eadd9b8e from December 2009.  At the very least, I think your 
> patch should use my fix_xRGB_alpha function since you're missing 
> GL_SRC_ALPHA_SATURATE.  There may be other refactoring that could 
> happen.  I see some duplication of the GL_MIN / GL_MAX checking, etc.

Thanks so much!

I did miss GL_SRC_ALPHA_SATURATE since I scanned the table in the
specification looking for instances of A_d, (and missed the fact that
"i" in the table was defined in a footnote to be min(A_s, 1 - A_d)).

So that will be a nice improvement to my patch.

Plus, your function avoids the code duplication in my patch for handling
both srcRGB and dstRGB.

I'll also look for any additional code sharing that can be performed.

Thanks for the review!

-Carl

-- 
carl.d.wo...@intel.com

Attachment: pgp9sjfZxxXFk.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to