summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2016-02-06 09:09:52 -0500
committerRob Clark <robclark@freedesktop.org>2016-03-28 10:19:09 -0400
commit3ca034cada87aea58a92113cb38cf92a97d70c55 (patch)
tree0309eeb8e6f33532eb8f6e9eb4eeb8b8ed4605dd
parentb9f1affb2e52a7a75d968af117a03b01866546cb (diff)
downloadexternal_mesa3d-3ca034cada87aea58a92113cb38cf92a97d70c55.zip
external_mesa3d-3ca034cada87aea58a92113cb38cf92a97d70c55.tar.gz
external_mesa3d-3ca034cada87aea58a92113cb38cf92a97d70c55.tar.bz2
freedreno/ir3: fix compiler warn
Signed-off-by: Rob Clark <robclark@freedesktop.org>
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 54315d2..88f6e16 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
@@ -1109,7 +1109,7 @@ emit_intrinsic_store_var(struct ir3_compile *ctx, nir_intrinsic_instr *intr)
default:
compile_error(ctx, "Unhandled store deref type: %u\n",
darr->deref_array_type);
- break;
+ return;
}
for (int i = 0; i < intr->num_components; i++) {