st/nine: Silent warning in sm1_declusage_to_tgsi
authorAxel Davy <axel.davy@ens.fr>
Sun, 16 Aug 2015 11:11:27 +0000 (13:11 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:48 +0000 (22:21 +0200)
release build was complaining

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_shader.c

index 9680c5ac6d67a0753a3bc3374db44cc3e10e9cac..28f27870dc80e9db1d45cd89981cab221ecfdd65 100644 (file)
@@ -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;
     }
 }