freedreno/ir3: fix compiler warn
authorRob Clark <robclark@freedesktop.org>
Sat, 6 Feb 2016 14:09:52 +0000 (09:09 -0500)
committerRob Clark <robclark@freedesktop.org>
Mon, 28 Mar 2016 14:19:09 +0000 (10:19 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c

index 54315d2f592eb11aff70c0b1d58cd7d6b5dca0b9..88f6e168558d1cfa723c0ef11f6a67e708c2d0c6 100644 (file)
@@ -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++) {