commit | 08ed21d024e05644dfdf30f4638296e709e178e3 | [log] [tgz] |
---|---|---|
author | Danylo Piliaiev <dpiliaiev@igalia.com> | Mon Jun 20 10:28:58 2022 -0400 |
committer | Matthew Netsch <quic_mnetsch@quicinc.com> | Fri Jul 15 18:28:24 2022 +0000 |
tree | bf33097fba3fc287b3b4f1ed729a134735a70cd6 | |
parent | 00ee64c3a86e7f64e5c1174a93bab436976867e9 [diff] |
fix fp64 dvec fmod precision strictness Test case 978 fails on Turnip (Qualcomm): it does mod(dvec2(14.50, 14.625), dvec2(1.5, 1.625)), the expected result is (1, 0), but the actual result is (1, 1.625) 4ee7c26d6e81b0cbc80c483188511e18aef5148e tried to fix the strictness of this test, but even in the general case of x = N * y the driver is allowed to return 0 for mod, because mod is defined as a - b * floor(a/b) and OpenGL allows for some error in division Affects: KHR-GL46.gpu_shader_fp64.builtin.mod_dvec2 KHR-GL46.gpu_shader_fp64.builtin.mod_dvec3 KHR-GL46.gpu_shader_fp64.builtin.mod_dvec4 Change-Id: Ia7a43f2be8aa1eb320302e0ed422dc852f4de85c
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/