Mesa (master): radv: stop redundant setting of active_stages

Timothy Arceri tarceri at kemper.freedesktop.org
Thu Oct 19 21:03:31 UTC 2017


Module: Mesa
Branch: master
Commit: 5549b47d7b373ab1ded2ffd31ebbc77b876fa901
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5549b47d7b373ab1ded2ffd31ebbc77b876fa901

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Oct 19 09:27:03 2017 +1100

radv: stop redundant setting of active_stages

We already set it when above in the nir compilation loop.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/amd/vulkan/radv_pipeline.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 4369c3a6b1..c16b5e3009 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -1658,8 +1658,6 @@ void radv_create_shaders(struct radv_pipeline *pipeline,
 			keys[MESA_SHADER_TESS_EVAL].tes.export_prim_id =
 				pipeline->shaders[MESA_SHADER_FRAGMENT]->info.fs.prim_id_input;
 		}
-
-		pipeline->active_stages |= mesa_to_vk_shader_stage(MESA_SHADER_FRAGMENT);
 	}
 
 	if (device->physical_device->rad_info.chip_class >= GFX9 &&




More information about the mesa-commit mailing list