/external/mesa3d/src/gallium/drivers/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 …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disk_cache.c | 89 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key)); in compute_variant_key() 90 blob_write_bytes(&blob, &v->key, sizeof(v->key)); in compute_variant_key() 118 blob_write_bytes(blob, VARIANT_CACHE_PTR(v), VARIANT_CACHE_SIZE); in store_variant() 119 blob_write_bytes(blob, v->code, 4 * v->code_size); in store_variant() 121 blob_write_bytes(blob, &v->uniforms.imm_count, sizeof(v->uniforms.imm_count)); in store_variant() 122 blob_write_bytes(blob, v->uniforms.imm_contents, imm_count * sizeof(v->uniforms.imm_contents)); in store_variant() 123 blob_write_bytes(blob, v->uniforms.imm_data, imm_count * sizeof(v->uniforms.imm_data)); in store_variant()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 111 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key)); in compute_variant_key() 112 blob_write_bytes(&blob, &v->key, sizeof(v->key)); in compute_variant_key() 144 blob_write_bytes(blob, VARIANT_CACHE_PTR(v), VARIANT_CACHE_SIZE); in store_variant() 150 blob_write_bytes(blob, v->bin, 4 * v->info.sizedwords); in store_variant() 153 blob_write_bytes(blob, v->const_state, sizeof(*v->const_state)); in store_variant() 156 blob_write_bytes(blob, v->const_state->immediates, immeds_sz); in store_variant()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 49 blob_write_bytes(blob, &state->stream_output.stride, in write_stream_out_to_cache() 51 blob_write_bytes(blob, &state->stream_output.output, in write_stream_out_to_cache() 71 blob_write_bytes(blob, tokens, num_tokens * sizeof(struct tgsi_token)); in write_tgsi_to_cache() 83 blob_write_bytes(blob, stp->serialized_nir, stp->serialized_nir_size); in write_nir_to_cache() 103 blob_write_bytes(&blob, stvp->index_to_input, in st_serialise_ir_program() 105 blob_write_bytes(&blob, stvp->input_to_index, in st_serialise_ir_program() 107 blob_write_bytes(&blob, stvp->result_to_output, in st_serialise_ir_program()
|
/external/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()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 152 blob_write_bytes(blob, shader->key->data, shader->key->size); in anv_shader_bin_write_to_blob() 155 blob_write_bytes(blob, shader->kernel.map, shader->kernel_size); in anv_shader_bin_write_to_blob() 158 blob_write_bytes(blob, shader->prog_data, shader->prog_data_size); in anv_shader_bin_write_to_blob() 159 blob_write_bytes(blob, shader->prog_data->relocs, in anv_shader_bin_write_to_blob() 164 blob_write_bytes(blob, shader->stats, in anv_shader_bin_write_to_blob() 171 blob_write_bytes(blob, shader->xfb_info, xfb_info_size); in anv_shader_bin_write_to_blob() 176 blob_write_bytes(blob, shader->bind_map.surface_sha1, in anv_shader_bin_write_to_blob() 178 blob_write_bytes(blob, shader->bind_map.sampler_sha1, in anv_shader_bin_write_to_blob() 180 blob_write_bytes(blob, shader->bind_map.push_sha1, in anv_shader_bin_write_to_blob() 184 blob_write_bytes(blob, shader->bind_map.surface_to_descriptor, in anv_shader_bin_write_to_blob() [all …]
|
/external/mesa3d/src/util/ |
D | blob_test.c | 135 blob_write_bytes(&blob, bytes_test_str, sizeof(bytes_test_str)); in test_write_and_read_functions() 142 blob_write_bytes(&blob, placeholder_str, sizeof(placeholder_str)); in test_write_and_read_functions() 222 blob_write_bytes(&blob, bytes, num_bytes); in test_alignment() 298 blob_write_bytes(&blob, buf, size); in test_big_objects()
|
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 | blob.h | 129 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write);
|
D | register_allocate.c | 433 blob_write_bytes(blob, reg->conflicts, BITSET_WORDS(regs->count) * in ra_set_serialize() 440 blob_write_bytes(blob, class->regs, BITSET_WORDS(regs->count) * in ra_set_serialize() 443 blob_write_bytes(blob, class->q, regs->class_count * sizeof(*class->q)); in ra_set_serialize()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program_binary.c | 272 blob_write_bytes(writer, &key, brw_prog_key_size(stage)); in serialize_gen_part() 314 blob_write_bytes(binary, prog_data, brw_prog_data_size(stage)); in brw_write_blob_program_data() 317 blob_write_bytes(binary, program, prog_data->program_size); in brw_write_blob_program_data() 320 blob_write_bytes(binary, prog_data->param, in brw_write_blob_program_data() 324 blob_write_bytes(binary, prog_data->pull_param, in brw_write_blob_program_data()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 588 blob_write_bytes(blob, &variant->key, variant->v3d_key_size); in shader_variant_write_to_blob() 590 blob_write_bytes(blob, variant->variant_sha1, sizeof(variant->variant_sha1)); in shader_variant_write_to_blob() 593 blob_write_bytes(blob, variant->prog_data.base, variant->prog_data_size); in shader_variant_write_to_blob() 597 blob_write_bytes(blob, ulist->contents, sizeof(enum quniform_contents) * ulist->count); in shader_variant_write_to_blob() 598 blob_write_bytes(blob, ulist->data, sizeof(uint32_t) * ulist->count); in shader_variant_write_to_blob() 602 blob_write_bytes(blob, variant->assembly_bo->map, variant->qpu_insts_size); in shader_variant_write_to_blob() 635 blob_write_bytes(&blob, &header, sizeof(header)); in v3dv_GetPipelineCacheData() 652 blob_write_bytes(&blob, snir->sha1_key, 20); in v3dv_GetPipelineCacheData() 654 blob_write_bytes(&blob, snir->data, snir->size); in v3dv_GetPipelineCacheData()
|
/external/mesa3d/src/compiler/glsl/ |
D | serialize.cpp | 256 blob_write_bytes(metadata, prog->data->AtomicBuffers[i].StageReferences, in write_atomic_buffers() 328 blob_write_bytes(metadata, shProg->TransformFeedback.BufferStride, in write_xfb() 338 blob_write_bytes(metadata, ltf->Outputs, in write_xfb() 350 blob_write_bytes(metadata, ltf->Buffers, in write_xfb() 467 blob_write_bytes(metadata, prog->data->UniformStorage[i].opaque, in write_uniforms() 485 blob_write_bytes(metadata, &prog->data->UniformDataDefaults[slot], in write_uniforms() 822 blob_write_bytes(metadata, ((char *)var) + s_var_ptrs, in write_program_resource_data() 995 blob_write_bytes(metadata, in write_program_resource_list() 1035 blob_write_bytes(metadata, param->StateIndexes, in write_shader_parameters() 1043 blob_write_bytes(metadata, params->ParameterValues, in write_shader_parameters() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_serialize.c | 177 blob_write_bytes(ctx->blob, c->values, sizeof(c->values)); in write_constant() 304 blob_write_bytes(ctx->blob, &data, sizeof(data)); in write_variable() 323 blob_write_bytes(ctx->blob, &var->state_slots[i], in write_variable() 331 blob_write_bytes(ctx->blob, (uint8_t *) var->members, in write_variable() 1326 blob_write_bytes(ctx->blob, lc->value, in write_load_const() 1484 blob_write_bytes(ctx->blob, tex->tg4_offsets, sizeof(tex->tg4_offsets)); in write_tex() 2033 blob_write_bytes(blob, (uint8_t *) &info, sizeof(info)); in nir_serialize() 2055 blob_write_bytes(blob, nir->constant_data, nir->constant_data_size); in nir_serialize()
|