Lines Matching refs:GGL_BUILD_NEEDS

44         new_needs.n |= GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT);
50 uint32_t n = GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT);
82 n |= GGL_BUILD_NEEDS( src, BLEND_SRC );
83 n |= GGL_BUILD_NEEDS( dst, BLEND_DST );
85 n |= GGL_BUILD_NEEDS( src_alpha, BLEND_SRCA );
86 n |= GGL_BUILD_NEEDS( dst_alpha, BLEND_DSTA );
88 n |= GGL_BUILD_NEEDS( src, BLEND_SRCA );
89 n |= GGL_BUILD_NEEDS( dst, BLEND_DSTA );
92 n |= GGL_BUILD_NEEDS( GGL_ONE, BLEND_SRC );
93 n |= GGL_BUILD_NEEDS( GGL_ZERO, BLEND_DST );
94 n |= GGL_BUILD_NEEDS( GGL_ONE, BLEND_SRCA );
95 n |= GGL_BUILD_NEEDS( GGL_ZERO, BLEND_DSTA );
99 n |= GGL_BUILD_NEEDS(c->state.mask.color^0xF, MASK_ARGB);
100 n |= GGL_BUILD_NEEDS((enables & GGL_ENABLE_SMOOTH) ?1:0, SHADE);
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);
109 n |= GGL_BUILD_NEEDS(c->state.logic_op.opcode, LOGIC_OP);
111 n |= GGL_BUILD_NEEDS(GGL_COPY, LOGIC_OP);
115 p |= GGL_BUILD_NEEDS(c->state.alpha_test.func, P_ALPHA_TEST);
117 p |= GGL_BUILD_NEEDS(GGL_ALWAYS, P_ALPHA_TEST);
121 p |= GGL_BUILD_NEEDS(c->state.depth_test.func, P_DEPTH_TEST);
122 p |= GGL_BUILD_NEEDS(c->state.mask.depth&1, P_MASK_Z);
124 p |= GGL_BUILD_NEEDS(GGL_ALWAYS, P_DEPTH_TEST);
138 t |= GGL_BUILD_NEEDS(tx.surface.format, T_FORMAT);
139 t |= GGL_BUILD_NEEDS(ggl_env_to_needs(tx.env), T_ENV);
140 t |= GGL_BUILD_NEEDS(0, T_POT); // XXX: not used yet
143 t |= GGL_BUILD_NEEDS(GGL_NEEDS_WRAP_11, T_S_WRAP);
144 t |= GGL_BUILD_NEEDS(GGL_NEEDS_WRAP_11, T_T_WRAP);
146 t |= GGL_BUILD_NEEDS(ggl_wrap_to_needs(tx.s_wrap), T_S_WRAP);
147 t |= GGL_BUILD_NEEDS(ggl_wrap_to_needs(tx.t_wrap), T_T_WRAP);
150 t |= GGL_BUILD_NEEDS(1, T_LINEAR);
153 t |= GGL_BUILD_NEEDS(1, T_LINEAR);