summaryrefslogtreecommitdiffstats
path: root/src/amd/compiler/aco_validate.cpp
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2019-09-21 17:38:52 +0200
committerMauro Rossi <[email protected]>2019-09-28 15:56:23 +0200
commitc24ad565ae7c19417f381ddfcb5ba6bff0934878 (patch)
treec839f53fcb54b0c233b40dff2dc602cf12d670f1 /src/amd/compiler/aco_validate.cpp
parentb38fcaa22141b217eb693f79e1d6c60faa9a0658 (diff)
android: aco: fix undefined template 'std::__1::array' build errors
Fixes a few building errors similar to the following: In file included from external/mesa/src/amd/compiler/aco_instruction_selection.cpp:26: In file included from external/libcxx/include/algorithm:639: external/libcxx/include/utility:321:9: error: implicit instantiation of undefined template 'std::__1::array<aco::Temp, 4>' _T2 second; ^ Fixes: 93c8ebf ("aco: Initial commit of independent AMD compiler") Signed-off-by: Mauro Rossi <[email protected]>
Diffstat (limited to 'src/amd/compiler/aco_validate.cpp')
-rw-r--r--src/amd/compiler/aco_validate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_validate.cpp b/src/amd/compiler/aco_validate.cpp
index 0988d66df3a..9919d0a585d 100644
--- a/src/amd/compiler/aco_validate.cpp
+++ b/src/amd/compiler/aco_validate.cpp
@@ -24,6 +24,7 @@
#include "aco_ir.h"
+#include <array>
#include <map>
namespace aco {