Home
last modified time | relevance | path

Searched refs:blob_reader (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c136 read_stream_out_from_cache(struct blob_reader *blob_reader, in read_stream_out_from_cache() argument
139 blob_copy_bytes(blob_reader, (uint8_t *) &tgsi->stream_output, in read_stream_out_from_cache()
144 read_tgsi_from_cache(struct blob_reader *blob_reader, in read_tgsi_from_cache() argument
148 *num_tokens = blob_read_uint32(blob_reader); in read_tgsi_from_cache()
151 blob_copy_bytes(blob_reader, (uint8_t *) *tokens, tokens_size); in read_tgsi_from_cache()
163 struct blob_reader blob_reader; in st_deserialise_tgsi_program() local
164 blob_reader_init(&blob_reader, buffer, size); in st_deserialise_tgsi_program()
172 stvp->num_inputs = blob_read_uint32(&blob_reader); in st_deserialise_tgsi_program()
173 blob_copy_bytes(&blob_reader, (uint8_t *) stvp->index_to_input, in st_deserialise_tgsi_program()
175 blob_copy_bytes(&blob_reader, (uint8_t *) stvp->result_to_output, in st_deserialise_tgsi_program()
[all …]
/external/mesa3d/src/compiler/
Dblob.h80 struct blob_reader { struct
275 blob_reader_init(struct blob_reader *blob, const void *data, size_t size);
288 blob_read_bytes(struct blob_reader *blob, size_t size);
295 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size);
307 blob_read_uint32(struct blob_reader *blob);
319 blob_read_uint64(struct blob_reader *blob);
331 blob_read_intptr(struct blob_reader *blob);
346 blob_read_string(struct blob_reader *blob);
Dblob.c103 align_blob_reader(struct blob_reader *blob, size_t alignment) in align_blob_reader()
241 blob_reader_init(struct blob_reader *blob, const void *data, size_t size) in blob_reader_init()
254 ensure_can_read(struct blob_reader *blob, size_t size) in ensure_can_read()
268 blob_read_bytes(struct blob_reader *blob, size_t size) in blob_read_bytes()
283 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size) in blob_copy_bytes()
299 blob_read_uint32(struct blob_reader *blob) in blob_read_uint32()
317 blob_read_uint64(struct blob_reader *blob) in blob_read_uint64()
335 blob_read_intptr(struct blob_reader *blob) in blob_read_intptr()
353 blob_read_string(struct blob_reader *blob) in blob_read_string()
Dglsl_types.h51 const struct glsl_type *decode_type_from_blob(struct blob_reader *blob);
Dglsl_types.cpp2248 decode_type_from_blob(struct blob_reader *blob) in decode_type_from_blob()
/external/mesa3d/src/compiler/glsl/
Dserialize.h30 struct blob_reader;
43 deserialize_glsl_program(struct blob_reader *blob, struct gl_context *ctx,
Dserialize.cpp71 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()
348 read_xfb(struct blob_reader *metadata, struct gl_shader_program *shProg) in read_xfb()
461 read_uniforms(struct blob_reader *metadata, struct gl_shader_program *prog) in read_uniforms()
587 read_uniform_remap_table_entry(struct blob_reader *metadata, in read_uniform_remap_table_entry()
603 read_uniform_remap_tables(struct blob_reader *metadata, in read_uniform_remap_tables()
680 read_hash_table(struct blob_reader *metadata, struct string_to_uint_map *hash) in read_hash_table()
705 read_hash_tables(struct blob_reader *metadata, struct gl_shader_program *prog) in read_hash_tables()
[all …]
Dshader_cache.cpp228 struct blob_reader metadata; in shader_cache_read_program_metadata()
/external/mesa3d/src/compiler/glsl/tests/
Dblob_test.c122 struct blob_reader reader; in test_write_and_read_functions()
195 struct blob_reader reader; in test_alignment()
253 struct blob_reader reader; in test_overrun()
278 struct blob_reader reader; in test_big_objects()
/external/mesa3d/src/compiler/nir/
Dnir_serialize.h37 struct blob_reader *blob);
Dnir_serialize.c54 struct blob_reader *blob;
1155 struct blob_reader *blob) in nir_deserialize()
1214 struct blob_reader reader; in nir_shader_serialize_deserialize()
/external/mesa3d/src/mesa/main/
Dprogram_binary.c194 read_program_payload(struct gl_context *ctx, struct blob_reader *blob, in read_program_payload()
282 struct blob_reader blob; in _mesa_program_binary()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disk_cache.c84 read_blob_program_data(struct blob_reader *binary, struct gl_program *prog, in read_blob_program_data()
172 struct blob_reader binary; in read_and_upload()
Dbrw_program.c850 struct blob_reader reader; in brw_program_deserialize_nir()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c128 struct blob_reader *blob) in anv_shader_bin_create_from_blob()
341 struct blob_reader blob; in anv_pipeline_cache_load()