radv: stop redundant setting of active_stages
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 18 Oct 2017 22:27:03 +0000 (09:27 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 19 Oct 2017 21:01:26 +0000 (08:01 +1100)
We already set it when above in the nir compilation loop.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_pipeline.c

index 4369c3a..c16b5e3 100644 (file)
@@ -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 &&