From 14d5fe714d5c270fdce4e8541b3903de3d5b2cff Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sun, 15 Feb 2026 10:42:25 +0100 Subject: 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`). --- Source/Core/VideoCommon/VertexLoaderManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp') 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; } -- cgit v1.2.3