From 5549b47d7b373ab1ded2ffd31ebbc77b876fa901 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 19 Oct 2017 09:27:03 +1100 Subject: radv: stop redundant setting of active_stages We already set it when above in the nir compilation loop. Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_pipeline.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/amd/vulkan') diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 4369c3a6b1b..c16b5e30097 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 && -- cgit v1.2.3