Alphatest vs Blend

I was wondering if anyone could tell me if

glAlphaFunc(GL_EQUAL, 1.0);

is faster than


in my application both calls have similar effects, so i would like to know which one is faster.


Generally the alpha test will be a bit faster if blending is disabled.

IIRC, in the SGI software renderer for Win32 (and possibly in the MS one too) alpha blend is on the fast path and alpha test isn’t, so in software you might see alpha blend running faster. In general though, as DFrey says, testing should be faster. Blending requires a read-modify-write round trip to the framebuffer whereas testing doesn’t, so theoretically alpha test requires only half the memory bandwidth.

thx for the replies, both of you confirmed what i thought