Re: [Mesa-dev] [PATCH] nir: Update shader info when adding discards

2016-08-26 Thread Jason Ekstrand
If you wanted to be extra spiffy, you could add a discard helper to nir_builder and make it do it automatically :) In any case, Reviewed-by: Jason Ekstrand On Fri, Aug 26, 2016 at 6:13 PM, Eric Anholt wrote: > vc4 is about to start using the shader info

[Mesa-dev] [PATCH] nir: Update shader info when adding discards

2016-08-26 Thread Eric Anholt
vc4 is about to start using the shader info field to set up discard handling. --- src/compiler/nir/nir_lower_bitmap.c | 2 ++ src/compiler/nir/nir_lower_clip.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/compiler/nir/nir_lower_bitmap.c b/src/compiler/nir/nir_lower_bitmap.c index