diff options
author | Kenneth Graunke <[email protected]> | 2018-11-20 09:00:22 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | f1a7392be17573169460971b487ad25cb2ce43df (patch) | |
tree | c77fc1e0687c6af4cfbfc500ebb765520315810b /src/gallium/drivers/iris/iris_state.c | |
parent | c2a77efa71f4b36708575652b89165745c4ad054 (diff) |
iris: Put batches in an array
We keep re-making this array all over the place
Diffstat (limited to 'src/gallium/drivers/iris/iris_state.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index a21fcc17dca..1d34ef28547 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -2123,7 +2123,7 @@ iris_set_framebuffer_state(struct pipe_context *ctx, * be set in this packet." */ // XXX: does this need to happen at 3DSTATE_BTP_PS time? - iris_emit_pipe_control_flush(&ice->render_batch, + iris_emit_pipe_control_flush(&ice->batches[IRIS_BATCH_RENDER], PIPE_CONTROL_RENDER_TARGET_FLUSH | PIPE_CONTROL_STALL_AT_SCOREBOARD); #endif |