Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/iris/
Diris_clear.c574 struct iris_resource *z_res; in clear_depth_stencil() local
579 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); in clear_depth_stencil()
580 if (z_res && clear_depth && in clear_depth_stencil()
581 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, in clear_depth_stencil()
583 fast_clear_depth(ice, z_res, level, box, depth); in clear_depth_stencil()
587 z_res = false; in clear_depth_stencil()
597 if (clear_depth && z_res) { in clear_depth_stencil()
599 iris_resource_render_aux_usage(ice, z_res, level, z_res->surf.format, in clear_depth_stencil()
601 iris_resource_prepare_render(ice, z_res, level, box->z, box->depth, in clear_depth_stencil()
603 iris_emit_buffer_barrier_for(batch, z_res->bo, IRIS_DOMAIN_DEPTH_WRITE); in clear_depth_stencil()
[all …]
Diris_resolve.c197 struct iris_resource *z_res, *s_res; in iris_predraw_resolve_framebuffer() local
198 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_predraw_resolve_framebuffer()
202 if (z_res) { in iris_predraw_resolve_framebuffer()
203 iris_resource_prepare_render(ice, z_res, zs_surf->u.tex.level, in iris_predraw_resolve_framebuffer()
206 iris_emit_buffer_barrier_for(batch, z_res->bo, in iris_predraw_resolve_framebuffer()
287 struct iris_resource *z_res, *s_res; in iris_postdraw_update_resolve_tracking() local
288 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_postdraw_update_resolve_tracking()
292 if (z_res) { in iris_postdraw_update_resolve_tracking()
294 iris_resource_finish_render(ice, z_res, zs_surf->u.tex.level, in iris_postdraw_update_resolve_tracking()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_clear.c564 struct crocus_resource *z_res; in clear_depth_stencil() local
569 crocus_get_depth_stencil_resources(&batch->screen->devinfo, p_res, &z_res, &stencil_res); in clear_depth_stencil()
570 if (z_res && clear_depth && in clear_depth_stencil()
571 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, in clear_depth_stencil()
573 fast_clear_depth(ice, z_res, level, box, depth); in clear_depth_stencil()
577 z_res = NULL; in clear_depth_stencil()
587 if (clear_depth && z_res) { in clear_depth_stencil()
589 crocus_resource_render_aux_usage(ice, z_res, level, z_res->surf.format, in clear_depth_stencil()
591 crocus_resource_prepare_render(ice, z_res, level, box->z, box->depth, in clear_depth_stencil()
594 &z_surf, &z_res->base.b, aux_usage, in clear_depth_stencil()
[all …]
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()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst2940 - iris: z_res -> s_res