st/va: use proper temp pipe_video_buffer template
authorJulien Isorce <j.isorce@samsung.com>
Thu, 2 Jun 2016 14:03:34 +0000 (15:03 +0100)
committerJulien Isorce <j.isorce@samsung.com>
Mon, 13 Jun 2016 08:14:32 +0000 (09:14 +0100)
commita04804746f6d999905cda125a0778160d62c73a2
treee6101b80241ddbf311a0871df3f091e27afb4a06
parent6c43e0016e344de3d7e82b098992cdfecbff2ab2
st/va: use proper temp pipe_video_buffer template

Instead of changing the format on the existing template
which makes error handling not nice and confuses coverity.

CoverityID: 1337953

Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/image.c