nir: Update shader info when adding discards
authorEric Anholt <eric@anholt.net>
Fri, 26 Aug 2016 20:45:47 +0000 (13:45 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 29 Aug 2016 17:56:59 +0000 (10:56 -0700)
commita99d70d105df8a20f3ea98640afdeab7ed69b685
tree2b32020c289fed5b9da8ccd0841a9e83a482e118
parentfa8f87132a87c8bb89b52b66255ad9ffa002adf6
nir: Update shader info when adding discards

vc4 is about to start using the shader info field to set up discard
handling.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_bitmap.c
src/compiler/nir/nir_lower_clip.c