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 <gert.wol...@collabora.com> --- 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 793c0da39a..2c43785201 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.16.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev