v3d: Don't automatically reallocate a PERSISTENT-mapped buffer.
authorEric Anholt <eric@anholt.net>
Wed, 11 Jul 2018 18:22:16 +0000 (11:22 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Jul 2018 18:31:08 +0000 (11:31 -0700)
commit7714896256d8850cb6c323ce4ecf11c489046966
tree5a3114d675145836f5151522ee33709892978d5d
parente48c615292aa30281dce7c49c232ad7ccfeeaaf2
v3d: Don't automatically reallocate a PERSISTENT-mapped buffer.

I had mistakenly used the COHERENT flag, which can only be set when
PERSISTENT is mapped, but isn't always.

Fixes piglit bufferstorage-persistent read
src/gallium/drivers/v3d/v3d_resource.c