svga: Flush when switching between HW to SW TNL, after updating need_swtnl.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 17 Mar 2011 16:08:21 +0000 (16:08 +0000)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Jul 2011 11:30:36 +0000 (13:30 +0200)
commit6d58029bf0dbe5606f0bc4aea920767ddd3a06d5
tree369e04d1e0b6c3ec06eae32248327cdc173429d1
parentc250363022ea2d4d8de1a1660431f35d8b92aca4
svga: Flush when switching between HW to SW TNL, after updating need_swtnl.

Also, only flush when going from HW TNL to SW TNL, given it is impossible
for the buffers resulting from SWTNL to be ever referred by HW TNL path.
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_draw.c