gallium/radeon: Initialize pipe_resource::next to NULL
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 27 Sep 2016 09:17:12 +0000 (18:17 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 28 Sep 2016 01:39:22 +0000 (10:39 +0900)
commit8d8c440ebf1a41dd235a67f3f1538cf47adec013
tree1c9b734272ac19e8a70a06a232135183365e636c
parent3eb0baeecfed7a2de2b323e1b5d90e2b14dfc803
gallium/radeon: Initialize pipe_resource::next to NULL

Fixes lots of piglit tests crashing due to using uninitialized memory.

Fixes: ecd6fce2611e ("mesa/st: support lowering multi-planar YUV")
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c
src/gallium/drivers/radeon/r600_texture.c