From c076900360b37d762c9b9298bf1c9f9b10e23ced Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 17 Nov 2024 20:50:34 -0400 Subject: [PATCH] nir: add nir_function::pass_flags convenience, asahi will stash stuff here. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Konstantin Seurer Reviewed-by: Mary Guillemard Part-of: --- src/compiler/nir/nir.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index ca2c54ce6c6..0d775271323 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3661,6 +3661,9 @@ typedef struct nir_function { const struct glsl_type **subroutine_types; int subroutine_index; + + /* A temporary for passes to use for storing flags. */ + uint32_t pass_flags; } nir_function; typedef enum {