nouveau: split nouveau_vp3_bsp in begin/next/end
authorJulien Isorce <julien.isorce@gmail.com>
Wed, 23 Dec 2015 09:25:52 +0000 (09:25 +0000)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 5 Jan 2016 17:07:53 +0000 (12:07 -0500)
commit7ba27f60f71accaf59f267ff20580444e912ab2b
tree185575216fdb031d378a90d3bb28e2990ee9f179
parent851e7e12aa628d6781b5a3af2f2fc16ee73f435f
nouveau: split nouveau_vp3_bsp in begin/next/end

It allows to call nouveau_vp3_bsp_next multiple times
between one begin/end.

It is required to support st/va.

https://bugs.freedesktop.org/show_bug.cgi?id=89969

Signed-off-by: Julien Isorce <j.isorce@samsung.com>
[imirkin: create strparm_bsp function, simplified w0 calculation]
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nouveau_vp3_video.h
src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c
src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c
src/gallium/drivers/nouveau/nvc0/nvc0_video_bsp.c