mesa/src/gallium/auxiliary/nir
Adam Jackson 5cf6c9e609 nir/ttn: Silence some warnings at -Og
../src/gallium/auxiliary/nir/tgsi_to_nir.c: In function ‘ttn_mem’:
   ../src/gallium/auxiliary/nir/tgsi_to_nir.c:1724:15: warning: ‘op’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    1724 |       instr = nir_intrinsic_instr_create(b->shader, op);
   ../src/gallium/auxiliary/nir/tgsi_to_nir.c:1697:15: warning: ‘op’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    1697 |       instr = nir_intrinsic_instr_create(b->shader, op);

Add some more unreachable() to make this go away.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8724>
2021-02-18 20:59:43 +00:00
..
nir_draw_helpers.c gallium/nir: Use sized types for nir_tex_instr::dest_type 2021-01-25 11:21:53 +01:00
nir_draw_helpers.h gallium: Wrap some header files into "extern C" 2020-11-10 15:37:07 +00:00
nir_to_tgsi.c compiler: Use util/bitset.h for system_values_read 2021-01-26 20:20:47 +00:00
nir_to_tgsi.h gallium/ntt: Add default compiler options for non-native-NIR drivers. 2020-10-20 23:32:26 +00:00
nir_to_tgsi_info.c nir/ntt: update fallthrough comments 2020-12-01 10:04:41 +01:00
nir_to_tgsi_info.h gallivm: nir->tgsi info convertor (v2) 2019-11-28 14:48:11 +10:00
tgsi_to_nir.c nir/ttn: Silence some warnings at -Og 2021-02-18 20:59:43 +00:00
tgsi_to_nir.h gallium/nir: Wrap tgsi_to_nir header in extern C 2020-11-10 15:37:07 +00:00