On Mon May 22 16:56:48 2023 +0000, Zebediah Figura wrote:
No, this is never visible in native. I originally wrote this part, and the motivation was to avoid creating multiple variables with the same name. In order to do it differently we'd need to adjust hlsl_add_var() and hlsl_get_var(), and we may also want to adjust dump_var().
Then I think I would be in favor to emit the `<resource>` as well.