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