radeonsi: remove duplicated gfx11 check in si_msaa_resolve_blit_via_CB
The function really does that twice. You'll find the same code a few lines above this change. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21860>
This commit is contained in:
@@ -1058,10 +1058,6 @@ bool si_msaa_resolve_blit_via_CB(struct pipe_context *ctx, const struct pipe_bli
|
||||
struct pipe_resource *tmp, templ;
|
||||
struct pipe_blit_info blit;
|
||||
|
||||
/* Gfx11 doesn't have CB_RESOLVE. */
|
||||
if (sctx->gfx_level >= GFX11)
|
||||
return false;
|
||||
|
||||
/* Check basic requirements for hw resolve. */
|
||||
if (!(info->src.resource->nr_samples > 1 && info->dst.resource->nr_samples <= 1 &&
|
||||
!util_format_is_pure_integer(format) && !util_format_is_depth_or_stencil(format) &&
|
||||
|
||||
Reference in New Issue
Block a user