[Mesa-dev] [PATCH 30/44] anv/pipeline: Drop nir_lower_clip_cull_distance_arrays

Jason Ekstrand jason at jlekstrand.net
Tue Sep 5 15:13:22 UTC 2017


We already handle it in brw_preprocess_nir
---
 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 bb49e78..a3a1bcf 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -193,8 +193,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);
 
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list