/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_hyperz.c | 45 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/ |
D | depth.c | 63 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()
|
D | state.c | 106 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/ |
D | fd5_zsa.c | 47 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/ |
D | st_atom_depth.c | 89 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()
|
D | st_cb_clear.c | 304 depth_stencil.depth_func = PIPE_FUNC_ALWAYS; in clear_with_quad()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_zsa.c | 107 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/ |
D | nine_pipe.c | 39 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/ |
D | fd3_zsa.c | 48 A3XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd3_zsa_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_zsa.c | 48 A2XX_RB_DEPTHCONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd2_zsa_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_zsa.c | 48 A4XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */ in fd4_zsa_state_create()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_zsa.c | 50 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/ |
D | vc4_state.c | 227 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/ |
D | es2fNegativeFragmentApiTests.cpp | 63 ES2F_ADD_API_CASE(depth_func, "Invalid glDepthFunc() usage", in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeFragmentApiTests.cpp | 60 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/ |
D | svga_pipe_depthstencil.c | 193 ds->zfunc = svga_translate_compare_func(templ->depth_func); in svga_create_depth_stencil_state()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 335 unsigned depth_func:3; /**< depth test func (PIPE_FUNC_x) */ member
|
/third_party/mesa3d/src/gallium/tests/graw/ |
D | graw_util.h | 165 depthStencilAlpha.depth_func = PIPE_FUNC_LESS; in graw_util_default_state()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeFragmentApiTests.cpp | 63 ES3F_ADD_API_CASE(depth_func, "Invalid glDepthFunc() usage", in init()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_depth_test.c | 560 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/ |
D | si_state.c | 1275 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/ |
D | es2pStateChangeCallTests.cpp | 220 ADD_ARG_CASE1(depth_func, "Test cost of glDepthFunc() calls", in init()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state.c | 223 SB_DATA (so, nvgl_comparison_op(cso->depth_func)); in nv30_zsa_state_create()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pStateChangeCallTests.cpp | 255 ADD_ARG_CASE1(depth_func, "Test cost of glDepthFunc() calls", in init()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_inlines.h | 890 (zsa->depth_func != PIPE_FUNC_NEVER)) in util_writes_depth_stencil()
|