llvmpipe: remove unneeded draw_flush() call
This is redundant since we're calling draw_bind_fragment_shader()
which already does a flush.
v2: the redundant flush in llvmpipe_set_constant_buffer() has
already been removed by commit 3427466e6d
Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
d225d076a9
commit
8ef27e8fa9
|
@ -2312,8 +2312,6 @@ llvmpipe_bind_fs_state(struct pipe_context *pipe, void *fs)
|
||||||
if (llvmpipe->fs == fs)
|
if (llvmpipe->fs == fs)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
draw_flush(llvmpipe->draw);
|
|
||||||
|
|
||||||
llvmpipe->fs = (struct lp_fragment_shader *) fs;
|
llvmpipe->fs = (struct lp_fragment_shader *) fs;
|
||||||
|
|
||||||
draw_bind_fragment_shader(llvmpipe->draw,
|
draw_bind_fragment_shader(llvmpipe->draw,
|
||||||
|
|
Loading…
Reference in New Issue