radv/winsys: Add binary syncobj ABI changes for timeline semaphores.
[mesa.git] / src / amd / vulkan / winsys / amdgpu / radv_amdgpu_winsys.h
index 0601481625c622ebecf1bfaa2aeaf863681e4303..bb8ce8863ba09591b3a373959810c2f80d220a18 100644 (file)
@@ -55,6 +55,11 @@ struct radv_amdgpu_winsys {
        uint64_t allocated_vram;
        uint64_t allocated_vram_vis;
        uint64_t allocated_gtt;
+
+       /* syncobj cache */
+       pthread_mutex_t syncobj_lock;
+       uint32_t *syncobj;
+       uint32_t syncobj_count, syncobj_capacity;
 };
 
 static inline struct radv_amdgpu_winsys *