Bug 21601 - [radeon-rewrite] don't accidentally enable two-sided stencils
Summary: [radeon-rewrite] don't accidentally enable two-sided stencils
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 11:47 UTC by Owen Taylor
Modified: 2009-05-06 14:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch as described (1.23 KB, patch)
2009-05-06 11:48 UTC, Owen Taylor
Details | Splinter Review

Description Owen Taylor 2009-05-06 11:47:42 UTC
In radeon_clear_tris(), when clearing the stencil buffer,
pass GL_FRONT_AND_BACK to _mesa_StencilFuncSeparate(), to avoid
triggering a software fallback on r300 and below.
Comment 1 Owen Taylor 2009-05-06 11:48:38 UTC
Created attachment 25565 [details] [review]
Patch as described
Comment 2 Alex Deucher 2009-05-06 14:10:55 UTC
Pushed!


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.