diff options
author | Eric Anholt <[email protected]> | 2014-08-01 15:33:06 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-11 14:45:31 -0700 |
commit | 2259cc5aebcb16636b1399dd438beed9d9867e67 (patch) | |
tree | 23c5a96fefbf0fc88555931a57806e06c97820fe /src/gallium/drivers/vc4/vc4_context.h | |
parent | 6b2583412f0789d2aec71e55e1e187d1ad17f721 (diff) |
vc4: Avoid flushing when mapping buffers that aren't in the batch.
This should prevent a bunch of unnecessary flushes for things like
updating immediate vertex data.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h index 85cdf41e427..d6367871358 100644 --- a/src/gallium/drivers/vc4/vc4_context.h +++ b/src/gallium/drivers/vc4/vc4_context.h @@ -217,6 +217,7 @@ void vc4_write_uniforms(struct vc4_context *vc4, int shader_index); void vc4_flush(struct pipe_context *pctx); +void vc4_flush_for_bo(struct pipe_context *pctx, struct vc4_bo *bo); void vc4_emit_state(struct pipe_context *pctx); void vc4_generate_code(struct qcompile *c); void vc4_update_compiled_shaders(struct vc4_context *vc4); |