radv: correctly use vulkan 1.0 by default
authorNiklas Haas <git@haasn.xyz>
Thu, 22 Nov 2018 23:32:29 +0000 (00:32 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 27 Jan 2019 11:49:28 +0000 (12:49 +0100)
commitd12dc3939620dcc942523a30a7fcc3271e751a6c
treecb16be12246ef979363059729c47e51d4bed6ed3
parentd9bd3b1cb874c44e4250c28605031ddf1c520cd1
radv: correctly use vulkan 1.0 by default

From the vulkan spec 3.2 "Instances":

"Providing a NULL VkInstanceCreateInfo::pApplicationInfo or providing an
apiVersion of 0 is equivalent to providing an apiVersion of
VK_MAKE_VERSION(1,0,0)."

Fixes: ffa15861ef7c924a33e1f "radv: UseEnumerateInstanceVersion for the default version."
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c