anv/pipeline: Drop nir_lower_clip_cull_distance_arrays
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 2 Sep 2017 05:14:59 +0000 (22:14 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 Oct 2017 23:14:09 +0000 (16:14 -0700)
We already handle it in brw_preprocess_nir

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_pipeline.c

index 20609248d6755393f5947a9fe94f61e4ac904ddd..726dfcff4e424605a914bd5459c3899af83c570d 100644 (file)
@@ -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);