On 06/27/2013 11:41 AM, Matt Turner wrote:
---
I think (depth_irb == NULL) iff (depth_mt == NULL) and the same for
stencil_irb and stencil_mt. I can understand how static analysis tools
would miss this, since I haven't been able to prove it to myself
either.
It sucks that we keep depth_mt and stencil_mt in global state separate
from the corresponding renderbuffers. But, each time I tried to remove
the global brw->depthstencil.{depth,stencil}_mt vars, I encountered
some problems in the disentanglement. Perhaps I didn't try hard enough.
Anyway, this makes static analysis happy and adds only epsilon additional
cycles.
Reviewed-by: Chad Versace <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev