diff options
author | Thomas Hellstrom <[email protected]> | 2011-02-18 11:36:34 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-02-18 13:25:32 +0100 |
commit | 8cbd3b5ef11e3e77022f98f3151dd39e0eec188c (patch) | |
tree | 16ab02bf44615dff3c3e5ec68d42d7a37d2a9217 /src/gallium/drivers | |
parent | dfa59284049e735cb55e1b39f32cfcfb71ebbff3 (diff) |
gallium/svga: Fix unnecessary swtnl fallbacks
When we drop the in_swtnl_draw flag, we must force a rerun of
update_need_swtnl to reset the need_swtnl flag to its correct value outside
of a swtnl vbo draw.
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/svga/svga_swtnl_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_swtnl_draw.c b/src/gallium/drivers/svga/svga_swtnl_draw.c index 05d86e1fb16..ad29c1b6425 100644 --- a/src/gallium/drivers/svga/svga_swtnl_draw.c +++ b/src/gallium/drivers/svga/svga_swtnl_draw.c @@ -124,6 +124,7 @@ svga_swtnl_draw_vbo(struct svga_context *svga, /* Now safe to remove the need_swtnl flag in any update_state call */ svga->state.sw.in_swtnl_draw = FALSE; + svga->dirty |= SVGA_NEW_NEED_PIPELINE | SVGA_NEW_NEED_SWVFETCH; return ret; } |