mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
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 <gert.wollny@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
b8fca73e47
commit
38a9b42d8e
1 changed files with 2 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue