Searched refs:zs_surf (Results 1 – 4 of 4) sorted by relevance
234 struct pipe_surface *zs_surf = batch->key.zsbuf; in get_z_internal_format() local237 if (!zs_surf || !((batch->clear | batch->draws) & PIPE_CLEAR_DEPTHSTENCIL)) in get_z_internal_format()240 return panfrost_get_z_internal_format(zs_surf->format); in get_z_internal_format()273 struct pipe_surface *zs_surf = batch->key.zsbuf; in panfrost_mfbd_zs_crc_ext_set_bufs() local276 zs_surf = NULL; in panfrost_mfbd_zs_crc_ext_set_bufs()278 if (!zs_surf) in panfrost_mfbd_zs_crc_ext_set_bufs()281 struct panfrost_resource *rsrc = pan_resource(zs_surf->texture); in panfrost_mfbd_zs_crc_ext_set_bufs()282 unsigned nr_samples = MAX2(zs_surf->texture->nr_samples, 1); in panfrost_mfbd_zs_crc_ext_set_bufs()283 unsigned level = zs_surf->u.tex.level; in panfrost_mfbd_zs_crc_ext_set_bufs()284 unsigned first_layer = zs_surf->u.tex.first_layer; in panfrost_mfbd_zs_crc_ext_set_bufs()[all …]
195 struct pipe_surface *zs_surf = cso_fb->zsbuf; in iris_predraw_resolve_framebuffer() local197 if (zs_surf) { in iris_predraw_resolve_framebuffer()199 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_predraw_resolve_framebuffer()201 zs_surf->u.tex.last_layer - zs_surf->u.tex.first_layer + 1; in iris_predraw_resolve_framebuffer()205 zs_surf->u.tex.level, in iris_predraw_resolve_framebuffer()206 zs_surf->u.tex.first_layer, in iris_predraw_resolve_framebuffer()287 struct pipe_surface *zs_surf = cso_fb->zsbuf; in iris_postdraw_update_resolve_tracking() local288 if (zs_surf) { in iris_postdraw_update_resolve_tracking()290 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); in iris_postdraw_update_resolve_tracking()292 zs_surf->u.tex.last_layer - zs_surf->u.tex.first_layer + 1; in iris_postdraw_update_resolve_tracking()[all …]
24 struct pipe_surface *color_surf[PIPE_MAX_COLOR_BUFS], *zs_surf; member123 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()
629 struct etna_surface *zs_surf = etna_surface(ctx->framebuffer_s.zsbuf); in etna_update_ts_config() local631 if(zs_surf->level->ts_size && zs_surf->level->ts_valid) { in etna_update_ts_config()