OpenGL CTS 4.6.5.0

New Tests:
 * Port KC-CTS tests to VK-GL-CTS (transform_feedback3), PART 4
 * Re-enable few texture.mipmap tests from GLES CTS 3.2.3.x
 * Update tests to cover BGRA8 formats
 * Port KC-CTS tests to VK-GL-CTS (uniform_buffer_object_structure_declaration), PART 6
 * Port KC-CTS tests to VK-GL-CTS (sgis_texture_lod_basic), PART 3
 * Test BGRA when supported
 * Port KC-CTS tests to VK-GL-CTS (framebuffer_blit), PART 2
 * Run clip and cull distance tests on OpenGL ES
 * Port KC-CTS tests to VK-GL-CTS (transform_feedback2_states), PART 7
 * Re-enable tests dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_out_of_bounds*
 * Port KC-CTS tests to VK-GL-CTS (texture_lod_bias), PART 1
 * Split KHR-Single-GL4x.enhanced_layouts* tests
 * Re-enable tests dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil_ops.*
 * Split KHR-GL4x.copy_image.functional test
 * Port KC-CTS tests to VK-GL-CTS (buffer_objects), PART 5
 * Added KHR-GLESEXT.* to be part of mustpass
 * Re-enable dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond*
 * Split KHR-GL4x.texture_swizzle.smoke and KHR-GL4x.texture_swizzle.functional test
 * Port read(First)InvocationARB() Vulkan tests to OpenGL

Fixes:
 * Split tests ARB_sparse_buffer and ARB_sparse_texture(2|_clamp)
 * Check for ES3.1 support in EGL Sync test
 * test that uniform blocks are accessible in at least one shader stage
 * Fix transform feedback issue
 * Fix the precision loss issue in native d16
 * Split KHR-GLES32.core.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_MaxPatchVertices_Position_PointSize
 * Disable GL_DITHER in EGL color clear tests
 * use MAP_READ_BIT when querying buffer contents
 * fix R16 format checks in dEQP-GL45-ES3 FBO tests
 * Allow line width to be expected-1 for floating point line widths
 * prevent uniform access from being optimized out in interface_query tests
 * Allow slight image differences in EGL render tests for RGBA4444/5551
 * Add -f as an alias for --deqp-caselist-file
 * Restore configLogFilename in TestRunSummary
 * Initialize m_defaultFBO correctly for FramebufferBlitMultiToSingleSampledTestCase
 * Fix conversions in 3fa2b7a060 changes for 10-bit RTs
 * Fix KHR-GLES3.texture_lod_basic.lod_selection for 10-bit RTs

Improvements:
 * add BGRA support for reference context
 * add support for bgra in texture-util
 * Run clang-format + remove de* types
 * Add an optional clean up step in check_build_sanity
 * Update KC CTS
 * Fix OrderHints and SavedOrderHints indexing
 * Fix a wrong class type in tcuTestLogParserJNI
 * Modify .editorconfig file to use spaces instead of tabs
 * Add test log parser for new android activity
 * Fix variables go out of scope before getting passed to the driver
 * Add missing virtual destructor to TriangleGenerator
 * Fix build due to incorrect standard flags
 * Add the instruction to run new ES32GetTestParamActivity
 * Share test configuration between case and instance in EDS tests
 * Support arm64 as host build platform for Android CTS
 * Fix compilation issues within PlatformMemoryLimits
 * Fix missing Android build dependencies
 * Change virtual ... = DE_NULL; to virtual ... = 0; (Part 2)
Port read(First)InvocationARB() Vulkan tests to OpenGL.

Components: OpenGL

Affects: KHR-GL46.shader_ballot_tests.ShaderBallotFunctionRead

VK-GL-CTS Issue: 1824

Change-Id: Ia1ffe7d5c142f5c1982833ae7ed30cccdd2f70f3
4 files changed
tree: 6d3c46d7483e28d0e8978beb080932d82463551c
  1. .github/
  2. android/
  3. data/
  4. doc/
  5. execserver/
  6. executor/
  7. external/
  8. framework/
  9. modules/
  10. scripts/
  11. targets/
  12. .clang-format
  13. .editorconfig
  14. .gitattributes
  15. .gitignore
  16. AndroidGen.bp
  17. AndroidKhronosCTSGen.bp
  18. CMakeLists.txt
  19. CODE_OF_CONDUCT.md
  20. deqp_binary.lds
  21. format_all.sh
  22. LICENSE
  23. METADATA
  24. MODULE_LICENSE_APACHE2
  25. NOTICE
  26. OWNERS
  27. 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/