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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user