vc4: Move draw call reset handling to a helper function.
authorEric Anholt <eric@anholt.net>
Tue, 30 Dec 2014 20:12:15 +0000 (12:12 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 30 Dec 2014 22:30:59 +0000 (14:30 -0800)
commit0404e7fe0ac2a6234a11290b4b1596e8bc127a4b
tree410574417c1108aa00db75dd0ea4b858b360b928
parenteffb39e8998e8fc9e07b2658b9895cf5d3a9cc7a
vc4: Move draw call reset handling to a helper function.

This will be more important in the next commit, when there's more state to
reset to nonzero values, and I want an early exit from the submit
function.
src/gallium/drivers/vc4/vc4_context.c