Skip to content

Using same uniform name as a variable is authorised by the language #3

Description

@gre
uniform float bar;
void foo () {
  float bar = mix(bar, bar, 0.0);
}

is today transformed to:

uniform float bar;void a(){float b=mix(b,b,0.0);}

(BTW that is something my other PR didn't fixed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions