Re: [Nouveau] [PATCH 2/2] nvfx: reset nvfx->hw_zeta

2010-11-25 Thread Francisco Jerez
Xavier Chantry writes: > If nvfx_framebuffer prepare and validate were called successively with > fb->zsbuf not NULL and then NULL, nvfx->hw_zeta would contain garbage and > this would cause failures in nvfx_framebuffer_relocate/OUT_RELOC(hw_zeta). > > This was triggered by piglit/texwrap 2D GL_D

[Nouveau] [PATCH 2/2] nvfx: reset nvfx->hw_zeta

2010-11-24 Thread Xavier Chantry
If nvfx_framebuffer prepare and validate were called successively with fb->zsbuf not NULL and then NULL, nvfx->hw_zeta would contain garbage and this would cause failures in nvfx_framebuffer_relocate/OUT_RELOC(hw_zeta). This was triggered by piglit/texwrap 2D GL_DEPTH_COMPONENT24 and caused first