Searched refs:descs (Results 1 - 25 of 44) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_cs.h45 void *descs);
49 void *descs);
56 void *descs);
63 void *descs);
71 void *descs);
122 const struct panfrost_ptr *descs);
H A Dpanvk_vX_descriptor_set.c61 set->descs = vk_alloc(&device->vk.alloc,
62 sizeof(*set->descs) * layout->num_descs, 8,
64 if (!set->descs)
98 set->descs[layout->bindings[i].desc_idx].image.sampler =
110 vk_free(&device->vk.alloc, set->descs);
206 view->descs.tex, pan_size(TEXTURE));
238 struct panvk_descriptor *descs = &set->descs[binding_layout->desc_idx + dest_offset]; local in function:panvk_per_arch
268 panvk_set_image_desc(&descs[i], &pDescriptorWrite->pImageInfo[src_offset + i]);
274 panvk_set_texel_buffer_view_desc(&descs[
[all...]
H A Dpanvk_vX_cs.c165 void *descs)
167 struct mali_attribute_packed *attrib = descs;
198 void *descs)
200 struct mali_attribute_buffer_packed *buf = descs;
266 void *descs)
268 struct mali_attribute_buffer_packed *buf = descs;
329 void *descs)
331 struct mali_attribute_packed *attrib = descs;
349 void *descs)
351 struct mali_uniform_buffer_packed *ubos = descs;
[all...]
H A Dpanvk_vX_image.c152 &view->descs.tex : view->bo->ptr.cpu;
154 STATIC_ASSERT(sizeof(view->descs.tex) >= pan_size(TEXTURE));
H A Dpanvk_vX_device.c55 if (batch->tiler.descs.cpu) {
56 memcpy(batch->tiler.descs.cpu, batch->tiler.templ,
H A Dpanvk_private.h282 struct panfrost_ptr descs; member in struct:panvk_batch::__anon9e4fc0280c08
351 struct panvk_descriptor *descs; member in struct:panvk_descriptor_set
921 } descs; member in struct:panvk_image_view
H A Dpanvk_vX_cmd_buffer.c162 PAN_ARCH >= 6 ? batch->tiler.descs.gpu : 0,
499 if (batch->tiler.descs.cpu)
502 batch->tiler.descs =
510 .gpu = batch->tiler.descs.gpu,
515 memcpy(batch->tiler.descs.cpu, batch->tiler.templ,
517 batch->tiler.ctx.bifrost = batch->tiler.descs.gpu;
/xsrc/external/mit/MesaLib/dist/src/asahi/lib/
H A Dpool.h107 const struct agx_desc_alloc_info *descs)
110 unsigned align = descs[0].align;
112 for (unsigned i = 0; descs[i].size; i++) {
113 assert(!(size & (descs[i].align - 1)));
114 size += descs[i].size * descs[i].nelems;
106 agx_pool_alloc_descs(struct agx_pool * pool,const struct agx_desc_alloc_info * descs) argument
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_pool.h111 const struct pan_desc_alloc_info *descs)
114 unsigned align = descs[0].align;
116 for (unsigned i = 0; descs[i].size; i++) {
117 assert(!(size & (descs[i].align - 1)));
118 size += descs[i].size * descs[i].nelems;
110 pan_pool_alloc_descs(struct pan_pool * pool,const struct pan_desc_alloc_info * descs) argument
H A Dpan_indirect_dispatch.c66 return dev->indirect_dispatch.descs->ptr.gpu;
72 return dev->indirect_dispatch.descs->ptr.gpu +
242 dev->indirect_dispatch.descs =
254 void *rsd = dev->indirect_dispatch.descs->ptr.cpu;
259 void *tsd = dev->indirect_dispatch.descs->ptr.cpu +
270 panfrost_bo_unreference(dev->indirect_dispatch.descs);
H A Dpan_device.h137 struct panfrost_bo *descs; member in struct:pan_indirect_dispatch
/xsrc/external/mit/xgc/dist/
H A Dchoice.c191 /* line_up_labels(descs,numdescs)
193 ** descs represents a bunch of choice layouts (numdescs is the size of
194 ** descs). This function sets each label in descs to the same width,
199 line_up_labels(ChoiceDesc *descs[], int numdescs) argument
213 XtGetValues(descs[i]->label, widthargs, XtNumber(widthargs));
220 XtSetValues(descs[i]->label, widthargs, XtNumber(widthargs));
224 /* choose_defaults(descs,numdescs)
226 ** descs represents a bunch of choice layouts (numdescs is the size of
227 ** descs)
236 choose_defaults(ChoiceDesc * descs[],int numdescs) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_texture.c286 uint32_t *descs = local in function:lima_update_textures
295 descs[i] = lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc) + offset;
296 lima_update_tex_desc(ctx, sampler, texture, (void *)descs + offset, desc_size);
301 job->dump, descs, size, false, "add textures_desc at va %x\n",
305 job->dump, descs, size,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_descriptors.c501 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); local in function:si_set_sampler_view
503 uint32_t *desc = descs->list + desc_slot * 16;
655 struct si_descriptors *descs = si_sampler_and_image_descriptors(ctx, shader); local in function:si_disable_shader_image
661 memcpy(descs->list + desc_slot*8, null_image_descriptor, 8*4);
775 struct si_descriptors *descs = si_sampler_and_image_descriptors(ctx, shader); local in function:si_set_shader_image
778 uint32_t *desc = descs->list + desc_slot * 8;
872 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_RW_BUFFERS]; local in function:si_update_ps_colorbuf0_slot
921 uint32_t *desc = descs->list + slot*4;
932 memset(descs->list + slot*4, 0, 8*4);
993 struct si_descriptors *descs,
992 si_init_buffer_resources(struct si_buffer_resources * buffers,struct si_descriptors * descs,unsigned num_buffers,short shader_userdata_rel_index,enum radeon_bo_priority priority,enum radeon_bo_priority priority_constbuf) argument
1007 si_release_buffer_resources(struct si_buffer_resources * buffers,struct si_descriptors * descs) argument
1038 si_get_buffer_from_descriptors(struct si_buffer_resources * buffers,struct si_descriptors * descs,unsigned idx,struct pipe_resource ** buf,unsigned * offset,unsigned * size) argument
1211 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; local in function:si_set_constant_buffer
1315 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; local in function:si_set_shader_buffer
1391 struct si_descriptors *descs = si_const_and_shader_buffer_descriptors(sctx, shader); local in function:si_get_shader_buffers
1425 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_RW_BUFFERS]; local in function:si_set_ring_buffer
1600 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; local in function:si_reset_buffer_resources
1665 struct si_descriptors *descs = local in function:si_rebind_buffer
1714 struct si_descriptors *descs = local in function:si_rebind_buffer
1745 struct si_descriptors *descs = local in function:si_rebind_buffer
1777 struct si_descriptors *descs = &sctx->bindless_descriptors; local in function:si_rebind_buffer
1805 struct si_descriptors *descs = &sctx->bindless_descriptors; local in function:si_rebind_buffer
2137 struct si_descriptors *descs = &sctx->descriptors[start]; local in function:si_emit_consecutive_shader_pointers
2147 si_emit_global_shader_pointers(struct si_context * sctx,struct si_descriptors * descs) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_texture.c258 uint32_t *descs = local in function:lima_update_textures
266 descs[i] = lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc,
268 lima_update_tex_desc(ctx, sampler, texture, (void *)descs + offset);
272 descs, size, false, "add textures_desc at va %x\n",
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_descriptors.c522 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); local in function:si_set_sampler_views
531 uint32_t *restrict desc = descs->list + desc_slot * 16;
592 uint32_t * restrict desc = descs->list + desc_slot * 16;
704 struct si_descriptors *descs = si_sampler_and_image_descriptors(ctx, shader); local in function:si_disable_shader_image
710 memcpy(descs->list + desc_slot * 8, null_image_descriptor, 8 * 4);
803 struct si_descriptors *descs = si_sampler_and_image_descriptors(ctx, shader); local in function:si_set_shader_image
813 si_set_shader_image_desc(ctx, view, skip_decompress, descs->list + si_get_image_slot(slot) * 8,
814 descs->list + si_get_image_slot(slot + SI_NUM_IMAGES) * 8);
914 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_INTERNAL]; local in function:si_update_ps_colorbuf0_slot
961 uint32_t *desc = descs
1026 si_init_buffer_resources(struct si_context * sctx,struct si_buffer_resources * buffers,struct si_descriptors * descs,unsigned num_buffers,short shader_userdata_rel_index,enum radeon_bo_priority priority,enum radeon_bo_priority priority_constbuf) argument
1057 si_release_buffer_resources(struct si_buffer_resources * buffers,struct si_descriptors * descs) argument
1101 si_get_buffer_from_descriptors(struct si_buffer_resources * buffers,struct si_descriptors * descs,unsigned idx,struct pipe_resource ** buf,unsigned * offset,unsigned * size) argument
1171 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; local in function:si_set_constant_buffer
1309 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; local in function:si_set_shader_buffer
1378 struct si_descriptors *descs = si_const_and_shader_buffer_descriptors(sctx, shader); local in function:si_get_shader_buffers
1406 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_INTERNAL]; local in function:si_set_ring_buffer
1575 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; local in function:si_reset_buffer_resources
1638 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_INTERNAL]; local in function:si_rebind_buffer
1683 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); local in function:si_rebind_buffer
1708 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); local in function:si_rebind_buffer
1738 struct si_descriptors *descs = &sctx->bindless_descriptors; local in function:si_rebind_buffer
1760 struct si_descriptors *descs = &sctx->bindless_descriptors; local in function:si_rebind_buffer
2075 si_emit_global_shader_pointers(struct si_context * sctx,struct si_descriptors * descs) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_instance.c357 VkCommandStreamDescriptionMESA *descs = local_descs; local in function:vn_instance_submission_get_cs
359 descs =
361 if (!descs)
369 descs[desc_count++] = (VkCommandStreamDescriptionMESA){
378 desc_count, descs, NULL, 0, NULL, 0);
383 if (descs != local_descs)
384 free(descs);
393 descs, NULL, 0, NULL, 0);
396 if (descs != local_descs)
397 free(descs);
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dcompute_test.h78 descs.push_back(res);
94 range.OffsetInDescriptorsFromTableStart = descs.size() - 1;
100 std::vector<ComPtr<ID3D12Resource>> descs; member in struct:ComputeTest::Resources
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
H A Dcontext.cpp129 buf.as_vector<cl_device_id>() = descs(ctx.devices());
H A Dprogram.cpp398 descs(prog.devices()) :
399 descs(prog.context().devices()));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_draw.cpp88 D3D12_CPU_DESCRIPTOR_HANDLE descs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; local in function:fill_srv_descriptors
105 descs[desc_idx] = view->handle.cpu_handle;
125 descs[desc_idx] = screen->null_srvs[shader->srv_bindings[i].dimension].cpu_handle;
129 d3d12_descriptor_heap_append_handles(batch->view_heap, descs, shader->end_srv_binding - shader->begin_srv_binding);
141 D3D12_CPU_DESCRIPTOR_HANDLE descs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; local in function:fill_sampler_descriptors
159 descs[desc_idx] = sampler->handle_without_shadow.cpu_handle;
161 descs[desc_idx] = sampler->handle.cpu_handle;
163 descs[desc_idx] = ctx->null_sampler.cpu_handle;
166 d3d12_descriptor_heap_append_handles(batch->sampler_heap, descs, shader->end_srv_binding - shader->begin_srv_binding);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_compute.c72 panfrost_shader_compile(pctx->screen, &ctx->shaders, &ctx->descs,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Dobject.hpp206 descs(const Os &os) { function in namespace:clover
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
H A Dcontext.cpp129 buf.as_vector<cl_device_id>() = descs(ctx.devices());
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dobject.hpp205 descs(const Os &os) { function in namespace:clover

Completed in 898 milliseconds

12