radeonsi: use unreachable to fix a warning
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 2 Apr 2017 17:22:11 +0000 (20:22 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 2 Apr 2017 22:46:35 +0000 (00:46 +0200)
commit8e42038d8738ad6509b12ac154508230e3c519f0
treeeadfcf98de33cc2c1cbf1715c8248ca5d1e1eacd
parentdc6b3c031ee295aefbc7265e2894486454061ffe
radeonsi: use unreachable to fix a warning

si_state.c: In function ‘si_make_texture_descriptor’:
si_state.c:3240:25: warning: ‘num_format’ may be used uninitialized
si_state.c:3240:12: warning: ‘data_format’ may be used uninitialized

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c