diff options
author | Greg V <[email protected]> | 2020-02-26 23:12:12 +0300 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-28 11:30:39 +0000 |
commit | cf69b9635a7fca9b865fe673073f1baff83bf759 (patch) | |
tree | 9b40c06469f1a1d961818295a685e492d95cc7c3 /src/gallium | |
parent | eb5227173f0354aade28e46397a5bb69b2af69fb (diff) |
r600: add missing <array> include
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 <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3967>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3967>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/sfn/sfn_value_gpr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_value_gpr.h b/src/gallium/drivers/r600/sfn/sfn_value_gpr.h index eee12c46c6a..f2c51f3c436 100644 --- a/src/gallium/drivers/r600/sfn/sfn_value_gpr.h +++ b/src/gallium/drivers/r600/sfn/sfn_value_gpr.h @@ -29,6 +29,7 @@ #include "sfn_value.h" #include <vector> +#include <array> namespace r600 { |