Vulkan CTS 1.3.8.1

New Tests:
 * Add decode tests for video_maintenance1
 * Repeat DR local read multi-pass tests for GPL
 * Add two new dedicated DRLR tests
 * Blend state test for DR local read
 * VK_KHR_shader_maximal_reconvergence tests using Amber
 * Test indirect dispatches with different alignments
 * Vulkan Video encode
 * Add check for storage format and without_format bits
 * Improve binding model shader access tests
 * Add VK_KHR_shader_subgroup_rotate testing
 * Test quad operations
 * Test execution modes from khr_shader_quad_scope
 * Repeat DR local read multi-pass tests for secondaries
 * Port multi-pass tests to DR local read
 * Port formats tests to DR local read
 * Dedicated tests for DR local read
 * Test short lines with mesh shaders
 * Encode tests for video VK_KHR_video_maintenance1
 * Port subpass_dependencies and FDM tests to DR local read
 * macOS: Add headless surface support, and fix minor macOS testing bugs
 * Add VK_KHR_shader_subgroup_rotate rev2 requirements
 * Enable VK_KHR_shader_maximal_reconvergence tests
 * Add initial AV1 decode tests
 * Allow VK_KHR_shader_subgroup_rotate

Fixes:
 * Fix arithmetic subgroup check in maximal reconvergence tests
 * Use SPIR-V in Shader Subgroup Ballot compute tests
 * Dont mix using secondaries and recording draws
 * Enable VK_EXT_image_view_min_lod in min_lod_gather tests
 * Fix interface_matching tests
 * Fix Xlib event handling for no-op resize
 * Fix DRLR multisample tests for D/S formats
 * Remove one unused_attachment case for DR
 * Fix aliasing of vertex attribute divisor features
 * Fix fragment shader in tess/geom barycentric tests
 * Fix DR local read interaction with GPL
 * Correct failure message to report the correct output vertex
 * Fix static_stencil_mask_zero tests
 * Add and use Vector::bitCast for bit-exact reinterpret cast
 * Fix BeginRendering layout from local_read tests
 * Fix DRLR attachment sparse filling tests
 * Fix incorrect barrier for unused attachment
 * Fix some minor issues in Capture/Replay tests
 * Fix attachment formats in attachment_sparse_filling tests
 * Correct VVL errors in four load_store_op_none tests
 * Enable VK_KHR_maintenance5 when used in compute tests
 * Add missing subgroup size in shader object compute tests
 * Initialize monolithic pipeline layout
 * Fix check for calling cmdSetDepthBoundsTestEnable
 * Fix colorAttachmentCount in GPL Null Rendering Create Info test
 * Add missing features check in derivative tests
 * Fix access flags for dynamic state resolve tests
 * Disable legacy_dithering in default device
 * Fix creating xfb buffer in shader object state tests
 * Fixed invalid depth clear values
 * Fix incorrect layout in some DRLR tests
 * Fix issue in unused_attachment tests
 * Ensure the custom video device is setup correctly
 * Apply corrections to dedicated local read tests
 * Fix variables go out of scope before getting passed to the driver
 * Fix arm32 build failure for video encode tests
 * Add feature check to fragment reconvergence tests
 * Fix YCbCr view tests assertion
 * Decrease max.no.concurrent devices in DeviceGroup
 * Fix some EXT variants of Limits Validation tests
 * Fix transform feedback two_xfbq_inside_pgq tests
 * Fix validation error on nested command buffer tests
 * Add VK_KHR_video_decode_av1, VK_KHR_video_encode_queue, VK_KHR_video_maintenance1 allowed extensions
 * Support arm64 as host build platform for Android CTS
 * Add missing subgroup support checks for linear derivate tests
 * Add an optional clean up step in check_build_sanity
 * Consider layer index when retrieving decoded frame
 * Add missing subgroup support checks for linear derivate tests
 * Implement elementary stream demuxing in the CTS
 * Add missing virtual destructor to TriangleGenerator

Improvements:
 * Update framework after specification change
 * Unify deFloat with tcu::Float16
 * Fix build due to incorrect standard flags
 * Update external sources
 * Fix some of the warnings on windows
 * Add an optional clean up step in check_build_sanity
Consider layer index when retrieving decoded frame

In certain cases, a layered image may be in use for the DPB and
retrieving the data for the decoded frame requires using the layer
index. This is a no-op for the case when the DPB is represented by
individual images.

Components: Vulkan

VK-GL-CTS issue: 5008

Affected tests:
dEQP-VK.video.encode.*

Change-Id: I4733f52ab703423d56a414c46f3c506dc2536dbf
1 file changed
tree: d5fbaa58b35b97077582b6c00ecc90feaa06e5be
  1. .github/
  2. android/
  3. data/
  4. doc/
  5. execserver/
  6. executor/
  7. external/
  8. framework/
  9. modules/
  10. scripts/
  11. targets/
  12. .editorconfig
  13. .gitattributes
  14. .gitignore
  15. AndroidGen.bp
  16. CMakeLists.txt
  17. CODE_OF_CONDUCT.md
  18. deqp_binary.lds
  19. LICENSE
  20. METADATA
  21. MODULE_LICENSE_APACHE2
  22. NOTICE
  23. OWNERS
  24. README.md
README.md

VK-GL-CTS README

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.

Documentation

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.

Khronos Vulkan Conformance Tests

This repository includes Khronos Vulkan CTS under external/vulkancts directory. For more information see Vulkan CTS README.

Khronos OpenGL / OpenGL ES Conformance Tests

This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts directory. For more information see OpenGL / OpenGL ES CTS README.

Selecting a subset of targets to build by default

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 for Android

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/