summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-05-17 11:53:53 -0700
committerKenneth Graunke <[email protected]>2013-05-21 13:29:27 -0700
commit64a87f29ce29d3c2e01b7fd79386bf6ace454f62 (patch)
treeae20d2a93f5255582b157a6c02ba3531a8b263ad /src/mesa/main/texformat.c
parent647fc0c50bc9832c336b2b7e4329abec31df9dec (diff)
i965: Kill software primitive counting entirely.
Now that we have hardware contexts, we don't need to continually reprogram the GS_SVBI_INDEX registers. They're automatically saved and restored with the context, so they can just increment over time. We only need to reset them when starting transform feedback. There's also no reason to delay until the next drawing operation; we can just emit the packet immediately. However, this means we must drop the initialization in brw_invariant_state, as BeginTransformFeedback may occur before the first drawing in a context. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/main/texformat.c')
0 files changed, 0 insertions, 0 deletions