[maxwell] Refactor execution mask initialization to use fill() instead of reset()

This commit is contained in:
CamilleLaVey
2026-04-01 00:13:41 -04:00
parent d25d460116
commit bdbdfe8e1d
7 changed files with 100 additions and 24 deletions
+9 -5
View File
@@ -6,9 +6,9 @@
#pragma once
#include <bitset>
#include <limits>
#include <vector>
#include <array>
#include <boost/container/small_vector.hpp>
#include "common/common_types.h"
@@ -43,8 +43,12 @@ public:
}
}
std::bitset<(std::numeric_limits<u16>::max)()> execution_mask{};
std::vector<std::pair<u32, u32>> method_sink{};
static constexpr size_t EXECUTION_MASK_TABLE_SIZE = 0xE00;
std::array<u8, EXECUTION_MASK_TABLE_SIZE> execution_mask{};
bool execution_mask_default{};
boost::container::small_vector<std::pair<u32, u32>, 64> method_sink{};
bool current_dirty{};
GPUVAddr current_dma_segment;
bool current_dirty{};
protected: