Home | History | Annotate | Download | only in libpixelflinger

Lines Matching defs:depth

255         "(nop) depth test", scanline_noop, init_y_noop },
871 // depth test
872 if (c->state.buffers.depth.format) {
874 surface_t* cb = &(c->state.buffers.depth);
877 uint16_t depth = *p;
880 case GGL_LESS: if (zz<depth) break; goto discard;
881 case GGL_EQUAL: if (zz==depth) break; goto discard;
882 case GGL_LEQUAL: if (zz<=depth) break; goto discard;
883 case GGL_GREATER: if (zz>depth) break; goto discard;
884 case GGL_NOTEQUAL: if (zz!=depth) break; goto discard;
885 case GGL_GEQUAL: if (zz>=depth) break; goto discard;
887 // depth buffer is not enabled, if depth-test is not enabled
896 if (c->state.mask.depth) {