aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_state_vdecl.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-14 09:33:58 -0800
committerBrian Paul <[email protected]>2018-02-15 09:05:08 -0700
commit072df89a796f549cc0ad90ce3dcbc9ad5c58d892 (patch)
tree6ee6acfec00b2d00aae30167857efd5347ae17bd /src/gallium/drivers/svga/svga_state_vdecl.c
parent6f0aec5671a1efd374f517d3f9e4b0ff1c4c4709 (diff)
svga: move svga_update_state() call in draw code
This fixes a few Piglit transform feedback regressions caused by commit 7a1401938b351. In that change I moved the moved svga_update_state() into the loops, after the calls to svga_hwtnl_set_flatshade(). But svga_hwtnl_set_flatshade() actually depends on some derived shader state. This patch moves the svga_update_state() call into svga_draw_vbo() so it's not duplicated in two places. Fixes: 7a1401938b351 ("svga: clean up retry_draw_range_elements(), retry_draw_arrays()") Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_state_vdecl.c')
0 files changed, 0 insertions, 0 deletions