Vulkan CTS 1.4.5.4 New Tests: * Add tests for VK_KHR_internally_synchronized_queues * Create multiple queues in internally synchronized queues tests * Add new VK_EXT_present_timing testcases Fixes: * Add missing conditional rendering functionality check * Add missing synchronization access bits in dynamic rendering tests * Fix enabling features in wsi incremental_present tests * Match VkImage size and render size for VkBindImageMemorySwapchainInfoKHR * Remove invalid memory barrier test * Fix sync issue in VIEW_INDEX_FROM_DEVICE_INDEX GPL tests * Fix invalid descriptor test * Fix maintenance10 feedback loop tests color swizzling * Remove illegal DGC tests * Fix image format support check in robustness tests * Fix memory type for host image copy tests * Avoid layout transition sync error in pipeline cache tests * Add missing swapchain image acquire in swapchain_mutable tests * Fix thresholds for bfloat16 matrixmuladd tests * Fix geometry program for VK_ARM_performance_counters_by_region * Fix Push Constants in DGC tests * Add feature checks to present timing tests * Fix missing flushes in dEQP-VK.api.copy_and_blit tests * Add missing extension check in WSI tests * Fix layout sync errors in push constant lifetime tests * Fix VVL errors due to missing release barriers * Wait for sparse memory binds to finish in host image copy tests * Fix write-after-write hazard in mesh shader sync tests * Fix dEQP-VK.api.info.vulkan1p4.feature_bits_influence * Fix some VK_EXT_present_timing tests * Fix validation errors in copy memory indirect tests * Quantize float16 coopmat MMA references * Remove protected memory test * Enable FENV_ACCESS when computing fma expected values to ensure correctness * Fix Waitstages bit for sparse render target tests * Check for Fragment Shading Rate physical device limits * Fix validation errors in untyped pointers tests * Add 8-bit query check in untyped pointer tests * Fix missing flushes in dEQP-VK.transform_feedback.primitive_restart * Add missing image layout transition in explicit_vertex_parameter tests * Add descriptor array/indexing feature checks * Remove relaxed offset test * Skip tests when color attachment formats do not support MSAA * Fix crash on 32 bit ARM platforms due to unaligned placement new * Add presentTimingSupported check * Fix image layout in binding_model samplerless tests * Fix matrix layout in 64b coopvec tests * Various VUID fixes for WSI tests * Increase kTargetTimeMarginNs to 2ms * Fix validation error in pipeline stencil tests * Fix segmentation fault due to unsupported extension Improvements: * Pass full Context to createDeviceWithWsi * Add reporting for Roadmap 2026 support * Fix headless WSI stubs and 64-bit buffer access shaders * Require extensions to be explicitly enabled in gen_framework * Change way format lists are generated * Allow conformance version 1.4.5.4 * Update to Vulkan 1.4.338 and all external sources
Various VUID fixes for WSI tests - Default to VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR as it is always supported. - Properly clamp the desired image count - Explicitly idle the queue in various cases. Previously tests relied on drain...() providing an implicit completion guarantee but that falls short in two respects: 1) VVL doesn't understand it. 2) Implementations that drop frames (or otherwise have to "give up" on a frame) may produce an all-zero result before even the GPU work for the frame has completed. - Don't allow shared present modes in 'query' tests, which assume they can transition in-use images, etc. Affects: dEQP-VK.wsi.*.present_timing.* dEQP-VK.wsi.*.maintenance1.* dEQP-VK.wsi.*.present_id_wait* Components: Vulkan VK-GL-CTS issue: 6378 Ignore-Khronos-First: Cherry picked fixes Change-Id: I5a85e0cf87b1d4ad9ead061c621dacad3b08bff5
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/
In order to run the vulkan video decode test suite, you'll need to run the script external/fetch_video_decode_samples.py prior building and running any test suite such as dEQP-VK.video.decode.*. It will download the video clips in external/vulkancts/data/vulkan/video.
To run the vulkan video encode test suite, you'll need to run the script external/fetch_video_encode_samples.py prior building and running any test suite such as dEQP-VK.video.encode.*. It will download the video clips in external/vulkancts/data/vulkan/video.