st/va: reallocate the buffer if the layout isn't supported
authorLeo Liu <leo.liu@amd.com>
Tue, 29 Aug 2017 02:59:56 +0000 (22:59 -0400)
committerLeo Liu <leo.liu@amd.com>
Thu, 7 Sep 2017 17:32:36 +0000 (13:32 -0400)
commitcadeb73f6bb5f33877f3bbd6536594f22e20d580
tree6070ad5ea2f7df0be156a21738d82c1cfe039be7
parent78ec7400c512b5d1d4a56ed32714c9ad555af003
st/va: reallocate the buffer if the layout isn't supported

So that it makes more clear for buffer reallocation based
on buffers layout for both decoder and encoder.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c