Closed hugoam closed 4 years ago
I accidentally ended up here after github suggested to take a look at mud :)
I solved a similar issue with Metal a couple of weeks ago. In my case the problem seemed to be that I was setting a vertex stream which wasn't used by the shader. More specifically, I was using 3 vertex streams (pos, color and uv) and all of them were used by the most common shader. But once I used a shader which didn't use the uv stream, I got that error from Metal. Solved by moving the uv stream binding inside the specific case.
See: https://github.com/jdryg/vg-renderer/commit/23e2221c7e72058547557f17ed138beb4423c5ed
Hope it helps :)
Well sounds like it might actually come from vg-renderer then :) Sadly I don't have an OSX device myself to check. Thanks for the heads up!
Metal backend has been found to fail with the following stacktrace:
For now this can be worked around by forcing the renderer to OpenGL, but in the future we want to support the Metal backend.