Mesa (vulkan): glsl/standalone: Get rid of the unneeded _mesa_error_no_memory stub

Jason Ekstrand jekstrand at kemper.freedesktop.org
Mon Apr 4 19:07:29 UTC 2016


Module: Mesa
Branch: vulkan
Commit: 4d040a4ad35f0ab25e0f9ba031a71885a4cec1dd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d040a4ad35f0ab25e0f9ba031a71885a4cec1dd

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Apr  4 12:05:07 2016 -0700

glsl/standalone: Get rid of the unneeded _mesa_error_no_memory stub

This hasn't been needed since we stopped using the GLSL compiler in the
Vulkan driver and it was tripping up scons.  Removing it fixes the scons
build.

---

 src/compiler/glsl/standalone_scaffolding.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/compiler/glsl/standalone_scaffolding.cpp b/src/compiler/glsl/standalone_scaffolding.cpp
index 5ce804e..e350f70 100644
--- a/src/compiler/glsl/standalone_scaffolding.cpp
+++ b/src/compiler/glsl/standalone_scaffolding.cpp
@@ -35,12 +35,6 @@
 #include "util/ralloc.h"
 #include "util/strtod.h"
 
-extern "C" void
-_mesa_error_no_memory(const char *caller)
-{
-   fprintf(stderr, "Mesa error: out of memory in %s", caller);
-}
-
 void
 _mesa_warning(struct gl_context *ctx, const char *fmt, ...)
 {




More information about the mesa-commit mailing list