Lines Matching defs:depth
255 "(nop) depth test", scanline_noop, init_y_noop },
873 // depth test
874 if (c->state.buffers.depth.format) {
876 surface_t* cb = &(c->state.buffers.depth);
879 uint16_t depth = *p;
882 case GGL_LESS: if (zz<depth) break; goto discard;
883 case GGL_EQUAL: if (zz==depth) break; goto discard;
884 case GGL_LEQUAL: if (zz<=depth) break; goto discard;
885 case GGL_GREATER: if (zz>depth) break; goto discard;
886 case GGL_NOTEQUAL: if (zz!=depth) break; goto discard;
887 case GGL_GEQUAL: if (zz>=depth) break; goto discard;
889 // depth buffer is not enabled, if depth-test is not enabled
898 if (c->state.mask.depth) {