Laurent Le Brun

Results 137 comments of Laurent Le Brun

This is not really fixed. Repro (can be tested on minifier online): ```glsl /* vec4 fragColor248; void main248() { float t = 1.5+(1.+.5); fragColor248 = vec4(t); } */ out vec4...

Other repro, with a local variable used twice: Input: ```glsl out vec4 fragColor; void main() { float r = 5. / 10.; fragColor = vec4(r,r,1.,1.); } ``` Output: ```glsl out...

In most cases, I think it would be easier to loop over the input yourself (since we don't have lamdas).

I'm not sure how that would work. Do you have collisions with the function names, or with other symbols (e.g. uniforms)? If it's with function names, how would you call...

Thanks for the report, this is clearly a bug. No need to send more code. (if no one else sends a PR before, I expect to work on it in...

When you have `load(..., "foo")`, the symbol `foo` will be defined in the file. When you have the global definition `foo = ...`, the symbol `foo` will also be defined...

I'd personally discourage having a `print` keyword: * `print` can be a useful name for a user-defined method * Python 3 made a breaking change to convert `print` into a...