zink: remove needless scope

There's no variables declared in here, so there's no point in having
this slightly awkward scope here.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12594>
This commit is contained in:
Erik Faye-Lund 2021-08-26 11:03:25 +02:00 committed by Marge Bot
parent f417a4c1ba
commit a3092bc719
1 changed files with 1 additions and 2 deletions

View File

@ -2909,11 +2909,10 @@ emit_intrinsic(struct ntv_context *ctx, nir_intrinsic_instr *intr)
emit_read_invocation(ctx, intr);
break;
case nir_intrinsic_load_workgroup_size: {
case nir_intrinsic_load_workgroup_size:
assert(ctx->local_group_size_var);
store_dest(ctx, &intr->dest, ctx->local_group_size_var, nir_type_uint);
break;
}
case nir_intrinsic_load_shared:
emit_load_shared(ctx, intr);