Lines Matching refs:zres
1701 struct iris_resource *zres, *sres;
1702 iris_get_depth_stencil_resources(cso_fb->zsbuf->texture, &zres, &sres);
1707 if (!zres || !iris_resource_level_has_hiz(zres, cso_fb->zsbuf->u.tex.level))
2550 struct iris_resource *zres, *sres;
2554 iris_get_depth_stencil_resources(tex, &zres, &sres);
2556 tex = util_format_has_depth(desc) ? &zres->base.b : &sres->base.b;
3247 struct iris_resource *zres;
3297 iris_get_depth_stencil_resources(cso->zsbuf->texture, &zres,
3305 if (zres) {
3308 info.depth_surf = &zres->surf;
3309 info.depth_address = zres->bo->address + zres->offset;
3310 info.mocs = iris_mocs(zres->bo, isl_dev, view.usage);
3312 view.format = zres->surf.format;
3314 if (iris_resource_level_has_hiz(zres, view.base_level)) {
3315 info.hiz_usage = zres->aux.usage;
3316 info.hiz_surf = &zres->aux.surf;
3317 info.hiz_address = zres->aux.bo->address + zres->aux.offset;
3328 if (!zres) {
5219 struct iris_resource *zres, *sres;
5220 iris_get_depth_stencil_resources(zsbuf->texture, &zres, &sres);
5222 if (zres) {
5223 iris_use_pinned_bo(batch, zres->bo, cso_zsa->depth_writes_enabled,
5225 if (zres->aux.bo) {
5226 iris_use_pinned_bo(batch, zres->aux.bo,
6493 struct iris_resource *zres = NULL, *sres = NULL;
6496 &zres, &sres);
6499 if (zres && ice->state.hiz_usage != ISL_AUX_USAGE_NONE) {
6506 clear.DepthClearValue = zres->aux.clear_color.f32[0];
6512 if (zres)
6513 genX(emit_depth_state_workarounds)(ice, batch, &zres->surf);