nouveau: move interlaced assert down in nouveau_vp3_video_buffer_create
authorJulien Isorce <j.isorce@samsung.com>
Wed, 25 Nov 2015 08:17:34 +0000 (08:17 +0000)
committerJulien Isorce <j.isorce@samsung.com>
Wed, 25 Nov 2015 08:17:39 +0000 (08:17 +0000)
commit63c344d179a8bbfd56c5c08f576be728bfb3d6b0
tree04e17e20c4c4d2a5c36c96a9bce48830d7ff72d1
parent2bba2152e4ea10d4ae9b15795dc42e75bdc71bc2
nouveau: move interlaced assert down in nouveau_vp3_video_buffer_create

templat->interlaced is 0 if not NV12 which is the case currently
when using VPP.

Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nouveau_vp3_video.c