Lines Matching defs:depth
232 "(nop) depth test", scanline_noop, init_y_noop },
834 // depth test
835 if (c->state.buffers.depth.format) {
837 surface_t* cb = &(c->state.buffers.depth);
840 uint16_t depth = *p;
843 case GGL_LESS: if (zz<depth) break; goto discard;
844 case GGL_EQUAL: if (zz==depth) break; goto discard;
845 case GGL_LEQUAL: if (zz<=depth
846 case GGL_GREATER: if (zz>depth) break; goto discard;
847 case GGL_NOTEQUAL: if (zz!=depth) break; goto discard;
848 case GGL_GEQUAL: if (zz>=depth) break; goto discard;
850 // depth buffer is not enabled, if depth-test is not enabled
859 if (c->state.mask.depth) {