#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/macros.h"
#include "s_alpha.h"
#include "s_context.h"
Defines | |
#define | ALPHA_TEST(ALPHA, LOOP_CODE) |
Functions | |
GLint | _swrast_alpha_test (const GLcontext *ctx, SWspan *span) |
Perform the alpha test for an array of pixels. |
#define ALPHA_TEST | ( | ALPHA, | |||
LOOP_CODE | ) |
Perform the alpha test for an array of pixels.
For pixels that fail the test, mask[i] will be set to 0.