anv: Stop reference counting semaphores
The only reason we had to refcount semaphores was for the ancient sync_file semaphores which we used for pre-syncobj kernels. Now that we assume syncobj and that code is gone, we don't need reference counting anymore either. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9777>
This commit is contained in:

committed by
Marge Bot

parent
d44ea09e61
commit
46cc332025
@@ -3394,8 +3394,6 @@ struct anv_semaphore_impl {
|
||||
struct anv_semaphore {
|
||||
struct vk_object_base base;
|
||||
|
||||
uint32_t refcount;
|
||||
|
||||
/* Permanent semaphore state. Every semaphore has some form of permanent
|
||||
* state (type != ANV_SEMAPHORE_TYPE_NONE). This may be a BO to fence on
|
||||
* (for cross-process semaphores0 or it could just be a dummy for use
|
||||
|
Reference in New Issue
Block a user