nir: fix clip cull lowering to not assert if GLSL already lowered.
authorDave Airlie <airlied@redhat.com>
Wed, 9 May 2018 03:21:43 +0000 (13:21 +1000)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Oct 2018 01:53:48 +0000 (18:53 -0700)
commitff281e62043203fd83f3f88e2ed68828646e155d
tree5b77b13ff0ffa80f8042aeadb39365cd6bbe814f
parent5bd836968172151d633675a5f9b4f8b646971a31
nir: fix clip cull lowering to not assert if GLSL already lowered.

If GLSL has already done the lowering, we'd rather not crash in this pass.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_lower_clip_cull_distance_arrays.c