nir: Remove gather_info after removing dead vars

Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16593>
This commit is contained in:
Konstantin Seurer 2022-07-16 13:33:41 +02:00 committed by Marge Bot
parent 34c52d8cb9
commit 04abfbca57

View file

@ -146,7 +146,6 @@ nir_opt_ray_queries(nir_shader *shader)
nir_remove_dead_variables(shader,
nir_var_shader_temp | nir_var_function_temp,
NULL);
nir_shader_gather_info(shader, nir_shader_get_entrypoint(shader));
}
_mesa_set_destroy(read_queries, NULL);