From 3a8f5c278323134c4390c8f415fc166acfd360b2 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Wed, 17 May 2023 17:25:18 +0200 Subject: [PATCH] intel: update comments about non-existent function parameter Signed-off-by: Rohan Garg Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/brw_nir.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index aabeb30584c..7a72f027353 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -914,10 +914,7 @@ lower_xehp_tg4_offset_filter(const nir_instr *instr, UNUSED const void *data) * * This is intended to be called more-or-less directly after you get the * shader out of GLSL or some other source. While it is geared towards i965, - * it is not at all generator-specific except for the is_scalar flag. Even - * there, it is safe to call with is_scalar = false for a shader that is - * intended for the FS backend as long as nir_optimize is called again with - * is_scalar = true to scalarize everything prior to code gen. + * it is not at all generator-specific. */ void brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir,