[Mesa-dev] [Bug 67692] New: [llvmpipe] piglit glsl-fs-frontfacing regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 2 18:39:20 PDT 2013


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

          Priority: medium
            Bug ID: 67692
          Keywords: regression
                CC: zackr at vmware.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: [llvmpipe] piglit glsl-fs-frontfacing 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: bff0d87668538196a2d3ef1400382e4deb0e0435 (master)


$ ./bin/shader_runner tests/shaders/glsl-fs-frontfacing.shader_test -auto
Probe color at (0,0)
  Expected: 0.000000 1.000000 0.000000 0.000000
  Observed: 0.000000 0.501961 0.501961 0.000000
Probe color at (249,0)
  Expected: 0.000000 1.000000 0.000000 0.000000
  Observed: 0.000000 0.501961 0.501961 0.000000
PIGLIT: {'result': 'fail' }


2d15f4746ba4c5d0146912550442b96386e4a32d is the first bad commit
commit 2d15f4746ba4c5d0146912550442b96386e4a32d
Author: Zack Rusin <zackr at vmware.com>
Date:   Fri Aug 2 15:50:16 2013 -0400

    llvmpipe: make the front-face behavior match the gallium spec

    The spec says that front-face is true if the value is >0 and false
    if it's <0. To make sure that we follow the spec, lets just
    subtract 0.5 from our value (llvmpipe did 1 for frontface and 0
    otherwise), which will get us a positive num for frontface and
    negative for backface.

    Signed-off-by: Zack Rusin <zackr at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

:040000 040000 2ada90b3a1da549c955add2ee247bf564f4964b8
f47d0cb938eee9fb413f71518c6afa1ad9fce5b9 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/20130803/0c9f3dc2/attachment.html>


More information about the mesa-dev mailing list