vc4: Avoid flushing when mapping buffers that aren't in the batch.
[mesa.git] / src / gallium / drivers / vc4 / vc4_context.h
index 85cdf41e4279da73f7e9042775285ad84e28b62e..d63678713580c8578436ea8cb835e21aaa16aff4 100644 (file)
@@ -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);