Bug 32093 - [swrast] implementation error: _mesa_clip_tab[4] failed test (x86)
Summary: [swrast] implementation error: _mesa_clip_tab[4] failed test (x86)
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 18:37 UTC by Vinson Lee
Modified: 2010-12-08 18:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2010-12-03 18:37:03 UTC
mesa: 6c33e820d5fe740ac4735d8bab864177dd1b2f14 (master)

Run glean basic test on a debug swrast build on multiple visuals.

$ ./glean -r results -t basic
...
Mesa 7.10-devel implementation error: _mesa_clip_np_tab[4] failed test (x86)
...
Mesa 7.10-devel implementation error: _mesa_clip_tab[4] failed test (x86)


mesa/src/mesa/math/m_debug_clip.c
   354     for ( np = 0 ; np < 2 ; np++ ) {
   355        for ( psize = 2 ; psize <= 4 ; psize++ ) {
   356           clip_func func = clip_tab[np][psize];
   357           long *cycles = &(benchmark_tab[np][psize-1]);
   358  
   359           if ( test_cliptest_function( func, np, psize, cycles ) == 0 ) {
   360              char buf[100];
   361              sprintf( buf, "%s[%d] failed test (%s)",
   362                       cnames[np], psize, description );
   363              _mesa_problem( NULL, "%s", buf );
   364           }
Comment 1 Brian Paul 2010-12-06 08:47:49 UTC
I added an error margin to the testing code to "fix" this.
Commit b89a731ff297dec597e3a4be1abf94e97d9b0e44
Comment 2 Vinson Lee 2010-12-08 18:08:28 UTC
mesa: d0b2b8da7d363f6b79fcab7bfe6e81d1d436944e (master)

Verified fixed.


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.