Home
last modified time | relevance | path

Searched refs:z_res (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/mesa3d/src/gallium/drivers/iris/
H A Diris_clear.c595 struct iris_resource *z_res; in clear_depth_stencil() local
600 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); in clear_depth_stencil()
601 if (z_res && clear_depth && in clear_depth_stencil()
602 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, in clear_depth_stencil()
604 fast_clear_depth(ice, z_res, level, box, depth); in clear_depth_stencil()
607 z_res = false; in clear_depth_stencil()
617 if (clear_depth && z_res) { in clear_depth_stencil()
619 iris_resource_render_aux_usage(ice, z_res, z_res->surf.format, level, in clear_depth_stencil()
621 iris_resource_prepare_render(ice, z_res, z_res->surf.format, level, in clear_depth_stencil()
623 iris_emit_buffer_barrier_for(batch, z_res->bo, IRIS_DOMAIN_DEPTH_WRITE); in clear_depth_stencil()
[all …]
H A Diris_resolve.c210 struct iris_resource *z_res, *s_res; in iris_predraw_resolve_framebuffer() local
211 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_predraw_resolve_framebuffer()
215 if (z_res) { in iris_predraw_resolve_framebuffer()
216 iris_resource_prepare_render(ice, z_res, z_res->surf.format, in iris_predraw_resolve_framebuffer()
220 iris_emit_buffer_barrier_for(batch, z_res->bo, in iris_predraw_resolve_framebuffer()
349 struct iris_resource *z_res, *s_res; in iris_postdraw_update_resolve_tracking() local
350 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_postdraw_update_resolve_tracking()
354 if (z_res) { in iris_postdraw_update_resolve_tracking()
356 iris_resource_finish_render(ice, z_res, zs_surf->u.tex.level, in iris_postdraw_update_resolve_tracking()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_clear.c539 struct crocus_resource *z_res; in clear_depth_stencil() local
544 crocus_get_depth_stencil_resources(&batch->screen->devinfo, p_res, &z_res, &stencil_res); in clear_depth_stencil()
545 if (z_res && clear_depth && in clear_depth_stencil()
546 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, in clear_depth_stencil()
548 fast_clear_depth(ice, z_res, level, box, depth); in clear_depth_stencil()
552 z_res = NULL; in clear_depth_stencil()
562 if (clear_depth && z_res) { in clear_depth_stencil()
564 crocus_resource_render_aux_usage(ice, z_res, level, z_res->surf.format, in clear_depth_stencil()
566 crocus_resource_prepare_render(ice, z_res, level, box->z, box->depth, in clear_depth_stencil()
569 &z_surf, &z_res->base.b, aux_usage, in clear_depth_stencil()
[all …]
H A Dcrocus_resolve.c233 struct crocus_resource *z_res, *s_res; in crocus_predraw_resolve_framebuffer() local
234 crocus_get_depth_stencil_resources(devinfo, zs_surf->texture, &z_res, &s_res); in crocus_predraw_resolve_framebuffer()
238 if (z_res) { in crocus_predraw_resolve_framebuffer()
239 crocus_resource_prepare_render(ice, z_res, in crocus_predraw_resolve_framebuffer()
243 crocus_cache_flush_for_depth(batch, z_res->bo); in crocus_predraw_resolve_framebuffer()
330 struct crocus_resource *z_res, *s_res; in crocus_postdraw_update_resolve_tracking() local
331 crocus_get_depth_stencil_resources(devinfo, zs_surf->texture, &z_res, &s_res); in crocus_postdraw_update_resolve_tracking()
335 if (z_res) { in crocus_postdraw_update_resolve_tracking()
337 crocus_resource_finish_render(ice, z_res, zs_surf->u.tex.level, in crocus_postdraw_update_resolve_tracking()
343 crocus_depth_cache_add_bo(batch, z_res->bo); in crocus_postdraw_update_resolve_tracking()
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D19.1.0.rst2940 - iris: z_res -> s_res