From: Anuj Phogat Date: Mon, 13 Apr 2015 17:20:29 +0000 (-0700) Subject: i965: Update the comment about platforms supporting blorp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6b0922c31983c76f1b2b9df66ae50b25b966bee;p=mesa.git i965: Update the comment about platforms supporting blorp Signed-off-by: Anuj Phogat Reviewed-by: Chad Versace --- diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp index d25e2017b87..1561b593969 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp @@ -223,8 +223,8 @@ 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; - /* BLORP is not supported before Gen6. */ - if (brw->gen < 6 || brw->gen >= 8) + /* BLORP is only supported for Gen6-7. */ + if (brw->gen < 6 || brw->gen > 7) return false; if (_mesa_get_format_base_format(src_rb->Format) !=