Home
last modified time | relevance | path

Searched refs:stencil_ref (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_blend.c158 const struct pipe_stencil_ref stencil_ref) in llvmpipe_set_stencil_ref() argument
162 if(memcmp(&llvmpipe->stencil_ref, &stencil_ref, sizeof stencil_ref) == 0) in llvmpipe_set_stencil_ref()
167 memcpy(&llvmpipe->stencil_ref, &stencil_ref, sizeof stencil_ref); in llvmpipe_set_stencil_ref()
Dlp_context.h80 struct pipe_stencil_ref stencil_ref; member
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render_stencilref.c55 r300->stencil_ref.ref_value[0] != r300->stencil_ref.ref_value[1]); in r300_stencilref_needed()
68 sr->ref_value_front = r300->stencil_ref.ref_value[0]; in r300_stencilref_begin()
85 r300->stencil_ref.ref_value[0] = r300->stencil_ref.ref_value[1]; in r300_stencilref_switch_side()
101 r300->stencil_ref.ref_value[0] = sr->ref_value_front; in r300_stencilref_end()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_blend.c117 const struct pipe_stencil_ref stencil_ref) in softpipe_set_stencil_ref() argument
121 softpipe->stencil_ref = stencil_ref; in softpipe_set_stencil_ref()
Dsp_context.h79 struct pipe_stencil_ref stencil_ref; member
Dsp_surface.c75 util_blitter_save_stencil_ref(sp->blitter, &sp->stencil_ref); in sp_blit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c308 struct pipe_stencil_ref stencil_ref; in clear_with_quad() local
309 memset(&stencil_ref, 0, sizeof(stencil_ref)); in clear_with_quad()
317 stencil_ref.ref_value[0] = ctx->Stencil.Clear; in clear_with_quad()
318 cso_set_stencil_ref(cso, stencil_ref); in clear_with_quad()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_depthstencil.c266 const struct pipe_stencil_ref stencil_ref) in svga_set_stencil_ref() argument
275 svga->curr.stencil_ref = stencil_ref; in svga_set_stencil_ref()
Dsvga_state_rss.c215 EMIT_RS(svga, svga->curr.stencil_ref.ref_value[0], STENCILREF); in emit_rss_vgpu9()
437 svga->state.hw_draw.stencil_ref = 0; in emit_rss_vgpu10()
445 unsigned curr_ref = svga->curr.stencil_ref.ref_value[0]; in emit_rss_vgpu10()
448 curr_ref != svga->state.hw_draw.stencil_ref) { in emit_rss_vgpu10()
456 svga->state.hw_draw.stencil_ref = curr_ref; in emit_rss_vgpu10()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c119 struct pipe_stencil_ref stencil_ref, stencil_ref_saved; member
788 if (memcmp(&ctx->stencil_ref, &sr, sizeof(ctx->stencil_ref))) { in cso_set_stencil_ref()
789 ctx->stencil_ref = sr; in cso_set_stencil_ref()
797 ctx->stencil_ref_saved = ctx->stencil_ref; in cso_save_stencil_ref()
804 if (memcmp(&ctx->stencil_ref, &ctx->stencil_ref_saved, in cso_restore_stencil_ref()
805 sizeof(ctx->stencil_ref))) { in cso_restore_stencil_ref()
806 ctx->stencil_ref = ctx->stencil_ref_saved; in cso_restore_stencil_ref()
807 ctx->pipe->set_stencil_ref(ctx->pipe, ctx->stencil_ref); in cso_restore_stencil_ref()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_state.c256 const struct pipe_stencil_ref stencil_ref) in lima_set_stencil_ref() argument
260 ctx->stencil_ref = stencil_ref; in lima_set_stencil_ref()
/third_party/mesa3d/src/intel/vulkan/
Danv_pass.c281 const VkAttachmentReferenceStencilLayoutKHR *stencil_ref = in stencil_ref_layout() local
284 if (!stencil_ref) in stencil_ref_layout()
286 return stencil_ref->stencilLayout; in stencil_ref_layout()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_blit.c50 util_blitter_save_stencil_ref(blitter, &ctx->stencil_ref); in panfrost_blitter_save()
Dpan_context.h209 struct pipe_stencil_ref stencil_ref; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h126 struct si_dsa_stencil_ref_part stencil_ref; member
227 struct si_atom stencil_ref; member
245 SI_ATOM_BIT(stencil_ref) | SI_ATOM_BIT(scratch_state) | SI_ATOM_BIT(window_rectangles)); in si_atoms_that_always_roll_context()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c339 const VkAttachmentReferenceStencilLayoutKHR *stencil_ref = in stencil_ref_layout() local
341 if (!stencil_ref) in stencil_ref_layout()
344 return stencil_ref->stencilLayout; in stencil_ref_layout()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.h163 struct compiled_stencil_ref stencil_ref; member
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c63 const struct pipe_stencil_ref stencil_ref) in vc4_set_stencil_ref() argument
66 vc4->stencil_ref = stencil_ref; in vc4_set_stencil_ref()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c72 const struct pipe_stencil_ref stencil_ref) in_dt in fd_set_stencil_ref() argument
75 ctx->stencil_ref = stencil_ref; in fd_set_stencil_ref()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_immediate.c126 LIS5 |= i915->stencil_ref.ref_value[stencil_ccw] << S5_STENCIL_REF_SHIFT; in upload_S5()
Di915_state_dynamic.c122 bfo[0] |= i915->stencil_ref.ref_value[!stencil_ccw] in upload_BFO()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_context.h103 struct pipe_stencil_ref stencil_ref; member
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_context.h153 struct pipe_stencil_ref stencil_ref;
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.h163 struct pipe_stencil_ref stencil_ref; member
Dagx_blit.c98 util_blitter_save_stencil_ref(blitter, &ctx->stencil_ref); in agx_blitter_save()

12345