u_vbuf: make use of the new CAPs to determine what to do
authorMarek Olšák <maraeo@gmail.com>
Tue, 10 Apr 2012 03:14:26 +0000 (05:14 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 23 Apr 2012 23:39:22 +0000 (01:39 +0200)
commit7fe3631a7a0ad7602b4e947ac87ef86875c8bb3f
treec526a63498a4b98f65ee02998b0e9655c52ae602
parent978c1aa1d0f6fd9a188762a8534de33fc63eeea0
u_vbuf: make use of the new CAPs to determine what to do

This adds the ability to initialize u_vbuf_caps before creating u_vbuf itself.
It will be useful for determining if u_vbuf should be used or not.

Also adapt r300g and r600g.
src/gallium/auxiliary/util/u_vbuf.c
src/gallium/auxiliary/util/u_vbuf.h
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r600/r600_pipe.c