diff options
author | Tomeu Vizoso <[email protected]> | 2017-06-28 17:52:27 -0400 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-06-30 08:44:16 +0100 |
commit | 2ecdedb8d4adfa9dbef053681fc89f2a2873647e (patch) | |
tree | 3282ed0073d6ee89f99f906e3ea6fa69956cc5a7 | |
parent | 277621bbb724b0a627a0f5473bdeb82e02fdf389 (diff) |
etnaviv: Add unreachable statement to etna_amode to fix compilation warnings
Signed-off-by: Robert Foss <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_compiler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c b/src/gallium/drivers/etnaviv/etnaviv_compiler.c index af0f76b5864..2e8dd8643a5 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 */ |