diff options
author | Marek Olšák <[email protected]> | 2015-08-30 14:43:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-09-01 21:51:15 +0200 |
commit | 0f4688fbe7237c4bc5b9849e90452a9731cd3748 (patch) | |
tree | 82cff4ae4df3a911643b6dc369a2afbd15065454 /src/gallium/drivers | |
parent | b89fa63d45cc5c8b3eec0d38ba30c57a5ecf5565 (diff) |
radeonsi: remove unused macro si_pm4_set_state
Reviewed-by: Alex Deucher <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index f5726f0c5de..3718e05f3b3 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -234,16 +234,6 @@ struct si_buffer_resources { si_pm4_block_idx(member)); \ } while(0) -#define si_pm4_set_state(sctx, member, value) \ - do { \ - if ((sctx)->queued.named.member != (value)) { \ - si_pm4_free_state(sctx, \ - (struct si_pm4_state *)(sctx)->queued.named.member, \ - si_pm4_block_idx(member)); \ - (sctx)->queued.named.member = (value); \ - } \ - } while(0) - /* si_descriptors.c */ void si_set_ring_buffer(struct pipe_context *ctx, uint shader, uint slot, struct pipe_resource *buffer, |