svga: compute need_swvfetch in svga_create_vertex_elements_state()
authorBrian Paul <brianp@vmware.com>
Thu, 17 Apr 2014 18:27:53 +0000 (11:27 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 17 Apr 2014 18:31:15 +0000 (11:31 -0700)
commitcb34575e19e10b94e90ffb730b962e6930b47a19
tree56cc61c455a37d2d29da966324c798ccbc7d71a0
parent851645a3e7f06348d60180ec122b9ad0dc3cf432
svga: compute need_swvfetch in svga_create_vertex_elements_state()

This saves us doing it at state validation time.

Reviewed-by: Matthew McClure <mcclurem@vmware.com>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_vertex.c
src/gallium/drivers/svga/svga_state_need_swtnl.c