Module: Mesa
Branch: main
Commit: 21790954a60cf3d9a7e10e5c952c284ef22dcac1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=21790954a60cf3d9a7e10e5c952c284ef22dcac1

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Aug  1 10:40:32 2023 -0400

pan/mdg: Add missing static inline annotation

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Italo Nicola <[email protected]>
Acked-by: Faith Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>

---

 src/panfrost/midgard/compiler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index 1a362bdf9d8..fbb52e5ffb5 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -459,7 +459,7 @@ make_compiler_temp_reg(compiler_context *ctx)
    return ((ctx->func->impl->ssa_alloc + ctx->temp_alloc++) << 1) | PAN_IS_REG;
 }
 
-static bool
+static inline bool
 mir_is_ssa(unsigned index)
 {
    return (index < SSA_FIXED_MINIMUM) && !(index & PAN_IS_REG);

Reply via email to