Home | History | Annotate | Download | only in r300

Lines Matching refs:dsa

44     struct r300_dsa_state *dsa = r300->dsa_state.state;
46 switch (dsa->dsa.depth.func) {
66 struct r300_dsa_state *dsa = r300->dsa_state.state;
67 unsigned func = dsa->dsa.depth.func;
74 struct r300_dsa_state *dsa = r300->dsa_state.state;
75 unsigned func = dsa->dsa.depth.func;
101 struct r300_dsa_state *dsa = r300->dsa_state.state;
115 if (r300_dsa_stencil_op_not_keep(&dsa->dsa.stencil[0]) ||
116 r300_dsa_stencil_op_not_keep(&dsa->dsa.stencil[1]))
119 if (dsa->dsa.depth.enabled) {
121 if (dsa->dsa.depth.func == PIPE_FUNC_EQUAL && !r300screen->caps.is_r500)
125 if (dsa->dsa.depth.func == PIPE_FUNC_NOTEQUAL)
137 struct r300_dsa_state *dsa = r300->dsa_state.state;
173 if (!dsa->dsa.depth.enabled &&
174 !dsa->dsa.stencil[0].enabled &&
175 !dsa->dsa.stencil[1].enabled) {
176 assert(!dsa->dsa.depth.writemask);
193 if (dsa->dsa.depth.writemask) {
198 DBG(r300, DBG_HYPERZ, "r300: Z-func: %i\n", dsa->dsa.depth.func);
232 struct pipe_depth_stencil_alpha_state *dsa)
237 if (dsa->depth.enabled && dsa->depth.writemask &&
238 dsa->depth.func != PIPE_FUNC_NEVER)
241 if (r300_dsa_writes_stencil(&dsa->stencil[0]) ||
242 r300_dsa_writes_stencil(&dsa->stencil[1]))
249 struct pipe_depth_stencil_alpha_state *dsa)
254 return dsa->alpha.enabled && dsa->alpha.func != PIPE_FUNC_ALWAYS;