i965: Update the comment about platforms supporting blorp
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 13 Apr 2015 17:20:29 +0000 (10:20 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 17 Apr 2015 18:48:38 +0000 (11:48 -0700)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp

index d25e2017b874fc412d63a43112e3faa1fe4dd990..1561b593969b7875a8cf4be50f3c11ab13b42cb7 100644 (file)
@@ -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) !=