From: Christian König Date: Wed, 6 Mar 2013 10:49:53 +0000 (+0100) Subject: radeonsi: fix trivial warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2124834374bec527f758e4034257c75289330c5;p=mesa.git radeonsi: fix trivial warning Signed-off-by: Christian König --- diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 7922928043f..37ade9ba37e 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c @@ -478,7 +478,6 @@ static void si_llvm_init_export_args(struct lp_build_tgsi_context *bld_base, int cbuf = target - V_008DFC_SQ_EXP_MRT; if (cbuf >= 0 && cbuf < 8) { - struct r600_context *rctx = si_shader_ctx->rctx; compressed = (si_shader_ctx->key.export_16bpc >> cbuf) & 0x1; if (compressed)