[Bug 90839] [10.5.5/10.6 regression, bisected] PBO glDrawPixels no longer using blit fastpath

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 9 08:02:51 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90839

--- Comment #10 from Alexander Monakov <amonakov at gmail.com> ---
Do you get the same INTEL_DEBUG=perf,pix diagnostics on the small repro
referenced in the opening comment?

Can you apply the following patch and collect INTEL_DEBUG=perf,pix output
again?  At least we'll know which exact formats are rejected.

>From 981de62fb518cae8a2278123597131f4d22e930d Mon Sep 17 00:00:00 2001
From: Alexander Monakov <amonakov at ispras.ru>
Date: Tue, 9 Jun 2015 10:58:29 +0300
Subject: [PATCH] i965: spell out incompatible formats in do_blit_drawpixels

---
 src/mesa/drivers/dri/i965/intel_pixel_draw.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/intel_pixel_draw.c
b/src/mesa/drivers/dri/i965/intel_pixel_draw.c
index d68cbb6..d39c698 100644
--- a/src/mesa/drivers/dri/i965/intel_pixel_draw.c
+++ b/src/mesa/drivers/dri/i965/intel_pixel_draw.c
@@ -85,7 +85,9 @@ do_blit_drawpixels(struct gl_context * ctx,
    dst_format = _mesa_get_srgb_format_linear(dst_format);

    if (!intel_miptree_blit_compatible_formats(src_format, dst_format)) {
-      DBG("%s: bad format for blit\n", __func__);
+      DBG("%s: bad format for blit: %s to %s\n", __func__,
+      _mesa_get_format_name(src_format),
+      _mesa_get_format_name(dst_format));
       return false;
    }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150609/ab7dd399/attachment-0001.html>


More information about the intel-3d-bugs mailing list