summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VertexManager.cpp
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@gmail.com>2026-02-16 23:36:39 +0100
committerMartino Fontana <tinozzo123@gmail.com>2026-11-22 17:17:03 +0100
commitb23f8d91b0568c886fb503ded8802bd4e47d170b (patch)
treef9689fa84c47b35b5c2cb9190a5a567ce7056521 /Source/Core/VideoBackends/Vulkan/VertexManager.cpp
parenta76221bc3109da6147d7e22b941c64712103dd6e (diff)
JitRegCache: Refactor using a data oriented design
Replace the "array of structure" design with a "structure of array". Boolean members are represented by a bitset. The main benefit is that filtering the registers in regcache operations can be done in one simple bitwise instruction. This is especially useful on `Flush`, as callers don't need anymore to limit the iterated registers for performance reasons. The change only applies to the x86 regcache.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VertexManager.cpp')
0 files changed, 0 insertions, 0 deletions