st/glsl_to_nir: remove dead io after conversion to nir
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 29 Jan 2018 06:33:57 +0000 (17:33 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 29 Jan 2018 22:14:36 +0000 (09:14 +1100)
commit2b4afaef1c4e0aeb75be570651bacf3ac7c9838d
treedd87a5a855dc6af1a094cfe5c490b9b72740ca94
parent327c1a7fb3c30b639112f0d3f7c4a9b768434381
st/glsl_to_nir: remove dead io after conversion to nir

This fixes an assert in nir_lower_var_copies() for some bioshock
shaders where an unused clipdistance array has no size.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp