gallium/util: Make u_debug_flush support persistent maps
authorThomas Hellstrom <thellstrom@vmware.com>
Sat, 6 Apr 2019 09:13:39 +0000 (11:13 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 20 Jun 2019 07:30:22 +0000 (09:30 +0200)
commit4412be40ddc8dd0b7cc69c4d77c3c032d87b1a59
tree2e101c3b0dc6347006b7a4f330515e296c8ff266
parenta478e56fbd33fa23503b63d41265a1c2f3253ed2
gallium/util: Make u_debug_flush support persistent maps

Previously unsynchronized maps have been assumed to also be persistent,
Now destinguish between persistent and unsynchronized map and also support
PIPE_TRANSFER_PERSISTENT from ARB_buffer_storage.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_debug_flush.c
src/gallium/auxiliary/util/u_debug_flush.h