summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@gmail.com>2026-02-15 10:42:25 +0100
committerMartino Fontana <tinozzo123@gmail.com>2026-11-15 22:31:04 +0100
commit14d5fe714d5c270fdce4e8541b3903de3d5b2cff (patch)
treed21ccfa76a9c9853fea69d963d63a0d35ce2269f /Source/Core/VideoCommon/VertexLoaderManager.cpp
parentc73fcc15300546f598481203f3ae9526968106c2 (diff)
BitSet: Some small additions
Also add requirements for using range functions. And micro-optimize testing if a bit is set (GCC and MSVC struggle to emit `bt` or `tbz`/`tbnz` with `bs & (1 << n)` compared to `(bs >> n) & 1`).
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index e3d3b9f33b..809b69aea3 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -135,8 +135,8 @@ void UpdateVertexArrayPointers()
void MarkAllDirty()
{
g_bases_dirty = true;
- g_main_vat_dirty = BitSet8::AllTrue(8);
- g_preprocess_vat_dirty = BitSet8::AllTrue(8);
+ g_main_vat_dirty = BitSet8::AllTrue();
+ g_preprocess_vat_dirty = BitSet8::AllTrue();
g_needs_cp_xf_consistency_check = true;
}