From c6b0922c31983c76f1b2b9df66ae50b25b966bee Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Mon, 13 Apr 2015 10:20:29 -0700 Subject: [PATCH] i965: Update the comment about platforms supporting blorp Signed-off-by: Anuj Phogat Reviewed-by: Chad Versace --- src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) != -- 2.30.2