http://bugs.freedesktop.org/show_bug.cgi?id=15269

           Summary: R200 crashes in glXMakeCurrent if GL_FRAGMENT_SHADER_ATI
                    is enabled
           Product: Mesa
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r200
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=15570)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15570)
Test demonstrating the problem

When making a context current that had GL_FRAGMENT_SHADER_ATI enabled, possibly
activated before the context was unset earlier, then Mesa crashes in
r200UpdateFragmentShader in r200_dri.so. The attached test program illustrates
this issue.

The sample program creates and activates a GL context using glut, enables
GL_FRAGMENT_SHADER_ATI, unsets the context and reactivates it. It can be
compiled with "gcc fragshader.c -o fragshader -lGL -lglut". Possibly the
GL_FRAGMENT_SHADER_ATI constant has to be defined if the OpenGL header does not
do so.

A workaround for this issue is to deactivate GL_FRAGMENT_SHADER_ATI before
unsetting a context, so reactivating it works. Afterwards
GL_FRAGMENT_SHADER_ATI can be safely reenabled. Existing fragment shaders work
correctly afterwards, and sharing them via display list sharing works correctly
as well.

The Mesa version is 7.0.2 according to glxinfo, bugzilla won't let me select
this version. The GL renderer string is "Mesa DRI R200 20060602 AGP 1x
x86/MMX/SSE2 TCL"


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to