Mesa (master): v3d: drop not use function parameter
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 13 07:32:55 UTC 2021
Module: Mesa
Branch: master
Commit: 4ec956a2b0463fcbf8687d253da29957f3f5eae7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ec956a2b0463fcbf8687d253da29957f3f5eae7
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date: Tue Jan 12 12:50:35 2021 +0100
v3d: drop not use function parameter
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8438>
---
src/broadcom/compiler/v3d_nir_lower_logic_ops.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/broadcom/compiler/v3d_nir_lower_logic_ops.c b/src/broadcom/compiler/v3d_nir_lower_logic_ops.c
index 6d78f663455..fcc31b4a04a 100644
--- a/src/broadcom/compiler/v3d_nir_lower_logic_ops.c
+++ b/src/broadcom/compiler/v3d_nir_lower_logic_ops.c
@@ -281,7 +281,7 @@ v3d_nir_emit_logic_op(struct v3d_compile *c, nir_builder *b,
}
static void
-v3d_emit_ms_output(struct v3d_compile *c, nir_builder *b,
+v3d_emit_ms_output(nir_builder *b,
nir_ssa_def *color, nir_src *offset,
nir_alu_type type, int rt, int sample)
{
@@ -307,7 +307,7 @@ v3d_nir_lower_logic_op_instr(struct v3d_compile *c,
nir_ssa_def *sample =
v3d_nir_emit_logic_op(c, b, frag_color, rt, i);
- v3d_emit_ms_output(c, b, sample, offset, type, rt, i);
+ v3d_emit_ms_output(b, sample, offset, type, rt, i);
}
nir_instr_remove(&intr->instr);
More information about the mesa-commit
mailing list