Skip to content

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

Open
@gre

Description

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

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions