From 21ddab4a173f585f757586b81542c912cb16bf48 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 26 May 2017 12:23:05 -0700 Subject: i965/copy_image: Use the blitter on gen5 This was just an accidental typo in the refactoring. The intention was to try the blitter on gen4-5, not just gen4. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/intel_copy_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri') diff --git a/src/mesa/drivers/dri/i965/intel_copy_image.c b/src/mesa/drivers/dri/i965/intel_copy_image.c index b593c3c0edf..2ebd8d7528b 100644 --- a/src/mesa/drivers/dri/i965/intel_copy_image.c +++ b/src/mesa/drivers/dri/i965/intel_copy_image.c @@ -42,7 +42,7 @@ copy_miptrees(struct brw_context *brw, int dst_x, int dst_y, int dst_z, unsigned dst_level, int src_width, int src_height) { - if (brw->gen < 5) { + if (brw->gen <= 5) { /* On gen4-5, try BLT first. * * Gen4-5 have a single ring for both 3D and BLT operations, so there's -- cgit v1.2.3