Searched refs:metadata (Results 1 - 25 of 83) sorted by relevance

1234

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dserialize.cpp43 write_subroutines(struct blob *metadata, struct gl_shader_program *prog) argument
52 blob_write_uint32(metadata, glprog->sh.NumSubroutineUniforms);
53 blob_write_uint32(metadata, glprog->sh.MaxSubroutineFunctionIndex);
54 blob_write_uint32(metadata, glprog->sh.NumSubroutineFunctions);
58 blob_write_string(metadata, glprog->sh.SubroutineFunctions[j].name);
59 blob_write_uint32(metadata, glprog->sh.SubroutineFunctions[j].index);
60 blob_write_uint32(metadata, num_types);
63 encode_type_to_blob(metadata,
71 read_subroutines(struct blob_reader *metadata, struct gl_shader_program *prog) argument
82 glprog->sh.NumSubroutineUniforms = blob_read_uint32(metadata);
105 write_buffer_block(struct blob * metadata,struct gl_uniform_block * b) argument
122 write_buffer_blocks(struct blob * metadata,struct gl_shader_program * prog) argument
160 read_buffer_block(struct blob_reader * metadata,struct gl_uniform_block * b,struct gl_shader_program * prog) argument
189 read_buffer_blocks(struct blob_reader * metadata,struct gl_shader_program * prog) argument
240 write_atomic_buffers(struct blob * metadata,struct gl_shader_program * prog) argument
266 read_atomic_buffers(struct blob_reader * metadata,struct gl_shader_program * prog) argument
313 write_xfb(struct blob * metadata,struct gl_shader_program * shProg) argument
356 read_xfb(struct blob_reader * metadata,struct gl_shader_program * shProg) argument
429 write_uniforms(struct blob * metadata,struct gl_shader_program * prog) argument
492 read_uniforms(struct blob_reader * metadata,struct gl_shader_program * prog) argument
576 write_uniform_remap_table(struct blob * metadata,unsigned num_entries,gl_uniform_storage * uniform_storage,gl_uniform_storage ** remap_table) argument
617 write_uniform_remap_tables(struct blob * metadata,struct gl_shader_program * prog) argument
636 read_uniform_remap_table(struct blob_reader * metadata,struct gl_shader_program * prog,unsigned * num_entries,gl_uniform_storage * uniform_storage) argument
672 read_uniform_remap_tables(struct blob_reader * metadata,struct gl_shader_program * prog) argument
710 write_hash_table(struct blob * metadata,struct string_to_uint_map * hash) argument
730 read_hash_table(struct blob_reader * metadata,struct string_to_uint_map * hash) argument
747 write_hash_tables(struct blob * metadata,struct gl_shader_program * prog) argument
755 read_hash_tables(struct blob_reader * metadata,struct gl_shader_program * prog) argument
763 write_shader_subroutine_index(struct blob * metadata,struct gl_linked_shader * sh,struct gl_program_resource * res) argument
797 write_program_resource_data(struct blob * metadata,struct gl_shader_program * prog,struct gl_program_resource * res) argument
910 read_program_resource_data(struct blob_reader * metadata,struct gl_shader_program * prog,struct gl_program_resource * res) argument
986 write_program_resource_list(struct blob * metadata,struct gl_shader_program * prog) argument
1002 read_program_resource_list(struct blob_reader * metadata,struct gl_shader_program * prog) argument
1022 write_shader_parameters(struct blob * metadata,struct gl_program_parameter_list * params) argument
1053 read_shader_parameters(struct blob_reader * metadata,struct gl_program_parameter_list * params) argument
1090 write_shader_metadata(struct blob * metadata,gl_linked_shader * shader) argument
1142 read_shader_metadata(struct blob_reader * metadata,struct gl_program * glprog,gl_linked_shader * linked) argument
1215 create_linked_shader_and_program(struct gl_context * ctx,gl_shader_stage stage,struct gl_shader_program * prog,struct blob_reader * metadata) argument
[all...]
H A Dshader_cache.cpp32 * "metadata" throughout the implementation.
34 * The hash key for glsl metadata is a hash of the hashes of each GLSL
104 struct blob metadata; local in function:shader_cache_write_program_metadata
105 blob_init(&metadata);
115 serialize_glsl_program(&metadata, ctx, prog);
131 disk_cache_put(cache, prog->data->sha1, metadata.data, metadata.size,
137 fprintf(stderr, "putting program metadata in cache: %s\n", sha1_buf);
142 blob_finish(&metadata);
150 * cached. So don't try to read metadata fo
238 struct blob_reader metadata; local in function:shader_cache_read_program_metadata
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dserialize.cpp43 write_subroutines(struct blob *metadata, struct gl_shader_program *prog) argument
52 blob_write_uint32(metadata, glprog->sh.NumSubroutineUniforms);
53 blob_write_uint32(metadata, glprog->sh.MaxSubroutineFunctionIndex);
54 blob_write_uint32(metadata, glprog->sh.NumSubroutineFunctions);
58 blob_write_string(metadata, glprog->sh.SubroutineFunctions[j].name);
59 blob_write_uint32(metadata, glprog->sh.SubroutineFunctions[j].index);
60 blob_write_uint32(metadata, num_types);
63 encode_type_to_blob(metadata,
71 read_subroutines(struct blob_reader *metadata, struct gl_shader_program *prog) argument
82 glprog->sh.NumSubroutineUniforms = blob_read_uint32(metadata);
105 write_buffer_block(struct blob * metadata,struct gl_uniform_block * b) argument
122 write_buffer_blocks(struct blob * metadata,struct gl_shader_program * prog) argument
160 read_buffer_block(struct blob_reader * metadata,struct gl_uniform_block * b,struct gl_shader_program * prog) argument
189 read_buffer_blocks(struct blob_reader * metadata,struct gl_shader_program * prog) argument
240 write_atomic_buffers(struct blob * metadata,struct gl_shader_program * prog) argument
266 read_atomic_buffers(struct blob_reader * metadata,struct gl_shader_program * prog) argument
313 write_xfb(struct blob * metadata,struct gl_shader_program * shProg) argument
356 read_xfb(struct blob_reader * metadata,struct gl_shader_program * shProg) argument
429 write_uniforms(struct blob * metadata,struct gl_shader_program * prog) argument
488 read_uniforms(struct blob_reader * metadata,struct gl_shader_program * prog) argument
571 write_uniform_remap_table_entry(struct blob * metadata,gl_uniform_storage * uniform_storage,gl_uniform_storage * entry) argument
588 write_uniform_remap_tables(struct blob * metadata,struct gl_shader_program * prog) argument
614 read_uniform_remap_table_entry(struct blob_reader * metadata,gl_uniform_storage * uniform_storage,gl_uniform_storage ** entry,enum uniform_remap_type type) argument
630 read_uniform_remap_tables(struct blob_reader * metadata,struct gl_shader_program * prog) argument
687 write_hash_table(struct blob * metadata,struct string_to_uint_map * hash) argument
707 read_hash_table(struct blob_reader * metadata,struct string_to_uint_map * hash) argument
724 write_hash_tables(struct blob * metadata,struct gl_shader_program * prog) argument
732 read_hash_tables(struct blob_reader * metadata,struct gl_shader_program * prog) argument
740 write_shader_subroutine_index(struct blob * metadata,struct gl_linked_shader * sh,struct gl_program_resource * res) argument
774 write_program_resource_data(struct blob * metadata,struct gl_shader_program * prog,struct gl_program_resource * res) argument
883 read_program_resource_data(struct blob_reader * metadata,struct gl_shader_program * prog,struct gl_program_resource * res) argument
959 write_program_resource_list(struct blob * metadata,struct gl_shader_program * prog) argument
975 read_program_resource_list(struct blob_reader * metadata,struct gl_shader_program * prog) argument
995 write_shader_parameters(struct blob * metadata,struct gl_program_parameter_list * params) argument
1021 read_shader_parameters(struct blob_reader * metadata,struct gl_program_parameter_list * params) argument
1051 write_shader_metadata(struct blob * metadata,gl_linked_shader * shader) argument
1106 read_shader_metadata(struct blob_reader * metadata,struct gl_program * glprog,gl_linked_shader * linked) argument
1182 create_linked_shader_and_program(struct gl_context * ctx,gl_shader_stage stage,struct gl_shader_program * prog,struct blob_reader * metadata) argument
[all...]
H A Dshader_cache.cpp32 * "metadata" throughout the implementation.
34 * The hash key for glsl metadata is a hash of the hashes of each GLSL
102 struct blob metadata; local in function:shader_cache_write_program_metadata
103 blob_init(&metadata);
113 serialize_glsl_program(&metadata, ctx, prog);
129 disk_cache_put(cache, prog->data->sha1, metadata.data, metadata.size,
135 fprintf(stderr, "putting program metadata in cache: %s\n", sha1_buf);
140 blob_finish(&metadata);
148 * try to read metadata fo
236 struct blob_reader metadata; local in function:shader_cache_read_program_metadata
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_liveness.c52 if (ctx->metadata & MIDGARD_METADATA_LIVENESS)
59 ctx->metadata |= MIDGARD_METADATA_LIVENESS;
68 if (!(ctx->metadata & MIDGARD_METADATA_LIVENESS))
74 ctx->metadata &= ~MIDGARD_METADATA_LIVENESS;
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dclc_compiler.c45 struct clc_dxil_metadata *metadata; member in struct:clc_image_lower_context
64 context->metadata->args[context->metadata_index].
131 while (context->metadata->args[context->metadata_index].image.buf_ids[0] != in_var->data.binding)
251 context->metadata->args[context->metadata_index].image.num_buf_ids = context->num_buf_ids;
404 struct clc_dxil_metadata *metadata = &dxil->metadata; local in function:add_kernel_inputs_var
429 struct clc_dxil_metadata *metadata = &dxil->metadata; local in function:add_work_properties_var
856 struct clc_dxil_metadata *metadata = &out_dxil->metadata; local in function:clc_spirv_to_dxil
[all...]
H A Dcompute_test.cpp445 if (!shader.dxil->metadata.local_size[0])
448 conf.local_size[0] = shader.dxil->metadata.local_size[0];
450 if (!shader.dxil->metadata.local_size[1])
453 conf.local_size[1] = shader.dxil->metadata.local_size[1];
455 if (!shader.dxil->metadata.local_size[2])
458 conf.local_size[2] = shader.dxil->metadata.local_size[2];
495 std::vector<uint8_t> argsbuf(dxil->metadata.kernel_inputs_buf_size);
510 void *slot = argsbuf.data() + dxil->metadata.args[i].offset;
515 assert(dxil->metadata.args[i].size == sizeof(uint64_t));
518 *ptr_slot = (uint64_t)dxil->metadata
[all...]
H A Dclc_compiler.h99 struct clc_dxil_metadata metadata; member in struct:clc_dxil_object
H A Dcompute_test.h56 std::shared_ptr<struct clc_parsed_spirv> metadata;
190 if (!shader.metadata)
199 if (!clc_specialize_spirv(shader.obj.get(), shader.metadata.get(), &consts, new_shader.obj.get()))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/
H A Dvirgl_resource.c76 virgl_resource_layout(&res->u.b, &res->metadata);
85 res->metadata.total_size);
115 virgl_resource_layout(&res->u.b, &res->metadata);
156 dummy_trans.base.stride = vbuf->metadata.stride[0];
157 dummy_trans.base.layer_stride = vbuf->metadata.layer_stride[0];
212 struct virgl_resource_metadata *metadata)
231 metadata->stride[level] = util_format_get_stride(pt->format, width);
232 metadata->layer_stride[level] = nblocksy * metadata->stride[level];
233 metadata
211 virgl_resource_layout(struct pipe_resource * pt,struct virgl_resource_metadata * metadata) argument
249 virgl_resource_create_transfer(struct slab_child_pool * pool,struct pipe_resource * pres,const struct virgl_resource_metadata * metadata,unsigned level,unsigned usage,const struct pipe_box * box) argument
[all...]
H A Dvirgl_resource.h52 struct virgl_resource_metadata metadata; member in struct:virgl_resource
127 struct virgl_resource_metadata *metadata);
132 const struct virgl_resource_metadata *metadata,
H A Dvirgl_buffer.c45 &vbuf->metadata, level, usage, box);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/
H A Dvirgl_resource.c354 res->metadata.total_size);
367 vctx->queued_staging_res_size += res->metadata.total_size;
393 &vres->metadata, level, usage, box);
459 struct virgl_resource_metadata *metadata,
482 metadata->stride[level] = winsys_stride ? winsys_stride :
484 metadata->layer_stride[level] = nblocksy * metadata->stride[level];
485 metadata->level_offset[level] = buffer_size;
487 buffer_size += slices * metadata->layer_stride[level];
494 metadata
458 virgl_resource_layout(struct pipe_resource * pt,struct virgl_resource_metadata * metadata,uint32_t plane,uint32_t winsys_stride,uint32_t plane_offset,uint64_t modifier) argument
686 virgl_resource_create_transfer(struct virgl_context * vctx,struct pipe_resource * pres,const struct virgl_resource_metadata * metadata,unsigned level,unsigned usage,const struct pipe_box * box) argument
[all...]
H A Dvirgl_resource.h57 struct virgl_resource_metadata metadata; member in struct:virgl_resource
187 const struct virgl_resource_metadata *metadata,
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/lava/
H A Dlava_job_submitter.py63 # General metadata and permissions, plus also inexplicably kernel arguments
121 'metadata': {
206 metadata = res['metadata']
207 if not 'result' in metadata or metadata['result'] != 'fail':
209 if 'error_type' in metadata and metadata['error_type'] == "Infrastructure":
212 if 'case' in metadata and metadata['cas
[all...]
/xsrc/external/mit/MesaLib/dist/include/android_stub/system/
H A Dradio.h174 __attribute__((aligned(8))) radio_metadata_t *metadata; member in struct:radio_program_info
205 radio_metadata_t *metadata; /* RADIO_EVENT_METADATA */ member in union:radio_hal_event::__anon44e442fe090a
218 __attribute__((aligned(8))) radio_metadata_t *metadata; member in union:radio_event::__anon44e442fe0a0a
/xsrc/external/mit/libdrm/dist/amdgpu/
H A Damdgpu_bo.c129 struct drm_amdgpu_gem_metadata metadata = {}; local in function:amdgpu_bo_query_info
138 /* Query metadata. */
139 metadata.handle = bo->handle;
140 metadata.op = AMDGPU_GEM_METADATA_OP_GET_METADATA;
143 &metadata, sizeof(metadata));
147 if (metadata.data.data_size_bytes >
148 sizeof(info->metadata.umd_metadata))
166 info->metadata.flags = metadata
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/
H A Dspirv_to_dxil.h77 struct dxil_spirv_metadata metadata; member in struct:dxil_spirv_object
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_texture.c274 struct radeon_bo_metadata *metadata)
278 memset(metadata, 0, sizeof(*metadata));
280 metadata->u.legacy.microtile = surface->u.legacy.level[0].mode >= RADEON_SURF_MODE_1D ?
282 metadata->u.legacy.macrotile = surface->u.legacy.level[0].mode >= RADEON_SURF_MODE_2D ?
284 metadata->u.legacy.pipe_config = surface->u.legacy.pipe_config;
285 metadata->u.legacy.bankw = surface->u.legacy.bankw;
286 metadata->u.legacy.bankh = surface->u.legacy.bankh;
287 metadata->u.legacy.tile_split = surface->u.legacy.tile_split;
288 metadata
272 r600_texture_init_metadata(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct radeon_bo_metadata * metadata) argument
294 r600_surface_import_metadata(struct r600_common_screen * rscreen,struct radeon_surf * surf,struct radeon_bo_metadata * metadata,enum radeon_surf_mode * array_mode,bool * is_scanout) argument
481 struct radeon_bo_metadata metadata; local in function:r600_texture_get_handle
1125 struct radeon_bo_metadata metadata = {}; local in function:r600_texture_from_handle
1917 struct radeon_bo_metadata metadata = {}; local in function:r600_texture_from_memobj
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_texture.c273 struct radeon_bo_metadata *metadata)
277 memset(metadata, 0, sizeof(*metadata));
279 metadata->u.legacy.microtile = surface->u.legacy.level[0].mode >= RADEON_SURF_MODE_1D ?
281 metadata->u.legacy.macrotile = surface->u.legacy.level[0].mode >= RADEON_SURF_MODE_2D ?
283 metadata->u.legacy.pipe_config = surface->u.legacy.pipe_config;
284 metadata->u.legacy.bankw = surface->u.legacy.bankw;
285 metadata->u.legacy.bankh = surface->u.legacy.bankh;
286 metadata->u.legacy.tile_split = surface->u.legacy.tile_split;
287 metadata
271 r600_texture_init_metadata(struct r600_common_screen * rscreen,struct r600_texture * rtex,struct radeon_bo_metadata * metadata) argument
293 r600_surface_import_metadata(struct r600_common_screen * rscreen,struct radeon_surf * surf,struct radeon_bo_metadata * metadata,enum radeon_surf_mode * array_mode,bool * is_scanout) argument
480 struct radeon_bo_metadata metadata; local in function:r600_texture_get_handle
1117 struct radeon_bo_metadata metadata = {}; local in function:r600_texture_from_handle
1883 struct radeon_bo_metadata metadata = {}; local in function:r600_texture_from_memobj
[all...]
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D11.0.5.rst110 - nir: Properly invalidate metadata in nir_split_var_copies().
111 - nir: Properly invalidate metadata in nir_opt_copy_prop().
112 - nir: Properly invalidate metadata in nir_lower_vec_to_movs().
113 - nir: Properly invalidate metadata in nir_opt_remove_phis().
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.c658 struct amdgpu_bo_metadata metadata = {0}; local in function:radv_amdgpu_winsys_bo_set_metadata
685 metadata.tiling_info = tiling_flags;
686 metadata.size_metadata = md->size_metadata;
687 memcpy(metadata.umd_metadata, md->metadata, sizeof(md->metadata));
689 amdgpu_bo_set_metadata(bo->bo, &metadata);
703 uint64_t tiling_flags = info.metadata.tiling_info;
725 md->size_metadata = info.metadata.size_metadata;
726 memcpy(md->metadata, inf
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_image.c410 if (md->metadata[0] != 1 || md->metadata[1] != si_get_bo_metadata_word1(device))
469 width = G_00A004_WIDTH_LO(md->metadata[3]) + (G_00A008_WIDTH_HI(md->metadata[4]) << 2) + 1;
470 height = G_00A008_HEIGHT(md->metadata[4]) + 1;
472 width = G_008F18_WIDTH(md->metadata[4]) + 1;
473 height = G_008F18_HEIGHT(md->metadata[4]) + 1;
1256 image->info.levels, desc, &md->size_metadata, md->metadata);
1261 struct radeon_bo_metadata *metadata)
1265 memset(metadata,
1260 radv_init_metadata(struct radv_device * device,struct radv_image * image,struct radeon_bo_metadata * metadata) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_image.c694 * [0] = 1 (metadata format identifier)
702 md->metadata[0] = 1; /* metadata image format version 1 */
705 md->metadata[1] = si_get_bo_metadata_word1(device);
725 memcpy(&md->metadata[2], desc, sizeof(desc));
730 md->metadata[10+i] = image->planes[0].surface.u.legacy.level[i].offset >> 8;
739 struct radeon_bo_metadata *metadata)
743 memset(metadata, 0, sizeof(*metadata));
746 metadata
737 radv_init_metadata(struct radv_device * device,struct radv_image * image,struct radeon_bo_metadata * metadata) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.c912 struct amdgpu_bo_metadata metadata = {0}; local in function:radv_amdgpu_winsys_bo_set_metadata
948 metadata.tiling_info = tiling_flags;
949 metadata.size_metadata = md->size_metadata;
950 memcpy(metadata.umd_metadata, md->metadata, sizeof(md->metadata));
952 amdgpu_bo_set_metadata(bo->bo, &metadata);
967 uint64_t tiling_flags = info.metadata.tiling_info;
990 md->size_metadata = info.metadata.size_metadata;
991 memcpy(md->metadata, inf
[all...]

Completed in 30 milliseconds

1234