We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related: GLSL Compute shader throws same error #22
Passthrough compute shade:
#version 330 layout(triangles) in; layout(triangle_strip, max_vertices = 3) out; void main() { for(int i = 0; i < 3; i++) { gl_Position = gl_in[i].gl_Position; EmitVertex(); } EndPrimitive(); }
results in:
Parse error: Error in triGeometry_g.geom: Ln: 3 Col: 21 layout(triangles) in; ^ Expecting: Type qualifier, identifier, 'layout' or 'struct'
The text was updated successfully, but these errors were encountered:
Workaround: add verbatim markers.
//[ layout(triangles) in; layout(triangle_strip, max_vertices = 3) out; //]
Sorry, something went wrong.
Parse decl-less layout as verbatim. Fixes #22, #29
f4246b7
Parse decl-less layout as verbatim. Fixes #22, #29 (#364)
f6bfbd2
No branches or pull requests
Related: GLSL Compute shader throws same error #22
Passthrough compute shade:
results in:
The text was updated successfully, but these errors were encountered: