You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the Unity implementation allocates a bit of extra into compute buffers. The first 4 bytes are always reserved for compute counters to make things simple. To use current implementation as-is, some offset handling in the Metal runtime code is required
I had to change this offset to 0. I'm not really sure what's going on there, but maybe it is a bug, maybe not. It was for me.
https://github.com/Unity-Technologies/HLSLcc/blob/master/src/toMetalDeclaration.cpp#L1019
The text was updated successfully, but these errors were encountered: