[Piglit] [PATCH] blendminmax and blendsquare : require 1.4

Eric Anholt eric at anholt.net
Wed Nov 10 13:31:51 PST 2010


On Mon,  1 Nov 2010 17:29:42 +0100, Xavier Chantry <chantry.xavier at gmail.com> wrote:
> From glspec14.pdf
> 
> p290
> G.3
> Changes to the Imaging Subset
> The subset of blending features described by BlendEquation, BlendColor,
> and the BlendFunc modes CONSTANT COLOR, ONE MINUS CONSTANT COLOR,
> CONSTANT ALPHA, and ONE MINUS CONSTANT ALPHA are now supported. These
> feature were available only in the optional imaging subset in versions
> 1.2 and 1.3 of the GL.
> 
> If I interpret this correctly, it means glBlendEquation was optional
> before 1.4 and thus could not be called directly.

glBlendEquation is introduced with GL_EXT_blend_minmax.  If you expose
that extension, you have glBlendEquation that does ADD, MIN, and MAX.  I
pushed a fix for blendsquare to just not use glBlendEquation, and
blendminmax is fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20101110/54ca9050/attachment.pgp>


More information about the Piglit mailing list