HomeSort by: relevance | last modified time | path
    Searched refs:sem (Results 1 - 25 of 41) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_mediump.c 80 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local
81 unsigned num_slots = sem.num_slots;
82 if (sem.medium_precision)
83 num_slots = (num_slots + sem.high_16bits + 1) / 2;
87 BITSET_SET(inputs, sem.location + i);
88 } else if (!sem.dual_source_blend_index) {
90 BITSET_SET(outputs, sem.location + i);
105 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local
106 unsigned num_slots = sem.num_slots;
107 if (sem.medium_precision
160 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local
277 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local
329 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
panvk_wsi.c 76 VK_FROM_HANDLE(panvk_semaphore, sem, pAcquireInfo->semaphore);
86 sem ? &sem->syncobj : NULL);
panvk_sync.c 163 struct panvk_semaphore *sem = local
164 vk_object_zalloc(&device->vk, pAllocator, sizeof(*sem),
166 if (!sem)
169 VkResult ret = sync_create(device, &sem->syncobj, false);
175 *pSemaphore = panvk_semaphore_to_handle(sem);
183 VK_FROM_HANDLE(panvk_semaphore, sem, _sem);
185 sync_destroy(device, &sem->syncobj);
186 vk_object_free(&device->vk, pAllocator, sem);
193 VK_FROM_HANDLE(panvk_semaphore, sem, info->semaphore);
197 return sync_import(device, &sem->syncobj, temp, sync_fd, info->fd)
    [all...]
panvk_vX_device.c 217 VK_FROM_HANDLE(panvk_semaphore, sem, submit->pWaitSemaphores[i]);
219 semaphores[i + 1] = sem->syncobj.temporary ? : sem->syncobj.permanent;
293 VK_FROM_HANDLE(panvk_semaphore, sem, submit->pSignalSemaphores[i]);
294 panvk_queue_transfer_sync(queue, sem->syncobj.temporary ? : sem->syncobj.permanent);
  /xsrc/external/mit/libdrm/dist/amdgpu/
amdgpu_cs.c 39 static int amdgpu_cs_unreference_sem(amdgpu_semaphore_handle sem);
40 static int amdgpu_cs_reset_sem(amdgpu_semaphore_handle sem);
143 amdgpu_semaphore_handle sem, tmp; local
144 LIST_FOR_EACH_ENTRY_SAFE(sem, tmp, &context->sem_list[i][j][k], list) {
145 list_del(&sem->list);
146 amdgpu_cs_reset_sem(sem);
147 amdgpu_cs_unreference_sem(sem);
263 amdgpu_semaphore_handle sem, tmp; local
353 LIST_FOR_EACH_ENTRY(sem, sem_list, list)
362 LIST_FOR_EACH_ENTRY_SAFE(sem, tmp, sem_list, list)
    [all...]
amdgpu.h 1615 * \param sem - \c [out] semaphore handle
1621 int amdgpu_cs_create_semaphore(amdgpu_semaphore_handle *sem);
1630 * \param sem - \c [in] semaphore handle
1640 amdgpu_semaphore_handle sem);
1649 * \param sem - \c [in] semaphore handle
1659 amdgpu_semaphore_handle sem);
1664 * \param sem - \c [in] semaphore handle
1670 int amdgpu_cs_destroy_semaphore(amdgpu_semaphore_handle sem);
  /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
vn_queue.c 65 vn_semaphore_reset_wsi(struct vn_device *dev, struct vn_semaphore *sem);
121 struct vn_semaphore *sem = vn_semaphore_from_handle(wait_sems[i]); local
122 const struct vn_sync_payload *payload = sem->payload;
217 struct vn_semaphore *sem = vn_semaphore_from_handle(src_sems[i]); local
218 const struct vn_sync_payload *payload = sem->payload;
221 vn_semaphore_reset_wsi(queue->device, sem);
760 struct vn_semaphore *sem,
764 sem->permanent.type = VN_SYNC_TYPE_DEVICE_ONLY;
765 sem->temporary.type = VN_SYNC_TYPE_INVALID;
766 sem->payload = &sem->permanent
801 struct vn_semaphore *sem = vk_zalloc(alloc, sizeof(*sem), VN_DEFAULT_ALIGN, local
840 struct vn_semaphore *sem = vn_semaphore_from_handle(semaphore); local
862 struct vn_semaphore *sem = vn_semaphore_from_handle(semaphore); local
977 struct vn_semaphore *sem = local
1005 struct vn_semaphore *sem = vn_semaphore_from_handle(pGetFdInfo->semaphore); local
    [all...]
vn_queue.h 83 vn_semaphore_signal_wsi(struct vn_device *dev, struct vn_semaphore *sem);
vn_wsi.c 222 struct vn_semaphore *sem = local
224 if (sem)
225 vn_semaphore_signal_wsi(dev, sem);
  /xsrc/external/mit/xorg-server.old/dist/glx/
glthread.h 241 sem_id sem; member in struct:__anon10415
246 #define _glthread_INIT_MUTEX(name) name.sem = create_sem(0, #name"_benaphore"), name.lock = 0
247 #define _glthread_DESTROY_MUTEX(name) delete_sem(name.sem), name.lock = 0
248 #define _glthread_LOCK_MUTEX(name) if (name.sem == 0) _glthread_INIT_MUTEX(name); \
249 if (atomic_add(&(name.lock), 1) >= 1) acquire_sem(name.sem)
250 #define _glthread_UNLOCK_MUTEX(name) if (atomic_add(&(name.lock), -1) > 1) release_sem(name.sem)
  /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
v3dv_queue.c 531 struct v3dv_semaphore *sem = v3dv_semaphore_from_handle(sems[i]); local
534 if (!sem->temp_sync)
535 ret = drmSyncobjImportSyncFile(render_fd, sem->sync, fd);
537 ret = drmSyncobjImportSyncFile(render_fd, sem->temp_sync, fd);
1066 struct v3dv_semaphore *sem = local
1069 if (sem == NULL)
1072 int ret = drmSyncobjCreate(device->pdevice->render_fd, 0, &sem->sync);
1074 vk_object_free(&device->vk, pAllocator, sem);
1078 *pSemaphore = v3dv_semaphore_to_handle(sem);
1138 V3DV_FROM_HANDLE(v3dv_semaphore, sem, pImportSemaphoreFdInfo->semaphore)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
nine_shader.c 2055 sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem,
2086 sem->Name = TGSI_SEMANTIC_POSITION;
2087 sem->Index = 0;
2089 sem->Name = TGSI_SEMANTIC_GENERIC;
2090 sem->Index = 10 * index + 7;
2095 sem->Name = TGSI_SEMANTIC_COLOR;
2096 sem->Index = index;
2098 sem->Name = TGSI_SEMANTIC_GENERIC;
2099 sem->Index = 10 * (index-1) + 8;
2104 sem->Name = TGSI_SEMANTIC_GENERIC
2246 struct sm1_semantic sem; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
nine_shader.c 2028 sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem,
2059 sem->Name = TGSI_SEMANTIC_POSITION;
2060 sem->Index = 0;
2062 sem->Name = TGSI_SEMANTIC_GENERIC;
2063 sem->Index = 10 * index + 7;
2068 sem->Name = TGSI_SEMANTIC_COLOR;
2069 sem->Index = index;
2071 sem->Name = TGSI_SEMANTIC_GENERIC;
2072 sem->Index = 10 * (index-1) + 8;
2077 sem->Name = TGSI_SEMANTIC_GENERIC
2219 struct sm1_semantic sem; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
d3d12_lower_point_sprite.c 261 for (unsigned int sem = 0; sem < 9; sem++) {
262 if (point_coord_enable & BITFIELD64_BIT(sem)) {
264 unsigned location = VARYING_SLOT_VAR0 + sem;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
nv30_draw.c 224 vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx)
233 if (sem == TGSI_SEMANTIC_GENERIC) {
237 sem = TGSI_SEMANTIC_TEXCOORD;
238 emit = vroute[sem].emit;
243 emit = vroute[sem].emit;
260 r->vtxprog[attrib][3] = 0x2000f800 | (result + vroute[sem].vp30) << 2;
265 r->vtxprog[attrib][3] = 0x6041ff80 | (result + vroute[sem].vp40) << 2;
269 *idx = vroute[sem].ow40 << result;
271 assert(sem == TGSI_SEMANTIC_TEXCOORD);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
nv30_draw.c 224 vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx)
233 if (sem == TGSI_SEMANTIC_GENERIC) {
237 sem = TGSI_SEMANTIC_TEXCOORD;
238 emit = vroute[sem].emit;
243 emit = vroute[sem].emit;
260 r->vtxprog[attrib][3] = 0x2000f800 | (result + vroute[sem].vp30) << 2;
265 r->vtxprog[attrib][3] = 0x6041ff80 | (result + vroute[sem].vp40) << 2;
269 *idx = vroute[sem].ow40 << result;
271 assert(sem == TGSI_SEMANTIC_TEXCOORD);
  /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
tu_drm.c 741 tu_DestroySemaphore(VkDevice device, VkSemaphore sem, const VkAllocationCallbacks *pAllocator)
743 TU_FROM_HANDLE(tu_syncobj, sync, sem);
921 TU_FROM_HANDLE(tu_syncobj, sem, submit_info->pWaitSemaphores[i]);
922 new_submit->wait_semaphores[i] = sem;
924 if (sem->type == TU_SEMAPHORE_TIMELINE) {
926 queue->device, sem, wait_values[i]);
933 TU_FROM_HANDLE(tu_syncobj, sem, submit_info->pSignalSemaphores[i]);
934 new_submit->signal_semaphores[i] = sem;
936 if (sem->type == TU_SEMAPHORE_TIMELINE) {
938 queue->device, sem, signal_values[i])
1201 struct tu_syncobj *sem = submit->signal_timelines[i]; local
    [all...]
tu_kgsl.c 441 TU_FROM_HANDLE(tu_syncobj, sem, submit->pSignalSemaphores[i]);
442 sem->timestamp = req.timestamp;
443 sem->timestamp_valid = true;
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_device.c 2779 RADV_FROM_HANDLE(radv_semaphore, sem, sems[i]);
2781 if (sem->temp_syncobj || sem->syncobj)
2800 counts->sem = (struct radeon_winsys_sem **)malloc(sizeof(struct radeon_winsys_sem *) * counts->sem_count);
2801 if (!counts->sem) {
2808 RADV_FROM_HANDLE(radv_semaphore, sem, sems[i]);
2810 if (sem->temp_syncobj) {
2811 counts->syncobj[syncobj_idx++] = sem->temp_syncobj;
2813 else if (sem->syncobj)
2814 counts->syncobj[syncobj_idx++] = sem->syncobj
3978 struct radv_semaphore *sem = vk_alloc2(&device->alloc, pAllocator, local
    [all...]
radv_radeon_winsys.h 177 struct radeon_winsys_sem **sem; member in struct:radv_winsys_sem_counts
316 void (*destroy_sem)(struct radeon_winsys_sem *sem);
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/winsys/amdgpu/
radv_amdgpu_cs.c 1354 struct amdgpu_cs_fence *sem = CALLOC_STRUCT(amdgpu_cs_fence); local
1355 if (!sem)
1358 return (struct radeon_winsys_sem *)sem;
1363 struct amdgpu_cs_fence *sem = (struct amdgpu_cs_fence *)_sem; local
1364 FREE(sem);
1373 struct amdgpu_cs_fence *sem = (struct amdgpu_cs_fence *)(sem_info->signal.sem)[i]; local
1375 if (sem->context)
1378 *sem = ctx->last_submission[ip_type][ring].fence;
1391 struct drm_amdgpu_cs_chunk_sem *sem = &syncobj[i] local
1414 struct amdgpu_cs_fence *sem; local
    [all...]
  /xsrc/external/mit/xorgproto/dist/include/X11/
Xthreads.h 102 HANDLE sem; member in struct:_xthread_waiter
142 WaitForSingleObject(_tmpthr->sem, INFINITE); \
148 ReleaseSemaphore((cv)->waiters->sem, 1, NULL); \
157 ReleaseSemaphore(_tmpthr->sem, 1, NULL); \
  /xsrc/external/mit/MesaLib/dist/src/amd/compiler/
aco_print_ir.cpp 231 print_semantics(memory_semantics sem, FILE* output)
235 if (sem & semantic_acquire)
237 if (sem & semantic_release)
239 if (sem & semantic_volatile)
241 if (sem & semantic_private)
243 if (sem & semantic_can_reorder)
245 if (sem & semantic_atomic)
247 if (sem & semantic_rmw)
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
sfn_nir_lower_64bit.cpp 356 nir_io_semantics sem = nir_intrinsic_io_semantics(load1); local
359 sem.num_slots = 1;
360 nir_intrinsic_set_io_semantics(load1, sem);
363 sem.location += 1;
364 nir_intrinsic_set_io_semantics(load2, sem);
377 nir_io_semantics sem = nir_intrinsic_io_semantics(store1); local
389 sem.num_slots = 1;
390 nir_intrinsic_set_io_semantics(store1, sem);
392 sem.location += 1;
393 nir_intrinsic_set_io_semantics(store2, sem);
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
zink_batch.h 73 VkSemaphore sem; member in struct:zink_batch_state

Completed in 41 milliseconds

1 2