veldrid / veldrid-spirv

SPIR-V shader translation for Veldrid, using SPIRV-Cross
MIT License
49 stars 36 forks source link

Dylib for apple silicon #30

Open borup3 opened 11 months ago

borup3 commented 11 months ago

How can I build this for mac arm64? My 2 hour adventure has been unfruitful. Help is much appreciated...

peppy commented 11 months ago

The github action can build this for you if you can't figure the local setup.

borup3 commented 11 months ago

How do I run that?

peppy commented 11 months ago

If you're just looking for a binary please look at the nuget packages.

borup3 commented 11 months ago

There's no run option on the actions, and I don't know what you mean with budget packages. I do just want an arm64 dylib, since the packaged osx dylib is x64 and incompatible with apple silicon. I had no trouble building the Windows DLL from source but the dylib is proving troublesome.

peppy commented 11 months ago

Sorry, was a typo, the nuget packages already have arm64 support. If you can't build them yourself then please use those.

The official fork's are at https://www.nuget.org/packages/Veldrid.SPIRV. If this is not working, you can try my experimetal fork https://www.nuget.org/packages/ppy.Veldrid.SPIRV/1.0.15-ge24108e71c.

space192 commented 9 months ago

Hey Peppy do you know how I can force the osu lazer build to use your version of veldrid rather the official one to get by aarch64 linux of osu lazer running ?