From b25b36a9e39740d90f733c3e5b0e0ad22a415574 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 30 Aug 2023 17:12:04 -0400 Subject: [PATCH] agx: Expand nest For breaking out of deeper control flow. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/asahi/compiler/agx_compiler.h b/src/asahi/compiler/agx_compiler.h index eca198d1f54..ec3437d385d 100644 --- a/src/asahi/compiler/agx_compiler.h +++ b/src/asahi/compiler/agx_compiler.h @@ -296,6 +296,9 @@ typedef struct { /* For local access */ enum agx_format format; + /* Number of nested control flow layers to jump by. TODO: Optimize */ + uint32_t nest; + /* Invert icond/fcond */ bool invert_cond : 1; @@ -318,9 +321,6 @@ typedef struct { * scoreboarding (everything but memory load/store and texturing). */ unsigned scoreboard : 1; - /* Number of nested control flow layers to jump by */ - unsigned nest : 2; - /* Output modifiers */ bool saturate : 1; unsigned mask : 4;