Mesa (master): amd/llvm: fix C++ compile failures

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 9 21:57:53 UTC 2020


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

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Aug 25 22:29:15 2020 -0400

amd/llvm: fix C++ compile failures

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7807>

---

 src/amd/llvm/ac_llvm_build.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/llvm/ac_llvm_build.h b/src/amd/llvm/ac_llvm_build.h
index 2a5d1159587..8c84b38b73b 100644
--- a/src/amd/llvm/ac_llvm_build.h
+++ b/src/amd/llvm/ac_llvm_build.h
@@ -25,6 +25,7 @@
 #ifndef AC_LLVM_BUILD_H
 #define AC_LLVM_BUILD_H
 
+#include "ac_llvm_util.h"
 #include "ac_shader_abi.h"
 #include "ac_shader_args.h"
 #include "ac_shader_util.h"
@@ -54,7 +55,6 @@ enum
 
 struct ac_llvm_flow;
 struct ac_llvm_compiler;
-enum ac_float_mode;
 
 struct ac_llvm_flow_state {
    struct ac_llvm_flow *stack;



More information about the mesa-commit mailing list