Lines Matching refs:dsa
43 struct r300_dsa_state *dsa = r300->dsa_state.state;
45 switch (dsa->dsa.depth_func) {
65 struct r300_dsa_state *dsa = r300->dsa_state.state;
66 unsigned func = dsa->dsa.depth_func;
73 struct r300_dsa_state *dsa = r300->dsa_state.state;
74 unsigned func = dsa->dsa.depth_func;
100 struct r300_dsa_state *dsa = r300->dsa_state.state;
114 if (r300_dsa_stencil_op_not_keep(&dsa->dsa.stencil[0]) ||
115 r300_dsa_stencil_op_not_keep(&dsa->dsa.stencil[1]))
118 if (dsa->dsa.depth_enabled) {
120 if (dsa->dsa.depth_func == PIPE_FUNC_EQUAL && !r300screen->caps.is_r500)
124 if (dsa->dsa.depth_func == PIPE_FUNC_NOTEQUAL)
136 struct r300_dsa_state *dsa = r300->dsa_state.state;
172 if (!dsa->dsa.depth_enabled &&
173 !dsa->dsa.stencil[0].enabled &&
174 !dsa->dsa.stencil[1].enabled) {
175 assert(!dsa->dsa.depth_writemask);
192 if (dsa->dsa.depth_writemask) {
197 DBG(r300, DBG_HYPERZ, "r300: Z-func: %i\n", dsa->dsa.depth_func);
222 struct pipe_depth_stencil_alpha_state *dsa)
227 return dsa->alpha_enabled && dsa->alpha_func != PIPE_FUNC_ALWAYS;