asahi: Reformat using the new style

Now, that the foreach macro list is complete (I hope), let's reformat
drivers that enforce correct formatting in CI.

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23275>
This commit is contained in:
Konstantin Seurer 2023-05-27 11:21:11 +02:00 committed by Marge Bot
parent 7ee6627f66
commit 13c9b490a7
2 changed files with 3 additions and 6 deletions

View file

@ -2037,8 +2037,7 @@ agx_remap_varyings_vs(nir_shader *nir, struct agx_varyings_vs *varyings)
varyings->slots[VARYING_SLOT_POS] = base;
base += 4;
u_foreach_bit64(loc, nir->info.outputs_written)
{
u_foreach_bit64(loc, nir->info.outputs_written) {
if (loc == VARYING_SLOT_POS || loc == VARYING_SLOT_PSIZ)
continue;

View file

@ -62,8 +62,7 @@ agx_block_equal(agx_block *A, agx_block *B)
return false;
list_pair_for_each_entry(agx_instr, insA, insB, &A->instructions,
&B->instructions, link)
{
&B->instructions, link) {
if (!agx_instr_equal(insA, insB))
return false;
}
@ -78,8 +77,7 @@ agx_shader_equal(agx_context *A, agx_context *B)
return false;
list_pair_for_each_entry(agx_block, blockA, blockB, &A->blocks, &B->blocks,
link)
{
link) {
if (!agx_block_equal(blockA, blockB))
return false;
}