anv: Create fences from the batch BO pool
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 6 Mar 2016 22:16:51 +0000 (14:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 6 Mar 2016 22:26:52 +0000 (14:26 -0800)
commit23de78768b69d5600233df022431b8f26a0907fc
treec98e2e2a1087fcc66a1d9cd0818e6d9221f48cba
parent21ee5fd3263e034a54d7a37d9e5b6e6f9ef49f54
anv: Create fences from the batch BO pool

Applications may create a *lot* of fences, perhaps as much as one per
vkQueueSubmit.  Really, they're supposed to use ResetFence, but it's easy
enough for us to make them crazy-cheap so we might as well.
src/intel/vulkan/anv_device.c