icculus / mojoshader

Use Direct3D shaders with other 3D rendering APIs.
https://icculus.org/mojoshader/
zlib License
122 stars 36 forks source link

Metal Effect Support #13

Closed TheSpydog closed 4 years ago

TheSpydog commented 5 years ago

An Effects interface for Metal. Much of the code is copy-pasted from mojoshader_opengl.c with a few significant changes:

TheSpydog commented 4 years ago

Pushed fixes for the stuff you mentioned. If everything looks good I'll send you a hg diff! :)

flibitijibibo commented 4 years ago

New changes are good - pull from upstream one more time and I'll make the Hg commit!

flibitijibibo commented 4 years ago

Pushed! https://hg.icculus.org/icculus/mojoshader/rev/3ecd29a50d9d