From: Jason Ekstrand Date: Wed, 9 May 2018 16:48:29 +0000 (-0700) Subject: i965/blorp: Allow blorp blits for 16x MSAA X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=465d8566cdff545343388a11a56fe6048024c13c;p=mesa.git i965/blorp: Allow blorp blits for 16x MSAA BLORP has supported 16x MSAA for quite a while now, we just never bothered to enable it for CopyTexSubImage. Reviewed-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c index ba14136edc6..fa64e80bf3d 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.c +++ b/src/mesa/drivers/dri/i965/brw_blorp.c @@ -638,10 +638,6 @@ brw_blorp_copytexsubimage(struct brw_context *brw, struct intel_mipmap_tree *src_mt = src_irb->mt; struct intel_mipmap_tree *dst_mt = intel_image->mt; - /* There is support for only up to eight samples. */ - if (src_mt->surf.samples > 8 || dst_mt->surf.samples > 8) - return false; - if (_mesa_get_format_base_format(src_rb->Format) != _mesa_get_format_base_format(dst_image->TexFormat)) { return false;