Re: [Mesa-dev] [PATCH] i965: verify depth render buffer depth when in fast clear WIP

2013-05-08 Thread Tapani Pälli
On 05/08/2013 08:06 PM, Eric Anholt wrote: > Tapani Pälli writes: > >> Patch makes sure in conservative way that the depth_clear_value >> is correct and represents max depth of current depth buffer. >> >> This fixes the case where user has 16bit color buffer but 24bit >> depth buffer and 'fb->_De

Re: [Mesa-dev] [PATCH] i965: verify depth render buffer depth when in fast clear WIP

2013-05-08 Thread Eric Anholt
Tapani Pälli writes: > Patch makes sure in conservative way that the depth_clear_value > is correct and represents max depth of current depth buffer. > > This fixes the case where user has 16bit color buffer but 24bit > depth buffer and 'fb->_DepthMax' has a wrong value. I'm currently > investiga

[Mesa-dev] [PATCH] i965: verify depth render buffer depth when in fast clear WIP

2013-05-08 Thread Tapani Pälli
Patch makes sure in conservative way that the depth_clear_value is correct and represents max depth of current depth buffer. This fixes the case where user has 16bit color buffer but 24bit depth buffer and 'fb->_DepthMax' has a wrong value. I'm currently investigating how to get _DepthMax correcte