Module: Mesa
Branch: master
Commit: cf69b9635a7fca9b865fe673073f1baff83bf759
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf69b9635a7fca9b865fe673073f1baff83bf759

Author: Greg V <[email protected]>
Date:   Wed Feb 26 23:12:12 2020 +0300

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>

---

 src/gallium/drivers/r600/sfn/sfn_value_gpr.h | 1 +
 1 file changed, 1 insertion(+)

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 {
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to