etnaviv: rs: Color resolve works

No special treatment is needed and is helps MSAA.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19013>
This commit is contained in:
Christian Gmeiner 2019-11-17 20:37:40 +01:00 committed by Marge Bot
parent c581e426a9
commit a331717ed7

View file

@ -837,14 +837,6 @@ etna_blit_rs(struct pipe_context *pctx, const struct pipe_blit_info *blit_info)
* For the rest, fall back to util_blitter
* XXX this goes wrong when source surface is supertiled. */
if (blit_info->src.resource->nr_samples > 1 &&
blit_info->dst.resource->nr_samples <= 1 &&
!util_format_is_depth_or_stencil(blit_info->src.resource->format) &&
!util_format_is_pure_integer(blit_info->src.resource->format)) {
DBG("color resolve unimplemented");
return false;
}
return etna_try_rs_blit(pctx, blit_info);
}