radv: Return correct result in EnumeratePhysicalDevices
authorNicolas Koch <nioko1337@gmail.com>
Wed, 12 Oct 2016 11:55:46 +0000 (13:55 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 12 Oct 2016 23:11:13 +0000 (09:11 +1000)
commit35e2bfa6d912ad3ef57195b0e8f31f21eb64678e
tree802b2c7e4e32f0bdf1d8f60dff6f688e8e3b3e45
parente6a693c447213b578f562edad8f15ccc43056acd
radv: Return correct result in EnumeratePhysicalDevices

If pPhysicalDevices is too small for all physical devices,
the driver must return VK_INCOMPLETE. Since only a single
physical device is supported, this is only the case when
pPhysicalDeviceCount == 0 && pPhysicalDevices != NULL.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c