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
{{ message }}
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
I've been digging into the source code and saw comments indicating that this behaviour is intentional, and that the order in the reflection data can be used to create a suitable mapping. However, it will not be as obvious when vertex formats can be shared. Can you elaborate on why glslcc is doing this?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems that glslcc is reordering the vertex layout according to usage when transpiling to MSL:
Gives me this input in MSL:
The attribute order is the usage order in the code, not the original location. If I change the source's main() to:
I get the 'correct' order.
The text was updated successfully, but these errors were encountered: