From cfd1e5a91e57a8a2ed7b6dfe9a07c5ef46ddc28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=9Alusarz?= Date: Tue, 20 Sep 2022 15:02:22 +0200 Subject: [PATCH] intel/compiler: remove second shading rate lowering for mesh It's already called in brw_postprocess_nir and calling it the second time actually breaks shading rate. Initially, when I added this call here in 9acb30c8c40, I was testing it on an internal tree, which didn't have brw_nir_lower_shading_rate_output call in brw_postprocess_nir. Fixes: 9acb30c8c40 ("intel/compiler: implement primitive shading rate for mesh") Reviewed-by: Caio Oliveira Part-of: --- src/intel/compiler/brw_mesh.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/compiler/brw_mesh.cpp b/src/intel/compiler/brw_mesh.cpp index b2751a2d615..f4ef44cbe33 100644 --- a/src/intel/compiler/brw_mesh.cpp +++ b/src/intel/compiler/brw_mesh.cpp @@ -530,8 +530,6 @@ brw_nir_lower_mue_outputs(nir_shader *nir, const struct brw_mue_map *map) NIR_PASS(_, nir, nir_lower_io, nir_var_shader_out, type_size_scalar_dwords, nir_lower_io_lower_64bit_to_32); - - NIR_PASS(_, nir, brw_nir_lower_shading_rate_output); } static void