mirror of
https://github.com/AdvDebug/Brovan
synced 2026-08-09 11:57:17 +00:00
Improve Vulkan marshalling compatibility by generating native field offsets/sizes, using a pNext offset macro, and adding scalar width-aware serialize/deserialize helpers for struct bodies (including nested/out/chain paths). This fixes writeback behavior for struct and array outputs across mixed host/guest layouts. Update ICD build scripts to optionally build and deploy a 32-bit vulkan-1.dll to SysWOW64 when an x86 toolchain is available. Also harden NtDeviceIoControlFile output handling by renting zeroed output buffers from ArrayPool, writing back only on successful status, and returning non-pending buffers to the pool.