commit | a3a25c40d420a029038a7748bc3db1bb9552a62d | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Apr 27 08:02:22 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Apr 27 08:34:57 2017 -0700 |
tree | 68ff8952e80f66c567ff2e92d893bd9033389ab8 | |
parent | f9500046c890bbb03234117290f1924c39e95794 [diff] |
dEQP-VK: Fix and inline the Image::getPixelOffset helper The helper was wrong in a number of ways. First, it tries to calculate an offset to the particular mip level and array layer requested even though the driver already provides that as part of the offset returned by getImageSubresourceLayout. If someone tried to use this with a non-zero mip level or array layer they would get the wrong offset because it would be added in twice. Second, the calculation depended on an array called mipLevelRectSizes array which was used but never initialized. This commit gets rid of the helper and just does the right calculation inside MemoryOp::readLinear and MemoryOp::uploadLinear. This affects the following groups of tests: - dEQP-VK.draw.* - dEQP-VK.dynamic_state.* - dEQP-VK.query_pool.* Change-Id: If0da72023cbc437d2a13d60f83e1230f0f90ba39
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.