mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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:
parent
f417a4c1ba
commit
a3092bc719
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue