diff options
author | Chia-I Wu <[email protected]> | 2015-03-07 01:16:47 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-03-07 01:40:23 +0800 |
commit | 8b2eecfbf8def8ef343529f7b0378dc1b8a36ff9 (patch) | |
tree | fe035091279493df0b15546c0f594a3e3838cf8d /src/gallium/drivers/ilo/ilo_render.c | |
parent | 35b713ad75c9d6be4ad357244b59b39d80dcc77f (diff) |
ilo: add generic ilo_render_pipe_control()
It replaces gen[6-8]_pipe_control() and a direct gen6_PIPE_CONTROL() call in
ilo_render_emit_flush().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.c b/src/gallium/drivers/ilo/ilo_render.c index a6614f1508a..af18e89744f 100644 --- a/src/gallium/drivers/ilo/ilo_render.c +++ b/src/gallium/drivers/ilo/ilo_render.c @@ -253,10 +253,7 @@ ilo_render_emit_flush(struct ilo_render *render) if (ilo_dev_gen(render->dev) == ILO_GEN(6)) gen6_wa_pre_pipe_control(render, dw1); - gen6_PIPE_CONTROL(render->builder, dw1, NULL, 0, 0); - - render->state.current_pipe_control_dw1 |= dw1; - render->state.deferred_pipe_control_dw1 &= ~dw1; + ilo_render_pipe_control(render, dw1); assert(ilo_builder_batch_used(render->builder) <= batch_used + ilo_render_get_flush_len(render)); |