Closed na-na-hi closed 6 days ago
No need to reset mp_pass_perf which is only read when desc.len > 0. This avoids zeroing >16384 uint64_t's every time it's called. Profiling shows that this reduces CPU usage for frame rendering by ~4%.
mp_pass_perf
desc.len > 0
uint64_t
Download the artifacts for this pull request:
No need to reset
mp_pass_perf
which is only read whendesc.len > 0
. This avoids zeroing >16384uint64_t
's every time it's called. Profiling shows that this reduces CPU usage for frame rendering by ~4%.