i965: Fallback on encountering a NULL render buffer
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Feb 2011 17:51:10 +0000 (17:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 12:59:33 +0000 (12:59 +0000)
commit13bab58f04c1ec6d0d52760eab490a0997d9abe2
treecda8c037164e3bcae749dd1dbc4e198e7434919a
parent8033700814f1db711d3429c904e4bc11271e0ff2
i965: Fallback on encountering a NULL render buffer

Following a GPU hang, or other error, the render target is not likely to
have an allocated BO and so we must fallback to avoid using it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32534
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c