summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pm4.c
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-03-13 13:01:32 -0400
committerTom Stellard <[email protected]>2013-04-05 18:43:34 -0400
commit0ccf82c557b516c446b4caeed723f260927e075b (patch)
treeb417e50d55b8014dc7e76452e742b85f3c3b01ef /src/gallium/drivers/radeonsi/radeonsi_pm4.c
parentc5e5b3401c52f83bd885497cb30125e78a21d666 (diff)
radeonsi: Remove si_pm4_inval_vertex_cache()
This function is a holdover from r600g and is identical to si_pm4_inval_texture_cache(), so it is not needed. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pm4.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pm4.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pm4.c b/src/gallium/drivers/radeonsi/radeonsi_pm4.c
index 8e01738253e..e7441fed82a 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pm4.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_pm4.c
@@ -139,12 +139,6 @@ void si_pm4_inval_texture_cache(struct si_pm4_state *state)
state->cp_coher_cntl |= S_0085F0_TC_ACTION_ENA(1);
}
-void si_pm4_inval_vertex_cache(struct si_pm4_state *state)
-{
- /* Some GPUs don't have the vertex cache and must use the texture cache instead. */
- state->cp_coher_cntl |= S_0085F0_TC_ACTION_ENA(1);
-}
-
void si_pm4_inval_fb_cache(struct si_pm4_state *state, unsigned nr_cbufs)
{
state->cp_coher_cntl |= S_0085F0_CB_ACTION_ENA(1);