iris: Disable PAT-based compression on depth surfaces (xe2)

Fix: Piglit
PIGLIT_PLATFORM="gbm" piglit/bin/getteximage-depth -auto -fbo

Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29906>
This commit is contained in:
Jianxun Zhang
2024-04-20 20:39:48 -07:00
committed by Marge Bot
parent e835b53a03
commit b6f9702cf1

View File

@@ -1036,6 +1036,12 @@ iris_resource_image_is_pat_compressible(const struct iris_screen *screen,
return false;
}
/* TODO: Enable compression on depth surfaces.
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/11361
*/
if (isl_surf_usage_is_depth(res->surf.usage))
return false;
/* Bspec 58797 (r58646):
*
* Enabling compression is not legal for TileX surfaces.