[Mesa-dev] [PATCH] radeonsi: drop two unused variables in create_function()

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Aug 7 10:41:37 UTC 2017


Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/gallium/drivers/radeonsi/si_shader.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 035e36fbab..b2765b5089 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -4313,8 +4313,6 @@ enum {
 
 static void create_function(struct si_shader_context *ctx)
 {
-	struct lp_build_tgsi_context *bld_base = &ctx->bld_base;
-	struct gallivm_state *gallivm = &ctx->gallivm;
 	struct si_shader *shader = ctx->shader;
 	struct si_function_info fninfo;
 	LLVMTypeRef returns[16+32*4];
-- 
2.14.0



More information about the mesa-dev mailing list