aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_hw_context_priv.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-05 15:20:44 +0100
committerMarek Olšák <[email protected]>2012-03-05 15:31:35 +0100
commit6ed5855009a0ab8c6f88cad1ae517e49d8953d98 (patch)
treec483220feb9c90e1cf0b1ceb557ebc457b00c7c3 /src/gallium/drivers/r600/r600_hw_context_priv.h
parent45d731fdf9e469011a071a101b510e5b1578215f (diff)
r600g: move r600_context_bo_reloc to r600_pipe.h
so that we don't have to include r600_hw_context_priv.h outside of the *hw_context* files.
Diffstat (limited to 'src/gallium/drivers/r600/r600_hw_context_priv.h')
-rw-r--r--src/gallium/drivers/r600/r600_hw_context_priv.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context_priv.h b/src/gallium/drivers/r600/r600_hw_context_priv.h
index 67aca972010..47a14ff6811 100644
--- a/src/gallium/drivers/r600/r600_hw_context_priv.h
+++ b/src/gallium/drivers/r600/r600_hw_context_priv.h
@@ -69,12 +69,4 @@ void r600_context_ps_partial_flush(struct r600_context *ctx);
void evergreen_flush_vgt_streamout(struct r600_context *ctx);
void evergreen_set_streamout_enable(struct r600_context *ctx, unsigned buffer_enable_bit);
-
-static INLINE unsigned r600_context_bo_reloc(struct r600_context *ctx, struct r600_resource *rbo,
- enum radeon_bo_usage usage)
-{
- assert(usage);
- return ctx->ws->cs_add_reloc(ctx->cs, rbo->cs_buf, usage, rbo->domains) * 4;
-}
-
#endif