Files
reims-vgpu/guest/bundle/tests
Anees Iqbal 8022af3b1b 🐛 Answer programmable blending as the device answers framebuffer reads
supportsProgrammableBlending, an MTLDeviceSPI query, was left to the IOGPU
base, which answers NO, while the device answers isFramebufferReadSupported
from the host's flag: YES to an arm64 guest on the M3 Max, so the guest's
frameworks saw a device that reads its framebuffer but cannot blend in its
shaders, which no Mac answers. Metal's devices give both queries the same answer
(measured with respondsToSelector: and the method: the M3 Max and the Intel UHD
630 YES to both, the AMD Radeon Pro 5300M NO to both). The device now answers
supportsProgrammableBlending as it answers isFramebufferReadSupported: the
host's flag, which an arm64 guest gets from its GPU and an x86-64 guest as NO,
so an x86-64 guest's answer stays NO.
2026-11-10 00:34:34 -08:00
..