OpenGL: Don't name VS inputs as 'geom' inputs.
Geometry shaders come after vertex shaders, not before.
This commit is contained in:
parent
813dfc6508
commit
3ce70778f9
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user