From 0c70dcd6f7a7950e7008ee2631ed966944fe0bcd Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 22 Apr 2024 11:27:48 +0200 Subject: [PATCH] etnaviv: isa: Add clang-format special comments We want to keep the defines as formated as they are. Signed-off-by: Christian Gmeiner Part-of: --- src/etnaviv/isa/asm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/etnaviv/isa/asm.h b/src/etnaviv/isa/asm.h index 1f2e9dffd46..a467b0e091b 100644 --- a/src/etnaviv/isa/asm.h +++ b/src/etnaviv/isa/asm.h @@ -21,6 +21,7 @@ #define SWIZ_Z(z) (((z) & 0x03) << 4) #define SWIZ_W(w) (((w) & 0x03) << 6) +/* clang-format off */ /* Broadcast swizzle to all four components */ #define INST_SWIZ_BROADCAST(x) \ (SWIZ_X(x) | SWIZ_Y(x) | SWIZ_Z(x) | SWIZ_W(x)) @@ -35,6 +36,7 @@ ISA_SWIZ_##c1, \ ISA_SWIZ_##c2, \ ISA_SWIZ_##c3) +/* clang-format on */ /*** operands ***/