vk/device: Add member anv_physical_device::fd
authorChad Versace <chad.versace@intel.com>
Thu, 9 Jul 2015 23:31:39 +0000 (16:31 -0700)
committerChad Versace <chad.versace@intel.com>
Sat, 11 Jul 2015 00:35:52 +0000 (17:35 -0700)
commit8cda3e9b1bc0df5b2acfb8e3afac854a8d0defe7
treecc74827cc19e2278de6a22c585da5bde3f9f8260
parent4422bd4cf61c4f05f853dc790c03ab04c138d7b0
vk/device: Add member anv_physical_device::fd

During anv_physical_device_init(), we opend the DRM device to do some
queries, then promptly closed it. Now we keep it open for the lifetime
of the anv_physical_device so that we can query it some more during
vkGetPhysicalDevice*Properties() [which will happen in follow-up
commits].
src/vulkan/device.c
src/vulkan/private.h