Home
last modified time | relevance | path

Searched refs:blob_copy_bytes (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_serialize.cpp174 blob_copy_bytes(&reader, info_out->bin.code, info_out->bin.codeSize); in nv50_ir_prog_info_out_deserialize()
189 blob_copy_bytes(&reader, reloc->entry, sizeof(*reloc->entry) * reloc->count); in nv50_ir_prog_info_out_deserialize()
247 blob_copy_bytes(&reader, info_out->sv, info_out->numSysVals * sizeof(info_out->sv[0])); in nv50_ir_prog_info_out_deserialize()
248 blob_copy_bytes(&reader, info_out->in, info_out->numInputs * sizeof(info_out->in[0])); in nv50_ir_prog_info_out_deserialize()
249 blob_copy_bytes(&reader, info_out->out, info_out->numOutputs * sizeof(info_out->out[0])); in nv50_ir_prog_info_out_deserialize()
253 blob_copy_bytes(&reader, &info_out->prop.vp, sizeof(info_out->prop.vp)); in nv50_ir_prog_info_out_deserialize()
257 blob_copy_bytes(&reader, &info_out->prop.tp, sizeof(info_out->prop.tp)); in nv50_ir_prog_info_out_deserialize()
260 blob_copy_bytes(&reader, &info_out->prop.gp, sizeof(info_out->prop.gp)); in nv50_ir_prog_info_out_deserialize()
263 blob_copy_bytes(&reader, &info_out->prop.fp, sizeof(info_out->prop.fp)); in nv50_ir_prog_info_out_deserialize()
266 blob_copy_bytes(&reader, &info_out->prop.cp, sizeof(info_out->prop.cp)); in nv50_ir_prog_info_out_deserialize()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disk_cache.c100 blob_copy_bytes(blob, VARIANT_CACHE_PTR(v), VARIANT_CACHE_SIZE); in retrieve_variant()
103 blob_copy_bytes(blob, v->code, 4 * v->code_size); in retrieve_variant()
105 blob_copy_bytes(blob, &v->uniforms.count, sizeof(v->uniforms.count)); in retrieve_variant()
109 blob_copy_bytes(blob, v->uniforms.contents, v->uniforms.count * sizeof(v->uniforms.contents)); in retrieve_variant()
110 blob_copy_bytes(blob, v->uniforms.data, v->uniforms.count * sizeof(v->uniforms.data)); in retrieve_variant()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_disk_cache.c124 blob_copy_bytes(&blob, &shader->state, sizeof(shader->state)); in lima_vs_disk_cache_retrieve()
128 blob_copy_bytes(&blob, shader->shader, shader->state.shader_size); in lima_vs_disk_cache_retrieve()
132 blob_copy_bytes(&blob, shader->constant, shader->state.constant_size); in lima_vs_disk_cache_retrieve()
176 blob_copy_bytes(&blob, &shader->state, sizeof(shader->state)); in lima_fs_disk_cache_retrieve()
180 blob_copy_bytes(&blob, shader->shader, shader->state.shader_size); in lima_fs_disk_cache_retrieve()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c188 blob_copy_bytes(&blob, prog_data, prog_data_size); in iris_disk_cache_retrieve()
194 blob_copy_bytes(&blob, system_values, in iris_disk_cache_retrieve()
204 blob_copy_bytes(&blob, relocs, in iris_disk_cache_retrieve()
215 blob_copy_bytes(&blob, prog_data->param, in iris_disk_cache_retrieve()
220 blob_copy_bytes(&blob, &bt, sizeof(bt)); in iris_disk_cache_retrieve()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_disk_cache.c122 blob_copy_bytes(blob, VARIANT_CACHE_PTR(v), VARIANT_CACHE_SIZE); in retrieve_variant()
129 blob_copy_bytes(blob, v->bin, v->info.size); in retrieve_variant()
132 blob_copy_bytes(blob, v->const_state, sizeof(*v->const_state)); in retrieve_variant()
136 blob_copy_bytes(blob, v->const_state->immediates, immeds_sz); in retrieve_variant()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c173 blob_copy_bytes(&blob, prog_data, prog_data_size); in crocus_disk_cache_retrieve()
179 blob_copy_bytes(&blob, system_values, in crocus_disk_cache_retrieve()
189 blob_copy_bytes(&blob, prog_data->param, in crocus_disk_cache_retrieve()
194 blob_copy_bytes(&blob, &bt, sizeof(bt)); in crocus_disk_cache_retrieve()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c153 blob_copy_bytes(blob_reader, &state->stream_output.stride, in read_stream_out_from_cache()
155 blob_copy_bytes(blob_reader, &state->stream_output.output, in read_stream_out_from_cache()
167 blob_copy_bytes(blob_reader, (uint8_t *) *tokens, tokens_size); in read_tgsi_from_cache()
199 blob_copy_bytes(&blob_reader, (uint8_t *) stvp->result_to_output, in st_deserialise_ir_program()
215 blob_copy_bytes(&blob_reader, stp->serialized_nir, stp->serialized_nir_size); in st_deserialise_ir_program()
/third_party/mesa3d/src/compiler/glsl/
Dserialize.cpp292 blob_copy_bytes(metadata, in read_atomic_buffers()
370 blob_copy_bytes(metadata, &shProg->TransformFeedback.BufferStride, in read_xfb()
396 blob_copy_bytes(metadata, (uint8_t *) ltf->Outputs, in read_xfb()
412 blob_copy_bytes(metadata, (uint8_t *) ltf->Buffers, in read_xfb()
554 blob_copy_bytes(metadata, in read_uniforms()
930 blob_copy_bytes(metadata, ((uint8_t *) var) + s_var_ptrs, in read_program_resource_data()
1015 blob_copy_bytes(metadata, in read_program_resource_list()
1067 blob_copy_bytes(metadata, (uint8_t *) state_indexes, in read_shader_parameters()
1080 blob_copy_bytes(metadata, (uint8_t *) params->ParameterValues, in read_shader_parameters()
1149 blob_copy_bytes(metadata, (uint8_t *) glprog->TexturesUsed, in read_shader_metadata()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program_binary.c166 blob_copy_bytes(reader, &prog_key, brw_prog_key_size(stage)); in deserialize_intel_program()
334 blob_copy_bytes(binary, prog_data, brw_prog_data_size(stage)); in brw_read_blob_program_data()
343 blob_copy_bytes(binary, prog_data->param, in brw_read_blob_program_data()
349 blob_copy_bytes(binary, prog_data->pull_param, in brw_read_blob_program_data()
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c246 blob_copy_bytes(blob, bind_map.surface_sha1, sizeof(bind_map.surface_sha1)); in anv_shader_bin_create_from_blob()
247 blob_copy_bytes(blob, bind_map.sampler_sha1, sizeof(bind_map.sampler_sha1)); in anv_shader_bin_create_from_blob()
248 blob_copy_bytes(blob, bind_map.push_sha1, sizeof(bind_map.push_sha1)); in anv_shader_bin_create_from_blob()
257 blob_copy_bytes(blob, bind_map.push_ranges, sizeof(bind_map.push_ranges)); in anv_shader_bin_create_from_blob()
513 blob_copy_bytes(&blob, &header, sizeof(header)); in anv_pipeline_cache_load()
/third_party/mesa3d/src/util/
Dblob.h334 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size);
Dblob_test.c168 blob_copy_bytes(&reader, reserve_buf, sizeof(reserve_buf)); in test_write_and_read_functions()
Dregister_allocate.c445 blob_copy_bytes(blob, reg->conflicts, BITSET_WORDS(reg_count) * in ra_set_deserialize()
461 blob_copy_bytes(blob, class->regs, BITSET_WORDS(reg_count) * in ra_set_deserialize()
468 blob_copy_bytes(blob, class->q, class_count * sizeof(*class->q)); in ra_set_deserialize()
Dblob.c293 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size) in blob_copy_bytes() function
/third_party/mesa3d/src/compiler/nir/
Dnir_serialize.c188 blob_copy_bytes(ctx->blob, (uint8_t *)c->values, sizeof(c->values)); in read_constant()
373 blob_copy_bytes(ctx->blob, (uint8_t *) &var->data, sizeof(var->data)); in read_variable()
392 blob_copy_bytes(ctx->blob, &var->state_slots[i], in read_variable()
410 blob_copy_bytes(ctx->blob, (uint8_t *) var->members, in read_variable()
1383 blob_copy_bytes(ctx->blob, lc->value, sizeof(*lc->value) * lc->def.num_components); in read_load_const()
1509 blob_copy_bytes(ctx->blob, tex->tg4_offsets, sizeof(tex->tg4_offsets)); in read_tex()
2070 blob_copy_bytes(blob, (uint8_t *) &info, sizeof(info)); in nir_deserialize()
2099 blob_copy_bytes(blob, ctx.nir->constant_data, in nir_deserialize()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline_cache.c630 blob_copy_bytes(&blob, &header, sizeof(header)); in pipeline_cache_load()