commit | 8f20de4c2538c6e24b36b373e6c3e7259d819797 | [log] [tgz] |
---|---|---|
author | Ricardo Garcia <rgarcia@igalia.com> | Mon Feb 22 16:03:35 2021 +0100 |
committer | Alexander Galazin <Alexander.Galazin@arm.com> | Mon Mar 15 12:48:13 2021 +0000 |
tree | ed3009d9cac3b19aadec17744d7fa6702c93a0a8 | |
parent | 1e0a2a7bfb01f1f138423f5e3466d184552f7674 [diff] |
Always accumulate errors in desc set random tests Tests using DEPENDENT and RUNTIME_SIZE index types were overwriting the value of the accumulated error with each load operation. This has two problems: * Sometimes the result of a load operation would not be used in the next load operation. This happens when the next descriptor to check is not an array. In these cases the implementation may remove load operations, which means they would not be checked. * As long as the implementation does not crash and the last load operation works as expected, the implementation was allowed to load incorrect values in those operations, because only the last load would be taken into account to decide if the output storage image will have a "good" or "bad" value. This commit makes all test variants accumulate errors in the "accum" variable that's used at the end of each test. Affected tests: dEQP-VK.binding_model.descriptorset_random.* Components: Vulkan VK-GL-CTS issue: 2763 Change-Id: I4de1bd4525d378b5ec2b7aad3faae81d956a9d7d
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.
The .qpa logs generated by the conformance tests may contain embedded PNG images of the results. These can be viewed with scripts/qpa_image_viewer.html
, by opening the file with a web browser and following its instructions, or using the Cherry tool.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.
This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts
directory. For more information see OpenGL / OpenGL ES CTS README.
ANGLE can be built for Android by following the instructions here.
The resulting ANGLE shared object libraries can be linked against and embedded into dEQP.apk
with the --angle-path
option. This will cause dEQP.apk
to use the ANGLE libraries for OpenGL ES calls, rather than the native drivers.
An ABI must be specified and the directory structure containing the ANGLE shared objects must match it so the build system can find the correct *.so
files.
Assuming ANGLE shared objects are generated into ~/chromium/src/out/Release/
and dEQP.apk
will be generated with --abis arm64-v8a
, issue the following commands:
cd ~/chromium/src/out/Release/ mkdir arm64-v8a && cd arm64-v8a cp ../lib*_angle.so .
The --angle-path ~/chromium/src/out/Release/
option can then be used to link against and embed the ANGLE shared object files. The full command would be:
python scripts/android/build_apk.py --sdk <path to Android SDK> --ndk <path to Android NDK> --abis arm64-v8a --angle-path ~/chromium/src/out/Release/