Lines Matching defs:bit
2254 /* This program is run eight times, once for each stencil bit.
2255 * The stencil values to draw are found in an 8-bit alpha texture.
2256 * We read the texture/stencil value and test if bit 'b' is set.
2257 * If the bit is not set, use KIL to kill the fragment.
2260 * The basic algorithm for checking if a bit is set is:
2261 * if (is_odd(value / (1 << bit)))
2266 * parm.x = 255 / (1 << bit)
2275 "# t = t * 255 / bit \n"
2283 "FRC t.x, t.x; # if t.x != 0, then the bit is set \n"
2515 GLint bit;
2538 for (bit = 0; bit < ctx->DrawBuffer->Visual.stencilBits; bit++) {
2539 const GLuint mask = 1 << bit;