diff --git a/.pick_status.json b/.pick_status.json index f95ffe4bce6..d0fdb8ed81d 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -589,7 +589,7 @@ "description": "r600: Report multi-plane formats as unsupported", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "826a10255f5f8d444f0318f3e36ff616b41b5d15" }, diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 7a6b98a7b58..b01886f2413 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -254,6 +254,9 @@ bool evergreen_is_format_supported(struct pipe_screen *screen, return false; } + if (util_format_get_num_planes(format) > 1) + return false; + if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) return false; diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 67af78a8feb..ba257290112 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -173,6 +173,9 @@ bool r600_is_format_supported(struct pipe_screen *screen, return false; } + if (util_format_get_num_planes(format) > 1) + return false; + if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) return false;