[Mesa-dev] [PATCH 08/15] radv: use nir_lower_group_reduce()

Connor Abbott connora at valvesoftware.com
Tue Aug 8 01:32:34 UTC 2017


From: Connor Abbott <cwabbott0 at gmail.com>

---
 src/amd/vulkan/radv_pipeline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 3ed0df7..4aecb81 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -295,6 +295,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
 	nir_lower_var_copies(nir);
 	nir_lower_global_vars_to_local(nir);
 	nir_remove_dead_variables(nir, nir_var_local);
+	nir_lower_group_reduce(nir);
 	radv_optimize_nir(nir);
 
 	if (dump)
-- 
2.9.4



More information about the mesa-dev mailing list