Fix macOS aggregate test build (#536)

* tests: add Darwin memory test support

* tests: fix x86_64 aggregate test build

* tests: verify macOS memory and shader tests

* tests: validate macOS death-test setup before fork

---------

Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
Saif Malik
2026-09-28 17:43:28 -04:00
committed by GitHub
parent 21d7e8e1f0
commit 6f241bef49
4 changed files with 152 additions and 2 deletions
+1 -1
View File
@@ -9743,7 +9743,7 @@ public:
std::memset(mapped, 0, allocation_size);
for (uint32_t face = 0; face < layers; face++) {
const auto depth = depth_at(face, false);
for (const auto address : {base, ordinary_address}) {
for (const auto address : {static_cast<uint64_t>(base), ordinary_address}) {
std::memcpy(reinterpret_cast<void *>(address + face * 0x100),
&depth, sizeof(depth));
}