radeonsi: don't allow broken compute image copies into A8R8_UNORM
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16215>
This commit is contained in:
parent
52f83dce05
commit
4512b212e7
|
@ -885,6 +885,10 @@ struct texture_orig_info {
|
|||
static bool si_can_use_compute_blit(struct si_context *sctx, enum pipe_format format,
|
||||
unsigned num_samples, bool is_store, bool has_dcc)
|
||||
{
|
||||
/* TODO: This format fails AMD_TEST=imagecopy. */
|
||||
if (format == PIPE_FORMAT_A8R8_UNORM && is_store)
|
||||
return false;
|
||||
|
||||
if (num_samples > 1)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue