summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-10-02 16:30:45 -0400
committerErik Faye-Lund <[email protected]>2019-10-17 10:41:36 +0200
commit71c0dcf26621f0403586a1b09df7e7cecb063979 (patch)
tree57a2e1071ea53389c85595b779ee4c28a5697a34 /src/mesa/drivers/dri/i965
parenteb3047c094abfa03e071453d7c373e9c2c574370 (diff)
nir: support feeding state to nir_lower_clip_[vg]s
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
index 995b229e101..639bdfc0f2c 100644
--- a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
+++ b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
@@ -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);