Mesa (master): aco: Add missing C++ includes
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 1 11:23:20 UTC 2020
Module: Mesa
Branch: master
Commit: d1f742e497a4720e8c909995759fcc93c1308a0b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1f742e497a4720e8c909995759fcc93c1308a0b
Author: James Park <jpark37 at lagfreegames.com>
Date: Thu Nov 26 21:33:11 2020 -0800
aco: Add missing C++ includes
Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7785>
---
src/amd/compiler/aco_instruction_selection.cpp | 5 +++--
src/amd/compiler/aco_ir.h | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp
index 536e4557df9..3b5b506c496 100644
--- a/src/amd/compiler/aco_instruction_selection.cpp
+++ b/src/amd/compiler/aco_instruction_selection.cpp
@@ -24,10 +24,11 @@
*/
#include <algorithm>
-#include <numeric>
#include <array>
-#include <stack>
+#include <functional>
#include <map>
+#include <numeric>
+#include <stack>
#include "ac_shader_util.h"
#include "aco_ir.h"
diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h
index 149dc0b1945..99764b1e898 100644
--- a/src/amd/compiler/aco_ir.h
+++ b/src/amd/compiler/aco_ir.h
@@ -25,6 +25,7 @@
#ifndef ACO_IR_H
#define ACO_IR_H
+#include <algorithm>
#include <vector>
#include <set>
#include <unordered_set>
More information about the mesa-commit
mailing list