[Mesa-dev] [Bug 88962] [osmesa] Crash on postprocessing if z buffer is NULL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 6 07:43:32 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88962

--- Comment #6 from Brian Paul <brianp at vmware.com> ---
(In reply to Park, Jeongmin from comment #5)
> Sorry about the first patch. I didn't see that.
> 
> In dri_sw.c, it checks for z/s buffer:
> >      if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL])
> >         pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]);
> and in dri_drawable.c:
> >   if (ctx->pp && src && zsbuf)
> >      pp_run(ctx->pp, src, src, zsbuf);
> 
> Should I remove these checks and add the checks in pp_mlaa.cc instead?

Yes, I think that would be better.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150206/6a78f3b5/attachment.html>


More information about the mesa-dev mailing list