diff options
| author | 2018-09-09 07:28:05 -0700 | |
|---|---|---|
| committer | 2018-09-14 22:01:35 +0000 | |
| commit | 32c087f24f91ad4bf219dbc8931aa18dd8596ddd (patch) | |
| tree | cf5b0e02f71f796b8d4908328dfc6773e642041b /opengl/libagl/TextureObjectManager.cpp | |
| parent | 9a55e4a14cdd44231c8423f0cf37bfbefbcf022b (diff) | |
vulkan: Fix EnumeratePhysicalDeviceGroups()
Fixes CTS failure in dEQP-VK.api.info.instance.physical_device_groups on
Eve (Pixelbook) with Pi.
The Vulkan spec requires that vkEnumeratePhysicalDeviceGroups return
VK_INCOMPLETE when (a) pPhysicalDeviceGroupProperties is not NULL and
(b) *pPhysicalDeviceGroupCount is less than the actual number of groups.
Bug libvulkan/driver.cpp:EnumeratePhysicalDeviceGroups() returned
VK_SUCCESS when (pPhysicalDeviceGroupProperties != NULL &&
*pPhysicalDeviceGroupCount == 0) regardless of the actual number of
groups.
V2: Simplify according to zzyiwei@'s suggestion
Bug: b/114614186
Test: dEQP-VK.api.info.instance.physical_device_groups on eve-arcnext
Change-Id: Ia3067e9d8125ff2b708a4fa674e8283a1f17ba0b
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions