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
I've tried to debug a geometry shader and the app just keeps dying.
here is the shader that just crashes everything: the other shaders are the glsl simple shaders, this is literally just from an example on here: https://learnopengl.com/Advanced-OpenGL/Geometry-Shader
#version 450 core layout (points) in; layout (line_strip, max_vertices = 3) out; void main() { gl_Position = gl_in[0].gl_Position + vec4(-0.1, 0.0, 0.0, 0.0); EmitVertex(); gl_Position = gl_in[0].gl_Position + vec4( 0.1, 0.0, 0.0, 0.0); EmitVertex(); gl_Position = gl_in[0].gl_Position + vec4( 0.0, 1.0, 0.0, 0.0); EmitVertex(); EndPrimitive(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've tried to debug a geometry shader and the app just keeps dying.
here is the shader that just crashes everything:
the other shaders are the glsl simple shaders, this is literally just from an example on here: https://learnopengl.com/Advanced-OpenGL/Geometry-Shader
The text was updated successfully, but these errors were encountered: