summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/files/0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch')
-rw-r--r--meta/recipes-graphics/mesa/files/0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-graphics/mesa/files/0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch b/meta/recipes-graphics/mesa/files/0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch
deleted file mode 100644
index 1cf23492fe..0000000000
--- a/meta/recipes-graphics/mesa/files/0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 267dd1f4d571ee606141aa66f1665aa152b4e911 Mon Sep 17 00:00:00 2001
2From: t0b3 <thomas.bettler@gmail.com>
3Date: Sat, 10 Dec 2022 14:32:53 +0100
4Subject: [PATCH] nir/nir_opt_move: fix ALWAYS_INLINE compiler error
5
6Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
7Reviewed-by: Adam Jackson <ajax@redhat.com>
8Closes: #6825
9Fixes: f1d20ec6 ("nir/nir_opt_move: handle non-SSA defs ")
10Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17439>
11
12Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/267dd1f4d571ee606141aa66f1665aa152b4e911]
13---
14 src/compiler/nir/nir_opt_move.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/src/compiler/nir/nir_opt_move.c b/src/compiler/nir/nir_opt_move.c
18index 81bcde5c436..9aeb9f4cf86 100644
19--- a/src/compiler/nir/nir_opt_move.c
20+++ b/src/compiler/nir/nir_opt_move.c
21@@ -51,13 +51,13 @@
22 * lower register pressure.
23 */
24
25-static ALWAYS_INLINE bool
26+static inline bool
27 src_is_ssa(nir_src *src, void *state)
28 {
29 return src->is_ssa;
30 }
31
32-static ALWAYS_INLINE bool
33+static inline bool
34 instr_reads_register(nir_instr *instr)
35 {
36 return !nir_foreach_src(instr, src_is_ssa, NULL);