[Bug 77738] New: [r600g, bisected] 4 piglit texwrap tests regressed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 21 13:09:53 PDT 2014


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

          Priority: medium
            Bug ID: 77738
          Keywords: regression
                CC: brianp at vmware.com
          Assignee: dri-devel at lists.freedesktop.org
           Summary: [r600g, bisected] 4 piglit texwrap tests regressed
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: pavel.ondracka at email.cz
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r600
           Product: Mesa

./texwrap GL_EXT_texture_sRGB-s3tc bordercolor -fbo -auto
Testing GL_EXT_texture_sRGB-s3tc.
Testing the border color only.
Testing GL_COMPRESSED_SRGB, border color only
Testing GL_COMPRESSED_SRGB_ALPHA, border color only
Testing GL_COMPRESSED_SLUMINANCE, border color only
Testing GL_COMPRESSED_SLUMINANCE_ALPHA, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
  Expected: 25 25 25 204
  Observed: 25 25 25 26
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
  Expected: 25 25 25 204
  Observed: 25 25 25 26
Fail with LINEAR and CLAMP at (6,125) @ 0,0
  Expected: 82 82 82 216
  Observed: 83 83 83 83
Fail with LINEAR and CLAMP_TO_BORDER at (95,125) @ 0,0
  Expected: 25 25 25 204
  Observed: 25 25 25 26
Fail with LINEAR and MIRROR_CLAMP_EXT at (184,125) @ 0,0
  Expected: 82 82 82 216
  Observed: 83 83 83 83
Fail with LINEAR and MIRROR_CLAMP_TO_BORDER_EXT at (273,125) @ 0,0
  Expected: 25 25 25 204
  Observed: 25 25 25 26
Testing GL_COMPRESSED_SRGB_S3TC_DXT1, border color only
Testing GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1, border color only
Testing GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3, border color only
Testing GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5, border color only

Another failing tests:
texwrap GL_EXT_texture_sRGB bordercolor swizzled -fbo -auto
texwrap GL_EXT_texture_sRGB bordercolor -fbo -auto
texwrap GL_EXT_texture_sRGB-s3tc bordercolor swizzled -fbo -auto

First bad commit:
commit 12b959c351d81a35139ad0e504f6f6896077dbd0
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Mar 25 11:04:40 2014 -0600

    st/mesa: overhaul texture / sample swizzle code

    Previously we only examined the GL_DEPTH_MODE state to determine the
    sampler view swizzle for depth textures.  Now we also consider the
    texture base format for color textures too.

    The basic idea is if we're sampling from a RGB texture we always
    want to get A=1, even if the actual hardware format might be RGBA.
    We had assumed that the texture's A values were always one since that's
    what Mesa's texstore code does.  But if we render to the RGBA texture,
    the A values might not be 1.  Subsequent sampling didn't return the
    right values.

    Now we examine the user-specified texture base format vs. the actual
    gallium format to determine the right swizzle.

    Fixes several fbo-blending-formats, fbo-clear-formats and fbo-tex-rgbx
    failures with VMware/svga driver (and possibly other drivers).
    No other piglit regressions with softpipe or VMware/svga.

    Reviewed-by: Marek Olšák <maraeo at gmail.com>


GPU: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670]
Kernel: 3.13.10-200.fc20.x86_64
mesa: f8ae2a56c6164979223d2268691e354fe56d4bec
libdrm: d4083dc762a2974c35ecd16be995272bbb6d57b4

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140421/210100b6/attachment.html>


More information about the dri-devel mailing list