3 ms·
Nat Brown from Valve posted a comment on the article: >I know app rejections and the Apple ecosystem rules can be frustrating and cause a lot of consternation,
by GeekyBear 8y ago
Nat Brown from Valve posted a comment on the article:
>I know app rejections and the Apple ecosystem rules can be frustrating and cause a lot of consternation, but in this case I think this is likely a legitimate rejection for using the kIOSurfaceIsGlobal=true flag when creating an IOSurface - Apple documents this as private and not allowed by sandboxed apps on iOS, and there are legitimate security & sandbox reasons to not support IOSurfaces that can be guessed and mapped to a foreign process using IOSurfaceLookup(). It's likely Apple's static analyzer found this during submission. We (Valve) worked to add this type of IOSurface-backed MTLTexture for Vulkan VR support for macOS and I suspect it slipped into the iOS build inadvertently - we don't need that support on iOS (yet? If somebody knows the developer and can point them my way (natb@valvesoftware.com) I'd be happy to figure out if this was the only issue, and I'll create a PR for MoltenVK to drop the global flag out of the iOS build.
>Apple graphics folks I work with are fine with MoltenVK, and many Apple and AMD folks have provided concrete technical feedback to improve the performance of MoltenVK, and we have uncovered bugs in HLSL->GLSL->SPIR-V->MSL together which should help make the entire graphics ecosystem stronger.
https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/1034847-apple-rejects-ios-app-for-using-moltenvk-vulkan-alleged-non-public-api/page4 https://www.phoronix.com/forums/forum/phoronix/latest-phoron...
So, no. Apple isn't out to get MoltenVK. On the contrary, they have been helping improve it's performance.