Home
last modified time | relevance | path

Searched refs:PIPE_CLEAR_STENCIL (Results 1 – 25 of 47) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_rcl.c188 !(job->clear & PIPE_CLEAR_STENCIL); in store_general()
209 case PIPE_CLEAR_STENCIL: in zs_buffer_from_pipe_bits()
252 (loads_pending & PIPE_CLEAR_STENCIL)) { in v3d_rcl_emit_loads()
255 PIPE_CLEAR_STENCIL, in v3d_rcl_emit_loads()
281 loads_pending & PIPE_CLEAR_STENCIL; in v3d_rcl_emit_loads()
296 UNUSED bool needs_s_clear = job->clear & PIPE_CLEAR_STENCIL; in v3d_rcl_emit_stores()
358 if (job->store & PIPE_CLEAR_STENCIL) { in v3d_rcl_emit_stores()
360 STENCIL, PIPE_CLEAR_STENCIL, in v3d_rcl_emit_stores()
382 store.enable_stencil_write = stores_pending & PIPE_CLEAR_STENCIL; in v3d_rcl_emit_stores()
526 PIPE_CLEAR_STENCIL : in v3d_emit_z_stencil_config()
[all …]
Dv3dx_draw.c1259 job->load |= PIPE_CLEAR_STENCIL & ~job->clear; in v3d_draw_vbo()
1262 job->store |= PIPE_CLEAR_STENCIL; in v3d_draw_vbo()
1264 rsc->initialized_buffers |= PIPE_CLEAR_STENCIL; in v3d_draw_vbo()
1607 if (zsclear & PIPE_CLEAR_STENCIL) in v3d_tlb_clear()
Dv3d_context.c115 job->store &= ~(PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL); in v3d_invalidate_resource()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_draw.c244 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in clear_state()
254 if (buffers & PIPE_CLEAR_STENCIL) { in clear_state()
448 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in fd2_clear_fast()
455 !(buffers & PIPE_CLEAR_STENCIL)) in fd2_clear_fast()
560 if (buffers & PIPE_CLEAR_STENCIL) { in fd2_clear()
577 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in fd2_clear()
582 ((buffers & PIPE_CLEAR_STENCIL) ? 0x1 : 0); in fd2_clear()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.c246 if ((buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) && in fd5_clear()
312 if (pfb->zsbuf && (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in fd5_clear()
319 if (buffers & PIPE_CLEAR_STENCIL) in fd5_clear()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c147 (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in vc4_flush_jobs_reading_resource()
260 job->cleared |= PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL; in vc4_get_job_for_fbo()
425 if (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in vc4_job_submit()
426 if (!(job->cleared & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in vc4_job_submit()
Dvc4_draw.c489 job->resolve |= PIPE_CLEAR_STENCIL; in vc4_draw_vbo()
490 rsc->initialized_buffers |= PIPE_CLEAR_STENCIL; in vc4_draw_vbo()
537 zsclear == PIPE_CLEAR_STENCIL) && in vc4_clear()
602 if (buffers & PIPE_CLEAR_STENCIL) in vc4_clear()
Dvc4_context.c113 job->resolve &= ~(PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL); in vc4_invalidate_resource()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_clear.c94 if (buffers & PIPE_CLEAR_STENCIL || in i915_clear_emit()
106 } else if (buffers & PIPE_CLEAR_STENCIL) { in i915_clear_emit()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_clear.c76 if (buffers & PIPE_CLEAR_STENCIL) { in nv30_clear()
191 if (buffers & PIPE_CLEAR_STENCIL) in nv30_clear_depth_stencil()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c307 if (clear_buffers & PIPE_CLEAR_STENCIL) { in clear_with_quad()
499 quad_buffers |= PIPE_CLEAR_STENCIL; in st_Clear()
501 clear_buffers |= PIPE_CLEAR_STENCIL; in st_Clear()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c524 if (batch->clear & PIPE_CLEAR_STENCIL) { in panfrost_batch_to_fb_info()
530 fb->zs.discard.s = !reserve && !(batch->resolve & PIPE_CLEAR_STENCIL); in panfrost_batch_to_fb_info()
539 ((batch->read & PIPE_CLEAR_STENCIL) || in panfrost_batch_to_fb_info()
540 ((batch->draws & PIPE_CLEAR_STENCIL) && in panfrost_batch_to_fb_info()
874 if (buffers & PIPE_CLEAR_STENCIL) { in panfrost_batch_clear()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_clear.cpp61 if (buffers & PIPE_CLEAR_STENCIL && fb->zsbuf) { in swr_clear()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_job.c135 if (job->key.zsbuf && (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) in lima_job_free()
331 if (surf->reload & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) in lima_fb_zsbuf_needs_reload()
382 if (surf->reload & PIPE_CLEAR_STENCIL) { in lima_pack_reload_plbu_cmd()
891 (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) in lima_pack_pp_frame_reg()
1047 if (job->key.zsbuf && (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in lima_do_job()
1049 surf->reload = (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)); in lima_do_job()
Dlima_draw.c112 if (fb->base.zsbuf && (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) && in lima_update_job_wb()
113 !(job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) { in lima_update_job_wb()
181 if (buffers & PIPE_CLEAR_STENCIL) { in lima_clear()
184 zsbuf->reload &= ~PIPE_CLEAR_STENCIL; in lima_clear()
1031 buffers |= PIPE_CLEAR_STENCIL; in lima_draw_vbo_update()
Dlima_context.c117 job->resolve &= ~(PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL); in lima_invalidate_resource()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c532 return buffers & PIPE_CLEAR_STENCIL && in si_can_fast_clear_stencil()
912 !(*buffers & PIPE_CLEAR_STENCIL) && in si_fast_clear()
933 *buffers &= ~PIPE_CLEAR_STENCIL; in si_fast_clear()
980 buffers &= ~PIPE_CLEAR_STENCIL; in si_clear()
1137 clear |= PIPE_CLEAR_STENCIL; in si_clear_texture()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.c98 if (buffers & PIPE_CLEAR_STENCIL) in clear_in_rp()
250 if (buffers & PIPE_CLEAR_STENCIL) in zink_clear()
425 flags |= PIPE_CLEAR_STENCIL; in zink_clear_texture()
577 if (clear->zs.bits & PIPE_CLEAR_STENCIL) in fb_clears_apply_internal()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_defines.h223 #define PIPE_CLEAR_STENCIL (1 << 1) macro
238 #define PIPE_CLEAR_DEPTHSTENCIL (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_clear.c159 if (buffers & PIPE_CLEAR_STENCIL) in try_clear()
313 clear_flags |= PIPE_CLEAR_STENCIL; in svga_clear_texture()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch.h89 FD_BUFFER_STENCIL = PIPE_CLEAR_STENCIL,
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c1114 (!has_separate_stencil && (buffers & PIPE_CLEAR_STENCIL))) { in emit_clears()
1131 if (!has_separate_stencil && (buffers & PIPE_CLEAR_STENCIL)) in emit_clears()
1160 if (has_separate_stencil && (buffers & PIPE_CLEAR_STENCIL)) { in emit_clears()
1504 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in emit_sysmem_clears()
1513 if ((buffers & PIPE_CLEAR_DEPTH) || (!separate_stencil && (buffers & PIPE_CLEAR_STENCIL))) { in emit_sysmem_clears()
1520 if (separate_stencil && (buffers & PIPE_CLEAR_STENCIL)) { in emit_sysmem_clears()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_mlaa.c130 p->pipe->clear(p->pipe, PIPE_CLEAR_STENCIL | PIPE_CLEAR_COLOR0, NULL, in pp_jimenezmlaa_run()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_clear.c686 buffers & PIPE_CLEAR_STENCIL, in iris_clear()
829 flags & PIPE_CLEAR_DEPTH, flags & PIPE_CLEAR_STENCIL, in iris_clear_depth_stencil()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_clear.c677 buffers & PIPE_CLEAR_STENCIL, in crocus_clear()
844 flags & PIPE_CLEAR_DEPTH, flags & PIPE_CLEAR_STENCIL, in crocus_clear_depth_stencil()

12