commit | fba4b9b57e3b66fed3776b2776f2d615f1f2bb66 | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Wed Feb 01 10:38:52 2017 +0100 |
committer | Iago Toral Quiroga <itoral@igalia.com> | Tue Feb 07 08:07:05 2017 +0100 |
tree | 545335afaad9abbc50b01624457966edccea7888 | |
parent | 1e2a42eb7886a37f597d79ca5cf96cee6bd4fe49 [diff] |
Fix dEQP-VK.api.info.get_physical_device_properties2.properties The test uses memcmp to compare structs that may include padding bytes. Although the test initializes all bytes prior to calling any Vulkan APIs, there is no guarantee that drivers won't write to the padding bytes, for example if they write the properties to a local variable and then memcpy into the result pointer, which is a valid implementation. This patch fixes the problem by reusing the offset table that we already use in another test to obtain the offsets and sizes for all struct fields and exclude any padding bytes during comparisons. Affects: dEQP-VK.api.info.get_physical_device_properties2.properties VK-GL-CTS issue: 63 Components: Vulkan Change-Id: I4417a95d41241523acd13adc739e739da9b0c2ed
This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
Up-to-date documentation for the dEQP is available at Android Open Source Project site.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.