Re: [Mesa-dev] [PATCH] mesa: Fix meta smashing stencil reference value on restore

2013-05-13 Thread Kenneth Graunke
On 05/13/2013 12:15 AM, Chris Forbes wrote: After a meta op which touches the stencil state, the stencil reference value would be revalidated against the current stencil depth, rather than simply being restored. In particular, the following call sequence would cause the stencil reference value t

[Mesa-dev] [PATCH] mesa: Fix meta smashing stencil reference value on restore

2013-05-13 Thread Chris Forbes
After a meta op which touches the stencil state, the stencil reference value would be revalidated against the current stencil depth, rather than simply being restored. In particular, the following call sequence would cause the stencil reference value to be smashed to zero: - BindFramebuffer( /* f