vc4: Avoid flushing when mapping buffers that aren't in the batch.
authorEric Anholt <eric@anholt.net>
Fri, 1 Aug 2014 22:33:06 +0000 (15:33 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Aug 2014 21:45:31 +0000 (14:45 -0700)
commit2259cc5aebcb16636b1399dd438beed9d9867e67
tree23c5a96fefbf0fc88555931a57806e06c97820fe
parent6b2583412f0789d2aec71e55e1e187d1ad17f721
vc4: Avoid flushing when mapping buffers that aren't in the batch.

This should prevent a bunch of unnecessary flushes for things like
updating immediate vertex data.
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_resource.c