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 <thellstrom@vmware.com>
This commit is contained in:
parent
dfa5928404
commit
8cbd3b5ef1
|
@ -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 */
|
/* Now safe to remove the need_swtnl flag in any update_state call */
|
||||||
svga->state.sw.in_swtnl_draw = FALSE;
|
svga->state.sw.in_swtnl_draw = FALSE;
|
||||||
|
svga->dirty |= SVGA_NEW_NEED_PIPELINE | SVGA_NEW_NEED_SWVFETCH;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue