vs export mode 2 is ok.

This commit is contained in:
Ben Vanik 2015-03-14 20:07:55 -07:00
parent 6f0ca00651
commit 55556e774f
1 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,10 @@ std::string GL4ShaderTranslator::TranslateVertexShader(
// Normal shaders only, for now.
// TODO(benvanik): transform feedback/memexport.
assert_true(program_cntl.vs_export_mode == 0);
// 0 = normal
// 2 = point size
assert_true(program_cntl.vs_export_mode == 0 ||
program_cntl.vs_export_mode == 2);
// Add vertex shader input.
uint32_t el_index = 0;