Searched refs:sem (Results 1 - 25 of 42) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_mediump.c80 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local in function:nir_recompute_io_bases
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 in function:nir_recompute_io_bases
106 unsigned num_slots = sem.num_slots;
107 if (sem
160 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local in function:nir_lower_mediump_io
277 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local in function:nir_force_mediump_io
329 nir_io_semantics sem = nir_intrinsic_io_semantics(intr); local in function:nir_unpack_16bit_varying_slots
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_wsi.c76 VK_FROM_HANDLE(panvk_semaphore, sem, pAcquireInfo->semaphore);
86 sem ? &sem->syncobj : NULL);
H A Dpanvk_sync.c163 struct panvk_semaphore *sem = local in function:panvk_CreateSemaphore
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
[all...]
H A Dpanvk_vX_device.c217 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/
H A Damdgpu_cs.c39 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 in function:amdgpu_cs_ctx_free
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 in function:amdgpu_cs_submit_one
353 LIST_FOR_EACH_ENTRY(sem, sem_list, list)
362 LIST_FOR_EACH_ENTRY_SAFE(sem, tm
578 amdgpu_cs_create_semaphore(amdgpu_semaphore_handle * sem) argument
595 amdgpu_cs_signal_semaphore(amdgpu_context_handle ctx,uint32_t ip_type,uint32_t ip_instance,uint32_t ring,amdgpu_semaphore_handle sem) argument
628 amdgpu_cs_wait_semaphore(amdgpu_context_handle ctx,uint32_t ip_type,uint32_t ip_instance,uint32_t ring,amdgpu_semaphore_handle sem) argument
650 amdgpu_cs_reset_sem(amdgpu_semaphore_handle sem) argument
664 amdgpu_cs_unreference_sem(amdgpu_semaphore_handle sem) argument
674 amdgpu_cs_destroy_semaphore(amdgpu_semaphore_handle sem) argument
[all...]
H A Damdgpu.h1520 * \param sem - \c [out] semaphore handle
1526 int amdgpu_cs_create_semaphore(amdgpu_semaphore_handle *sem);
1535 * \param sem - \c [in] semaphore handle
1545 amdgpu_semaphore_handle sem);
1554 * \param sem - \c [in] semaphore handle
1564 amdgpu_semaphore_handle sem);
1569 * \param sem - \c [in] semaphore handle
1575 int amdgpu_cs_destroy_semaphore(amdgpu_semaphore_handle sem);
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_queue.c65 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 in function:vn_queue_submission_count_batch_semaphores
122 const struct vn_sync_payload *payload = sem->payload;
217 struct vn_semaphore *sem = vn_semaphore_from_handle(src_sems[i]); local in function:vn_queue_submission_filter_batch_wsi_semaphores
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
759 vn_semaphore_init_payloads(struct vn_device * dev,struct vn_semaphore * sem,uint64_t initial_val,const VkAllocationCallbacks * alloc) argument
772 vn_semaphore_reset_wsi(struct vn_device * dev,struct vn_semaphore * sem) argument
782 vn_semaphore_signal_wsi(struct vn_device * dev,struct vn_semaphore * sem) argument
801 struct vn_semaphore *sem = vk_zalloc(alloc, sizeof(*sem), VN_DEFAULT_ALIGN, local in function:vn_CreateSemaphore
840 struct vn_semaphore *sem = vn_semaphore_from_handle(semaphore); local in function:vn_DestroySemaphore
862 struct vn_semaphore *sem = vn_semaphore_from_handle(semaphore); local in function:vn_GetSemaphoreCounterValue
977 struct vn_semaphore *sem = local in function:vn_ImportSemaphoreFdKHR
1005 struct vn_semaphore *sem = vn_semaphore_from_handle(pGetFdInfo->semaphore); local in function:vn_GetSemaphoreFdKHR
[all...]
H A Dvn_queue.h83 vn_semaphore_signal_wsi(struct vn_device *dev, struct vn_semaphore *sem);
H A Dvn_wsi.c222 struct vn_semaphore *sem = local in function:vn_AcquireNextImage2KHR
224 if (sem)
225 vn_semaphore_signal_wsi(dev, sem);
/xsrc/external/mit/xorg-server.old/dist/glx/
H A Dglthread.h241 sem_id sem; member in struct:__anonda5987340608
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/
H A Dv3dv_queue.c531 struct v3dv_semaphore *sem = v3dv_semaphore_from_handle(sems[i]); local in function:process_semaphores_to_signal
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 in function:v3dv_CreateSemaphore
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, pImportSemaphoreFdInf
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dnine_shader.c2028 sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem, argument
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
2184 nine_tgsi_to_interp_mode(struct tgsi_declaration_semantic * sem) argument
2219 struct sm1_semantic sem; local in function:DECL_SPECIAL
3408 sm1_read_semantic(struct shader_translator * tx,struct sm1_semantic * sem) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dnine_shader.c2055 sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem, argument
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
2211 nine_tgsi_to_interp_mode(struct tgsi_declaration_semantic * sem) argument
2246 struct sm1_semantic sem; local in function:DECL_SPECIAL
3443 sm1_read_semantic(struct shader_translator * tx,struct sm1_semantic * sem) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_lower_point_sprite.c261 for (unsigned int sem = 0; sem < 9; sem++) { local in function:d3d12_lower_point_sprite
262 if (point_coord_enable & BITFIELD64_BIT(sem)) {
264 unsigned location = VARYING_SLOT_VAR0 + sem;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_draw.c224 vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx) argument
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/gallium/drivers/nouveau/nv30/
H A Dnv30_draw.c224 vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx) argument
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/
H A Dtu_drm.c741 tu_DestroySemaphore(VkDevice device, VkSemaphore sem, const VkAllocationCallbacks *pAllocator) argument
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_value
1201 struct tu_syncobj *sem = submit->signal_timelines[i]; local in function:tu_queue_submit_locked
[all...]
H A Dtu_kgsl.c441 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/
H A Dradv_device.c2779 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
3978 struct radv_semaphore *sem = vk_alloc2(&device->alloc, pAllocator, local in function:radv_CreateSemaphore
[all...]
H A Dradv_radeon_winsys.h177 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/
H A Dradv_amdgpu_cs.c1354 struct amdgpu_cs_fence *sem = CALLOC_STRUCT(amdgpu_cs_fence); local in function:radv_amdgpu_create_sem
1355 if (!sem)
1358 return (struct radeon_winsys_sem *)sem;
1363 struct amdgpu_cs_fence *sem = (struct amdgpu_cs_fence *)_sem; local in function:radv_amdgpu_destroy_sem
1364 FREE(sem);
1373 struct amdgpu_cs_fence *sem = (struct amdgpu_cs_fence *)(sem_info->signal.sem)[i]; local in function:radv_amdgpu_signal_sems
1375 if (sem->context)
1378 *sem = ctx->last_submission[ip_type][ring].fence;
1391 struct drm_amdgpu_cs_chunk_sem *sem local in function:radv_amdgpu_cs_alloc_syncobj_chunk
1414 struct amdgpu_cs_fence *sem; local in function:radv_amdgpu_cs_submit
[all...]
/xsrc/external/mit/xorgproto/dist/include/X11/
H A DXthreads.h102 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/
H A Daco_print_ir.cpp231 print_semantics(memory_semantics sem, FILE* output) argument
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/
H A Dsfn_nir_lower_64bit.cpp356 nir_io_semantics sem = nir_intrinsic_io_semantics(load1); local in function:r600::LowerSplit64BitVar::split_double_load
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 in function:r600::LowerSplit64BitVar::split_store_output
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/
H A Dzink_batch.h73 VkSemaphore sem; member in struct:zink_batch_state

Completed in 43 milliseconds

12