On Fri Feb 10 10:18:42 2023 +0000, Giovanni Mascellani wrote:
I'm still in favor of creating it in `hlsl_new_func_decl()`. Agreed, it doesn't make a big difference, but it's one less thing to track when reading `lower_return()`. Though I can live with it as it is right now.
I don't have a preference personally, so I went ahead and changed it in v3.