From 0f4688fbe7237c4bc5b9849e90452a9731cd3748 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 30 Aug 2015 14:43:59 +0200 Subject: [PATCH] radeonsi: remove unused macro si_pm4_set_state MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Alex Deucher Acked-by: Christian König --- src/gallium/drivers/radeonsi/si_state.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index f5726f0..3718e05 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, -- 2.7.4