Home
last modified time | relevance | path

Searched refs:blob_read_bytes (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/mesa3d/src/intel/vulkan_hasvk/
H A Danv_pipeline_cache.c230 const void *kernel_data = blob_read_bytes(blob, kernel_size); in anv_shader_bin_deserialize()
233 const void *prog_data_bytes = blob_read_bytes(blob, prog_data_size); in anv_shader_bin_deserialize()
241 blob_read_bytes(blob, prog_data.base.num_relocs * in anv_shader_bin_deserialize()
246 blob_read_bytes(blob, num_stats * sizeof(stats[0])); in anv_shader_bin_deserialize()
251 xfb_info = blob_read_bytes(blob, xfb_size); in anv_shader_bin_deserialize()
260 blob_read_bytes(blob, bind_map.surface_count * in anv_shader_bin_deserialize()
263 blob_read_bytes(blob, bind_map.sampler_count * in anv_shader_bin_deserialize()
/aosp_15_r20/external/mesa3d/src/util/tests/
H A Dblob_test.cpp99 (const char *)blob_read_bytes(&reader, sizeof(bytes_test_str))) << in TEST()
108 (const char *) blob_read_bytes(&reader, sizeof(overwrite_test_str))) in TEST()
170 EXPECT_U8_ARRAY_EQUAL(bytes, (const uint8_t *) blob_read_bytes(&reader, num_bytes), in TEST()
228 (const uint8_t *) blob_read_bytes(&reader, size), size) in TEST()
/aosp_15_r20/external/mesa3d/src/intel/vulkan/
H A Danv_pipeline_cache.c543 const void *kernel_data = blob_read_bytes(blob, kernel_size); in anv_shader_bin_deserialize()
546 const void *prog_data_bytes = blob_read_bytes(blob, prog_data_size); in anv_shader_bin_deserialize()
554 blob_read_bytes(blob, prog_data.base.num_relocs * in anv_shader_bin_deserialize()
564 blob_read_bytes(blob, num_stats * sizeof(stats[0])); in anv_shader_bin_deserialize()
569 xfb_info = blob_read_bytes(blob, xfb_size); in anv_shader_bin_deserialize()
591 blob_read_bytes(blob, bind_map.surface_count * in anv_shader_bin_deserialize()
594 blob_read_bytes(blob, bind_map.sampler_count * in anv_shader_bin_deserialize()
597 blob_read_bytes(blob, bind_map.embedded_sampler_count * in anv_shader_bin_deserialize()
600 blob_read_bytes(blob, bind_map.kernel_arg_count * in anv_shader_bin_deserialize()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_disk_cache.c132 const void *prog_data = blob_read_bytes(&blob, prog_data_size); in v3d_disk_cache_retrieve()
138 const void *ulist_contents = blob_read_bytes(&blob, ulist_contents_size); in v3d_disk_cache_retrieve()
143 const void *ulist_data = blob_read_bytes(&blob, ulist_data_size); in v3d_disk_cache_retrieve()
149 blob_read_bytes(&blob, qpu_size); in v3d_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c508 const unsigned char *sha1_key = blob_read_bytes(blob, 20); in serialized_nir_create_from_blob()
510 const char* snir_data = blob_read_bytes(blob, snir_size); in serialized_nir_create_from_blob()
535 const void *prog_data = blob_read_bytes(blob, prog_data_size); in shader_variant_create_from_blob()
541 const void *contents_data = blob_read_bytes(blob, contents_size); in shader_variant_create_from_blob()
546 const void *ulist_data_data = blob_read_bytes(blob, ulist_data_size); in shader_variant_create_from_blob()
578 const unsigned char *sha1_key = blob_read_bytes(blob, 20); in v3dv_pipeline_shared_data_create_from_blob()
588 blob_read_bytes(blob, sizeof(struct v3dv_descriptor_maps)); in v3dv_pipeline_shared_data_create_from_blob()
619 blob_read_bytes(blob, total_assembly_size); in v3dv_pipeline_shared_data_create_from_blob()
/aosp_15_r20/external/mesa3d/src/util/
H A Ddisk_cache_os.c553 const void *keys_blob = blob_read_bytes(&ci_blob_reader, header_size); in parse_and_validate_cache_item()
579 blob_read_bytes(&ci_blob_reader, num_keys * sizeof(cache_key)); in parse_and_validate_cache_item()
587 blob_read_bytes(&ci_blob_reader, sizeof(struct cache_entry_file_data)); in parse_and_validate_cache_item()
592 const uint8_t *data = (uint8_t *) blob_read_bytes(&ci_blob_reader, cache_data_size); in parse_and_validate_cache_item()
H A Dblob.c278 blob_read_bytes(struct blob_reader *blob, size_t size) in blob_read_bytes() function
297 bytes = blob_read_bytes(blob, size); in blob_copy_bytes()
H A Dblob.h351 blob_read_bytes(struct blob_reader *blob, size_t size);
/aosp_15_r20/external/mesa3d/src/vulkan/runtime/
H A Dvk_pipeline_cache.c69 const void *data = blob_read_bytes(blob, data_size); in vk_raw_data_cache_object_deserialize()
578 const void *key_data = blob_read_bytes(&blob, key_size); in vk_pipeline_cache_load()
580 const void *data = blob_read_bytes(&blob, data_size); in vk_pipeline_cache_load()
H A Dvk_pipeline.c761 const void *nir_data = blob_read_bytes(blob, nir_size); in vk_pipeline_precomp_shader_deserialize()
/aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/core/
H A Dprogram.rs329 blob_read_bytes(&mut blob, BIN_RUSTICL_MAGIC_STRING.len()).cast(), in spirv_from_bin_for_dev()
349 let name = blob_read_bytes(&mut blob, name_length); in spirv_from_bin_for_dev()
350 let spirv_data = blob_read_bytes(&mut blob, spirv_size); in spirv_from_bin_for_dev()
/aosp_15_r20/external/mesa3d/src/amd/vulkan/
H A Dradv_shader_object.c303 const char *binary_sha1 = blob_read_bytes(blob, SHA1_DIGEST_LENGTH); in radv_shader_object_init_binary()
305 const struct radv_shader_binary *binary = blob_read_bytes(blob, binary_size); in radv_shader_object_init_binary()
341 const uint8_t *cache_uuid = blob_read_bytes(&blob, VK_UUID_SIZE); in radv_shader_object_init()
H A Dradv_pipeline_cache.c67 …const struct radv_shader_binary *binary = blob_read_bytes(blob, sizeof(struct radv_shader_binary)); in radv_shader_deserialize()
251 const uint8_t *hash = blob_read_bytes(blob, sizeof(blake3_hash)); in radv_pipeline_cache_object_deserialize()
H A Dradv_pipeline_rt.c295 (const struct radv_ray_tracing_binary_header *)blob_read_bytes(&blob, sizeof(*header)); in radv_init_rt_stage_hashes()
1027 (const struct radv_ray_tracing_binary_header *)blob_read_bytes(&blob, sizeof(*header)); in radv_ray_tracing_pipeline_import_binary()
/aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/mesa/compiler/clc/
H A Dspirv.rs476 let name = slice::from_raw_parts(blob_read_bytes(blob, name_len).cast(), name_len); in deserialize()
477 let type_name = slice::from_raw_parts(blob_read_bytes(blob, type_len).cast(), type_len); in deserialize()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_disk_cache.c174 assembly = blob_read_bytes(&blob, prog_data->program_size); in crocus_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/iris/
H A Diris_disk_cache.c224 assembly = blob_read_bytes(&blob, brw ? brw->program_size : elk->program_size); in iris_disk_cache_retrieve()
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dserialize.cpp541 blob_read_bytes(metadata, sizeof(uniforms[i].opaque)), in read_uniforms()
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_serialize.c1650 memcpy(di->string, blob_read_bytes(ctx->blob, di->string_length), di->string_length); in read_debug_info()
/aosp_15_r20/external/mesa3d/src/microsoft/vulkan/
H A Ddzn_pipeline.c135 blob_read_bytes(blob, data_size), data_size); in dzn_cached_blob_deserialize()