diff options
Diffstat (limited to 'meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch')
-rw-r--r-- | meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch new file mode 100644 index 00000000..1751df6f --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.1/0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From d17338d403980e1932a42f5d11c2a1fb7b25127b Mon Sep 17 00:00:00 2001 | ||
2 | From: MastaG <mastag@gmail.com> | ||
3 | Date: Wed, 3 Jul 2024 21:00:42 +0200 | ||
4 | Subject: [PATCH] gallivm: Call StringMapIterator from llvm:: scope | ||
5 | |||
6 | Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11392 | ||
7 | Fixes: b035d9cab5a4 ("gallivm: use getHostCPUFeatures on x86/llvm-4.0+.") | ||
8 | Reviewed-by: David Heidelberg <david@ixit.cz> | ||
9 | Signed-off-by: David Heidelberg <david@ixit.cz> | ||
10 | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30009> | ||
11 | Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/d17338d403980e1932a42f5d11c2a1fb7b25127b] | ||
12 | Signed-off-by: Randolph Sapp <rs@ti.com> | ||
13 | --- | ||
14 | src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | ||
18 | index 95a8a6c6a08..f3c10652ed6 100644 | ||
19 | --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | ||
20 | +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | ||
21 | @@ -332,7 +332,7 @@ lp_build_fill_mattrs(std::vector<std::string> &MAttrs) | ||
22 | llvm::StringMap<bool> features; | ||
23 | llvm::sys::getHostCPUFeatures(features); | ||
24 | |||
25 | - for (StringMapIterator<bool> f = features.begin(); | ||
26 | + for (llvm::StringMapIterator<bool> f = features.begin(); | ||
27 | f != features.end(); | ||
28 | ++f) { | ||
29 | MAttrs.push_back(((*f).second ? "+" : "-") + (*f).first().str()); | ||
30 | -- | ||
31 | 2.47.1 | ||