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 <issor.oruam@gmail.com>
This commit is contained in:
Mauro Rossi
2019-09-21 17:38:52 +02:00
parent b38fcaa221
commit c24ad565ae
5 changed files with 5 additions and 1 deletions
@@ -24,6 +24,7 @@
*/
#include <algorithm>
#include <array>
#include <map>
#include "aco_ir.h"
@@ -22,6 +22,7 @@
*
*/
#include <array>
#include <unordered_map>
#include "aco_ir.h"
#include "nir.h"
+1 -1
View File
@@ -1,4 +1,4 @@
#include <array>
#include <iomanip>
#include "aco_ir.h"
#include "llvm-c/Disassembler.h"
@@ -27,6 +27,7 @@
*/
#include <algorithm>
#include <array>
#include <map>
#include <unordered_map>
#include <functional>
+1
View File
@@ -24,6 +24,7 @@
#include "aco_ir.h"
#include <array>
#include <map>
namespace aco {