Lines Matching defs:consumer
1733 link_shaders(nir_shader *producer, nir_shader *consumer)
1736 assert(consumer);
1740 NIR_PASS_V(consumer, nir_lower_io_to_scalar_early, nir_var_shader_in);
1743 nir_lower_io_arrays_to_elements(producer, consumer);
1746 st_nir_opts(consumer);
1748 if (nir_link_opt_varyings(producer, consumer))
1749 st_nir_opts(consumer);
1752 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, NULL);
1754 if (nir_remove_unused_varyings(producer, consumer)) {
1756 NIR_PASS_V(consumer, nir_lower_global_vars_to_local);
1759 st_nir_opts(consumer);
1766 NIR_PASS_V(consumer, nir_remove_dead_variables, nir_var_shader_in, NULL);