| Summary: | Add support to metal in iOS/tvOS simulator | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vincent Hamm <vincent.hamm> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | iOS (All) | ||
| Attachments: | patch to enable metal on simulator | ||
Patch added, thanks! https://hg.libsdl.org/SDL/rev/c338cc4cad04 |
Created attachment 4395 [details] patch to enable metal on simulator Xcode11 and ios13 added support for metal simulator. Here is a quick and dirty patch to enable it. Pretty early and only tested on a few samples for now. Required mostly to enable metal support on correct version of ios, generate simulator compatible shaders and enforce buffer alignments on simulator (same as osx). Not including the shaders in the patch for brevity. Just run build-metal-shaders.sh to generate them.