diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 05:13:29 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 05:14:11 -0300 |
| commit | 6f5d45aeccb530c0680aadaf4732b8fe88d6b22e (patch) | |
| tree | 1701d8363c0da07c7eda13929328e5a08e7f82cb /src/common/wall_clock.cpp | |
| parent | 2f40ef90c5660f2ce0cc8fce6d6c1ac5987f541c (diff) | |
vk_staging_buffer_pool: Inline tick tests
Load the current tick to a local variable, moving it out of an atomic
and allowing us to compare the value without going through a pointer
each time. This should make the loop more optimizable.
Diffstat (limited to 'src/common/wall_clock.cpp')
0 files changed, 0 insertions, 0 deletions
