diff options
author | Eric Anholt <[email protected]> | 2014-10-24 16:45:04 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-10-24 18:04:26 +0100 |
commit | a71c3b885a532016aa426b5bb753291cffe39a44 (patch) | |
tree | dd53953868e0f58a935b0c3ef3db8baf8408b6d5 /src/gallium/drivers/vc4/vc4_context.h | |
parent | 52824811b9c0a9bb78a40fcb43af00b315f612d0 (diff) |
vc4: Refactor flushing before mapping a BO.
I'm going to want to make some other decisions here before flushing.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h index d0b280a3b6d..9eaff8f7178 100644 --- a/src/gallium/drivers/vc4/vc4_context.h +++ b/src/gallium/drivers/vc4/vc4_context.h @@ -278,7 +278,7 @@ void vc4_write_uniforms(struct vc4_context *vc4, struct vc4_texture_stateobj *texstate); void vc4_flush(struct pipe_context *pctx); -void vc4_flush_for_bo(struct pipe_context *pctx, struct vc4_bo *bo); +bool vc4_cl_references_bo(struct pipe_context *pctx, struct vc4_bo *bo); void vc4_emit_state(struct pipe_context *pctx); void vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c); struct qpu_reg *vc4_register_allocate(struct vc4_context *vc4, struct vc4_compile *c); |