r600: add missing <array> include
authorGreg V <greg@unrelenting.technology>
Wed, 26 Feb 2020 20:12:12 +0000 (23:12 +0300)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 11:30:39 +0000 (11:30 +0000)
Fixes error with clang/libc++:

../src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.h:69:88: error: implicit instantiation of undefined template 'std::__1::array<unsigned char, 3>'
   bool emit_alu_op3(const nir_alu_instr& instr, EAluOp opcode, std::array<uint8_t, 3> reorder={0,1,2});

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3967>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3967>

src/gallium/drivers/r600/sfn/sfn_value_gpr.h

index eee12c46c6a3e28a707b13d127524b6c4c6c119e..f2c51f3c436123bb3cc43dedc507f5b7e3015fa8 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "sfn_value.h"
 #include <vector>
+#include <array>
 
 namespace r600 {