diff options
Diffstat (limited to 'src/dxvk/dxvk_resource.h')
-rw-r--r-- | src/dxvk/dxvk_resource.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/dxvk/dxvk_resource.h b/src/dxvk/dxvk_resource.h index 97e82cb7..185a2b56 100644 --- a/src/dxvk/dxvk_resource.h +++ b/src/dxvk/dxvk_resource.h @@ -103,19 +103,6 @@ namespace dxvk { return bool(m_useCount.load() & mask); } - /** - * \brief Waits for resource to become unused - * - * Blocks calling thread until the GPU finishes - * using the resource with the given access type. - * \param [in] access Access type to check for - */ - void waitIdle(DxvkAccess access = DxvkAccess::Read) const { - sync::spin(50000, [this, access] { - return !isInUse(access); - }); - } - private: std::atomic<uint64_t> m_useCount; |