Home | History | Annotate | Download | only in r300

Lines Matching refs:depth

33    1. HiZ only works on depth values
35 3. on R300/400, HiZ is disabled if depth test is EQUAL
46 switch (dsa->dsa.depth.func) {
63 /* Return what's used for the depth test (either minimum or maximum). */
67 unsigned func = dsa->dsa.depth.func;
75 unsigned func = dsa->dsa.depth.func;
110 /* If the depth function is inverted, HiZ must be disabled. */
119 if (dsa->dsa.depth.enabled) {
120 /* if depth func is EQUAL pre-r500 */
121 if (dsa->dsa.depth.func == PIPE_FUNC_EQUAL && !r300screen->caps.is_r500)
124 /* if depth func is NOTEQUAL */
125 if (dsa->dsa.depth.func == PIPE_FUNC_NOTEQUAL)
172 /* Do not set anything if depth and stencil tests are off. */
173 if (!dsa->dsa.depth.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);
234 /* We are interested only in the cases when a depth or stencil value
237 if (dsa->depth.enabled && dsa->depth.writemask &&
238 dsa->depth.func != PIPE_FUNC_NEVER)
280 * 5) Depth writes in fragment shader