Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing on a trivial es300 example #26

Open
shooshx opened this issue Dec 4, 2019 · 0 comments
Open

Failing on a trivial es300 example #26

shooshx opened this issue Dec 4, 2019 · 0 comments

Comments

@shooshx
Copy link

shooshx commented Dec 4, 2019

#version 300 es
in vec4 vtx_pos;
out vec2 v_coord;
uniform mat3 t_mat;

void main(void)
{
vec3 tmp = t_mat * vec3(vtx_pos.xy, 1.0);
v_coord = tmp.xy;
gl_Position = vec4(vtx_pos.xy, 1.0, 1.0);
}

Running the parser on this code fails on the second like for the token "in"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant