Implementing one case of conditional shader execution blocks.

This commit is contained in:
Ben Vanik
2015-03-14 23:55:33 -07:00
parent ff4e9c32b6
commit 613fdac71d
3 changed files with 16 additions and 12 deletions

View File

@@ -2264,6 +2264,7 @@ CommandProcessor::UpdateStatus CommandProcessor::PopulateVertexBuffers() {
fetch = &group->vertex_fetch_2;
break;
}
assert_true(fetch->endian == 2);
// Constrain the vertex upload to just what we are interested in.
const size_t kRangeKludge = 5; // could pick index count based on prim.