1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 11:46:02 +00:00
Ryujinx/Ryujinx.Graphics.Vulkan/Queries
jhorv 23c844b2aa
Misc performance tweaks (#4509)
* use Array.Empty() where instead of allocating new zero-length arrays

* structure for loops in a way that the JIT will elide array/Span bounds checking

* avoiding function calls in for loop condition tests

* avoid LINQ in a hot path

* conform with code style

* fix mistake in GetNextWaitingObject()

* fix GetNextWaitingObject() possibility of returning null if all list items have TimePoint == long.MaxValue

* make GetNextWaitingObject() behave FIFO behavior for multiple items with the same TimePoint
2023-03-11 17:05:48 -03:00
..
BufferedQuery.cs Fix some Vulkan validation errors (#4357) 2023-02-08 14:34:22 +01:00
CounterQueue.cs Minor code formatting (#4498) 2023-03-04 14:43:08 +01:00
CounterQueueEvent.cs Vulkan: Reset queries on same command buffer (#4329) 2023-01-24 13:32:56 -03:00
Counters.cs Misc performance tweaks (#4509) 2023-03-11 17:05:48 -03:00