Closed automaticp closed 10 months ago
Btw, sorry, by matching names I meant the names of the parameters, not the interface blocks themselves. This still happens if the blocks have different names.
Unfortunately, I haven't implemented field-completions for named interface blocks, so this is expected: the fields are treated as globals. I have been meaning to rewrite the name-resolution/type-checking to something less hacky. But until then I guess another hack could do the trick :shrug:
glsl_analyzer v1.0.8
The hover hint seems to confuse the parameters between
in
andout
interface blocks as the same variable if their names match.The snippet:
The hint I get: