diff options
author | Axel Davy <axel.davy@ens.fr> | 2015-08-16 13:11:27 +0200 |
---|---|---|
committer | Axel Davy <axel.davy@ens.fr> | 2015-08-21 22:21:48 +0200 |
commit | 3cc205bbeb19d417b17be0f6200cb5cda9adca8a (patch) | |
tree | 623a4b0f13536c7f28a556bf710f7786f6c7595a | |
parent | d48cab9fa6b75db054e3a53819b465611923e9bc (diff) |
st/nine: Silent warning in sm1_declusage_to_tgsi
release build was complaining
Signed-off-by: Axel Davy <axel.davy@ens.fr>
-rw-r--r-- | src/gallium/state_trackers/nine/nine_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index 9680c5ac6d..28f27870dc 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; } } |