clover: Update OpenCL version string to match OpenGL
authorVedran Miletić <vedran@miletic.net>
Mon, 6 Jun 2016 10:43:33 +0000 (12:43 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 13 Jun 2016 22:55:59 +0000 (15:55 -0700)
commit4825264f75c83576f251290547f121f066b46a70
tree49a386cbdd559f2ba6573e13120e1aacc8a9f901
parentbd9f9726519fad94e88b9266b0c255aa00251f4d
clover: Update OpenCL version string to match OpenGL

Change MESA into Mesa in CL_PLATFORM_VERSION and CL_DEVICE_VERSION. For
both, always append git version suffix from git_sha1.h.

v5: move semicolon to same line as MESA_GIT_SHA1.
v4: drop #ifdef guards.
v3: add missing include.
v2: change CL_DEVICE_VERSION as well.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/device.cpp
src/gallium/state_trackers/clover/api/platform.cpp