On Thu Nov 9 20:16:15 2023 +0000, Nikolay Sivov wrote:
Iterating through the scope list is the only way I use to see what groups/techniques/passes contain.
Oh, right, and that's how we free vars too. I think I confused this with Rosé where I did something similar, but I think that was with types rather than vars.
We can't not add it to the scope, but we can make it so that they're never looked up, i.e. just skip anything nameless in hlsl_get_var(). We should never need to look up anything that doesn't have a name.