Re: [Mesa-dev] [PATCH] nir: Replace assert(0) with unreachable().

2015-01-21 Thread Connor Abbott
Reviewed-by: Connor Abbott On Wed, Jan 21, 2015 at 11:23 PM, Matt Turner wrote: > Fixes a couple of warnings in the process. > --- > src/glsl/nir/glsl_to_nir.cpp | 57 > -- > src/glsl/nir/nir.h | 3 +- > src/glsl/nir/nir_lower_syst

[Mesa-dev] [PATCH] nir: Replace assert(0) with unreachable().

2015-01-21 Thread Matt Turner
Fixes a couple of warnings in the process. --- src/glsl/nir/glsl_to_nir.cpp | 57 -- src/glsl/nir/nir.h | 3 +- src/glsl/nir/nir_lower_system_values.c | 3 +- src/glsl/nir/nir_to_ssa.c | 2 +- 4 files changed, 22 inserti