intel/compiler: Remove unused parameter from brw_nir_adjust_payload()

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25986>
This commit is contained in:
Caio Oliveira
2023-10-31 23:22:32 -07:00
committed by Marge Bot
parent a77ea9555a
commit c4be90b4ba
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ brw_nir_adjust_task_payload_offsets(nir_shader *nir)
}
void
brw_nir_adjust_payload(nir_shader *shader, const struct brw_compiler *compiler)
brw_nir_adjust_payload(nir_shader *shader)
{
/* Adjustment of task payload offsets must be performed *after* last pass
* which interprets them as bytes, because it changes their unit.
+1 -1
View File
@@ -1763,7 +1763,7 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler,
*/
if (nir->info.stage == MESA_SHADER_MESH ||
nir->info.stage == MESA_SHADER_TASK)
brw_nir_adjust_payload(nir, compiler);
brw_nir_adjust_payload(nir);
nir_trivialize_registers(nir);
nir_sweep(nir);
+1 -1
View File
@@ -290,7 +290,7 @@ nir_def *brw_nir_load_global_const(nir_builder *b,
const struct glsl_type *brw_nir_get_var_type(const struct nir_shader *nir,
nir_variable *var);
void brw_nir_adjust_payload(nir_shader *shader, const struct brw_compiler *compiler);
void brw_nir_adjust_payload(nir_shader *shader);
#ifdef __cplusplus
}