From: Axel Davy Date: Sun, 16 Aug 2015 11:11:27 +0000 (+0200) Subject: st/nine: Silent warning in sm1_declusage_to_tgsi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cc205bbeb19d417b17be0f6200cb5cda9adca8a;p=mesa.git st/nine: Silent warning in sm1_declusage_to_tgsi release build was complaining Signed-off-by: Axel Davy --- diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index 9680c5ac6d6..28f27870dc8 100644 --- a/src/gallium/state_trackers/nine/nine_shader.c +++ b/src/gallium/state_trackers/nine/nine_shader.c @@ -1890,7 +1890,7 @@ sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem, sem->Index = 0; break; default: - assert(!"Invalid DECLUSAGE."); + unreachable(!"Invalid DECLUSAGE."); break; } }