st/dri: Don't call invalidate_resource for NULL depth/stencil buffers
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 15 Jan 2016 06:46:31 +0000 (15:46 +0900)
committerMichel Dänzer <michel@daenzer.net>
Mon, 18 Jan 2016 08:39:37 +0000 (17:39 +0900)
commit0491dd1deb46ca77545322c53e90f86ae244cdae
tree13f29c51cc2364c522849be024b9c3df49b56995
parenta9ab7172a621294f5d7b5dfac3363bed240e20a0
st/dri: Don't call invalidate_resource for NULL depth/stencil buffers

Fixes crash in 4 EGL piglit tests with radeonsi.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/dri_drawable.c