Skip to content

Failing on a trivial es300 example #26

Open
@shooshx

Description

@shooshx

#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"

Metadata

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