intel/compiler: generalize workaround script name for broader applicability

Renamed brw_nir_trig_workarounds.py to brw_nir_workarounds.py to reflect
its expanded scope beyond just trignometric workarounds.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36990>
This commit is contained in:
Sushma Venkatesh Reddy
2025-08-22 23:54:03 +00:00
committed by Marge Bot
parent fe1d84e083
commit 5f10c1a8fb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1435,7 +1435,7 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir,
if (nir->info.stage == MESA_SHADER_GEOMETRY)
OPT(nir_lower_gs_intrinsics, 0);
/* See also brw_nir_trig_workarounds.py */
/* See also brw_nir_workarounds.py */
if (compiler->precise_trig &&
!(devinfo->ver >= 10 || devinfo->platform == INTEL_PLATFORM_KBL))
OPT(brw_nir_apply_trig_workarounds);
+3 -3
View File
@@ -141,9 +141,9 @@ brw_nir_lower_fsign = custom_target(
)
brw_nir_trig = custom_target(
'brw_nir_trig_workarounds.c',
input : 'brw_nir_trig_workarounds.py',
output : 'brw_nir_trig_workarounds.c',
'brw_nir_workarounds.c',
input : 'brw_nir_workarounds.py',
output : 'brw_nir_workarounds.c',
command : [
prog_python, '@INPUT@', '-p', dir_compiler_nir,
],