Metal MTLTexture reading corruption on 10.14 Mojave (all betas so far)

Hi,


I've been getting systematic corruption when reading MTLTexture with the getBytes: API since the first beta of Mojave on Intel GPUs. There's image content, but large number of pixels have incorrect values (radom). Was working fine on High Sierra / Sierra. I reported it as rdar://41080985


I did some additional testing and it looks like it is linked to the blit command encoder: when I remove that call, the texture is correctly read. But this call is supposed to be mandatory, and remove it is not a valid workaround (it actually fails with other GPU types).


Is this a known problem on Mojave? Any feedback?


Thank you.