st/va: clear the video surface on allocation
authorChristian König <christian.koenig@amd.com>
Tue, 7 Mar 2017 14:20:08 +0000 (15:20 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 13 Mar 2017 07:51:35 +0000 (08:51 +0100)
commitf1d1deb0157fd011daa60d439157bb16f30566ca
tree07e963300315c5cf4115fc4470a937f79180004e
parent1ce68af07b38f6f9c9f8c7b42d30b0c3026b1ceb
st/va: clear the video surface on allocation

This makes debugging of decoding problems quite a bit easier.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
src/gallium/state_trackers/va/surface.c