http://bugs.freedesktop.org/show_bug.cgi?id=21608
Summary: [radeon-rewrite] ctx->Stencil._Enabled stale when
accessed
Product: Mesa
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
Sequence of events:
radeon_clear_tris()
- calls _mesa_Enable(GL_STENCIL_TEST);
- Changes ctx->Stencil.Enabled
- draws
- ctx->Stencil._Enabled is updated to 1
- calls _mesa_PopAttrib();
- Restores ctx.Stencil.Enabled (but not _Enabled)
- calls _mesa_DrawBuffer()
- calls radeon_draw_buffer
- accesses ctx->Stencil._Enabled, which is not up-to-date
- Enables stenciling on the hardware
So the hardware is left with stenciling on, and subsequent drawing vanishes.
The patch I'll attach fixes the problem, I'm not sure if it's the best way to
handle it.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel