tag | 26bd949bf97c69c9b87b67026159db01cf337bf1 | |
---|---|---|
tagger | Lorenzo Dal Col <lorenzo@khronosgroup.org> | Thu Nov 28 17:18:36 2024 +0100 |
object | dec49fb85597148d31a9f7d721aa357a57357893 |
Vulkan CTS 1.4.0.2 Fixes: * Fix OOB VBO reads in dynamic line width tests * Fix image layout transitions in multisample_resolve tests * Fix enabling extensions in dynamic vertex attribute tests * Fix transitioning image layouts in dynamic_state inheritance tests * Fix OOB VBO reads in global priority transition tests * Fix OOB VBO reads in dynamic stipple bresenham line tests * Handle dynamic depth clamp range in dgc util * Fix mandatory feature checks * Do not require host-visible sparse VBOs in DGC test * Fix OOB VBO access in decoration mismatch tests * Fix assertions in line rasterization tests * Fix memory corruption in line rasterization tests * Fix missing image layout transition in timeline semaphore tests * Fix output control points number in ray query tests * Reduce memory usage * Fix protectedMode for pipeline protected access tests * Fix feature check for StorageUniform16 cap * Try to reduce GCC linker memory usage * Fix wsi maintenance1 present mode query tests * Add missing VK_EXT_swapchain_maintenance1 json
commit | dec49fb85597148d31a9f7d721aa357a57357893 | [log] [tgz] |
---|---|---|
author | Lorenzo Dal Col <lorenzo@khronosgroup.org> | Wed Nov 27 08:25:29 2024 +0100 |
committer | Lorenzo Dal Col <lorenzo@khronosgroup.org> | Wed Nov 27 08:25:29 2024 +0100 |
tree | 6ca02bc790476d88031da31e29e8021ab86498d6 | |
parent | 812cf745ded5697682ff4a111c8c33499700a8c0 [diff] | |
parent | 86b6f6afe5fa657819da2723a0e7f5056f1cc932 [diff] |
Merge vk-gl-cts/vulkan-cts-1.3.10 into vk-gl-cts/vulkan-cts-1.4.0 Change-Id: I4ee3f6eb42f992130cc38730043e94839d411d30
This repository contains Khronos Conformance Testing Suite called VK-GL-CTS which originated from dEQP (drawElements Quality Program). VK-GL-CTS contains tests for several graphics APIs, including OpenGL, OpenGL ES, EGL, Vulkan, and Vulkan SC.
Up-to-date documentation for VK-GL-CTS 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.
When configuring the source code of VK-GL-CTS for running either Vulkan Conformance Tests or OpenGL(ES) Conformance Tests as described above, CMake will generate build files that, by default on desktop platforms, will build every possible project binary. This may be undesirable due the amount of time and disk space needed to perform the build.
One way of selecting only a subset of the targets to be built is using CMake's target selection mechanism. For example, the following command will only build deqp-vk
, the main Vulkan Conformance Tests binary:
cmake --build BUILD_DIRECTORY --target deqp-vk
When building only a subset of targets is the preferred default behavior for a given working copy or build directory, there's a second target selection mechanism that can be used to avoid passing the --target
option every time: the SELECTED_BUILD_TARGETS
CMake option. If set to a non-empty value, only the targets listed in that configuration option, separated by spaces, will be built.
For example, passing -DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc"
when configuring the project will make cmake --build BUILD_DIRECTORY
act as if it had been passed --target deqp-vk --target deqp-vksc
as additional arguments.
IMPORTANT: Target subset selection may not have been thoroughly tested in all enviroments and situations, and it does not replace the instructions given for the purposes of creating a conformance submission.
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/