test(agc): scope unit history checks to write-watched hosts

This commit is contained in:
Zenodeon committed 2026-10-20 18:31:03 +04:00
1 parent 2421f6cfa0
commit 5012f736d0
1 file changed
+1
@@ -388,6 +388,7 @@ void RetiredArrayLayer(AgcDriver::VulkanDevice& device) {
}
void UncommittedUnusedLayers(AgcDriver::VulkanDevice& device, std::uint32_t slice) {
if (!AgcDriver::GuestMemory::WriteWatched()) return;
GuestBlock block(LayerBytes, slice * LayerBytes, false);
const auto surface = AddressOf(block.Data());
const auto active = surface + slice * LayerBytes;