/third_party/mesa3d/src/util/ |
D | blob.h | 83 struct blob_reader { struct 327 blob_reader_init(struct blob_reader *blob, const void *data, size_t size); 338 blob_reader_align(struct blob_reader *blob, size_t alignment); 351 blob_read_bytes(struct blob_reader *blob, size_t size); 358 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size); 364 blob_skip_bytes(struct blob_reader *blob, size_t size); 373 blob_read_uint8(struct blob_reader *blob); 385 blob_read_uint16(struct blob_reader *blob); 397 blob_read_uint32(struct blob_reader *blob); 409 blob_read_uint64(struct blob_reader *blob); [all …]
|
D | blob.c | 103 blob_reader_align(struct blob_reader *blob, size_t alignment) in blob_reader_align() 251 blob_reader_init(struct blob_reader *blob, const void *data, size_t size) in blob_reader_init() 264 ensure_can_read(struct blob_reader *blob, size_t size) in ensure_can_read() 278 blob_read_bytes(struct blob_reader *blob, size_t size) in blob_read_bytes() 293 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size) in blob_copy_bytes() 305 blob_skip_bytes(struct blob_reader *blob, size_t size) in blob_skip_bytes() 313 name(struct blob_reader *blob) \ 329 blob_read_string(struct blob_reader *blob) in BLOB_READ_TYPE()
|
D | register_allocate.h | 43 struct blob_reader; 76 struct ra_regs *ra_set_deserialize(void *mem_ctx, struct blob_reader *blob);
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 127 read_stream_out_from_cache(struct blob_reader *blob_reader, in read_stream_out_from_cache() argument 131 state->stream_output.num_outputs = blob_read_uint32(blob_reader); in read_stream_out_from_cache() 133 blob_copy_bytes(blob_reader, &state->stream_output.stride, in read_stream_out_from_cache() 135 blob_copy_bytes(blob_reader, &state->stream_output.output, in read_stream_out_from_cache() 159 struct blob_reader blob_reader; in st_deserialise_nir_program() local 160 blob_reader_init(&blob_reader, buffer, size); in st_deserialise_nir_program() 166 vp->num_inputs = blob_read_uint32(&blob_reader); in st_deserialise_nir_program() 167 vp->vert_attrib_mask = blob_read_uint32(&blob_reader); in st_deserialise_nir_program() 168 blob_copy_bytes(&blob_reader, (uint8_t *) vp->result_to_output, in st_deserialise_nir_program() 175 read_stream_out_from_cache(&blob_reader, &prog->state); in st_deserialise_nir_program() [all …]
|
D | st_program.c | 626 struct blob_reader blob_reader; in get_nir_shader() local 630 blob_reader_init(&blob_reader, prog->serialized_nir, prog->serialized_nir_size); in get_nir_shader() 631 return nir_deserialize(NULL, options, &blob_reader); in get_nir_shader()
|
/third_party/mesa3d/src/util/tests/ |
D | blob_test.cpp | 59 struct blob_reader reader; in TEST() 128 struct blob_reader reader; in TEST() 182 struct blob_reader reader; in TEST() 205 struct blob_reader reader; in TEST()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | serialize.h | 30 struct blob_reader; 43 deserialize_glsl_program(struct blob_reader *blob, struct gl_context *ctx,
|
D | serialize.cpp | 71 read_subroutines(struct blob_reader *metadata, struct gl_shader_program *prog) in read_subroutines() 161 read_buffer_block(struct blob_reader *metadata, struct gl_uniform_block *b, in read_buffer_block() 191 read_buffer_blocks(struct blob_reader *metadata, in read_buffer_blocks() 268 read_atomic_buffers(struct blob_reader *metadata, in read_atomic_buffers() 358 read_xfb(struct blob_reader *metadata, struct gl_shader_program *shProg) in read_xfb() 495 read_uniforms(struct blob_reader *metadata, struct gl_shader_program *prog) in read_uniforms() 640 read_uniform_remap_table(struct blob_reader *metadata, in read_uniform_remap_table() 676 read_uniform_remap_tables(struct blob_reader *metadata, in read_uniform_remap_tables() 734 read_hash_table(struct blob_reader *metadata, struct string_to_uint_map *hash) in read_hash_table() 759 read_hash_tables(struct blob_reader *metadata, struct gl_shader_program *prog) in read_hash_tables() [all …]
|
D | shader_cache.cpp | 238 struct blob_reader metadata; in shader_cache_read_program_metadata()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_pipeline_cache.h | 37 struct blob_reader; 83 struct blob_reader *blob);
|
D | vk_pipeline_cache.c | 68 struct blob_reader *blob) in raw_data_object_deserialize() 283 struct blob_reader reader; in vk_pipeline_cache_object_deserialize() 460 struct blob_reader blob; in vk_pipeline_cache_lookup_nir() 535 struct blob_reader blob; in vk_pipeline_cache_load()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 125 retrieve_variant(struct blob_reader *blob, struct ir3_shader_variant *v) in retrieve_variant() 167 ir3_retrieve_variant(struct blob_reader *blob, struct ir3_compiler *compiler, in ir3_retrieve_variant() 241 struct blob_reader blob; in ir3_disk_cache_retrieve()
|
D | ir3_compiler.h | 231 struct ir3_shader_variant *ir3_retrieve_variant(struct blob_reader *blob,
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 170 struct blob_reader blob; in v3dv_pipeline_cache_search_for_nir() 234 struct blob_reader *blob); 323 struct blob_reader blob; in v3dv_pipeline_cache_search_for_pipeline() 506 struct blob_reader *blob) in serialized_nir_create_from_blob() 525 struct blob_reader *blob) in shader_variant_create_from_blob() 576 struct blob_reader *blob) in v3dv_pipeline_shared_data_create_from_blob() 655 struct blob_reader blob; in pipeline_cache_load()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disk_cache.c | 95 retrieve_variant(struct blob_reader *blob, struct etna_shader_variant *v) in retrieve_variant() 149 struct blob_reader blob; in etna_disk_cache_retrieve()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_disk_cache.c | 122 struct blob_reader blob; in lima_vs_disk_cache_retrieve() 174 struct blob_reader blob; in lima_fs_disk_cache_retrieve()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_serialize.h | 37 struct blob_reader *blob);
|
/third_party/mesa3d/src/mesa/main/ |
D | program_binary.c | 199 read_program_payload(struct gl_context *ctx, struct blob_reader *blob, in read_program_payload() 289 struct blob_reader blob; in _mesa_program_binary()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_pipeline_cache.c | 43 struct blob_reader blob; in pvr_pipeline_cache_load()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_compute.c | 60 struct blob_reader reader; in panfrost_create_compute_state()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 41 struct blob_reader *blob); 237 struct blob_reader *blob) in anv_shader_bin_deserialize()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 171 struct blob_reader blob; in crocus_disk_cache_retrieve()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_disk_cache.c | 139 struct blob_reader blob; in v3d_disk_cache_retrieve()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 186 struct blob_reader blob; in iris_disk_cache_retrieve()
|
/third_party/mesa3d/src/compiler/clc/ |
D | clc.c | 200 struct blob_reader tmp; in clc_libclc_deserialize()
|