[Mesa-dev] [PATCH] i965/gen5: Fix rendering of depth buffers without stencil

Eric Anholt eric at anholt.net
Tue Jan 17 16:28:57 PST 2012

On Tue, 17 Jan 2012 16:03:56 -0800, Chad Versace <chad.versace at linux.intel.com> wrote:
> Fixes the following OGLConform tests on gen5:
>     depth-stencil(misc.state_on.depth_int)
>     fbo_db_ARBfp(basic.OnlyDepthBuffDrawBufferRender)
> The problem was that, if the depth buffer's Mesa format was X8_Z24, then
> we emitted the hardware format D24_UNORM_X8. But, on gen5, D24_UNORM_S8
> must be emitted.
> This bug was introduced by:
>     commit d84a180417d1eabd680554970f1eaaa93abcd41e
>     Author: Eric Anholt <eric at anholt.net>
>     i965: Base HW depth format setup based on MESA_FORMAT, not bpp.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43408
> Reported-by: xunx.fang at intel.com
> Note: This is a candidate for the 8.0 branch.
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

Another patch I thought we'd already written.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120117/19993255/attachment.pgp>

More information about the mesa-dev mailing list