summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-26 12:23:05 -0700
committerJason Ekstrand <[email protected]>2017-05-26 14:44:29 -0700
commit21ddab4a173f585f757586b81542c912cb16bf48 (patch)
tree1651232ad9bf6cddb8679330e1c4de1459e4e724
parenta958a30827aebd17471c0933695e68ad1c1c6ff0 (diff)
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 <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/intel_copy_image.c2
1 files changed, 1 insertions, 1 deletions
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