Vulkan CTS 1.2.5.0

New tests:
 * Add tests for VK_EXT_shader_image_atomic_int64
 * Add sliced 3D compressed texture test
 * Add tests for YCbCr chromaFilter linear filtering
 * Add tests for KHR_copy_commands2
 * Add tests for incompatible resolve attachments
 * Add tests verifying shader record blocks work as expected.
 * Add tests for VK_KHR_shader_terminate_invocation
 * Test vkCmdBindVertexBuffers2EXT with size and offset
 * Test SPIR-V switch case jumping to the merge block
 * Add tests for VK_KHR_ray_tracing_pipeline
 * Add tests for VK_KHR_ray_query
 * Add tests for VK_KHR_acceleration_structure
 * Add tests for VK_KHR_pipeline_library
 * Add tests for VK_KHR_deferred_host_operations
 * Add tests for empty structs in UBOs and SSBOs
 * Add tests for the VK_EXT_device_memory_report
 * Enable random writes for storage images
 * Add tests for oob access in unexecuted shader paths
 * Add subpass self dependency test with a single attachment
 * Re-enable cube.*.mag_filter.linear test
 * Test invalid pInheritanceInfo for primary command buffers
 * Add array of images copy tests
 * Test extended dynamic state vertex data offsets
 * Add push constant lifetime tests
 * Add tests for clamping of depth values
 * Implement custom border color tests
 * Add cube compat. to array image copy tests
 * Tests for pipeline layout early destroy
 * Experimental crash postmortem use-after-free test
 * vulkan: Add temporary constant-data shader indexing tests.
 * Add transform feedback test with NULL offset array
 * Add coverage for uniform texel buffer SNORM formats
 * Test OpVectorShuffle with index -1
 * Test imported signaled sync fd for VkSemaphore
 * Enable random writes for dynamic storage buffers
 * Restore cubic filtering tests
 * Add tests for Read/Write ops on mismatched formats
 * Add tests for shader reuse with differing layout
 * Experimental crash postmortem shader timeout test
 * Tests for sign handling in integer operations
 * Check output depth in inverted depth range tests
 * Add coverage for negative float to clear color values

Fixes:
 * Fixes texture filter cubic mipmap tests
 * Fix descriptorCount for YCbCr-related tests
 * Fixes for image format properties tests
 * Fixes sparse resource SNORM tests
 * Fix depth/stencil image logging in renderpass tests
 * Fix initial layout of depth stencil attachment
 * Fix tests dEQP-VK.draw.depth_clamp
 * Fix results-check for floating-point intermediate atomic operations
 * Avoid advertising disabled robustness2 features
 * Fix regressions in renderpass tests
 * Fix multisample resolve compatibility tests
 * Create debug report recorder earlier
 * Permit not flushing operands for FP16 DenormFlushToZero add, dot, vmulm
 * Check images can use external host memory before creating them
 * Check large instanceCustomIndex values
 * Fix alpha to one tests
 * Fix validation of DRM modifier compatibility with image properties
 * Fix depth/stencil resolve compatibility tests
 * Fix command buffer usage flags in dEQP-VK.query_pool.performance_query tests
 * Fix validation errors in AHB tests
 * Splits long shader in memory model tests
 * Replace incorrect undefined->transfer-dst-opt layout transfers
 * Fixes cubic filter copy and blt tests
 * Fix wrong access flag for depth/stencil resolve
 * Fix wsi tests using disallowed image usage
 * Output depth image in case of failure
 * Check SparseResidency flag before OpImageSparseRead
 * Fix validation of DRM modifier compatibility with image properties
 * Fix result checking of output location tests
 * Issues detected by synchronization validation layer fix
 * Fix memory barriers in image_subresrouce tests
 * Bump fence timeout in Amber test cases to infinity
 * Misc test group exceeds maxMemoryAllocationCount
 * Make pipeline destruction exception aware in subgroups tests
 * Check support for sampleRateShading
 * Move texel_offset into it's own test group
 * Remove cov-fold-div-variable-by-zero
 * Remove cov-fold-div-uniform-by-zero
Fix build for Unices without CLOCK_MONOTONIC_RAW

CLOCK_MONOTONIC_RAW was introduced in Linux 2.6.28 and glibc 2.12. In
order to build the CTS on non-Linux Unices or older Linux distros we
should only compile-in usage of CLOCK_MONOTONIC_RAW when it is available
at build-time.

Components: Vulkan

VK-GL-CTS issue: 2696

Affects:
dEQP-VK.pipeline.timestamp.calibrated.host_domain_test

Change-Id: I937d4ea6350fe0b70c0028d9ae48b9234e425fdf
1 file changed
tree: 94d75ccb74b218049ce0e42c94817f1aeef12ef2
  1. .editorconfig
  2. .github/
  3. .gitignore
  4. Android.mk
  5. AndroidGen.mk
  6. CMakeLists.txt
  7. CODE_OF_CONDUCT.md
  8. LICENSE
  9. MODULE_LICENSE_APACHE2
  10. NOTICE
  11. OWNERS
  12. README.md
  13. android/
  14. data/
  15. doc/
  16. execserver/
  17. executor/
  18. external/
  19. framework/
  20. modules/
  21. scripts/
  22. targets/
README.md

dEQP README

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.

Documentation

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.

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.

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/