radeonsi: disallow the compute copy for Z/S

It doesn't work, and I think this path is actually never exercised.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35950>
This commit is contained in:
Marek Olšák 2025-06-29 21:40:49 -04:00 committed by Marge Bot
parent 4a80272bae
commit 30acb5a14d

View file

@ -599,6 +599,9 @@ bool si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, u
assert(util_format_is_subsampled_422(src_format) == util_format_is_subsampled_422(dst_format));
if (sdst->is_depth || ssrc->is_depth)
return false;
/* Interpret as integer values to avoid NaN issues */
if (!vi_dcc_enabled(ssrc, src_level) &&
!vi_dcc_enabled(sdst, dst_level) &&