• Home
Name Date Size #Lines LOC

..--

BUILD.gnD03-May-202420.8 KiB363348

README.mdD03-May-20242.2 KiB5337

angle_deqp_gtest.cppD03-May-202421.1 KiB675543

angle_deqp_libtester.hD03-May-20241.4 KiB4731

angle_deqp_libtester_main.cppD03-May-20246.2 KiB212175

angle_deqp_tests_main.cppD03-May-2024366 155

deqp.gniD03-May-2024130.8 KiB2,0181,984

deqp_data_autogen.gniD03-May-202424.7 KiB324316

deqp_egl_test_expectations.txtD03-May-202414.7 KiB231204

deqp_gles2_test_expectations.txtD03-May-202429.1 KiB369327

deqp_gles31_test_expectations.txtD03-May-202416.4 KiB249205

deqp_gles3_test_expectations.txtD03-May-202449.4 KiB582520

deqp_khr_gles2_test_expectations.txtD03-May-2024343 96

deqp_khr_gles31_test_expectations.txtD03-May-20244.9 KiB10778

deqp_khr_gles3_test_expectations.txtD03-May-202412.5 KiB160144

glcShaderConstExprTests_override.cppD03-May-202422.4 KiB644543

glcShaderMacroTests_override.cppD03-May-20244.8 KiB148100

glcTestPackageEntry_override.cppD03-May-20244.7 KiB15050

tcuANGLENativeDisplayFactory.cppD03-May-202412.7 KiB383293

tcuANGLENativeDisplayFactory.hD03-May-20241.7 KiB6030

tcuANGLEPlatform.cppD03-May-20246.8 KiB192134

tcuANGLEPlatform.hD03-May-20242.1 KiB6936

tcuRandomOrderExecutor.cppD03-May-20248.6 KiB284209

tcuRandomOrderExecutor.hD03-May-20241.8 KiB6730

tes31Context_override.cppD03-May-20242.6 KiB9765

README.md

1# dEQP Support
2
3ANGLE integrates dEQP (i.e. the OpenGL CTS) for conformance testing.  It uses gtest to run tests,
4and provides the means for dEQP to use ANGLE.
5
6## Overriding dEQP files
7
8Occasionally, ANGLE overrides certain dEQP files by copying them to this directory, adding the
9`_override` suffix, and modifying them.  `deqp.gni` is used to select these override files to be
10built with dEQP instead of the original files.
11
12This is primarily done to fix tests until they are fixed upstream.
13
14## Expectation files format
15
16For every set of dEQP tests, for example GLES3 tests on the Vulkan backend, an expectations file
17exists to let the test harness know which tests it should skip (as they are known to crash), or
18expect to see failed.  Warnings are generated if a test unexpectedly passes, but an unexpected
19failure is an error.  This let's ANGLE ensure there are no regressions.
20
21While developing a feature, or testing on a new platform, the expectations files can be modified to
22reflect the reality of the situation.  The expected format for every line in these files is:
23
24    {BUG#} {MODIFIERS} : {TEST_NAME} = {PASS,FAIL,FLAKY,TIMEOUT,SKIP}
25
26`MODIFIERS` can be a combination of the below list, combined with a logical AND:
27
28    WIN XP VISTA WIN7 WIN8 WIN10
29    MAC LEOPARD SNOWLEOPARD LION MOUNTAINLION MAVERICKS YOSEMITE ELCAPITAN SIERRA HIGHSIERRA MOJAVE
30    LINUX CHROMEOS ANDROID
31    NVIDIA AMD INTEL
32    DEBUG RELEASE
33    D3D9 D3D11 OPENGL GLES VULKAN
34    NEXUS5X PIXEL2ORXL
35    QUADROP400
36    SWIFTSHADER
37
38`TEST_NAME` can be a specific test name, or set of test names using `'*'` as wildcard anywhere in
39the name.  Examples:
40
41    // Disabled everywhere as is too slow:
42    3445 : dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.48 = SKIP
43
44    // Crashes on both D3D11 and OPENGL:
45    1442 OPENGL : dEQP-GLES31.functional.separate_shader.* = SKIP
46    1442 D3D11 : dEQP-GLES31.functional.separate_shader.* = SKIP
47
48    // Bug in older drivers:
49    3726 VULKAN ANDROID : dEQP-GLES31.functional.synchronization.inter_call.without_memory_barrier.*atomic_counter* = FAIL
50
51    // Failing test in Nvidia's OpenGL implementation on windows:
52    1665 WIN NVIDIA OPENGL : dEQP-GLES31.functional.draw_indirect.negative.command_offset_not_in_buffer_unsigned32_wrap = FAIL
53