summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-10-19 09:27:03 +1100
committerTimothy Arceri <[email protected]>2017-10-20 08:01:26 +1100
commit5549b47d7b373ab1ded2ffd31ebbc77b876fa901 (patch)
treefcea99e71035991e8d7a89de80169f8cf9619e8d
parentbebfeb7e1ce8e01f389344cffae9ea0bd1963cf2 (diff)
radv: stop redundant setting of active_stages
We already set it when above in the nir compilation loop. Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r--src/amd/vulkan/radv_pipeline.c2
1 files changed, 0 insertions, 2 deletions
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 &&