summaryrefslogtreecommitdiff
path: root/src/gallium/frontends/rusticl/rusticl_mesa_inline_bindings_wrapper.c
blob: a5a30db9524d2f3b7bf4e8139de44d1493ea611c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "rusticl_mesa_inline_bindings_wrapper.h"
#include "git_sha1.h"

void
blob_finish(struct blob *blob)
{
    __blob_finish(blob);
}

nir_function_impl *
nir_shader_get_entrypoint(const nir_shader *shader)
{
   return __nir_shader_get_entrypoint_wraped(shader);
}

void
pipe_resource_reference(struct pipe_resource **dst, struct pipe_resource *src)
{
   __pipe_resource_reference_wraped(dst, src);
}

void
util_format_pack_rgba(enum pipe_format format, void *dst, const void *src, unsigned w)
{
    return __util_format_pack_rgba(format, dst, src, w);
}

const char*
mesa_version_string(void)
{
    return PACKAGE_VERSION MESA_GIT_SHA1;
}