nir: support feeding state to nir_lower_clip_[vg]s
[mesa.git] / src / mesa / drivers / dri / i965 / brw_nir_uniforms.cpp
index 995b229e101829cc5a59a16308cc4fd7a14f509e..639bdfc0f2cbe1750dc78200367e2d51d87e3b77 100644 (file)
@@ -407,7 +407,8 @@ brw_nir_lower_legacy_clipping(nir_shader *nir, int nr_userclip_plane_consts,
 
    nir_function_impl *impl = nir_shader_get_entrypoint(nir);
 
-   nir_lower_clip_vs(nir, (1 << nr_userclip_plane_consts) - 1, true, false);
+   nir_lower_clip_vs(nir, (1 << nr_userclip_plane_consts) - 1, true, false,
+                     NULL);
    nir_lower_io_to_temporaries(nir, impl, true, false);
    nir_lower_global_vars_to_local(nir);
    nir_lower_vars_to_ssa(nir);