[Mesa-dev] [PATCH] i965/copy_image: Use the blitter on gen5

Jason Ekstrand jason at jlekstrand.net
Fri May 26 19:28:22 UTC 2017


This was just an accidental typo in the refactoring.  The intention was
to try the blitter on gen4-5, not just gen4.
---
 src/mesa/drivers/dri/i965/intel_copy_image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/intel_copy_image.c b/src/mesa/drivers/dri/i965/intel_copy_image.c
index b593c3c..2ebd8d7 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
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list