pan/mdg: Fix icky formatting

clang-format butchered this initializer pretty badly.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22914>
This commit is contained in:
Alyssa Rosenzweig 2023-05-08 16:05:25 -04:00 committed by Marge Bot
parent e258083e07
commit 133af0d6c9

View file

@ -1350,24 +1350,14 @@ emit_atomic(compiler_context *ctx, nir_intrinsic_instr *instr, bool is_shared,
unsigned bitsize = nir_src_bit_size(instr->src[val_src]);
emit_explicit_constant(ctx, val);
midgard_instruction ins = {.type = TAG_LOAD_STORE_4,
.mask = 0xF,
.dest = dest,
.src =
{
~0,
~0,
~0,
val,
},
.src_types =
{
0,
0,
0,
type | bitsize,
},
.op = op};
midgard_instruction ins = {
.type = TAG_LOAD_STORE_4,
.mask = 0xF,
.dest = dest,
.src = {~0, ~0, ~0, val},
.src_types = {0, 0, 0, type | bitsize},
.op = op,
};
nir_src *src_offset = nir_get_io_offset_src(instr);