Mesa (main): mesa: Drop dead #include "sparc/sparc.h"

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 30 17:43:11 UTC 2022


Module: Mesa
Branch: main
Commit: 27f3fb5699e35cdaca29cd7309c4ac9a2fd21ff6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27f3fb5699e35cdaca29cd7309c4ac9a2fd21ff6

Author: Matt Turner <mattst88 at gmail.com>
Date:   Sun May 29 14:25:37 2022 -0400

mesa: Drop dead #include "sparc/sparc.h"

sparc.h was removed in when the classic drivers were removed. It only
contained a prototype for _mesa_init_all_sparc_transform_asm() which
wasn't even called by context.c. Remove the #include to fix the build on
sparc.

Fixes: e030d5ba8ac ("mesa: Delete libmesa_classic")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6425
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16765>

---

 src/mesa/main/context.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 8e623d68c30..d4a0bcf1d41 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -143,10 +143,6 @@
 #include "macros.h"
 #include "git_sha1.h"
 
-#ifdef USE_SPARC_ASM
-#include "sparc/sparc.h"
-#endif
-
 #include "compiler/glsl_types.h"
 #include "compiler/glsl/builtin_functions.h"
 #include "compiler/glsl/glsl_parser_extras.h"



More information about the mesa-commit mailing list