[Mesa-dev] [Bug 64170] New: [llvmpipe] piglit fbo-cubemap regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 2 18:34:41 PDT 2013


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

          Priority: medium
            Bug ID: 64170
          Keywords: regression
                CC: sroland at vmware.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: [llvmpipe] piglit fbo-cubemap regression
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Other
           Product: Mesa

mesa: 573d8813fdbb116f4500d2044c56d80aab73ab7f (master)

$ ./bin/fbo-cubemap  -auto
Probe at (8,51)
  Expected: 1.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 1.000000
Probe at (74,51)
  Expected: 1.000000 1.000000 1.000000
  Observed: 1.000000 1.000000 0.000000
Probe at (140,51)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 1.000000 1.000000
PIGLIT: {'result': 'fail' }

50cbcf0c4680bc13e63fe339ef79ed68b2f33c70 is the first bad commit
commit 50cbcf0c4680bc13e63fe339ef79ed68b2f33c70
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Thu Apr 18 17:06:43 2013 +0200

    gallivm: change cubemaps / derivatives handling, take 55

    Turns out the previous "fix" for handling per-pixel face selection and
    derivatives didn't work out that well - the derivatives were wrong by
    quite a bit, in theory transformation of the derivatives into cube space
    should work, but would be _a lot_ more work than the "simplified" transform
    used.
    So, for explicit derivatives, I'm just giving up and go back to not
honoring
    them.
    For implicit derivatives (and the fake explicit ones) however we try
    something a little different, we just calculate rho as we would for a 3d
    texture, that is after scaling the coords by the inverse major axis.
    This gives the same results as calculating the derivs after projection of
    the coords to the same face as long as all pixels hit the same face (and
    only without rho_no_opt, otherwise it should be a bit worse). And when
    not all pixels are hitting the same face, the results aren't so hot but
    not catastrophically bad (I believe not off by more than a factor of 2
without
    no_rho_approx and not more than sqrt(2) with no_rho_approx). I think this
is
    better than just picking the wrong face but who knows...

    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

:040000 040000 fe3e4cb2ef614d118ef371d2d5a35d244f3aec50
70a6ded69d9b16112ed33ae41ec0b5bd5aa74d5c M    src
bisect run success

-- 
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/mesa-dev/attachments/20130503/32c5bfb4/attachment.html>


More information about the mesa-dev mailing list