mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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:
parent
4a80272bae
commit
30acb5a14d
1 changed files with 3 additions and 0 deletions
|
|
@ -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) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue