Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/856>
}
}
+ /* try_blorp_blit should always be successful for color blits. */
+ assert(!(mask & GL_COLOR_BUFFER_BIT));
return mask;
}
if (mask == 0x0)
return;
+ /* brw_blorp_framebuffer should always be successful for color blits. */
+ assert(!(mask & GL_COLOR_BUFFER_BIT));
+
mask = _mesa_meta_BlitFramebuffer(ctx, readFb, drawFb,
srcX0, srcY0, srcX1, srcY1,
dstX0, dstY0, dstX1, dstY1,