summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pm4.h
diff options
context:
space:
mode:
authorAndreas Hartmetz <ahartmetz@gmail.com>2014-01-11 16:00:50 +0100
committerMarek Olšák <marek.olsak@amd.com>2014-01-14 00:07:14 +0100
commit8662e66bf237a820a704df112718be599136098b (patch)
treed187f3c7e62a1d16ed3eca45c2af687114101f68 /src/gallium/drivers/radeonsi/si_pm4.h
parent44d27ce2b2b1b3d2b1c541c3e72374b77cb37b36 (diff)
downloadexternal_mesa3d-8662e66bf237a820a704df112718be599136098b.zip
external_mesa3d-8662e66bf237a820a704df112718be599136098b.tar.gz
external_mesa3d-8662e66bf237a820a704df112718be599136098b.tar.bz2
radeonsi: Rename the commonly occurring rctx/r600 variables.
The "r" stands for R600. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pm4.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.h b/src/gallium/drivers/radeonsi/si_pm4.h
index a22f5d1..c9bc091 100644
--- a/src/gallium/drivers/radeonsi/si_pm4.h
+++ b/src/gallium/drivers/radeonsi/si_pm4.h
@@ -81,15 +81,15 @@ void si_pm4_sh_data_end(struct si_pm4_state *state, unsigned base, unsigned idx)
void si_pm4_inval_shader_cache(struct si_pm4_state *state);
void si_pm4_inval_texture_cache(struct si_pm4_state *state);
-void si_pm4_free_state(struct si_context *rctx,
+void si_pm4_free_state(struct si_context *sctx,
struct si_pm4_state *state,
unsigned idx);
-struct si_pm4_state * si_pm4_alloc_state(struct si_context *rctx);
+struct si_pm4_state * si_pm4_alloc_state(struct si_context *sctx);
-uint32_t si_pm4_sync_flags(struct si_context *rctx);
-unsigned si_pm4_dirty_dw(struct si_context *rctx);
-void si_pm4_emit(struct si_context *rctx, struct si_pm4_state *state);
-void si_pm4_emit_dirty(struct si_context *rctx);
-void si_pm4_reset_emitted(struct si_context *rctx);
+uint32_t si_pm4_sync_flags(struct si_context *sctx);
+unsigned si_pm4_dirty_dw(struct si_context *sctx);
+void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state);
+void si_pm4_emit_dirty(struct si_context *sctx);
+void si_pm4_reset_emitted(struct si_context *sctx);
#endif