graphitemaster / glsl-parser

A GLSL parser
MIT License
260 stars 30 forks source link

Syntax error when initializing a uniform to a default value #11

Closed ralucado closed 4 years ago

ralucado commented 6 years ago

The standard GLSL initalizer syntax supports uniform default value initialization on declariation like so: uniform vec3 initialUniform = vec3(1.0, 0.0, 0.0); However this parser throws a "syntax error" when this is attempted.

graphitemaster commented 4 years ago

Yes this is a legitimate bug.

ralucado commented 4 years ago

Awesome!