Mesa (main): aco: include utility in isel

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 30 14:51:01 UTC 2021


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

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Aug 30 10:42:34 2021 +0100

aco: include utility in isel

For std::exchange().

Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Fixes: c1d11bb92c9 ("aco: Add loop creation helpers.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5301
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12614>

---

 src/amd/compiler/aco_instruction_selection.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp
index 31c25ddb68b..dbe9895f5db 100644
--- a/src/amd/compiler/aco_instruction_selection.cpp
+++ b/src/amd/compiler/aco_instruction_selection.cpp
@@ -40,6 +40,7 @@
 #include <map>
 #include <numeric>
 #include <stack>
+#include <utility>
 #include <vector>
 
 namespace aco {



More information about the mesa-commit mailing list