Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/angle2/scripts/
H A Dexport_targets.py127 descs = json.loads(p.stdout.decode()) variable
134 def flattened_target(target_name: str, descs: dict, stop_at_lib: bool =True) -> dict:
135 flattened = dict(descs[target_name])
140 dep = descs[k]
165 dag_traverse(descs[target_name]['deps'], pre)
266 def has_all_includes(target_name: str, descs: dict) -> bool:
271 flat = flattened_target(target_name, descs, stop_at_lib=False)
276 desc = descs[target_name]
311 def gather_libraries(roots: Sequence[str], descs: dict) -> Set[str]:
314 cur = descs[target_nam
[all...]
/third_party/mesa3d/src/asahi/lib/
H A Dpool.h107 const struct agx_desc_alloc_info *descs) in agx_pool_alloc_descs()
110 unsigned align = descs[0].align; in agx_pool_alloc_descs()
112 for (unsigned i = 0; descs[i].size; i++) { in agx_pool_alloc_descs()
113 assert(!(size & (descs[i].align - 1))); in agx_pool_alloc_descs()
114 size += descs[i].size * descs[i].nelems; in agx_pool_alloc_descs()
106 agx_pool_alloc_descs(struct agx_pool *pool, const struct agx_desc_alloc_info *descs) agx_pool_alloc_descs() argument
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_pool.h111 const struct pan_desc_alloc_info *descs) in pan_pool_alloc_descs()
114 unsigned align = descs[0].align; in pan_pool_alloc_descs()
116 for (unsigned i = 0; descs[i].size; i++) { in pan_pool_alloc_descs()
117 assert(!(size & (descs[i].align - 1))); in pan_pool_alloc_descs()
118 size += descs[i].size * descs[i].nelems; in pan_pool_alloc_descs()
110 pan_pool_alloc_descs(struct pan_pool *pool, const struct pan_desc_alloc_info *descs) pan_pool_alloc_descs() argument
H A Dpan_indirect_dispatch.c46 return dev->indirect_dispatch.descs->ptr.gpu; in get_rsd()
52 return dev->indirect_dispatch.descs->ptr.gpu + in get_tls()
175 dev->indirect_dispatch.descs = in pan_indirect_dispatch_init()
183 void *rsd = dev->indirect_dispatch.descs->ptr.cpu; in pan_indirect_dispatch_init()
188 void *tsd = dev->indirect_dispatch.descs->ptr.cpu + in pan_indirect_dispatch_init()
199 panfrost_bo_unreference(dev->indirect_dispatch.descs); in pan_indirect_dispatch_cleanup()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_descriptors.c526 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); in si_set_sampler_views() local
535 uint32_t *restrict desc = descs->list + desc_slot * 16; in si_set_sampler_views()
605 uint32_t * restrict desc = descs->list + desc_slot * 16; in si_set_sampler_views()
723 struct si_descriptors *descs = si_sampler_and_image_descriptors(ctx, shader); in si_disable_shader_image() local
729 memcpy(descs->list + desc_slot * 8, null_image_descriptor, 8 * 4); in si_disable_shader_image()
834 struct si_descriptors *descs = si_sampler_and_image_descriptors(ctx, shader); in si_set_shader_image() local
844 si_set_shader_image_desc(ctx, view, skip_decompress, descs->list + si_get_image_slot(slot) * 8, in si_set_shader_image()
845 descs->list + si_get_image_slot(slot + SI_NUM_IMAGES) * 8); in si_set_shader_image()
945 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_INTERNAL]; in si_update_ps_colorbuf0_slot() local
998 uint32_t *desc = descs in si_update_ps_colorbuf0_slot()
1064 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, unsigned priority, unsigned priority_constbuf) si_init_buffer_resources() argument
1098 si_release_buffer_resources(struct si_buffer_resources *buffers, struct si_descriptors *descs) si_release_buffer_resources() argument
1142 si_get_buffer_from_descriptors(struct si_buffer_resources *buffers, struct si_descriptors *descs, unsigned idx, struct pipe_resource **buf, unsigned *offset, unsigned *size) si_get_buffer_from_descriptors() argument
1212 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; si_set_constant_buffer() local
1377 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; si_set_shader_buffer() local
1457 struct si_descriptors *descs = si_const_and_shader_buffer_descriptors(sctx, shader); si_get_shader_buffers() local
1485 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_INTERNAL]; si_set_ring_buffer() local
1662 struct si_descriptors *descs = &sctx->descriptors[descriptors_idx]; si_reset_buffer_resources() local
1725 struct si_descriptors *descs = &sctx->descriptors[SI_DESCS_INTERNAL]; si_rebind_buffer() local
1777 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); si_rebind_buffer() local
1804 struct si_descriptors *descs = si_sampler_and_image_descriptors(sctx, shader); si_rebind_buffer() local
1834 struct si_descriptors *descs = &sctx->bindless_descriptors; si_rebind_buffer() local
1856 struct si_descriptors *descs = &sctx->bindless_descriptors; si_rebind_buffer() local
2174 si_emit_global_shader_pointers(struct si_context *sctx, struct si_descriptors *descs) si_emit_global_shader_pointers() argument
[all...]
/third_party/node/lib/internal/
H A Dfreeze_intrinsics.js429 const descs = ObjectGetOwnPropertyDescriptors(obj);
431 ArrayPrototypeForEach(ReflectOwnKeys(descs), (name) => {
432 const desc = descs[name];
530 const descs = ObjectGetOwnPropertyDescriptors(obj);
531 if (!descs) {
535 return enableDerivedOverride(obj, prop, descs[prop]);
538 return enableDerivedOverride(obj, prop, descs[prop]);
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_perfcounter.c157 if (descs) { \
158 descs[*count] = PC_DESC((op), unit, name, category, description, uuid, __VA_ARGS__); \
218 struct radv_perfcounter_desc *descs) in radv_query_perfcounter_descs()
305 struct radv_perfcounter_desc *descs = malloc(sizeof(*descs) * count); in radv_init_perfcounter_descs() local
306 if (!descs) in radv_init_perfcounter_descs()
309 radv_query_perfcounter_descs(pdev, &count, descs); in radv_init_perfcounter_descs()
311 pdev->perfcounters = descs; in radv_init_perfcounter_descs()
330 const struct radv_perfcounter_desc *descs = pdevice->perfcounters; in radv_get_counter_registers() local
332 unsigned full_reg_cnt = num_indices * ARRAY_SIZE(descs in radv_get_counter_registers()
217 radv_query_perfcounter_descs(struct radv_physical_device *pdev, uint32_t *count, struct radv_perfcounter_desc *descs) radv_query_perfcounter_descs() argument
855 const struct radv_perfcounter_desc *descs = pdevice->perfcounters; radv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR() local
[all...]
/third_party/mindspore/test/unittest/
H A Dnnrt_delegate_unit_test.cpp37 auto descs = OH_AI_GetAllNNRTDeviceDescs(&num); in HWTEST() local
38 if (descs == nullptr) { in HWTEST()
39 std::cout << "descs is nullptr , num: " << num << std::endl; in HWTEST()
46 auto desc = OH_AI_GetElementOfNNRTDeviceDescs(descs, i); in HWTEST()
54 OH_AI_DestroyAllNNRTDeviceDescs(&descs); in HWTEST()
55 ASSERT_EQ(descs, nullptr); in HWTEST()
68 std::cout << "descs is nullptr , num: " << num << std::endl; in HWTEST()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_texture.c318 uint32_t *descs = in lima_update_textures() local
327 descs[i] = lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc) + offset; in lima_update_textures()
328 lima_update_tex_desc(ctx, sampler, texture, (void *)descs + offset, desc_size); in lima_update_textures()
333 job->dump, descs, size, false, "add textures_desc at va %x\n", in lima_update_textures()
337 job->dump, descs, size, in lima_update_textures()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_image.c129 STATIC_ASSERT(sizeof(view->descs.tex) >= pan_size(TEXTURE)); in CreateImageView()
130 GENX(panfrost_new_texture)(pdev, &view->pview, &view->descs.tex, &view->bo->ptr); in CreateImageView()
134 uint8_t *attrib_buf = (uint8_t *)view->descs.img_attrib_buf; in CreateImageView()
207 pan_pack(&view->descs.tex, TEXTURE, cfg) { in CreateBufferView()
222 uint8_t *attrib_buf = (uint8_t *)view->descs.img_attrib_buf; in CreateBufferView()
H A Dpanvk_vX_cs.c118 void *descs) in emit_varyings()
120 struct mali_attribute_packed *attrib = descs; in emit_varyings()
143 void *descs) in emit_varying_bufs()
145 struct mali_attribute_buffer_packed *buf = descs; in emit_varying_bufs()
229 void *descs) in emit_attrib_bufs()
231 struct mali_attribute_buffer_packed *buf = descs; in emit_attrib_bufs()
296 void *descs) in emit_attribs()
298 struct mali_attribute_packed *attrib = descs; in emit_attribs()
316 void *descs) in emit_ubos()
318 struct mali_uniform_buffer_packed *ubos = descs; in emit_ubos()
115 emit_varyings(const struct panvk_device *dev, const struct panvk_varyings_info *varyings, gl_shader_stage stage, void *descs) emit_varyings() argument
142 emit_varying_bufs(const struct panvk_varyings_info *varyings, void *descs) emit_varying_bufs() argument
225 emit_attrib_bufs(const struct panvk_attribs_info *info, const struct panvk_attrib_buf *bufs, unsigned buf_count, const struct panvk_draw_info *draw, void *descs) emit_attrib_bufs() argument
291 emit_attribs(const struct panvk_device *dev, const struct panvk_draw_info *draw, const struct panvk_attribs_info *attribs, const struct panvk_attrib_buf *bufs, unsigned buf_count, void *descs) emit_attribs() argument
314 emit_ubos(const struct panvk_pipeline *pipeline, const struct panvk_descriptor_state *state, void *descs) emit_ubos() argument
810 emit_tiler_context(const struct panvk_device *dev, unsigned width, unsigned height, const struct panfrost_ptr *descs) emit_tiler_context() argument
[all...]
H A Dpanvk_vX_device.c56 if (batch->tiler.descs.cpu) { in panvk_queue_submit_batch()
57 memcpy(batch->tiler.descs.cpu, batch->tiler.templ, in panvk_queue_submit_batch()
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_instance.c367 VkCommandStreamDescriptionMESA *descs = local_descs; in vn_instance_submission_get_cs() local
369 descs = in vn_instance_submission_get_cs()
371 if (!descs) in vn_instance_submission_get_cs()
379 descs[desc_count++] = (VkCommandStreamDescriptionMESA){ in vn_instance_submission_get_cs()
388 desc_count, descs, NULL, 0, NULL, 0); in vn_instance_submission_get_cs()
393 if (descs != local_descs) in vn_instance_submission_get_cs()
394 free(descs); in vn_instance_submission_get_cs()
403 descs, NULL, 0, NULL, 0); in vn_instance_submission_get_cs()
406 if (descs != local_descs) in vn_instance_submission_get_cs()
407 free(descs); in vn_instance_submission_get_cs()
[all...]
/third_party/node/deps/v8/src/objects/
H A Dproperty-descriptor.cc59 Handle<DescriptorArray> descs = in ToPropertyDescriptorFastPath()
62 PropertyDetails details = descs->GetDetails(i); in ToPropertyDescriptorFastPath()
78 value = handle(descs->GetStrongValue(i), isolate); in ToPropertyDescriptorFastPath()
85 Name key = descs->GetKey(i); in ToPropertyDescriptorFastPath()
H A Dkeys.cc51 Handle<DescriptorArray> descs, int nof_descriptors, in AddKey()
54 if (descs->GetKey(i) == key) return 0; in AddKey()
72 Handle<DescriptorArray> descs(map.instance_descriptors(isolate), isolate); in CombineKeys()
82 descs, nof_descriptors, target_keys_length); in CombineKeys()
758 Handle<DescriptorArray> descs, int start_index, int limit) { in CollectOwnPropertyNamesInternal()
765 PropertyDetails details = descs->GetDetails(i); in CollectOwnPropertyNamesInternal()
777 Object accessors = descs->GetStrongValue(i); in CollectOwnPropertyNamesInternal()
782 Name key = descs->GetKey(i); in CollectOwnPropertyNamesInternal()
993 Handle<DescriptorArray> descs = Handle<DescriptorArray>( in CollectOwnPropertyNames() local
996 PropertyDetails details = descs in CollectOwnPropertyNames()
50 AddKey(Object key, Handle<FixedArray> combined_keys, Handle<DescriptorArray> descs, int nof_descriptors, int target) AddKey() argument
756 CollectOwnPropertyNamesInternal( Handle<JSObject> object, KeyAccumulator* keys, Handle<DescriptorArray> descs, int start_index, int limit) CollectOwnPropertyNamesInternal() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMatchedAttachmentsTests.cpp120 const VkAttachmentDescription descs[2] = in testMatchedAttachments() local
178 descs, // const VkAttachmentDescription* pAttachments; in testMatchedAttachments()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMatchedAttachmentsTests.cpp116 const VkAttachmentDescription descs[2] = in testMatchedAttachments() local
174 descs, // const VkAttachmentDescription* pAttachments; in testMatchedAttachments()
/third_party/mesa3d/src/microsoft/clc/
H A Dcompute_test.h78 descs.push_back(res); in add()
94 range.OffsetInDescriptorsFromTableStart = descs.size() - 1; in add()
100 std::vector<ComPtr<ID3D12Resource>> descs; member
H A Dcompute_test.cpp428 handle = offset_cpu_handle(handle, resources.descs.size() * uav_heap_incr); in add_uav_resource()
453 handle = offset_cpu_handle(handle, resources.descs.size() * uav_heap_incr); in add_cbv_resource()
624 if (!resources.descs[i].Get()) in run_shader_with_raw_args()
627 resource_barrier(resources.descs[i], in run_shader_with_raw_args()
/third_party/node/deps/v8/src/strings/
H A Dstring-stream.cc302 DescriptorArray descs = map.instance_descriptors(js_object.GetIsolate()); in PrintUsingMap() local
304 PropertyDetails details = descs.GetDetails(i); in PrintUsingMap()
307 Object key = descs.GetKey(i); in PrintUsingMap()
/third_party/node/deps/v8/src/snapshot/embedded/
H A Dembedded-data.h281 const struct LayoutDescription* descs = in LayoutDescription() local
284 return descs[static_cast<int>(builtin)]; in LayoutDescription()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_draw.cpp98 D3D12_CPU_DESCRIPTOR_HANDLE descs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; in fill_srv_descriptors() local
115 descs[desc_idx] = view->handle.cpu_handle; in fill_srv_descriptors()
142 descs[desc_idx] = screen->null_srvs[shader->srv_bindings[i].dimension].cpu_handle; in fill_srv_descriptors()
146 d3d12_descriptor_heap_append_handles(batch->view_heap, descs, shader->end_srv_binding - shader->begin_srv_binding); in fill_srv_descriptors()
197 D3D12_CPU_DESCRIPTOR_HANDLE descs[PIPE_MAX_SHADER_SAMPLER_VIEWS]; in fill_sampler_descriptors() local
215 descs[desc_idx] = sampler->handle_without_shadow.cpu_handle; in fill_sampler_descriptors()
217 descs[desc_idx] = sampler->handle.cpu_handle; in fill_sampler_descriptors()
219 descs[desc_idx] = ctx->null_sampler.cpu_handle; in fill_sampler_descriptors()
222 d3d12_descriptor_heap_append_handles(batch->sampler_heap, descs, shader->end_srv_binding - shader->begin_srv_binding); in fill_sampler_descriptors()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_generic.c455 priv->eps[i].descs[j] = priv->eps_descs[i][j]; in generic_eps_alloc()
460 desc = priv->eps[i].descs[2]; in generic_eps_alloc()
463 desc = priv->eps[i].descs[1]; in generic_eps_alloc()
466 desc = priv->eps[i].descs[1]; in generic_eps_alloc()
H A Dusbd_generic_epfile.c745 desc = ep->descs[2]; in generic_eps_enable()
748 desc = ep->descs[1]; in generic_eps_enable()
751 desc = ep->descs[1]; in generic_eps_enable()
/third_party/mesa3d/src/imgui/
H A Dimgui_memory_editor.h538 const char* descs[] = { "Int8", "Uint8", "Int16", "Uint16", "Int32", "Uint32", "Int64", "Uint64", "Float", "Double" }; in DataTypeGetDesc() local
540 return descs[data_type]; in DataTypeGetDesc()
552 const char* descs[] = { "Bin", "Dec", "Hex" }; in DataFormatGetDesc() local
554 return descs[data_format]; in DataFormatGetDesc()

Completed in 29 milliseconds

123