intel/brw: Drop compiler parameter from try_constant_propagate()

This is unused.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29624>
This commit is contained in:
Kenneth Graunke
2024-04-09 22:12:59 -07:00
parent 43ab997951
commit 7019bc4469
@@ -937,8 +937,7 @@ try_copy_propagate(const brw_compiler *compiler, fs_inst *inst,
static bool
try_constant_propagate(const brw_compiler *compiler, fs_inst *inst,
acp_entry *entry, int arg)
try_constant_propagate(fs_inst *inst, acp_entry *entry, int arg)
{
bool progress = false;
@@ -1300,7 +1299,7 @@ opt_copy_propagation_local(const brw_compiler *compiler, linear_ctx *lin_ctx,
iter != acp.end() && (*iter)->dst.nr == inst->src[i].nr;
++iter) {
if ((*iter)->src.file == IMM) {
if (try_constant_propagate(compiler, inst, *iter, i)) {
if (try_constant_propagate(inst, *iter, i)) {
instruction_progress = true;
break;
}