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