From: Timothy Arceri Date: Wed, 18 Oct 2017 22:27:03 +0000 (+1100) Subject: radv: stop redundant setting of active_stages X-Git-Tag: upstream/18.1.0~4967 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5549b47d7b373ab1ded2ffd31ebbc77b876fa901;p=platform%2Fupstream%2Fmesa.git radv: stop redundant setting of active_stages We already set it when above in the nir compilation loop. Reviewed-by: Samuel Pitoiset --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 4369c3a..c16b5e3 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 &&