Bug 29272

Summary: osmesa 7.8.2 - assertion error drawing thin line with CHAN_BITS=32
Product: Mesa Reporter: rkww <anon>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.