-
-
Notifications
You must be signed in to change notification settings - Fork 310
Open
Description
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();
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels