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





--- Comment #2 from Chris Rankin <ranki...@googlemail.com>  2010-03-19 08:25:16 
PST ---
This crash stopped happening after I added the following hack:

--- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@ -424,7 +424,7 @@ static void emit_zb_offset(GLcontext *ctx, struct
radeon_sta
        uint32_t dw = atom->check(ctx, atom);

        rrb = radeon_get_depthbuffer(&r300->radeon);
-       if (!rrb)
+       if (!rrb || (rrb->cpp == 0))
                return;

        zbpitch = (rrb->pitch / rrb->cpp);

However, this did result in a couple of "no rrb" messages in my output log.
There were also a lot of artifacts present (see attachment), although that may
be a separate bug.


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to