Merge pull request #264 from sephiroth99/fix_gs_location
gl4: command_processor: fix locations in geometry shader header
This commit is contained in:
commit
226ef4d3e6
|
@ -276,8 +276,8 @@ bool CommandProcessor::SetupGL() {
|
||||||
" vec4 o[16];\n"
|
" vec4 o[16];\n"
|
||||||
"};\n"
|
"};\n"
|
||||||
"\n"
|
"\n"
|
||||||
"layout(location = 0) in VertexData in_vtx[];\n"
|
"layout(location = 1) in VertexData in_vtx[];\n"
|
||||||
"layout(location = 0) out VertexData out_vtx;\n";
|
"layout(location = 1) out VertexData out_vtx;\n";
|
||||||
// TODO(benvanik): fetch default point size from register and use that if
|
// TODO(benvanik): fetch default point size from register and use that if
|
||||||
// the VS doesn't write oPointSize.
|
// the VS doesn't write oPointSize.
|
||||||
// TODO(benvanik): clamp to min/max.
|
// TODO(benvanik): clamp to min/max.
|
||||||
|
|
Loading…
Reference in New Issue