mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-12-06 20:53:40 +01:00
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`).
This commit is contained in:
1 parent
c73fcc1530
commit
14d5fe714d
9 files changed
+41
-28
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user