iris: disable fast clear for cube array image views

CC: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7987
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20981>
This commit is contained in:
Tapani Pälli 2023-01-26 14:10:38 +02:00 committed by Marge Bot
parent 9397b1d83f
commit 73cb9863a5

View file

@ -151,6 +151,12 @@ resolve_image_views(struct iris_context *ice,
res->aux.clear_color_unknown))
clear_supported = false;
/* Issues with compressed cube array image views, see
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/7987
*/
if (pview->resource->target == PIPE_TEXTURE_CUBE_ARRAY)
clear_supported = false;
iris_resource_prepare_access(ice, res,
pview->u.tex.level, 1,
pview->u.tex.first_layer, num_layers,