Bug 29272 - osmesa 7.8.2 - assertion error drawing thin line with CHAN_BITS=32
Summary: osmesa 7.8.2 - assertion error drawing thin line with CHAN_BITS=32
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 06:08 UTC by rkww
Modified: 2016-02-13 09:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description rkww 2010-07-27 06:08:19 UTC
The attached program shows a simple thin line painted with an unitialized value (usually infinity).

(OSMesa 7.8.2 built with configs/linux-osmesa32 plus -DUSE_MGL_NAMESPACE)

A debug build (linux-x86-64-debug with "-DUSE_MGL_NAMESPACE -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31") yields:

a.out: swrast/s_span.c:1173: _swrast_write_rgba_span: Assertion `span->arrayMask & 0x01' failed.

Enabling the depth buffer causes the line to be painted correctly.
Comment 1 Timothy Arceri 2016-02-13 09:34:11 UTC
The example program wasn't attached to the bug so not a lot that can be done so closing.

Feel free to test against a more recent version of Mesa and reopen adding the example if still an issue.


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.