Misc tweaks.

This commit is contained in:
Ben Vanik
2015-01-04 04:59:26 -08:00
parent 34fb0e4a8a
commit eda38a7428
6 changed files with 14 additions and 5 deletions

View File

@@ -215,6 +215,7 @@ void Shader::GatherVertexFetch(const instr_fetch_vtx_t* vtx) {
desc.stride_words = vtx->stride;
el = &desc.elements[desc.element_count++];
}
++inputs.total_elements_count;
el->vtx_fetch = *vtx;
el->format = static_cast<VertexFormat>(vtx->format);