All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 51000] New: [r300g, bisected] piglit fbo-generatemipmap-formats fails
Date: Tue, 12 Jun 2012 10:09:29 +0000	[thread overview]
Message-ID: <bug-51000-502@http.bugs.freedesktop.org/> (raw)

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

             Bug #: 51000
           Summary: [r300g, bisected] piglit fbo-generatemipmap-formats
                    fails
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: pavel.ondracka@email.cz
                CC: kenneth@whitecape.org


./bin/fbo-generatemipmap-formats -auto GL_EXT_texture_compression_rgtc
Using test set: GL_EXT_texture_compression_rgtc
Testing GL_COMPRESSED_RED
Probe at (1,1)
  Expected: 1.000000 0.000000 0.000000 1.000000
  Observed: 0.988235 0.000000 0.000000 1.000000
Testing GL_COMPRESSED_RED_RGTC1_EXT
Probe at (1,1)
  Expected: 1.000000 0.000000 0.000000 1.000000
  Observed: 0.988235 0.000000 0.000000 1.000000
Testing GL_COMPRESSED_RG
Testing GL_COMPRESSED_RED_GREEN_RGTC2_EXT
Testing GL_COMPRESSED_RED (NPOT)
Probe at (1,1)
  Expected: 1.000000 0.000000 0.000000 1.000000
  Observed: 0.988235 0.000000 0.000000 1.000000
Testing GL_COMPRESSED_RED_RGTC1_EXT (NPOT)
Probe at (1,1)
  Expected: 1.000000 0.000000 0.000000 1.000000
  Observed: 0.988235 0.000000 0.000000 1.000000
Testing GL_COMPRESSED_RG (NPOT)
Testing GL_COMPRESSED_RED_GREEN_RGTC2_EXT (NPOT)
PIGLIT: {'result': 'fail' }

f8d40deea5c4abbbf93c2c572ce668a5a25f95e2 is the first bad commit
commit f8d40deea5c4abbbf93c2c572ce668a5a25f95e2
Author: Kenneth Graunke <kenneth@whitecape.org>
Date:   Tue Jun 5 23:51:04 2012 -0700

    mesa: Return 8 bits for GL_TEXTURE_RED_SIZE on RGTC formats.

    From the issues section of the GL_ARB_texture_compression_rgtc extension:

    15) What should glGetTexLevelParameter return for
        GL_TEXTURE_GREEN_SIZE and GL_TEXTURE_BLUE_SIZE for the RGTC1
        formats?  What should glGetTexLevelParameter return for
        GL_TEXTURE_BLUE_SIZE for the RGTC2 formats?

        RESOLVED:  Zero bits.

        These formats always return 0.0 for these respective components
        and have no bits devoted to these components.

        Returning 8 bits for red size of RGTC1 and the red and green
        sizes of RGTC2 makes sense because that's the maximum potential
        precision for the uncompressed texels.

    Thus, we need to return 8 bits for GL_TEXTURE_RED_SIZE on all RGTC formats
    and 8 bits for GL_TEXTURE_GREEN_SIZE on RGTC2 formats.  BLUE should be 0.

    Fixes oglconform/rgtc/advanced.texture_fetch.tex_param.

    Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>

BTW llvmpipe works fine.

GPU:RV530
Kernel: 3.4.0-1.fc17.i686

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

             reply	other threads:[~2012-06-12 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 10:09 bugzilla-daemon [this message]
2012-06-12 15:09 ` [Bug 51000] [r300g, bisected] piglit fbo-generatemipmap-formats fails bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51000-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.