/external/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 150 read_stream_out_from_cache(struct blob_reader *blob_reader, in read_stream_out_from_cache() argument 154 state->stream_output.num_outputs = blob_read_uint32(blob_reader); in read_stream_out_from_cache() 156 blob_copy_bytes(blob_reader, &state->stream_output.stride, in read_stream_out_from_cache() 158 blob_copy_bytes(blob_reader, &state->stream_output.output, in read_stream_out_from_cache() 164 read_tgsi_from_cache(struct blob_reader *blob_reader, in read_tgsi_from_cache() argument 167 unsigned num_tokens = blob_read_uint32(blob_reader); in read_tgsi_from_cache() 170 blob_copy_bytes(blob_reader, (uint8_t *) *tokens, tokens_size); in read_tgsi_from_cache() 188 struct blob_reader blob_reader; in st_deserialise_ir_program() local 189 blob_reader_init(&blob_reader, buffer, size); in st_deserialise_ir_program() 195 stvp->num_inputs = blob_read_uint32(&blob_reader); in st_deserialise_ir_program() [all …]
|
D | st_program.c | 647 struct blob_reader blob_reader; in get_nir_shader() local 651 blob_reader_init(&blob_reader, stp->serialized_nir, stp->serialized_nir_size); in get_nir_shader() 652 return nir_deserialize(NULL, options, &blob_reader); in get_nir_shader()
|
/external/mesa3d/src/util/ |
D | blob.h | 80 struct blob_reader { struct 314 blob_reader_init(struct blob_reader *blob, const void *data, size_t size); 327 blob_read_bytes(struct blob_reader *blob, size_t size); 334 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size); 340 blob_skip_bytes(struct blob_reader *blob, size_t size); 349 blob_read_uint8(struct blob_reader *blob); 361 blob_read_uint16(struct blob_reader *blob); 373 blob_read_uint32(struct blob_reader *blob); 385 blob_read_uint64(struct blob_reader *blob); 397 blob_read_intptr(struct blob_reader *blob); [all …]
|
D | blob.c | 103 align_blob_reader(struct blob_reader *blob, size_t alignment) in align_blob_reader() 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() 318 name(struct blob_reader *blob) \ 337 blob_read_string(struct blob_reader *blob) in BLOB_READ_TYPE()
|
D | blob_test.c | 126 struct blob_reader reader; in test_write_and_read_functions() 199 struct blob_reader reader; in test_alignment() 257 struct blob_reader reader; in test_overrun() 282 struct blob_reader reader; in test_big_objects()
|
D | register_allocate.h | 43 struct blob_reader; 73 struct ra_regs *ra_set_deserialize(void *mem_ctx, struct blob_reader *blob);
|
/external/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() 160 read_buffer_block(struct blob_reader *metadata, struct gl_uniform_block *b, in read_buffer_block() 189 read_buffer_blocks(struct blob_reader *metadata, in read_buffer_blocks() 266 read_atomic_buffers(struct blob_reader *metadata, in read_atomic_buffers() 356 read_xfb(struct blob_reader *metadata, struct gl_shader_program *shProg) in read_xfb() 492 read_uniforms(struct blob_reader *metadata, struct gl_shader_program *prog) in read_uniforms() 636 read_uniform_remap_table(struct blob_reader *metadata, in read_uniform_remap_table() 672 read_uniform_remap_tables(struct blob_reader *metadata, in read_uniform_remap_tables() 730 read_hash_table(struct blob_reader *metadata, struct string_to_uint_map *hash) in read_hash_table() 755 read_hash_tables(struct blob_reader *metadata, struct gl_shader_program *prog) in read_hash_tables() [all …]
|
D | shader_cache.cpp | 236 struct blob_reader metadata; in shader_cache_read_program_metadata()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program_binary.c | 74 struct blob_reader reader; in blob_parts_valid() 100 struct blob_reader reader; in blob_has_part() 160 deserialize_gen_program(struct blob_reader *reader, struct gl_context *ctx, in deserialize_gen_program() 199 struct blob_reader reader; in brw_program_deserialize_driver_blob() 329 brw_read_blob_program_data(struct blob_reader *binary, struct gl_program *prog, in brw_read_blob_program_data()
|
D | brw_program.h | 36 struct blob_reader; 136 bool brw_read_blob_program_data(struct blob_reader *binary,
|
D | brw_disk_cache.c | 77 read_blob_program_data(struct blob_reader *binary, struct gl_program *prog, in read_blob_program_data() 144 struct blob_reader binary; in read_and_upload()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_serialize.h | 37 struct blob_reader *blob);
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 121 retrieve_variant(struct blob_reader *blob, struct ir3_shader_variant *v) in retrieve_variant() 186 struct blob_reader blob; in ir3_disk_cache_retrieve()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disk_cache.c | 98 retrieve_variant(struct blob_reader *blob, struct etna_shader_variant *v) in retrieve_variant() 152 struct blob_reader blob; in etna_disk_cache_retrieve()
|
/external/mesa3d/src/mesa/main/ |
D | program_binary.c | 197 read_program_payload(struct gl_context *ctx, struct blob_reader *blob, in read_program_payload() 287 struct blob_reader blob; in _mesa_program_binary()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 155 struct blob_reader blob; in v3dv_pipeline_cache_search_for_nir() 291 struct blob_reader *blob) in serialized_nir_create_from_blob() 310 struct blob_reader *blob) in shader_variant_create_from_blob() 380 struct blob_reader blob; in pipeline_cache_load()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 198 struct blob_reader *blob) in anv_shader_bin_create_from_blob() 493 struct blob_reader blob; in anv_pipeline_cache_load() 686 struct blob_reader blob; in anv_device_search_for_kernel() 777 struct blob_reader blob; in anv_device_search_for_nir()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_compute.c | 59 struct blob_reader reader; in panfrost_create_compute_state()
|
/external/mesa3d/src/compiler/spirv/ |
D | nir_load_libclc.c | 264 struct blob_reader blob; in nir_load_libclc_shader()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 185 struct blob_reader blob; in iris_disk_cache_retrieve()
|
/external/mesa3d/src/compiler/nir/tests/ |
D | serialize_tests.cpp | 76 struct blob_reader reader; in serialize()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_serialize.cpp | 158 struct blob_reader reader; in nv50_ir_prog_info_out_deserialize()
|
/external/mesa3d/src/compiler/ |
D | glsl_types.h | 65 const struct glsl_type *decode_type_from_blob(struct blob_reader *blob);
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 2523 struct blob_reader blob_reader; in load_nir_from_disk_cache() local 2540 blob_reader_init(&blob_reader, buffer + 1, size); in load_nir_from_disk_cache() 2541 s = nir_deserialize(NULL, options, &blob_reader); in load_nir_from_disk_cache()
|