25 Jan
2023
25 Jan
'23
5:30 a.m.
The PE build of vkd3d uses Windows critical sections for synchronisation, and these slow down on the very high lock/unlock rate during multithreaded descriptor copying in Shadow of the Tomb Raider. This patch speeds up the demo by about 8%. By comparison, using SRW locks in the allocators and locking them for read only where applicable is about 4% faster. -- v3: vkd3d: Store a heap array index in each CBV/SRV/UAV descriptor. https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/67