[Mesa-dev] [PATCH 8/9] radv: enable nir varying array splitting
Timothy Arceri
tarceri at itsqueeze.com
Mon Oct 30 04:11:17 UTC 2017
---
src/amd/vulkan/radv_pipeline.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index c25642c9667..322cd7951b2 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -1666,6 +1666,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],
--
2.13.6
More information about the mesa-dev
mailing list