Bug 25280 - r600: glPolygonStipple broken
Summary: r600: glPolygonStipple broken
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
: 28049 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-25 06:48 UTC by Rafael Monica
Modified: 2019-09-18 18:58 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Rafael Monica 2009-11-25 06:48:52 UTC
Filling a polygon with a stipple pattern with glPolygonStipple is broken on r600.

With the software renderer the program progs/redbook/polys renders three rectangles, two of them with a stipple pattern. The r600 driver renders all the three rectangles with a solid color.
Comment 1 Michal Suchanek 2010-08-05 17:16:13 UTC
Also broken on r600g
Comment 2 Corbin Simpson 2011-09-14 04:30:54 UTC
Pity-reassigning to r600g, as r600c is never going to get fixed.
Comment 3 Benjamin Bellec 2011-09-29 08:30:22 UTC
I don't see difference whit mesa-demos poly* between swrast and r600g.
Comment 4 Michal Suchanek 2011-09-29 08:54:11 UTC
I see a difference with tri-stipple.
Comment 5 Alex Deucher 2011-09-29 11:42:52 UTC
smooth and stippled polygons/lines/etc. are not implemented in r600c/g or r300c/g at the moment as they require adding special code to the fragment shader to handle them.
Comment 6 gsr.bugs 2011-10-22 10:34:40 UTC
r300c at least can use software fallbacks (see driconf), which make app like Blender usable (polygon and line stipples are used to give feedback about item relations, object types, selection status, etc). Should not Gallium also use software fallbacks, at least as stop gap until shader method is coded? Specially if r[36]00c are going to be deprecated in the near future.
Comment 7 Sven Arvidsson 2012-01-17 12:58:25 UTC
Looks like r600g recently gained initial stipple support: 391e33ffbf01180d66d4c4e9a6c91fc17f9feaca

It seems to be enough to make Blender happy at least.
Comment 8 Marek Olšák 2014-04-13 10:48:27 UTC
*** Bug 28049 has been marked as a duplicate of this bug. ***
Comment 9 GitLab Migration User 2019-09-18 18:58:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/390.


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.