nv30/draw: draw expects constbuf size in bytes, not vec4 units
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 25 May 2015 18:06:01 +0000 (14:06 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 25 May 2015 18:11:16 +0000 (14:11 -0400)
commit147816375d22a653176ab28ed650fa811ceea83f
treeaef39e75e1958d0840328efd13db9748bfe2a112
parent89585edf3c01c94b62d163adf0209568efa68568
nv30/draw: draw expects constbuf size in bytes, not vec4 units

This fixes glxgears with NV30_SWTNL=1 forced on. Probably fixes a bunch
of other situations where we fall back to the swtnl path.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv30/nv30_draw.c