diff options
Diffstat (limited to 'src/gallium/frontends/clover/spirv/invocation.hpp')
-rw-r--r-- | src/gallium/frontends/clover/spirv/invocation.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/frontends/clover/spirv/invocation.hpp b/src/gallium/frontends/clover/spirv/invocation.hpp index 120b89d7a78..3d13bdecef9 100644 --- a/src/gallium/frontends/clover/spirv/invocation.hpp +++ b/src/gallium/frontends/clover/spirv/invocation.hpp @@ -46,6 +46,9 @@ namespace clover { const cl_version opencl_version, std::string &r_log); + // Converts an integer SPIR-V version into its textual representation. + std::string version_to_string(uint32_t version); + // Creates a clover module out of the given SPIR-V binary. module compile_program(const std::string &binary, const device &dev, std::string &r_log, |