From: Kenneth Graunke Date: Tue, 4 Oct 2016 03:42:42 +0000 (-0700) Subject: anv: Combine ClipDistance and CullDistance arrays. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9eabd539cf75f8e0e0c1c012a7f5e666304dd9e;p=mesa.git anv: Combine ClipDistance and CullDistance arrays. Signed-off-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 2fdc9cc7b36..2cd06bd78d5 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -169,6 +169,9 @@ anv_shader_compile_to_nir(struct anv_device *device, nir = brw_preprocess_nir(compiler, nir); + nir_lower_clip_cull_distance_arrays(nir); + nir_validate_shader(nir); + nir_shader_gather_info(nir, entry_point->impl); nir_variable_mode indirect_mask = 0;