Home
last modified time | relevance | path

Searched refs:depth_func (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_hyperz.c45 switch (dsa->dsa.depth_func) { in r300_get_hiz_func()
66 unsigned func = dsa->dsa.depth_func; in r300_get_sc_hz_max()
74 unsigned func = dsa->dsa.depth_func; in r300_is_hiz_func_valid()
120 if (dsa->dsa.depth_func == PIPE_FUNC_EQUAL && !r300screen->caps.is_r500) in r300_hiz_allowed()
124 if (dsa->dsa.depth_func == PIPE_FUNC_NOTEQUAL) in r300_hiz_allowed()
197 DBG(r300, DBG_HYPERZ, "r300: Z-func: %i\n", dsa->dsa.depth_func); in r300_update_hyperz()
/third_party/mesa3d/src/mesa/main/
Ddepth.c63 depth_func(struct gl_context *ctx, GLenum func, bool no_error) in depth_func() function
100 depth_func(ctx, func, true); in _mesa_DepthFunc_no_error()
112 depth_func(ctx, func, false); in _mesa_DepthFunc()
Dstate.c106 GLenum16 depth_func = ctx->Depth.Func; in _mesa_update_allow_draw_out_of_order() local
125 (depth_func == GL_NEVER || in _mesa_update_allow_draw_out_of_order()
126 depth_func == GL_LESS || in _mesa_update_allow_draw_out_of_order()
127 depth_func == GL_LEQUAL || in _mesa_update_allow_draw_out_of_order()
128 depth_func == GL_GREATER || in _mesa_update_allow_draw_out_of_order()
129 depth_func == GL_GEQUAL) && in _mesa_update_allow_draw_out_of_order()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_zsa.c47 switch (cso->depth_func) { in fd5_zsa_state_create()
69 A5XX_RB_DEPTH_CNTL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd5_zsa_state_create()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_depth.c89 dsa->depth_func = func_to_gallium(ctx->Depth.Func); in st_update_depth_stencil_alpha()
90 if (dsa->depth_func != PIPE_FUNC_EQUAL) in st_update_depth_stencil_alpha()
Dst_cb_clear.c304 depth_stencil.depth_func = PIPE_FUNC_ALWAYS; in clear_with_quad()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_zsa.c107 A6XX_RB_DEPTH_CNTL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd6_zsa_state_create()
119 switch (cso->depth_func) { in fd6_zsa_state_create()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c39 dsa.depth_func = d3dcmpfunc_to_pipe_func(rs[D3DRS_ZFUNC]); in nine_convert_dsa_state()
42 dsa.depth_func != PIPE_FUNC_EQUAL && in nine_convert_dsa_state()
43 dsa.depth_func != PIPE_FUNC_NEVER; in nine_convert_dsa_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_zsa.c48 A3XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd3_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_zsa.c48 A2XX_RB_DEPTHCONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd2_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_zsa.c48 A4XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd4_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_zsa.c50 cs->z_test_enabled = so->depth_enabled && so->depth_func != PIPE_FUNC_ALWAYS; in etna_zsa_state_create()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c227 so->config_bits[1] |= (cso->depth_func << in vc4_create_depth_stencil_alpha_state()
234 if ((cso->depth_func == PIPE_FUNC_LESS || in vc4_create_depth_stencil_alpha_state()
235 cso->depth_func == PIPE_FUNC_LEQUAL) && in vc4_create_depth_stencil_alpha_state()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fNegativeFragmentApiTests.cpp63 ES2F_ADD_API_CASE(depth_func, "Invalid glDepthFunc() usage", in init()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeFragmentApiTests.cpp60 void depth_func (NegativeTestContext& ctx) in depth_func() function
485 {depth_func, "depth_func", "Invalid glDepthFunc() usage" }, in getNegativeFragmentApiTestFunctions()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_depthstencil.c193 ds->zfunc = svga_translate_compare_func(templ->depth_func); in svga_create_depth_stencil_state()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h335 unsigned depth_func:3; /**< depth test func (PIPE_FUNC_x) */ member
/third_party/mesa3d/src/gallium/tests/graw/
Dgraw_util.h165 depthStencilAlpha.depth_func = PIPE_FUNC_LESS; in graw_util_default_state()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeFragmentApiTests.cpp63 ES3F_ADD_API_CASE(depth_func, "Invalid glDepthFunc() usage", in init()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test.c560 switch (softpipe->depth_stencil->depth_func) { in depth_test_quad()
997 unsigned depthfunc = qs->softpipe->depth_stencil->depth_func; in choose_depth_test()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1275 S_028800_ZFUNC(state->depth_func) | S_028800_DEPTH_BOUNDS_ENABLE(state->depth_bounds_test); in si_create_dsa_state()
1326 state->depth_func == PIPE_FUNC_NEVER || state->depth_func == PIPE_FUNC_LESS || in si_create_dsa_state()
1327 state->depth_func == PIPE_FUNC_LEQUAL || state->depth_func == PIPE_FUNC_GREATER || in si_create_dsa_state()
1328 state->depth_func == PIPE_FUNC_GEQUAL; in si_create_dsa_state()
1342 (state->depth_func == PIPE_FUNC_ALWAYS || state->depth_func == PIPE_FUNC_NEVER)); in si_create_dsa_state()
1345 (state->depth_func == PIPE_FUNC_ALWAYS || state->depth_func == PIPE_FUNC_NEVER); in si_create_dsa_state()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pStateChangeCallTests.cpp220 ADD_ARG_CASE1(depth_func, "Test cost of glDepthFunc() calls", in init()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c223 SB_DATA (so, nvgl_comparison_op(cso->depth_func)); in nv30_zsa_state_create()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pStateChangeCallTests.cpp255 ADD_ARG_CASE1(depth_func, "Test cost of glDepthFunc() calls", in init()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h890 (zsa->depth_func != PIPE_FUNC_NEVER)) in util_writes_depth_stencil()

1234