[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
committed by crueter
parent 3d0eb4b5d7
commit ad2225b5d0
7 changed files with 94 additions and 16 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ namespace Tegra::Engines {
KeplerCompute::KeplerCompute(Core::System& system_, MemoryManager& memory_manager_)
: system{system_}, memory_manager{memory_manager_}, upload_state{memory_manager, regs.upload} {
execution_mask.reset();
execution_mask.fill(0);
execution_mask[KEPLER_COMPUTE_REG_INDEX(exec_upload)] = true;
execution_mask[KEPLER_COMPUTE_REG_INDEX(data_upload)] = true;
execution_mask[KEPLER_COMPUTE_REG_INDEX(launch)] = true;