anv: Delete ANV_SEMAPHORE_TYPE_DUMMY
It's never set as a semaphore type. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13427>
This commit is contained in:
parent
e3fda7ae78
commit
dc62695c3a
|
@ -3322,7 +3322,6 @@ struct anv_event {
|
|||
|
||||
enum anv_semaphore_type {
|
||||
ANV_SEMAPHORE_TYPE_NONE = 0,
|
||||
ANV_SEMAPHORE_TYPE_DUMMY,
|
||||
ANV_SEMAPHORE_TYPE_WSI_BO,
|
||||
ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ,
|
||||
ANV_SEMAPHORE_TYPE_TIMELINE,
|
||||
|
|
|
@ -2290,7 +2290,6 @@ anv_semaphore_impl_cleanup(struct anv_device *device,
|
|||
{
|
||||
switch (impl->type) {
|
||||
case ANV_SEMAPHORE_TYPE_NONE:
|
||||
case ANV_SEMAPHORE_TYPE_DUMMY:
|
||||
/* Dummy. Nothing to do */
|
||||
break;
|
||||
|
||||
|
|
|
@ -149,8 +149,6 @@ VkResult anv_QueuePresentKHR(
|
|||
semaphore->temporary.type != ANV_SEMAPHORE_TYPE_NONE ?
|
||||
&semaphore->temporary : &semaphore->permanent;
|
||||
|
||||
if (impl->type == ANV_SEMAPHORE_TYPE_DUMMY)
|
||||
continue;
|
||||
assert(impl->type == ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ);
|
||||
syncobjs[wait_count] = impl->syncobj;
|
||||
values[wait_count] = 0;
|
||||
|
|
Loading…
Reference in New Issue