Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to macOS, too! #4

Open
leafi opened this issue Mar 27, 2018 · 20 comments
Open

Port to macOS, too! #4

leafi opened this issue Mar 27, 2018 · 20 comments

Comments

@leafi
Copy link

leafi commented Mar 27, 2018

Given that the MoltenVK translation layer is now open source and handled by the Khronos group, please consider compiling for macOS in addition to Linux.

While MoltenVK's translation apparently isn't perfect, it will definitely improve over time, and supporting macOS in addition to Windows and Linux will make V-EZ a more attractive target for ISVs who may want to provide builds for this platform down the line.

@soconne
Copy link
Contributor

soconne commented Mar 27, 2018

Porting to macOS is certainly on our TODO list. Thanks.

@drhaynes
Copy link

+1

1 similar comment
@oscarbg
Copy link

oscarbg commented Mar 30, 2018

+1

@soconne
Copy link
Contributor

soconne commented May 1, 2018

This is currently being investigated however there are still limitations with MoltenVK. If the various issues I've encountered can be fixed, macOS support will be part of the next release.

@oscarbg
Copy link

oscarbg commented May 1, 2018

Thanks.. have you reported, by opening separate issues on MoltenVK Github site?.. they are supportive and if they take care of issues you found may be useful for other project MacOS ports also..

@drhaynes
Copy link

drhaynes commented May 2, 2018

@soconne can you point us in the direction of the issues that are blockers? Incase myself or someone else has some bandwidth to take a look.

@EncodedNybble
Copy link

Given that macOS is on the roadmap, are iOS and Android support on that roadmap as well?

@soconne
Copy link
Contributor

soconne commented Aug 25, 2018

iOS and Android are unlikely to get full support as AMD does not have hardware for either of those platforms. However since V-EZ is open source, you can always try to get it compiling on them.

@cybik
Copy link

cybik commented Aug 30, 2018

Have the MoltenVK limitations been fixed?

  • If so, is it coming? :)
  • If not, what are they and have they been raised to the MoltenVK project? Since it's OpenSource, someone might actually be able to patch the limitations, or do some intermediate layer between V-EZ and MoltenVk, or something.

@RSI3D
Copy link

RSI3D commented Sep 28, 2018

What is the status of MoltenVK integration? Using E-VZ on MacOS would be really useful.

@manhnt9
Copy link

manhnt9 commented Oct 4, 2018

Please point out what are limitations of MoltenVK affecting V-EZ and progress updates.
I'm glad to investigate and help resolving the issues.

@manhnt9
Copy link

manhnt9 commented Jul 2, 2019

Our attempt to port V-EZ to MacOS.
It works but currently the window resolution is wrong somehow.

Running on Intel(R) Iris(TM) Graphics 550
Screen_Shot_2019-07-02_at_6 05 38_PM

@rextimmy
Copy link

rextimmy commented Jul 2, 2019

You running that on a Retina display? If you are and you are also using glfw, check the glfw docs about using glfwGetFramebufferSize instead of glfwGetWindowSize.

@manhnt9
Copy link

manhnt9 commented Jul 2, 2019

Maybe, I'm not familiar with Mac (it is a Macbook).
Thanks for the suggestion! I'll test it out.

@manhnt9
Copy link

manhnt9 commented Aug 2, 2019

We've succesfully built and run Saga3D (which uses V-EZ underlying) on MacOS, some samples are working on iOS initially. Saga3D is 90% ported for iOS, more news is coming!

@oscarbg
Copy link

oscarbg commented Aug 2, 2019

@manhnt9 , nice.. current MoltenVK 1.0.36 in SDK 1.1.114 works out of the box? or V-EZ needs some MoltenVK patches?
thanks..

@manhnt9
Copy link

manhnt9 commented Aug 2, 2019

It needs a little patching. I haven't grabbed full changelogs from team yet.
Here is a Saga3D Triangle sample running on real iPhone we have today.

Screen_Shot_2019-08-02_at_4 38 44_PM

@cybik
Copy link

cybik commented Aug 2, 2019

Three cheers for @manhnt9 coming through for us :D

(I could probably reuse this)

@manhnt9
Copy link

manhnt9 commented Aug 6, 2019

We are able to load a mesh and render it on iPhone 6 with V-EZ.
Check out Saga3D (ios branch) here: https://gitlab.com/InnerPieceOSS/Saga3D/
Screen_Shot_2019-08-05_at_11 03 33_PM

Since V-EZ's repo is inactive now, I'm not sure how we would contribute back to it.
If V-EZ gets too long to be updated we may step up to maintain our own fork.
There was some progress on Android by us too.

@cybik
Copy link

cybik commented Aug 6, 2019

Feel free to fork their repo here and introduce a PR. We can probably source your patches from there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants