Module: Mesa Branch: master Commit: a9eabd539cf75f8e0e0c1c012a7f5e666304dd9e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9eabd539cf75f8e0e0c1c012a7f5e666304dd9e
Author: Kenneth Graunke <[email protected]> Date: Mon Oct 3 20:42:42 2016 -0700 anv: Combine ClipDistance and CullDistance arrays. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> --- src/intel/vulkan/anv_pipeline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 2fdc9cc..2cd06bd 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
