[Mesa-dev] [PATCH 11/11] i965: Instead of fallback on missing region, just bind a null renderbuffer.

Kenneth Graunke kenneth at whitecape.org
Fri May 13 16:03:41 PDT 2011


On 05/12/2011 09:05 PM, Eric Anholt wrote:
> The change for GPU hanging in 13bab58f04c1ec6d0d52760eab490a0997d9abe2
> fell back even when rb == NULL, which is wrong for GLES2 and caused
> segfaulting in GLES2 conformance.  For the GPU hang case (where the
> broken 2D driver failed to allocate a BO for the window system
> renderbuffer), it also would assertion fail/segfault immediately after
> the fallback setup when the renderbuffer map failed.
>
> Fixes GLES2 conformance packed_depth_stencil.

Yeah, transparently switching to software rendering when the GPU hangs 
is /so/ unlikely to work out.  Hopefully GPU reset will take care of 
this, and if not, bad rendering/just stopping is completely acceptible.

Die, fallbacks!

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list