radv: enable nir varying array splitting

Acked-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Timothy Arceri 2017-10-30 11:58:52 +11:00
parent 6648bd68fd
commit f13790c92f
1 changed files with 3 additions and 0 deletions

View File

@ -1682,6 +1682,9 @@ radv_link_shaders(struct radv_pipeline *pipeline, nir_shader **shaders)
}
for (int i = 1; i < shader_count; ++i) {
nir_lower_io_arrays_to_elements(ordered_shaders[i],
ordered_shaders[i - 1]);
nir_remove_dead_variables(ordered_shaders[i],
nir_var_shader_out);
nir_remove_dead_variables(ordered_shaders[i - 1],