On 10/02/17 22:24, Marek Olšák wrote:
If this doesn't use gl_context, it can be in src/util.

Yeah I'm just going to drop this patch and use this [1]

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-February/143791.html

Marek

On Tue, Feb 7, 2017 at 4:42 AM, Timothy Arceri <tarc...@itsqueeze.com> wrote:
---
  src/mesa/main/version.c | 9 +++++++++
  src/mesa/main/version.h | 3 +++
  2 files changed, 12 insertions(+)

diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 85ec9de..daf0dcb 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -110,6 +110,15 @@ exit:
     *compat_context = override[api].compat_suffix;
  }

+const char *
+_mesa_create_cache_version_string(void)
+{
+   return "Mesa_" PACKAGE_VERSION
+#ifdef MESA_GIT_SHA1
+          "_" MESA_GIT_SHA1;
+#endif
+}
+
  /**
   * Builds the Mesa version string.
   */
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h
index ee7cb75..57981a0 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -30,6 +30,9 @@
  #include "mtypes.h"


+const char *
+_mesa_create_cache_version_string(void);
+
  extern GLuint
  _mesa_get_version(const struct gl_extensions *extensions,
                    struct gl_constants *consts, gl_api api);
--
2.9.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to