Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Add experimental support for non-x86 archs and MacOS #13

Closed
wants to merge 5 commits into from

Conversation

IonAgorria
Copy link

This PR makes x86 specifics optional in case the platform is different to allow compiling it under ARM64 (not tested in other archs)

Also adds changes required to make it compile under MacOS and run a D3D9 using game.

Please review my changes carefully as this is not my area of expertise and there may be better ways to do this.

@Joshua-Ashton
Copy link
Owner

Looks fine to me, no comment on the Mac-specific stuff though.

@IonAgorria
Copy link
Author

I can split the Mac-specific stuff into another PR if its better.

@Joshua-Ashton
Copy link
Owner

Should be fine.

meson.build Show resolved Hide resolved
src/util/sync/sync_spinlock.h Show resolved Hide resolved
src/util/util_vector.h Outdated Show resolved Hide resolved
src/d3d9/d3d9_device.cpp Outdated Show resolved Hide resolved
src/d3d9/d3d9_device.cpp Show resolved Hide resolved
Add YIELD call for ARM arch instead of x86 PAUSE
Add macros to know the targetting cpu arch
In MoltenVK these features are not yet implemented, so only
request them if available in future.
@caiiiycuk
Copy link

Useful PR I also need this 👍

@q4a
Copy link

q4a commented Jan 2, 2022

Nice) Arm/Aarch64 support is what I need.

@Joshua-Ashton
Copy link
Owner

We should come back to this after DXVK Native gets upstreamed.

@q4a
Copy link

q4a commented Apr 19, 2022

We should come back to this after DXVK Native gets upstreamed.

@Joshua-Ashton Upstreamed here? https://github.com/doitsujin/dxvk

@Joshua-Ashton
Copy link
Owner

Yes, I am not super sure how likely it is for Mac stuff to be upstreamed given we cannot really maintain it, but I think the ARM stuff may have a chance. Will see anyway when the time comes.

@IonAgorria
Copy link
Author

I could remove macos stuff from this PR if desired and maybe make another PR

@q4a
Copy link

q4a commented May 21, 2022

@Joshua-Ashton Is there any chance, that removing macos stuff from this PR will speed up merging?

@Joshua-Ashton
Copy link
Owner

Superceded by doitsujin/dxvk#2911

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

Successfully merging this pull request may close these issues.

None yet

5 participants