summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pm4.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-27 14:52:37 +0000
committerTom Stellard <[email protected]>2015-01-28 21:03:46 +0000
commit5935edd47c3b2a7a3047da5ad03c4d82e082628b (patch)
tree0363957cb5be8ec4b0eb1f04c0d79e51b6887ffb /src/gallium/drivers/radeonsi/si_pm4.h
parentbb26ebac134ad97effad46eede1a14334c0fb675 (diff)
radeonsi: Avoid leaking memory when rebuilding shader states
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pm4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.h b/src/gallium/drivers/radeonsi/si_pm4.h
index 8680a9ef11c..bfb55629581 100644
--- a/src/gallium/drivers/radeonsi/si_pm4.h
+++ b/src/gallium/drivers/radeonsi/si_pm4.h
@@ -71,6 +71,7 @@ void si_pm4_add_bo(struct si_pm4_state *state,
enum radeon_bo_usage usage,
enum radeon_bo_priority priority);
+void si_pm4_free_state_simple(struct si_pm4_state *state);
void si_pm4_free_state(struct si_context *sctx,
struct si_pm4_state *state,
unsigned idx);