Compute Shaders AND Geometry Shaders at the same time on Mac OSX

I’m working on a game that uses compute shaders extensively and am using Metal on Unity 2017.2 on a mac. These have been working really well. The problem I’m having is that geometry shaders only work on OpenGL (where they work great) and I’m trying to make some grass on a terrain, which would be easy with a geometry shader.

Is there a work around for geometry shaders on Mac with Metal? I.e. some way to create new tris for rendering using a compute shader without passing them to the CPU? So far I’ve come up with nothing.

Alternatively, if there’s some eta for having both geometry and compute shaders at the same time on Unity on Mac OSX, would love to know when.

1 Like

It appears you’ll have access to both via macOS High Sierra Metal2.

Hint: The asset uNature may contain reference code to perform Compute & Geometry Shaders at same time on GPU.

Thanks for the reply. Looks like you’re right that Metal2 will have support for geometry shaders, but I guess it will be a wait until Unity supports them in their shaders?

1 Like

Any news on this? I also want to use Geometry shaders on a Mac.
Any help or workaround info welcome!

Metal doesn’t support geometry shaders.