clover: Stub missing CL 1.2 functions.
authorSerge Martin (EdB) <edb+mesa@sigluy.net>
Fri, 7 Aug 2015 08:40:31 +0000 (10:40 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 7 Aug 2015 12:18:50 +0000 (15:18 +0300)
commita97f1b697b01dca9f72d8559f8269188d76dccc9
treed924e02550f0e11c7c1dd09b9056ebd529f44a8d
parent0508861f29f2d3b79fb803353e4ea8ab32654bc4
clover: Stub missing CL 1.2 functions.

As sugested by Tom a long time ago
and in order to be able to create Piglit tests

v2:
replace NOT_SUPPORTED_BY_CL_1_1 macro with an inline function
remove extra space in clLinkProgram arg

v3:
use __func__

v4:
back to a macro, it make more sense to use it with __func__

[ Francisco Jerez: Rename to CLOVER_NOT_SUPPORTED_UNTIL and pass the
  minimum API version required by the entry point so the error
  messages don't become stale when support for additional CL versions
  is introduced. ]

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/dispatch.cpp
src/gallium/state_trackers/clover/api/kernel.cpp
src/gallium/state_trackers/clover/api/memory.cpp
src/gallium/state_trackers/clover/api/program.cpp
src/gallium/state_trackers/clover/api/transfer.cpp
src/gallium/state_trackers/clover/api/util.hpp