Mesa (master): anv/pipeline: Drop nir_lower_clip_cull_distance_arrays

Jason Ekstrand jekstrand at kemper.freedesktop.org
Wed Oct 25 23:14:18 UTC 2017


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

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Sep  1 22:14:59 2017 -0700

anv/pipeline: Drop nir_lower_clip_cull_distance_arrays

We already handle it in brw_preprocess_nir

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/intel/vulkan/anv_pipeline.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 20609248d6..726dfcff4e 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -195,8 +195,6 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
 
    nir = brw_preprocess_nir(compiler, nir);
 
-   NIR_PASS_V(nir, nir_lower_clip_cull_distance_arrays);
-
    if (stage == MESA_SHADER_FRAGMENT)
       NIR_PASS_V(nir, anv_nir_lower_input_attachments);
 




More information about the mesa-commit mailing list