/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_container.c | 53 if (!blob_write_bytes(&c->parts, &fourcc, sizeof(fourcc)) || in add_part_header() 54 !blob_write_bytes(&c->parts, &part_size, sizeof(part_size))) in add_part_header() 68 blob_write_bytes(&c->parts, part_data, part_size); in add_part() 173 !blob_write_bytes(&c->parts, &header, sizeof(header))) { in dxil_container_add_io_signature() 181 if (!blob_write_bytes(&c->parts, &io_data[i].elements[j], in dxil_container_add_io_signature() 190 if (!blob_write_bytes(&c->parts, names->buf, names->length)) in dxil_container_add_io_signature() 267 if (!blob_write_bytes(&c->parts, &psv_size, sizeof(psv_size))) in dxil_container_add_state_validation() 270 if (!blob_write_bytes(&c->parts, &state->state, psv_size)) in dxil_container_add_state_validation() 273 if (!blob_write_bytes(&c->parts, &resource_count, sizeof(resource_count))) in dxil_container_add_state_validation() 277 if (!blob_write_bytes(&c->parts, &resource_bind_info_size, sizeof(resource_bind_info_size)) || in dxil_container_add_state_validation() [all …]
|
D | dxil_buffer.c | 49 if (!blob_write_bytes(&b->blob, &lower_bits, sizeof(lower_bits))) in flush_dword()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_serialize.cpp | 38 blob_write_bytes(blob, tokens, num_tokens * sizeof(struct tgsi_token)); in nv50_ir_prog_info_serialize() 53 blob_write_bytes(blob, &info->prop.cp, sizeof(info->prop.cp)); in nv50_ir_prog_info_serialize() 55 blob_write_bytes(blob, &info->io, sizeof(info->io)); in nv50_ir_prog_info_serialize() 72 blob_write_bytes(blob, info_out->bin.code, info_out->bin.codeSize); in nv50_ir_prog_info_out_serialize() 83 blob_write_bytes(blob, reloc->entry, sizeof(*reloc->entry) * reloc->count); in nv50_ir_prog_info_out_serialize() 127 blob_write_bytes(blob, info_out->sv, info_out->numSysVals * sizeof(info_out->sv[0])); in nv50_ir_prog_info_out_serialize() 128 blob_write_bytes(blob, info_out->in, info_out->numInputs * sizeof(info_out->in[0])); in nv50_ir_prog_info_out_serialize() 129 blob_write_bytes(blob, info_out->out, info_out->numOutputs * sizeof(info_out->out[0])); in nv50_ir_prog_info_out_serialize() 133 blob_write_bytes(blob, &info_out->prop.vp, sizeof(info_out->prop.vp)); in nv50_ir_prog_info_out_serialize() 137 blob_write_bytes(blob, &info_out->prop.tp, sizeof(info_out->prop.tp)); in nv50_ir_prog_info_out_serialize() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disk_cache.c | 86 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key)); in compute_variant_key() 87 blob_write_bytes(&blob, &v->key, sizeof(v->key)); in compute_variant_key() 115 blob_write_bytes(blob, VARIANT_CACHE_PTR(v), VARIANT_CACHE_SIZE); in store_variant() 116 blob_write_bytes(blob, v->code, 4 * v->code_size); in store_variant() 118 blob_write_bytes(blob, &v->uniforms.count, sizeof(v->uniforms.count)); in store_variant() 119 blob_write_bytes(blob, v->uniforms.contents, imm_count * sizeof(v->uniforms.contents)); in store_variant() 120 blob_write_bytes(blob, v->uniforms.data, imm_count * sizeof(v->uniforms.data)); in store_variant()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 193 blob_write_bytes(blob, shader->kernel.map, shader->kernel_size); in anv_shader_bin_serialize() 196 blob_write_bytes(blob, shader->prog_data, shader->prog_data_size); in anv_shader_bin_serialize() 197 blob_write_bytes(blob, shader->prog_data->relocs, in anv_shader_bin_serialize() 202 blob_write_bytes(blob, shader->stats, in anv_shader_bin_serialize() 209 blob_write_bytes(blob, shader->xfb_info, xfb_info_size); in anv_shader_bin_serialize() 214 blob_write_bytes(blob, shader->bind_map.surface_sha1, in anv_shader_bin_serialize() 216 blob_write_bytes(blob, shader->bind_map.sampler_sha1, in anv_shader_bin_serialize() 218 blob_write_bytes(blob, shader->bind_map.push_sha1, in anv_shader_bin_serialize() 222 blob_write_bytes(blob, shader->bind_map.surface_to_descriptor, in anv_shader_bin_serialize() 225 blob_write_bytes(blob, shader->bind_map.sampler_to_descriptor, in anv_shader_bin_serialize() [all …]
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 114 blob_write_bytes(&blob, &shader->cache_key, sizeof(shader->cache_key)); in compute_variant_key() 115 blob_write_bytes(&blob, &v->key, sizeof(v->key)); in compute_variant_key() 148 blob_write_bytes(blob, VARIANT_CACHE_PTR(v), VARIANT_CACHE_SIZE); in store_variant() 154 blob_write_bytes(blob, v->bin, v->info.size); in store_variant() 159 blob_write_bytes(blob, v->const_state, sizeof(*v->const_state)); in store_variant() 162 blob_write_bytes(blob, v->const_state->immediates, immeds_sz); in store_variant() 204 blob_write_bytes(blob, &v->key, sizeof(v->key)); in ir3_store_variant()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 113 blob_write_bytes(&blob, shader->prog_data, brw_prog_data_size(stage)); in crocus_disk_cache_store() 114 blob_write_bytes(&blob, map + shader->offset, shader->prog_data->program_size); in crocus_disk_cache_store() 115 blob_write_bytes(&blob, &shader->num_system_values, sizeof(unsigned)); in crocus_disk_cache_store() 116 blob_write_bytes(&blob, shader->system_values, in crocus_disk_cache_store() 118 blob_write_bytes(&blob, prog_data->param, in crocus_disk_cache_store() 120 blob_write_bytes(&blob, &shader->bt, sizeof(shader->bt)); in crocus_disk_cache_store()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 114 blob_write_bytes(&blob, shader->prog_data, brw_prog_data_size(stage)); in iris_disk_cache_store() 115 blob_write_bytes(&blob, shader->map, shader->prog_data->program_size); in iris_disk_cache_store() 117 blob_write_bytes(&blob, shader->system_values, in iris_disk_cache_store() 120 blob_write_bytes(&blob, prog_data->relocs, in iris_disk_cache_store() 122 blob_write_bytes(&blob, prog_data->param, in iris_disk_cache_store() 124 blob_write_bytes(&blob, &shader->bt, sizeof(shader->bt)); in iris_disk_cache_store()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_disk_cache.c | 56 blob_write_bytes(&blob, &shader->state, sizeof(shader->state)); in lima_vs_disk_cache_store() 57 blob_write_bytes(&blob, shader->shader, shader->state.shader_size); in lima_vs_disk_cache_store() 58 blob_write_bytes(&blob, shader->constant, shader->state.constant_size); in lima_vs_disk_cache_store() 84 blob_write_bytes(&blob, &shader->state, sizeof(shader->state)); in lima_fs_disk_cache_store() 85 blob_write_bytes(&blob, shader->shader, shader->state.shader_size); in lima_fs_disk_cache_store()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_disk_cache.c | 97 blob_write_bytes(&blob, ckey, ckey_size); in v3d_disk_cache_compute_key() 217 blob_write_bytes(&blob, shader->prog_data.base, v3d_prog_data_size(nir->info.stage)); in v3d_disk_cache_store() 220 blob_write_bytes(&blob, in v3d_disk_cache_store() 223 blob_write_bytes(&blob, in v3d_disk_cache_store() 228 blob_write_bytes(&blob, qpu_insts, qpu_size); in v3d_disk_cache_store()
|
/third_party/mesa3d/src/util/tests/ |
D | blob_test.cpp | 68 blob_write_bytes(&blob, bytes_test_str, sizeof(bytes_test_str)); in TEST() 75 blob_write_bytes(&blob, placeholder_str, sizeof(placeholder_str)); in TEST() 150 blob_write_bytes(&blob, bytes, num_bytes); in TEST() 220 blob_write_bytes(&blob, buf, size); in TEST()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | serialize.cpp | 258 blob_write_bytes(metadata, prog->data->AtomicBuffers[i].StageReferences, in write_atomic_buffers() 330 blob_write_bytes(metadata, shProg->TransformFeedback.BufferStride, in write_xfb() 340 blob_write_bytes(metadata, ltf->Outputs, in write_xfb() 352 blob_write_bytes(metadata, ltf->Buffers, in write_xfb() 470 blob_write_bytes(metadata, prog->data->UniformStorage[i].opaque, in write_uniforms() 488 blob_write_bytes(metadata, &prog->data->UniformDataDefaults[slot], in write_uniforms() 826 blob_write_bytes(metadata, ((char *)var) + s_var_ptrs, in write_program_resource_data() 1000 blob_write_bytes(metadata, in write_program_resource_list() 1040 blob_write_bytes(metadata, param->StateIndexes, in write_shader_parameters() 1048 blob_write_bytes(metadata, params->ParameterValues, in write_shader_parameters() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 48 blob_write_bytes(blob, &state->stream_output.stride, in write_stream_out_to_cache() 50 blob_write_bytes(blob, &state->stream_output.output, in write_stream_out_to_cache() 69 blob_write_bytes(blob, prog->serialized_nir, prog->serialized_nir_size); in write_nir_to_cache() 88 blob_write_bytes(&blob, vp->result_to_output, in st_serialise_nir_program()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 867 blob_write_bytes(blob, variant->prog_data.base, variant->prog_data_size); in shader_variant_write_to_blob() 871 blob_write_bytes(blob, ulist->contents, sizeof(enum quniform_contents) * ulist->count); in shader_variant_write_to_blob() 872 blob_write_bytes(blob, ulist->data, sizeof(uint32_t) * ulist->count); in shader_variant_write_to_blob() 884 blob_write_bytes(blob, cache_entry->sha1_key, 20); in v3dv_pipeline_shared_data_write_to_blob() 910 blob_write_bytes(blob, cache_entry->maps[stage], in v3dv_pipeline_shared_data_write_to_blob() 943 blob_write_bytes(blob, cache_entry->assembly_bo->map, total_assembly_size); in v3dv_pipeline_shared_data_write_to_blob() 977 blob_write_bytes(&blob, &header, sizeof(header)); in v3dv_GetPipelineCacheData() 992 blob_write_bytes(&blob, snir->sha1_key, 20); in v3dv_GetPipelineCacheData() 994 blob_write_bytes(&blob, snir->data, snir->size); in v3dv_GetPipelineCacheData()
|
/third_party/mesa3d/src/util/ |
D | blob.c | 158 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write) in blob_write_bytes() function 205 return blob_write_bytes(blob, &value, sizeof(value)); \ 247 return blob_write_bytes(blob, str, strlen(str) + 1); in blob_write_string()
|
D | disk_cache_os.c | 655 if (!blob_write_bytes(cache_blob, dc_job->cache->driver_keys_blob, in create_cache_item_header_and_blob() 672 if (!blob_write_bytes(cache_blob, dc_job->cache_item_metadata.keys[0], in create_cache_item_header_and_blob() 684 if (!blob_write_bytes(cache_blob, &cf_data, sizeof(cf_data))) in create_cache_item_header_and_blob() 688 if (!blob_write_bytes(cache_blob, compressed_data, compressed_size)) in create_cache_item_header_and_blob()
|
D | blob.h | 142 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write);
|
D | register_allocate.c | 408 blob_write_bytes(blob, reg->conflicts, BITSET_WORDS(regs->count) * in ra_set_serialize() 416 blob_write_bytes(blob, class->regs, BITSET_WORDS(regs->count) * in ra_set_serialize() 420 blob_write_bytes(blob, class->q, regs->class_count * sizeof(*class->q)); in ra_set_serialize()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_pipeline_cache.c | 59 blob_write_bytes(blob, data_obj->data, data_obj->data_size); in raw_data_object_serialize() 238 blob_write_bytes(blob, NULL, *data_size); in vk_pipeline_cache_object_serialize() 689 blob_write_bytes(&blob, &cache->header, sizeof(cache->header)); in vk_common_GetPipelineCacheData() 715 blob_write_bytes(&blob, object->key_data, object->key_size); in vk_common_GetPipelineCacheData()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_pipeline_cache.c | 132 blob_write_bytes(&blob, &header, sizeof(header)); in pvr_GetPipelineCacheData()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_serialize.c | 179 blob_write_bytes(ctx->blob, c->values, sizeof(c->values)); in write_constant() 308 blob_write_bytes(ctx->blob, &data, sizeof(data)); in write_variable() 327 blob_write_bytes(ctx->blob, &var->state_slots[i], in write_variable() 335 blob_write_bytes(ctx->blob, (uint8_t *) var->members, in write_variable() 1365 blob_write_bytes(ctx->blob, lc->value, in write_load_const() 1528 blob_write_bytes(ctx->blob, tex->tg4_offsets, sizeof(tex->tg4_offsets)); in write_tex() 2075 blob_write_bytes(ctx->blob, xfb, size); in write_xfb_info() 2123 blob_write_bytes(blob, (uint8_t *) &info, sizeof(info)); in nir_serialize() 2144 blob_write_bytes(blob, nir->constant_data, nir->constant_data_size); in nir_serialize()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_pipeline.c | 91 blob_write_bytes(blob, cached_blob->data, cached_blob->size); in dzn_cached_blob_serialize()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 2721 blob_write_bytes(blob, shaders->push_consts, sizeof(shaders->push_consts)); in tu_shaders_serialize()
|