projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb36995
)
pan/mdg: Add missing static inline annotation
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Tue, 1 Aug 2023 14:40:32 +0000
(10:40 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 1 Aug 2023 23:18:29 +0000
(23:18 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Italo Nicola <italonicola@collabora.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>
src/panfrost/midgard/compiler.h
patch
|
blob
|
history
diff --git
a/src/panfrost/midgard/compiler.h
b/src/panfrost/midgard/compiler.h
index
1a362bd
..
fbb52e5
100644
(file)
--- 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);