Lines Matching defs:enables
39 const uint32_t enables = c->state.enables;
45 if (enables & GGL_ENABLE_BLENDING)
52 if (enables & GGL_ENABLE_BLENDING) {
100 n |= GGL_BUILD_NEEDS((enables & GGL_ENABLE_SMOOTH) ?1:0, SHADE);
101 if (enables & GGL_ENABLE_TMUS) {
102 n |= GGL_BUILD_NEEDS((enables & GGL_ENABLE_W) ?1:0, W);
104 p |= GGL_BUILD_NEEDS((enables & GGL_ENABLE_DITHER) ?1:0, P_DITHER);
105 p |= GGL_BUILD_NEEDS((enables & GGL_ENABLE_AA) ?1:0, P_AA);
106 p |= GGL_BUILD_NEEDS((enables & GGL_ENABLE_FOG) ?1:0, P_FOG);
108 if (enables & GGL_ENABLE_LOGIC_OP) {
114 if (enables & GGL_ENABLE_ALPHA_TEST) {
120 if (enables & GGL_ENABLE_DEPTH_TEST) {