Home
last modified time | relevance | path

Searched refs:separate_stencil (Results 1 - 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_rcl.c59 bool separate_stencil = surf->separate_stencil && buffer == STENCIL; in load_general() local
60 if (separate_stencil) { in load_general()
61 psurf = surf->separate_stencil; in load_general()
76 if (separate_stencil) in load_general()
121 bool separate_stencil = surf->separate_stencil && buffer == STENCIL; in store_general() local
122 if (separate_stencil) { in store_general()
123 psurf = surf->separate_stencil; in store_general()
144 if (separate_stencil) in store_general()
[all...]
H A Dv3d_job.c67 if (rsc->separate_stencil) in v3d_job_free()
69 &rsc->separate_stencil->base); in v3d_job_free()
350 if (rsc->separate_stencil) { in v3d_get_job()
352 &rsc->separate_stencil->base, in v3d_get_job()
356 &rsc->separate_stencil->base, in v3d_get_job()
413 if (rsc->separate_stencil) in v3d_get_job_for_fbo()
414 rsc = rsc->separate_stencil; in v3d_get_job_for_fbo()
H A Dv3d_resource.h84 struct pipe_surface *separate_stencil; member
133 struct v3d_resource *separate_stencil; member
H A Dv3d_resource.c1109 if (rsc->separate_stencil) { in v3d_create_surface()
1110 surface->separate_stencil = in v3d_create_surface()
1111 v3d_create_surface(pctx, &rsc->separate_stencil->base, in v3d_create_surface()
1123 if (surf->separate_stencil) in v3d_surface_destroy()
1124 pipe_surface_reference(&surf->separate_stencil, NULL); in v3d_surface_destroy()
1148 v3d_resource(prsc)->separate_stencil = v3d_resource(stencil); in v3d_resource_set_stencil()
1156 return &rsc->separate_stencil->base; in v3d_resource_get_stencil()
H A Dv3d_blit.c144 if (src->separate_stencil) { in v3d_stencil_blit()
145 src = src->separate_stencil; in v3d_stencil_blit()
151 if (dst->separate_stencil) { in v3d_stencil_blit()
152 dst = dst->separate_stencil; in v3d_stencil_blit()
H A Dv3dx_state.c1067 if (rsc->separate_stencil && in v3d_create_sampler_view()
1069 rsc = rsc->separate_stencil; in v3d_create_sampler_view()
H A Dv3dx_draw.c1278 if (rsc->separate_stencil) in v3d_draw_vbo()
1279 rsc = rsc->separate_stencil; in v3d_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/asahi/
H A Dmagic.c59 if (rsrc->separate_stencil) in asahi_size_resource()
60 size += asahi_size_resource(&rsrc->separate_stencil->base, level); in asahi_size_resource()
147 if (rsrc->separate_stencil) { in asahi_pack_iogpu_attachments()
149 rsrc->separate_stencil, in asahi_pack_iogpu_attachments()
212 if (agx_resource(zsbuf->texture)->separate_stencil) { in demo_cmdbuf()
214 agx_resource(zsbuf->texture)->separate_stencil); in demo_cmdbuf()
H A Dagx_pipe.c488 if (zbuf->separate_stencil) in agx_flush()
489 BITSET_SET(zbuf->separate_stencil->data_valid, 0); in agx_flush()
519 if (rsrc->separate_stencil) in agx_flush()
520 agx_batch_add_bo(batch, rsrc->separate_stencil->bo); in agx_flush()
1122 agx_resource(prsrc)->separate_stencil = agx_resource(stencil); in agx_resource_set_stencil()
1128 return (struct pipe_resource *) agx_resource(prsrc)->separate_stencil; in agx_resource_get_stencil()
H A Dagx_state.h267 struct agx_resource *separate_stencil; member
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_transfer_helper.c37 bool separate_stencil; /**< separate stencil for all formats */ member
46 if (helper->separate_stencil && util_format_is_depth_and_stencil(format)) in need_interleave_path()
106 if ((helper->separate_stencil && util_format_is_depth_and_stencil(format)) || in u_transfer_helper_resource_create()
557 bool separate_stencil, in u_transfer_helper_create()
566 helper->separate_stencil = separate_stencil; in u_transfer_helper_create()
555 u_transfer_helper_create(const struct u_transfer_vtbl *vtbl, bool separate_z32s8, bool separate_stencil, bool fake_rgtc, bool msaa_map, bool z24_in_z32f) u_transfer_helper_create() argument
H A Du_transfer_helper.h46 * the vtbl contains setter/getter methods used for fake_rgct & separate_stencil
126 bool separate_stencil,
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_resource.h66 struct panfrost_resource *separate_stencil; member
H A Dpan_job.c342 if (rsrc->separate_stencil) in panfrost_batch_read_rsrc()
343 panfrost_batch_add_bo_old(batch, rsrc->separate_stencil->image.data.bo, access); in panfrost_batch_read_rsrc()
361 if (rsrc->separate_stencil) in panfrost_batch_write_rsrc()
362 panfrost_batch_add_bo_old(batch, rsrc->separate_stencil->image.data.bo, access); in panfrost_batch_write_rsrc()
555 if (z_rsrc->separate_stencil) { in panfrost_batch_to_fb_info()
556 s_rsrc = z_rsrc->separate_stencil; in panfrost_batch_to_fb_info()
H A Dpan_resource.c1055 if (rsrc->separate_stencil) { in panfrost_ptr_map()
1449 pan_resource(prsrc)->separate_stencil = pan_resource(stencil); in panfrost_resource_set_stencil()
1455 if (!pan_resource(prsrc)->separate_stencil) in panfrost_resource_get_stencil()
1458 return &pan_resource(prsrc)->separate_stencil->base; in panfrost_resource_get_stencil()
H A Dpan_cmdstream.c1660 assert(prsrc->separate_stencil); in panfrost_create_sampler_view_bo()
1661 texture = &prsrc->separate_stencil->base; in panfrost_create_sampler_view_bo()
/third_party/mesa3d/src/intel/isl/
H A Disl_emit_depth_stencil.c151 const bool separate_stencil = in emit_depth_stencil_hiz_s() local
153 if (separate_stencil || info->hiz_usage == ISL_AUX_USAGE_HIZ) { in emit_depth_stencil_hiz_s()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_gmem.c211 OUT_REG(ring, A6XX_RB_STENCIL_INFO(.separate_stencil = true), in emit_zs()
1524 struct pipe_resource *separate_stencil = variable
1529 if ((buffers & PIPE_CLEAR_DEPTH) || (!separate_stencil && (buffers & PIPE_CLEAR_STENCIL))) {
1536 if (separate_stencil && (buffers & PIPE_CLEAR_STENCIL)) {
1541 stencil_surf.texture = separate_stencil;
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_clear_blit.c2955 bool separate_stencil) in tu_emit_blit()
2968 if (!separate_stencil) { in tu_emit_blit()
2988 if (attachment->format == VK_FORMAT_D32_SFLOAT_S8_UINT && separate_stencil) { in tu_emit_blit()
3129 bool separate_stencil, in store_cp_blit()
3139 if (!separate_stencil) { in store_cp_blit()
3188 bool separate_stencil, in store_3d_blit()
3212 if (!separate_stencil) { in store_3d_blit()
2950 tu_emit_blit(struct tu_cmd_buffer *cmd, struct tu_cs *cs, const struct tu_image_view *iview, const struct tu_render_pass_attachment *attachment, bool resolve, bool separate_stencil) tu_emit_blit() argument
3125 store_cp_blit(struct tu_cmd_buffer *cmd, struct tu_cs *cs, const struct tu_image_view *iview, uint32_t samples, bool separate_stencil, enum pipe_format src_format, enum pipe_format dst_format, uint32_t gmem_offset, uint32_t cpp) store_cp_blit() argument
3184 store_3d_blit(struct tu_cmd_buffer *cmd, struct tu_cs *cs, const struct tu_image_view *iview, uint32_t dst_samples, bool separate_stencil, enum pipe_format src_format, enum pipe_format dst_format, const VkRect2D *render_area, uint32_t gmem_offset, uint32_t cpp) store_3d_blit() argument
H A Dtu_cmd_buffer.c229 tu_cs_emit(cs, A6XX_RB_STENCIL_INFO(.separate_stencil = true).value); in tu6_emit_zs()

Completed in 43 milliseconds