Home
last modified time | relevance | path

Searched refs:zs_surf (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resolve.c230 struct pipe_surface *zs_surf = cso_fb->zsbuf; in crocus_predraw_resolve_framebuffer() local
232 if (zs_surf) { in crocus_predraw_resolve_framebuffer()
234 crocus_get_depth_stencil_resources(devinfo, zs_surf->texture, &z_res, &s_res); in crocus_predraw_resolve_framebuffer()
236 zs_surf->u.tex.last_layer - zs_surf->u.tex.first_layer + 1; in crocus_predraw_resolve_framebuffer()
240 zs_surf->u.tex.level, in crocus_predraw_resolve_framebuffer()
241 zs_surf->u.tex.first_layer, in crocus_predraw_resolve_framebuffer()
245 if (((struct crocus_surface *)zs_surf)->align_res) { in crocus_predraw_resolve_framebuffer()
246 crocus_update_align_res(batch, (struct crocus_surface *)zs_surf, true); in crocus_predraw_resolve_framebuffer()
328 struct pipe_surface *zs_surf = cso_fb->zsbuf; in crocus_postdraw_update_resolve_tracking() local
329 if (zs_surf) { in crocus_postdraw_update_resolve_tracking()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c194 struct pipe_surface *zs_surf = cso_fb->zsbuf; in iris_predraw_resolve_framebuffer() local
196 if (zs_surf) { in iris_predraw_resolve_framebuffer()
198 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_predraw_resolve_framebuffer()
200 zs_surf->u.tex.last_layer - zs_surf->u.tex.first_layer + 1; in iris_predraw_resolve_framebuffer()
203 iris_resource_prepare_render(ice, z_res, zs_surf->u.tex.level, in iris_predraw_resolve_framebuffer()
204 zs_surf->u.tex.first_layer, in iris_predraw_resolve_framebuffer()
285 struct pipe_surface *zs_surf = cso_fb->zsbuf; in iris_postdraw_update_resolve_tracking() local
286 if (zs_surf) { in iris_postdraw_update_resolve_tracking()
288 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_postdraw_update_resolve_tracking()
290 zs_surf->u.tex.last_layer - zs_surf->u.tex.first_layer + 1; in iris_postdraw_update_resolve_tracking()
[all …]
/third_party/mesa3d/src/gallium/tests/graw/
Dgraw_util.h24 struct pipe_surface *color_surf[PIPE_MAX_COLOR_BUFS], *zs_surf; member
123 info->zs_surf = info->ctx->create_surface(info->ctx, in graw_util_create_window()
126 if (info->zs_surf == NULL) { in graw_util_create_window()
139 fb.zsbuf = info->zs_surf; in graw_util_create_window()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.c641 struct etna_surface *zs_surf = etna_surface(ctx->framebuffer_s.zsbuf); in etna_update_ts_config() local
643 if(zs_surf->level->ts_size && zs_surf->level->ts_valid) { in etna_update_ts_config()