[Mesa-dev] Recent Mesa changes broke VTK transparency tests

Brad King brad.king at kitware.com
Mon Apr 28 07:25:55 PDT 2014


Hi Folks,

I run VTK (vtk.org) tests against a nightly build of Mesa
configured without DRI as:

 ./autogen.sh --prefix=$prefix --disable-dri --disable-egl \
    --disable-shared-glapi --enable-xlib-glx --enable-osmesa \
    --without-gallium-drivers

Since commit 234db609544ee521458ce8b648e70cffe2fda6f9, the tests
that use transparency (depth peeling, IIRC) have been failing.
I found an existing open issue reporting another regression from
the same commit:

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

Meanwhile, since commit d1b6f6711095cd94e80372e7488aa0189e328d88
the image looks a bit better but still incorrect.  There is also
an open issue for another regression from that commit:

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

The above two issues report problems with DRI on certain platforms,
but I'd like to report that something is also wrong without DRI.
See attached images for the expected output and the failure after
each of the above two commits.  The hack below avoids the failures,
demonstrating they are due to the new code path.

Thanks,
-Brad

diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index ac27abb..5f734a0 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -2826,7 +2826,7 @@ _mesa_meta_CopyTexSubImage(struct gl_context *ctx, GLuint dims,
    GLint bpp;
    void *buf;

-   if (copytexsubimage_using_blit_framebuffer(ctx, dims,
+   if (0 && copytexsubimage_using_blit_framebuffer(ctx, dims,
                                               texImage,
                                               xoffset, yoffset, zoffset,
                                               rb,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-passed-70961c032fab53ae30a25b95445eae5aaf8c2068.png
Type: image/png
Size: 50269 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140428/812f285a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-failed-234db609544ee521458ce8b648e70cffe2fda6f9.png
Type: image/png
Size: 72577 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140428/812f285a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-failed-d1b6f6711095cd94e80372e7488aa0189e328d88.png
Type: image/png
Size: 26747 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140428/812f285a/attachment-0005.png>


More information about the mesa-dev mailing list