tag | 8f73ed6eb47a972bea6db2414f039a2de4985edc | |
---|---|---|
tagger | Lorenzo Dal Col <lorenzo@khronosgroup.org> | Thu Aug 15 18:04:55 2024 +0200 |
object | 66956d195169596472e956e3aebf2df8e3bd960d |
OpenGL ES CTS 3.2.11.0 New Tests: * Port KC-CTS tests to VK-GL-CTS (transform_feedback3), PART 4 * Run clip and cull distance tests on OpenGL ES * Port KC-CTS tests to VK-GL-CTS (framebuffer_blit), PART 2 * Port KC-CTS tests to VK-GL-CTS (transform_feedback2_states), PART 7 * Split KHR-GL4x.texture_swizzle.smoke and KHR-GL4x.texture_swizzle.functional test * Added KHR-GLESEXT.* to be part of mustpass * Port KC-CTS tests to VK-GL-CTS (sgis_texture_lod_basic), PART 3 * Split KHR-GL4x.copy_image.functional test * Port KC-CTS tests to VK-GL-CTS (buffer_objects), PART 5 * Update tests to cover BGRA8 formats * Re-enable tests dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil_ops.* * Split KHR-Single-GL4x.enhanced_layouts* tests * Re-enable dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond* * Test BGRA when supported * Port KC-CTS tests to VK-GL-CTS (uniform_buffer_object_structure_declaration), PART 6 * Port KC-CTS tests to VK-GL-CTS (texture_lod_bias), PART 1 * Re-enable tests dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_out_of_bounds* * Re-enable few texture.mipmap tests from GLES CTS 3.2.3.x Fixes: * fix cube array extension check for dEQP-GL45-ES3 * add buffer read bit for buffer access * delete illegal dEQP-GL45-ES3 unsized format tests * fix extension checks for dEQP-GL45-ES3 border clamp tests * Use NEAREST filtering for integer formats in sparse access tests * Fix memory leak in KHR-GL46.tessellation_shader.vertex.vertex_spacing * Fix sparse_texture2 tests for GL_TEXTURE_2D_MULTISAMPLE_ARRAY * fix R16 format checks in dEQP-GL45-ES3 FBO tests * Split KHR-GLES32.core.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_MaxPatchVertices_Position_PointSize * framebuffer SRGB checks in dEQP-GL45-ES3 tests * Check for ES3.1 support in EGL Sync test * use MAP_READ_BIT when querying buffer contents * fix texture buffer extension check for dEQP-GL45-ES3 * Fix the precision loss issue in native d16 * delete illegal dEQP-GL45-ES3 negative interpolation tests * Split tests ARB_sparse_buffer and ARB_sparse_texture(2|_clamp) * Fix KHR-GLES3.texture_lod_basic.lod_selection for 10-bit RTs * Add -f as an alias for --deqp-caselist-file * Restore configLogFilename in TestRunSummary * Fix conversions in 3fa2b7a060 changes 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)
commit | 66956d195169596472e956e3aebf2df8e3bd960d | [log] [tgz] |
---|---|---|
author | Graeme Leese <gleese@broadcom.com> | Mon Jul 22 13:16:38 2024 +0100 |
committer | Lorenzo Dal Col <lorenzo@khronosgroup.org> | Thu Jul 25 14:39:20 2024 +0000 |
tree | c0faa5fa385ced47c4760fef1ad4cd9b01786221 | |
parent | 4267a7b21f768305da22f0452495b8414dafcf6d [diff] |
Fix conversions in 3fa2b7a060 changes for 10-bit RTs The new code was reading everything that is not 10-bit back as UNSIGNED_BYTE but then applying the actual RTs bit depth to compute the maximum value, leading to a double-scaling for RTs with less than 8-bits. Likewise, all RTs were read as RGBA, but formats without alpha were being scaled by 0.0f, giving incorrect results. Components: OpenGL VK-GL-CTS issue: 5186 Affects: KHR-GLES3.texture_lod_basic.lod_selection Change-Id: I7a2356f4cb10a74431a1a8ffcd7a6184014740e7
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/