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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 4 15:29:21 PST 2015


--- Comment #5 from Park, Jeongmin <pjm0616 at gmail.com> ---
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?

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/20150204/ca08e2c9/attachment.html>

More information about the mesa-dev mailing list