From 38a9b42d8e2f86ce0ea4e34a1f5371358b00f93d Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Tue, 5 Jun 2018 13:58:50 +0200 Subject: [PATCH] gallium/aux/tgsi_exec.c: Remove paramater inst from exec_kill MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes warning: tgsi/tgsi_exec.c: In Funktion »exec_kill«: tgsi/tgsi_exec.c:2049:47: Warning: unused parameter »inst« [-Wunused-parameter] const struct tgsi_full_instruction *inst) ^~~~ Signed-off-by: Gert Wollny Reviewed-by: Emil Velikov --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 793c0da39ab..2c437852013 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -2045,8 +2045,7 @@ exec_kill_if(struct tgsi_exec_machine *mach, * Unconditional fragment kill/discard. */ static void -exec_kill(struct tgsi_exec_machine *mach, - const struct tgsi_full_instruction *inst) +exec_kill(struct tgsi_exec_machine *mach) { uint kilmask; /* bit 0 = pixel 0, bit 1 = pixel 1, etc */ @@ -5146,7 +5145,7 @@ exec_instruction( break; case TGSI_OPCODE_KILL: - exec_kill (mach, inst); + exec_kill (mach); break; case TGSI_OPCODE_KILL_IF: -- 2.30.2