Mesa (master): etnaviv: Add unreachable statement to etna_amode to fix compilation warnings
Emil Velikov
evelikov at kemper.freedesktop.org
Fri Jun 30 07:48:10 UTC 2017
Module: Mesa
Branch: master
Commit: 2ecdedb8d4adfa9dbef053681fc89f2a2873647e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ecdedb8d4adfa9dbef053681fc89f2a2873647e
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date: Wed Jun 28 17:52:27 2017 -0400
etnaviv: Add unreachable statement to etna_amode to fix compilation warnings
Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c b/src/gallium/drivers/etnaviv/etnaviv_compiler.c
index af0f76b586..2e8dd8643a 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_compiler.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_compiler.c
@@ -885,6 +885,8 @@ etna_amode(struct tgsi_ind_register indirect)
default:
assert(!"Invalid swizzle");
}
+
+ unreachable("bad swizzle");
}
/* convert destination operand */
More information about the mesa-commit
mailing list