[Mesa-dev] [Bug 80541] New: [softpipe] piglit levelclamp regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 25 16:08:22 PDT 2014


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

          Priority: medium
            Bug ID: 80541
          Keywords: regression
                CC: maraeo at gmail.com, sroland at vmware.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: [softpipe] piglit levelclamp regression
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86 (IA32)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: 9a8acafa47558cafeb37f80f4b30061ac1962c69 (master 10.3.0-devel)

$ ./bin/levelclamp  -auto
Probe color at (47,97)
  Expected: 1.000000 0.000000 1.000000
  Observed: 0.000000 1.000000 1.000000
failed at level 5 (1x1) with level clamped to (0,4)
Probe color at (84,90)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 1.000000
failed at level 4 (2x2) with level clamped to (0,3)
Probe color at (122,82)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 1.000000 0.000000
failed at level 3 (4x4) with level clamped to (0,2)
Probe color at (160,70)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 1.000000
failed at level 2 (8x8) with level clamped to (0,1)
Probe color at (199,51)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 1.000000 0.000000
failed at level 1 (16x16) with level clamped to (0,0)
Probe color at (47,196)
  Expected: 1.000000 0.000000 1.000000
  Observed: 0.000000 1.000000 1.000000
failed at level 5 (1x1) with level clamped to (1,4)
Probe color at (84,189)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 1.000000
failed at level 4 (2x2) with level clamped to (1,3)
Probe color at (122,181)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 1.000000 0.000000
failed at level 3 (4x4) with level clamped to (1,2)
Probe color at (160,169)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 1.000000
failed at level 2 (8x8) with level clamped to (1,1)
Probe color at (47,295)
  Expected: 1.000000 0.000000 1.000000
  Observed: 0.000000 1.000000 1.000000
failed at level 5 (1x1) with level clamped to (2,4)
Probe color at (84,288)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 1.000000
failed at level 4 (2x2) with level clamped to (2,3)
Probe color at (122,280)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 1.000000 0.000000
failed at level 3 (4x4) with level clamped to (2,2)
Probe color at (47,394)
  Expected: 1.000000 0.000000 1.000000
  Observed: 0.000000 1.000000 1.000000
failed at level 5 (1x1) with level clamped to (3,4)
Probe color at (84,387)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 1.000000
failed at level 4 (2x2) with level clamped to (3,3)
Probe color at (47,493)
  Expected: 1.000000 0.000000 1.000000
  Observed: 0.000000 1.000000 1.000000
failed at level 5 (1x1) with level clamped to (4,4)
PIGLIT: {'result': 'fail' }


552c70a837b68124a8cd85873d45075fa17659f4 is the first bad commit
commit 552c70a837b68124a8cd85873d45075fa17659f4
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jun 14 02:49:11 2014 +0200

    st/mesa: set sampler_view::last_level correctly

    It was set to pipe_resource::last_level and _MaxLevel was embedded in
max_lod,
    that's why it worked for ordinary texturing. However, min_lod doesn't have
    any effect on texelFetch and textureQueryLevels, so we must still set
    last_level correctly.

    Reviewed-by: Roland Scheidegger <sroland at vmware.com>

:040000 040000 4d60394351de37e9def071183748f5da546f442e
a4b40b20163caeedbd41b196e0fce9ddd942adb1 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/20140625/eb1f10e3/attachment-0001.html>


More information about the mesa-dev mailing list