Bug 49538 - [softpipe] piglit fs-texelFetchOffset-2D regression
Summary: [softpipe] piglit fs-texelFetchOffset-2D regression
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-05 23:51 UTC by Vinson Lee
Modified: 2013-01-14 00:55 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
fs-texelFetchOffset-2D.png (463 bytes, image/png)
2012-05-05 23:51 UTC, Vinson Lee
Details

Description Vinson Lee 2012-05-05 23:51:11 UTC
Created attachment 61083 [details]
fs-texelFetchOffset-2D.png

Run piglit fs-texelFetchOffset-2D on softpipe.

$ ./bin/fs-texelFetchOffset-2D -auto
Mesa warning: failed to remap index 173
Probe at (10,10)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000 1.000000
Probe at (30,10)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (10,30)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000 1.000000
Probe at (30,30)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (10,50)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000 1.000000
Probe at (30,50)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (10,70)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (30,70)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (70,70)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (10,90)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (30,90)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (50,90)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
Probe at (70,90)
  Expected: 0.000000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 1.000000 1.000000
PIGLIT: {'result': 'fail' }


92d899303a0498e53b66fe19658a2f7fd6dc9a26 is the first bad commit
commit 92d899303a0498e53b66fe19658a2f7fd6dc9a26
Author: Brian Paul <brianp@vmware.com>
Date:   Wed Apr 25 10:42:42 2012 -0600

    softpipe: implement coord clamping for texel fetches (TXF)
    
    The GL spec says out of bounds fetches produce undefined results.
    Use clamping to avoid failed assertions or crashes.
    
    Fixes failed assertion in https://bugs.freedesktop.org/show_bug.cgi?id=49125
    but the test still fails.
    
    Reviewed-by: Jose Fonseca <jfonseca@vmware.com>

:040000 040000 5e7937f885db42d0e59e650ec81d32c0398f9831 8b8fc508493aa8271717ed30a9b7e74bcca02af3 M      src
bisect run success
Comment 1 Vinson Lee 2013-01-14 00:55:25 UTC
mesa: 6acef6c5f779ed0ba390f556479c428a36d70edb (master)

piglit fs-texelFetchOffset-2D passes on softpipe now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.