Home
last modified time | relevance | path

Searched refs:z_res (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_clear.c536 struct iris_resource *z_res; in clear_depth_stencil() local
541 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); in clear_depth_stencil()
542 if (z_res && clear_depth && in clear_depth_stencil()
543 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, in clear_depth_stencil()
545 fast_clear_depth(ice, z_res, level, box, depth); in clear_depth_stencil()
548 z_res = false; in clear_depth_stencil()
558 if (clear_depth && z_res) { in clear_depth_stencil()
560 iris_resource_render_aux_usage(ice, z_res, level, z_res->surf.format, in clear_depth_stencil()
562 iris_resource_prepare_render(ice, z_res, leve in clear_depth_stencil()
[all...]
H A 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/
H A 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, leve 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 in crocus_postdraw_update_resolve_tracking()
[all...]

Completed in 7 milliseconds