• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define blob_finish __blob_finish
2 #define disk_cache_get_function_identifier __disk_cache_get_function_identifier
3 #define mesa_bytes_to_hex __mesa_bytes_to_hex
4 #define nir_shader_get_entrypoint __nir_shader_get_entrypoint_wraped
5 #define pipe_resource_reference __pipe_resource_reference_wraped
6 #define should_print_nir __should_print_nir
7 #define should_skip_nir __should_skip_nir
8 #define util_format_pack_rgba __util_format_pack_rgba
9 #define glsl_type_is_sampler __glsl_type_is_sampler
10 #define glsl_type_is_image __glsl_type_is_image
11 #define glsl_type_is_texture __glsl_type_is_texture
12 #define glsl_uint_type __glsl_uint_type
13 #define glsl_uint8_t_type __glsl_uint8_t_type
14 #define glsl_uint64_t_type __glsl_uint64_t_type
15 #define glsl_int16_t_type __glsl_int16_t_type
16 #define glsl_vector_type __glsl_vector_type
17 #include "nir.h"
18 #include "util/blob.h"
19 #include "util/disk_cache.h"
20 #include "util/hex.h"
21 #include "util/u_inlines.h"
22 #include "util/format/u_format.h"
23 #include "compiler/glsl_types.h"
24 #undef blob_finish
25 #undef mesa_bytes_to_hex
26 #undef disk_cache_get_function_identifier
27 #undef nir_shader_get_entrypoint
28 #undef pipe_resource_reference
29 #undef should_print_nir
30 #undef should_skip_nir
31 #undef util_format_pack_rgba
32 #undef glsl_type_is_sampler
33 #undef glsl_type_is_image
34 #undef glsl_type_is_texture
35 #undef glsl_uint_type
36 #undef glsl_uint8_t_type
37 #undef glsl_uint64_t_type
38 #undef glsl_int16_t_type
39 #undef glsl_vector_type
40 
41 void blob_finish(struct blob *);
42 char *mesa_bytes_to_hex(char *buf, const uint8_t *hex_id, unsigned size);
43 bool disk_cache_get_function_identifier(void *ptr, struct mesa_sha1 *ctx);
44 const char* mesa_version_string(void);
45 nir_function_impl *nir_shader_get_entrypoint(const nir_shader *shader);
46 void pipe_resource_reference(struct pipe_resource **dst, struct pipe_resource *src);
47 bool should_skip_nir(const char *);
48 bool should_print_nir(nir_shader *);
49 void util_format_pack_rgba(enum pipe_format format, void *dst, const void *src, unsigned w);
50 bool glsl_type_is_sampler(const struct glsl_type *t);
51 bool glsl_type_is_image(const struct glsl_type *t);
52 bool glsl_type_is_texture(const struct glsl_type *t);
53 const struct glsl_type *glsl_uint_type(void);
54 const struct glsl_type *glsl_uint8_t_type(void);
55 const struct glsl_type *glsl_uint64_t_type(void);
56 const struct glsl_type *glsl_int16_t_type(void);
57 const struct glsl_type *glsl_vector_type(enum glsl_base_type base_type, unsigned components);
58