summaryrefslogtreecommitdiff
path: root/src/gallium/frontends/clover/spirv/invocation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/frontends/clover/spirv/invocation.hpp')
-rw-r--r--src/gallium/frontends/clover/spirv/invocation.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/frontends/clover/spirv/invocation.hpp b/src/gallium/frontends/clover/spirv/invocation.hpp
index 3153e6d11a7..f4ef93151d8 100644
--- a/src/gallium/frontends/clover/spirv/invocation.hpp
+++ b/src/gallium/frontends/clover/spirv/invocation.hpp
@@ -37,7 +37,7 @@ namespace clover {
// It uses SPIRV-Tools validator to do the validation, and potential
// warnings and errors are appended to |r_log|.
bool is_valid_spirv(const std::vector<char> &binary,
- const std::string &opencl_version,
+ const cl_version opencl_version,
std::string &r_log);
// Creates a clover module out of the given SPIR-V binary.
@@ -52,7 +52,7 @@ namespace clover {
// Returns a textual representation of the given binary.
std::string print_module(const std::vector<char> &binary,
- const std::string &opencl_version);
+ const cl_version opencl_version);
// Returns a set of supported SPIR-V extensions.
std::unordered_set<std::string> supported_extensions();