Bug 4860 - Software rasterizer polygon offset problem
Summary: Software rasterizer polygon offset problem
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: high normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 07:59 UTC by Brian Paul
Modified: 2010-03-27 04:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Brian Paul 2005-10-24 07:59:42 UTC
For deep Z buffers (24-bit or more) we may be adding a relatively small polygon
offset factor to a relatively large Z value, thus the offset value can get
"lost"   Should probably do the offset addition with integer Z values during
rasterization.

Relevant code is in swrast_setup/ss_tritemp.h

Reported to Brian by Dan Schikore
Comment 1 Corbin Simpson 2010-03-27 04:29:57 UTC
I think all the software rasterizers pass the relevant piglit tests, don't they? If not, we can re-open and track from here.


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.