summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2017-10-20 10:41:01 -0600
committerJesse Hall <jessehall@google.com>2017-10-20 11:01:55 -0700
commit3fe21f68bbaed8d09bb8852fba7a341eb62b1578 (patch)
tree7cc4db0fa82851f8bae837f1b1c4d40d83d584b7 /opengl/tests/gl_basic/gl_basic.cpp
parentc1e25bd59d6ee62decf2c7b72411f4189032674c (diff)
Fix Vulkan null_driver's EnumeratePhysicalDevices()
Counter to the Vulkan spec, the EnumeratePhysicalDevices() function was always setting the count to 1, even when it didn't write anything. This caused a crash with the "dEQP-VK.api.info.instance.physical_devices" test case of the Vulkan CTS v1.0.2. Test: Run Vulkan CTS v1.0.2 (doesn't crash right away) Change-Id: I1b7ba9f11229197efb825d8d0ad1b9ad88f029fb
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions