Merge pull request #264 from sephiroth99/fix_gs_location

gl4: command_processor: fix locations in geometry shader header
This commit is contained in:
Ben Vanik 2015-06-17 23:25:25 -07:00
commit 226ef4d3e6
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ bool CommandProcessor::SetupGL() {
" vec4 o[16];\n"
"};\n"
"\n"
"layout(location = 0) in VertexData in_vtx[];\n"
"layout(location = 0) out VertexData out_vtx;\n";
"layout(location = 1) in VertexData in_vtx[];\n"
"layout(location = 1) out VertexData out_vtx;\n";
// TODO(benvanik): fetch default point size from register and use that if
// the VS doesn't write oPointSize.
// TODO(benvanik): clamp to min/max.