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

2012-01-17 Thread Eric Anholt
On Tue, 17 Jan 2012 16:03:56 -0800, Chad Versace 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 t

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

2012-01-17 Thread Kenneth Graunke
On 01/17/2012 04:03 PM, Chad Versace 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

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

2012-01-17 Thread Chad Versace
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 em