From: Gert Wollny Date: Tue, 5 Jun 2018 11:58:50 +0000 (+0200) Subject: gallium/aux/tgsi_exec.c: Remove paramater inst from exec_kill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38a9b42d8e2f86ce0ea4e34a1f5371358b00f93d;p=mesa.git gallium/aux/tgsi_exec.c: Remove paramater inst from exec_kill 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 --- 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: