OSDN Git Service

anv/device: Properly handle apiVersion == 0
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Feb 2016 16:52:35 +0000 (08:52 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Feb 2016 16:52:37 +0000 (08:52 -0800)
commitc32273d246e8bf46924d8852d1b3fd1d34194df2
treedacc55f2e5682b2885bc77e21afc316159ee1d96
parent59f57289959702e528b68bdd0d06488089517a00
anv/device: Properly handle apiVersion == 0

From the Vulkan 1.0 spec section 3.2:

"If apiVersion is 0 the implementation must ignore it"
src/intel/vulkan/anv_device.c