OpenGL: Don't name VS inputs as 'geom' inputs.

Geometry shaders come after vertex shaders, not before.
This commit is contained in:
jp9000 2014-06-07 19:31:57 -07:00
parent 813dfc6508
commit 3ce70778f9

View File

@ -59,7 +59,7 @@ static inline void gl_shader_parser_init(struct gl_shader_parser *glsp,
glsp->type = type;
if (type == SHADER_VERTEX) {
glsp->input_prefix = "_geom_shader_attrib";
glsp->input_prefix = "_input_attrib";
glsp->output_prefix = "_vertex_shader_attrib";
} else if (type == SHADER_PIXEL) {
glsp->input_prefix = "_vertex_shader_attrib";