commit | a13cbc8559935c85201c975cbc2587e7dd5ea0f1 | [log] [tgz] |
---|---|---|
author | Graeme Leese <gleese@broadcom.com> | Fri Jan 27 11:03:00 2023 +0000 |
committer | Piotr Byszewski <piotr.byszewski@mobica.com> | Fri Feb 03 19:27:34 2023 +0000 |
tree | 78a67fc1c31fd64570e24277efde1a32ef12ec1a | |
parent | 38aef155fd17b720c517d5d1dfa5ae98be577bb3 [diff] |
Simplify test setup for descriptor indexing * FUZZY_COMPARE was permanently turned off and appears to be debug code that isn't really needed. Plus, the plumbing through the test case incorrectly mixed deBool, VkBool32 and std::bool. CMP_THRESHOLD claimed to be used in the comparison but was not. The threshold was hardcoded into the verification calls. Remove both defines. * The shaders had a confusing mix of declaring most shader setup in one place, but compute shader setup was done as a property of testing storage images. Storage images are the only tests that run in compute shaders (at the moment), but this made the code very confusing. * The test setup appeared to write all the details of the test cases out in a list of structs, but most of it was overwritten by subsequent loops. Not writing it all out makes the code shorter, simpler and easier to modify. * The shaders passed various values between stages that were never accessed. * Some parts were spending a lot of code baking in values that parameters had to have, but there's no point, the parameters actually do have the correct values. Components: Vulkan Affects: dEQP-VK.descriptor_indexing.* Change-Id: I371dad5c76c695e045fb11871549d8ac0ce4f03c
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 dEQP is available at:
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/