[Mesa-dev] [PATCH v2 37/52] anv/pipeline: Drop nir_lower_clip_cull_distance_arrays

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Oct 13 10:35:17 UTC 2017


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

On 13/10/17 06:48, Jason Ekstrand wrote:
> 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 e08bdd9..9645d68 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-dev mailing list