On Wed Feb 8 19:21:39 2023 +0000, Zebediah Figura wrote:
I don't know if this is right, but it looks like a hack. What are we supposed to do with structs?
`sm4_sort_externs()` only cares about sorting resources relative to other resoures; for writing the RDEF section.
Structs themselves don't appear in the RDEF section so any comparison function is okay for them as long as it is consistent.
Uniform structs containing objects are only allowed in profiles >= 5, and in those profiles these components have to be promoted to individual variables, so they are not to be shown either.