svga: Ensure that the wrong vdecls don't get used in swtnl path
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 16 Dec 2010 03:13:21 +0000 (04:13 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 6 Jan 2011 20:09:07 +0000 (20:09 +0000)
commitff0f0875135a7842e78fae002ee1187892f9405b
tree161c4397075d10357fecb8f65e95a23fec951256
parentf2d0f776b17947f2e84a82444771faa853a76b8b
svga: Ensure that the wrong vdecls don't get used in swtnl path

The draw module set new state that didn't require swtnl which caused need_swtnl to
be unset. This caused the call from to svga_update_state(svga, SVGA_STATE_SWTNL_DRAW)
from the vbuf backend to overwrite the vdecls we setup there to be overwritten with
the real buffers vdecls.
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_state_need_swtnl.c
src/gallium/drivers/svga/svga_swtnl_draw.c