On Tue Oct 25 15:14:20 2022 +0000, Giovanni Mascellani wrote:
That seems to be quite obvious.
Obvious and yet also incomplete. type->name isn't set for all types, only typedefs and structs.
As something of an aside that this just reminds me of: I wonder if we should precompute hlsl_type_to_string(), especially considering that in most cases it basically already is precomputed. It'd save us a bit of effort and OOM handling every time we print it to console.