Commit Graph
1237 Commits
Author SHA1 Message Date
Yuxin Hu 8aec7f358e Add World Cricket Championship 2 Trace
Test: angle_perftests --gtest_filter="*world_cricket_championship_2*"

Bug: b/194508692
Change-Id: I0f36eba247b4726bc13b327634c429339ad1297c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3258343
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Yuxin Hu <[email protected]>
2021-11-03 16:54:56 +00:00
Gregg Tavares 604610b410 Metal: Use Depth32F for DEPTH_COMPONENT16
depth16unorm is broken on Metal. This is a workaround.

Bug: angleproject:6597
Change-Id: I1748f9fab587b22980d13e8a141fa880eb6f9db0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3255666
Reviewed-by: Kenneth Russell <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Gregg Tavares <[email protected]>
2021-11-02 22:58:39 +00:00
Tim Van Patten fce240c005 AOSP: Use '-Os' rather than '-Oz'
Cuttlefish recently hit a clang compiler issue related to -Oz:
  b/200617543

This is fixed by either disabling optimizations for ScopedExit or using
-Os.

This CL will switch ANGLE to using -Os.

When building CF in AOSP, the binary size is reduced with -Os vs -Oz:
  -Oz: 16,383,489 bytes
  -Os: 16,152,509 bytes

Bug: b/200617543
Change-Id: Ic920b0e0e4a61453d9657101a4560f74d90d5744
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3253128
Reviewed-by: Jason Macnak <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-11-02 17:57:19 +00:00
Jamie Madill 616dc2688f infra: Add ANGLE-side configuration for ASAN tests.
The ASAN builders will start by running compile-only and only in CI.
A follow-up change will enable sharded tests and CQ jobs.

Bug: angleproject:5795
Change-Id: I2e761b7bdd2d7215db2210c4538b6cafc4d9069a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3254430
Reviewed-by: Jamie Madill <[email protected]>
2021-11-01 19:17:21 +00:00
Tim Van Patten 683ab73891 Android: Add back third_party/ to AOSP
The ANGLE autoroller into AOSP is currently stuck due to a merge
conflict in third_party/glmark2.   Specifically, this directory was
deleted in AOSP, but modified in upstream ANGLE.

The solution is to add back the third_party/ directories into AOSP, and
the ANGLE-owned files.   The full contents will not be added back if
they are a git submodule.

Some third_party/ directories will continue to be deleted due to how
large they are:

  third_party/jdk
  third_party/llvm-build
  third_party/android_build_tools
  third_party/android_sdk

We can look into adding these back in the future if it becomes
necessary.

Additionally, the license information in the Android.bp is being updated
to reflect the newly added files.

Bug: angleproject:6635
Change-Id: I793e5b0797218963a4d06a0399b3be80edd43b37
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251685
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-10-29 21:16:08 +00:00
angle-autoroll 540118b10f Roll Chromium from 6e4379b531a3 to 367ea8143d4d (450 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/6e4379b531a3..367ea8143d4d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/4703a8520d..b726d24b66
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/26b101897f..1876d99930
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/bbd954d05f..05a4a0312e
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/847533d764..0c771463fb
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/14a17ad53a..aaec1f1057
* third_party/android_build_tools/aapt2: oJ_fhfmT6sLorimH6Eo6hwWS2R2gU0c4ZUQfXvzae1UC..GlCdqxHxlg-8YkDGgj5cie-6COsEAZga9jyq-LAYxY4C
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/f59fdc4257..d1c5c4d011
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..60bc3270d5
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/480c91d40b..8daf2442e2
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/819fa9604c..279e9ceb48
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/b3ad7f71e0..c61ca72b5d
* tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/4dc64cab42..20319341da
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/2ff429a7b7..2cb82b1a6d
Clang version changed llvmorg-14-init-6722-g0fbd3aad:llvmorg-14-init-7378-gaee49255
Details: https://chromium.googlesource.com/chromium/src/tools/clang/+/819fa9604c76dc685de966a209c5d3f51b1729d1..279e9ceb4872fd2070bb9c2cb2eb7094bd2a484b/scripts/update.py

Bug: None
Tbr: [email protected]
Change-Id: Icf82072a10099ebe93baeb0dc9a57105028a6780
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3249871
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-10-28 09:52:20 +00:00
angle-autoroll f6878e8814 Roll VK-GL-CTS from e2aeccde416b to 49afd2823061 (34 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/e2aeccde416b..49afd2823061

2021-10-26 [email protected] Split multiple interpolation tests using the sample decoration
2021-10-22 [email protected] Allow EGL tests to use ES3 with EGL_KHR_create_context
2021-10-22 [email protected] Cover vkGetBufferMemoryRequirements*() routines tests
2021-10-22 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/master
2021-10-22 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
2021-10-22 [email protected] Merge vk-gl-cts/opengl-cts-4.6.1 into vk-gl-cts/master
2021-10-16 [email protected] Add tcu::Nothing to improve tcu::Maybe usability
2021-10-16 [email protected] Add basic signaled fence tests
2021-10-16 [email protected] Attachment rate tests
2021-10-15 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/master
2021-10-12 [email protected] Add a batch of GraphicsFuzz coverage tests
2021-10-12 [email protected] Add a batch of GraphicsFuzz coverage tests
2021-10-11 [email protected] VK_EXT_rgba10x6_formats
2021-10-11 [email protected] Improve coverage of MSAA copies with different layouts
2021-10-11 [email protected] Add a batch of GraphicsFuzz coverage tests
2021-10-11 [email protected] Change cache type to NO_CACHE in duplicate_batch_pipelines_no_cache test
2021-10-08 [email protected] maintenance4: Add LocalSizeId tests
2021-10-08 [email protected] Wire up support for maintenance4 validation
2021-10-08 [email protected] maintenance4: Add push-constant test
2021-10-08 [email protected] maintenance4: Add pipeline layout tests
2021-10-08 [email protected] Add image query tests for VK_KHR_maintenance4
2021-10-08 [email protected] maintenance4: Add requirements matching tests
2021-10-08 [email protected] maintenance4: Add maxBufferSize limit tests
2021-10-08 [email protected] Extend decoration mismatch tests
2021-10-08 [email protected] Add tests for relaxed vector matching
2021-10-08 [email protected] Add tests for vector matching
2021-10-08 [email protected] Add decoration mismatch tests
2021-10-08 [email protected] Updated framework for VK_KHR_maintenance4
2021-10-08 [email protected] Framework for VK_KHR_maintenance4
2021-10-08 [email protected] Change RobustnessExt tests to use format_features2
2021-10-08 [email protected] Tests for VK_KHR_format_feature_flags2 extension
2021-10-08 [email protected] Add tests for VK_EXT_primitive_topology_list_restart
2021-10-08 [email protected] Move anisotropic filtering support check to a function
2021-10-08 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ib2d4105f70a65b54c50dfebeaabe48b6693b1d25
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3248161
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-10-27 16:49:38 +00:00
angle-autoroll 6e832bfe26 Roll Chromium from b7a27dd8face to 6e4379b531a3 (441 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/b7a27dd8face..6e4379b531a3

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/0afcdef8ce..4703a8520d
* buildtools/linux64: git_revision:693f9fb87e4febdd4299db9f73d8d2c958e63148..git_revision:79c6c1b1a24c46df5a773cc61604bb5051ca6cf4
* buildtools/mac: git_revision:693f9fb87e4febdd4299db9f73d8d2c958e63148..git_revision:79c6c1b1a24c46df5a773cc61604bb5051ca6cf4
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/9b8228b4a9..26b101897f
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/21acd3f622..bbd954d05f
* buildtools/win: git_revision:693f9fb87e4febdd4299db9f73d8d2c958e63148..git_revision:79c6c1b1a24c46df5a773cc61604bb5051ca6cf4
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/cf2207e083..847533d764
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/3b235c7e7c..f59fdc4257
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..b10243766b
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/378395bfb5..480c91d40b
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/e193c0af0a..819fa9604c
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/3b242d6f87..b3ad7f71e0
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/3ac732d74b..2ff429a7b7
No update to Clang.

Bug: angleproject:2551
Tbr: [email protected]
Change-Id: I4a8cd6a0f37374313ef2fe559f8e1fb8f23a9673
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3246537
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-10-27 08:22:58 +00:00
Shahbaz Youssefi c6db6cb66a Roll libunwind together with Chromium
Bug: angleproject:6604
Change-Id: I1232014324ecf5d571cc6357e024995a9ebc2f18
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3237291
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Eric Boren <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-10-22 19:29:38 +00:00
Jamie Madill 7ef9ecf0a6 Add GL_ANGLE_robust_fragment_shader_output.
This extension codifies expected behaviour on Android, where some
applications don't declare shader outputs that are active with the
Framebuffer.

Bug: angleproject:6566
Change-Id: I3538a0aca25b6567e4b11e40d4611f1b240579c7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226724
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-10-21 14:55:14 +00:00
Cody Northrop b06606b992 Tests: Add Zillow trace
Test: angle_perftests --gtest_filter="*zillow*"
Bug: b/203693727
Bug: angleproject:6596
Change-Id: If1a29c452de60b124b234645953a6a8a53a35b67
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3235480
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-10-21 01:32:02 +00:00
Tim Van Patten eb1d24741b Vulkan: Add R8G8B8_UNORM to vk_format_map.json
The map of R8G8B8_UNORM -> VK_FORMAT_R8G8B8_UNORM is missing from
vk_format_map.json. This leads to attempting to get format bits for
angle::FormatID::NONE / VK_FORMAT_UNDEFINED.

This CL adds R8G8B8_UNORM to vk_format_map.json, so devices that support
it, like ARM, can use it. This allows those devices to import AHBs
created with R8G8B8_UNORM.

This CL also adds some additional ASSERT() and UNREACHABLE() calls to
catch missing formats sooner.

This allows the EGL tests to pass on ARM devices, but the tests are
still skipped due to Qualcomm not having the necessary support for
optimal tiling.

Bug: angleproject:6277
Test: dEQP-EGL.functional.image*
Change-Id: I41b7ead97a10ae80be4b6048d36d0d85ad71784f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3204152
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-10-19 01:08:49 +00:00
Jamie Madill 0c7018a596 infra: Update bot naming scheme.
Old names: use config pairs when they can vary, e.g.

android-arm-dbg
android-arm64-rel
linux-clang-dbg
win-clang-x64-rel
win-msvc-x86-dbg
win-trace-rel

New names: use config names when they differ from the the
default test config for a system, and suffix with -compile
and -test for compile-only and compile-and-test bots. For
Android configs, we keep the full target arch. e.g.

android-arm-dbg-compile
android-arm64-test
linux-dbg-compile
win-test
win-msvc-x86-dbg-compile
win-trace

The new naming scheme prioritizes having short names to
avoid redundant or implicitly understood information. This
should reduce the mental load when looking at a set of test
results.

This also adds SwiftShader win10-x64 configs so we can add
these to the CI easily. Also the plan is to turn off the GCC
configs for now. If we ever support GCC properly we can re-
enable them.

This CL adds the new configs to CI, then a following CL will
add them to CQ and remove the old configs at the same time.

Bug: angleproject:6496
Change-Id: I0ecdcd392c4d7067d6b180664f160ba7c048d16d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3219590
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-10-15 19:46:33 +00:00
YuxinHu 2aa5286d5f Add Entry Point name to validation errors
Add gl/gles entry point names to validation error messages

some special cases:
1. Debug::insertPerfWarning() is invoked from multiple places,
such as TextureVK, ContextVK,
adding an extra entryPoint function parameter
in these files will need
extra investigations.
I am passing the entryPoint name GLInvalid as a
temp workaround.

2.ErrorSet::hangleError() is invoked from multiple
Context*.cpp files,
adding an extra entryPoint function parameter
in these files will need
extra investigations.
I am passing the entryPoint name GLInvalid as a
temp workaround.

3. Debug::insertMessage(), Debug::popGroup(), Debug::pushGroup()
can be invoked from more than one GL entry points,
e.g. Debug::pushGroup() can be invoked from
either GL_APIENTRY GL_PushDebugGroup() or
GL_APIENTRY GL_PushDebugGroupKHR()
through context->pushDebugGroup() call.
Right now the same entry point name glPushDebugGroup will
be printed out in the error message for both cases.
However, we should be able to tell the actual entry point
by checking which version: KHR version or core version the
application uses, and this helps avoid the confusion.
For now we will let the same entry point name
getting printed for both cases.

Bug: angleproject:6523
Change-Id: I64a5463d9168d8444d376d1f428c3b3d894f2ea9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3215063
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Yuxin Hu <[email protected]>
2021-10-14 22:48:22 +00:00
angle-autoroll 06a4ce3b9e Roll vulkan-deps from bd01823faf6f to 6fb1e5bb439b (12 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/bd01823faf6f..6fb1e5bb439b

Changed dependencies:
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/97a438d214..e4243b898c
* spirv-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/5ea2d62e8c..19e8350415
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/b46995741b..3e6a85303d
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/fa27a13cf7..dd99e0f51f
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/aeffbbd6b9..6d9e5b07d6
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/4ddd7fa6ed..4defcad9cd

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Idf504a62c90f415d6456ce31d4c2299e4e848245
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3224099
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-10-14 19:02:45 +00:00
Shahbaz Youssefi f3d5dac3ba Vulkan: SPIR-V Gen: Drop dependency to glslang
The SPIR-V gen path is now made default.  Compilation through glslang is
still supported for debugging, and is enabled on the GLSL* end2end tests
for smoke testing.  On release builds, glslang is not supported.

To test with glslang, add the following gn arg (only necessary if dcheck
is disabled):

    angle_enable_spirv_gen_through_glslang = true

Then enable the generateSPIRVThroughGlslang feature.  This can be done
by setting an environment variable:

    ANGLE_FEATURE_OVERRIDES_ENABLED=generateSPIRVThroughGlslang ./angle_deqp_gles2_tests

Binary size saving:

- 1.3MB on Linux (SPIR-V gen itself: 240KB)
- 730KB on Android (SPIR-V gen itself: 140KB)

Perf tests:

- LinkProgramBenchmark.Run/vulkan_compile_single_thread
  * Through glslang:
      truncated mean: 1287033.36
  * Direct SPIR-V Gen:
      truncated mean: 244495.91  (~80% reduction)

- LinkProgramBenchmark.Run/vulkan_compile_multi_thread
  * Through glslang:
      truncated mean: 4565894.83
  * Direct SPIR-V Gen:
      truncated mean: 1158164.10  (~75% reduction)

Bug: angleproject:4889
Bug: angleproject:6210
Change-Id: I486342702977c8114e90073b97183aba115a8b2d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3115140
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-10-14 04:43:32 +00:00
Gert Wollny 8712495dab Capture/Replay: Don't handle void pointers as const
TL;DR: glReadPixels needs a non-const pointer if a pack buffer
is bound, so change the code generation to keep TvoidPointer
non-const and regenerate the entry points.

Long version:

When no pack buffer is bound, then in WriteCppReplayForCall
param.readBufferSizeBytes is non-zero and the cast of the read
buffer pointer is using the type passed by the parameter
(TvoidPionter) to write the typecast by calling ParamTypeToString
directly, which returns "void *".

If. OTOH, a pack buffer is bound, then param.readBufferSizeBytes
is zero, and the default WriteParamCaptureReplay is called. This
autogenerated function forwards the call to WriteParamValueReplay
by using an explicit type specification, and the autogeneration
code was translating TvoidPointer to call
   WriteParamValueReplay<ParamType::TvoidConstPointer>
which would then translate to "const void *" in the parameter type
cast, and this would lead to a compilation failure, because the
parameter must be a non-const pointer.

Change the autogeneration code so that TvoidPointer is not forced
to be a const pointer and regenerate the entry points.

Bug: angleproject:6521
Change-Id: I673c77f803a284fb7dfc08a2e0918aebdf698194
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3204959
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Gert Wollny <[email protected]>
2021-10-12 16:30:20 +00:00
Jamie Madill f13731ae0e Enable dEQP EGL + GLES 2/3 tests on Pixel 4.
This is in preparation for removing these tests from the N5X.

Bug: angleproject:6527
Change-Id: Ib44f876db47845935efd68a1727964834a675cbb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3208746
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-10-12 15:58:40 +00:00
Charlie Lao 6cb599f9d2 Vulkan: Change dest to dst for consistency
Cleanup only, no functional change. dst aligns better with src.

Bug: angleproject:6502
Change-Id: I69821b1aae50a7ce647c7cc876468b6de309eec8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3208514
Commit-Queue: Charlie Lao <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2021-10-11 17:35:55 +00:00
Cody Northrop fe943910e8 Tests: Add Pokemon UNITE trace
Test: angle_perftests --gtest_filter="*pokemon_unite*"
Bug: b/201900915
Bug: angleproject:6494
Change-Id: I37b52a8557f135ca4d7e42eb964f17104d004513
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3201031
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-10-07 23:40:50 +00:00
Cody Northrop a559c77289 Tests: Add BADLAND trace
Test: angle_perftests --gtest_filter="*badland*"
Bug: b/202402554
Bug: angleproject:6541
Change-Id: I357b2a7bdb74c74628d5189d701528b60fa000de
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3212627
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-10-07 19:39:12 +00:00
Lingfeng Yang 95a5bbd4fa Rename FullScreenQuad.vert to FullScreenTri.vert
Bug: angleproject:6505
Change-Id: Iafe26ddce51862edcb405f7ca85997a7c3b26fa7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3203172
Commit-Queue: Lingfeng Yang <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-10-07 13:46:34 +00:00
angle-autoroll 995d174194 Roll Chromium from 34d255f7dd4d to 8db0ca66018a (1757 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/34d255f7dd4d..8db0ca66018a

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/ebad853384..c40c33e32f
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/9959b06ccd..fd29545e5e
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/e0231d3d66..10c5874312
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/413eeeaef1..b00d460653
* third_party/android_build_tools/bundletool: nK0LSzIJHh_OqyIEMh3zye_Ad54jw57inqQF5jFJzdYC..OZ4is33usuZy-deP3FpWCtbKXaIY0qBLsElWte7556YC
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/33e6ca6da3..f460b9a636
* third_party/android_platform: https://chromium.googlesource.com/chromium/src/third_party/android_platform/+log/7a11b799ef..1a68ade25b
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..ee3f2f49c1
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/0e2fb336b2..281edf7577
* third_party/jinja2: https://chromium.googlesource.com/chromium/src/third_party/jinja2/+log/6db8da1615..ee69aa00ee
* third_party/libjpeg_turbo: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git/+log/ff19e5b2e1..49836d72bd
* third_party/turbine: OxN4BOHObt6tbi4fpsSFeUAxSiaf2Cto-QlpFzGzC_IC..EbT5V0csSPtrqE7MUYHXHhKwiBh8znOrUP46FVGfb9gC
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/dfa96e8145..bffc82b236
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/c06edd1f45..8640ca8315
* tools/luci-go: git_revision:a373a19da0fbbbe81b2b684e3797260294393e40..git_revision:ec7a06c4fcde59629839f8e89c52a08d647e75f4
* tools/luci-go: git_revision:a373a19da0fbbbe81b2b684e3797260294393e40..git_revision:ec7a06c4fcde59629839f8e89c52a08d647e75f4
* tools/luci-go: git_revision:a373a19da0fbbbe81b2b684e3797260294393e40..git_revision:ec7a06c4fcde59629839f8e89c52a08d647e75f4
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/b7c66a0d49..f730ac681f
* tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/e0429447bd..4dc64cab42
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/04d66f45ae..d2f2e14917
Clang version changed llvmorg-14-init-4918-ge787678c:llvmorg-14-init-5410-gd0473681
Details: https://chromium.googlesource.com/chromium/src/tools/clang/+/c06edd1f455183fc89e9f8c2cf745db8f564d8ea..8640ca8315c0e88cf219c8181a15ce95739c2a4a/scripts/update.py

Bug: angleproject:6486,angleproject:6489
Tbr: [email protected]
Change-Id: I495b4d43e1b6adcdf7c1fdf5135c22685020d793
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3210960
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-10-07 07:26:42 +00:00
Shahbaz Youssefi bab0e7171f Update script to install ANGLE binaries in installed Chromium
Useful when debugging a WebGL test, the script that installs ANGLE
binaries in Chrome Canary on Windows is updated to also allow installing
ANGLE binaries in Chrome Dev on Linux.  On Linux, the script needs to
run as root.

Bug: angleproject:6507
Change-Id: I812d3a85528217dab478b1e8a0f266ae231f10af
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3202554
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-10-05 20:32:28 +00:00
Jamie Madill 69a91b3d78 Add SwANGLE test configs to Linux and Win.
These will be used to replace SwANGLE tests on the CQ.

Bug: angleproject:6496
Change-Id: Id8d021067ec05e226daac5c1d5992977ef295efb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3199993
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-10-05 19:48:21 +00:00
Shahbaz Youssefi dde409be97 Translator: Produce error on func(void, int)
If void is specified, another parameter cannot follow.  This change
ensures that this produces an error.

Bug: angleproject:6338
Change-Id: I18602ea4b52c96e498f4f2dc627d4ba2210d6fa7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3203795
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-10-05 19:28:32 +00:00
Jamie Madill dccc0f8c06 Add docs for DXGI and D3D11 format tables.
Bug: angleproject:1691
Change-Id: I7a07228853aaf8f1536b145657a737dcf3e0e1f1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3205798
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-10-05 17:51:23 +00:00
angle-autoroll de7c228041 Roll vulkan-deps from 3f11eb9d9ae7 to 9f83659e6f7d (9 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/3f11eb9d9ae7..9f83659e6f7d

Changed dependencies:
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/9529d3c2c6..2d12367ced
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/e500c7c809..fa27a13cf7
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/0cc98ec7ac..d47266c7ee
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/bdcc9c66af..d360374f4c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Ib75a29fc6d9eab06a6291920eb362245aa8ec2bc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3205651
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-10-05 13:44:25 +00:00
YuxinHu a44197b5ac Tests: Add Mini World Creata Trace
Vulkan test failed on Pixel4XL due to a
vulkan validation layer error
VUID-vkDestroyBuffer-buffer-00922.

As a temp work around,
I add a condition in TracePerfTest.cpp
to skip the vulkan test on Qualcomm GPU

Test: angle_perftests --gtest_filter="*mini_world*"
Bug: b/194508684
Bug: angleproject:6443
Change-Id: I382b9dfc9aafeed92b89223214d8a4aeb75425a7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3195194
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Yuxin Hu <[email protected]>
2021-10-04 17:34:20 +00:00
angle-autoroll 0d9568093d Roll VK-GL-CTS from 5d72b170aad6 to e2aeccde416b (13 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/5d72b170aad6..e2aeccde416b

2021-10-01 [email protected] Add coverage for sampling a compressed texture that has been written to by a compute shader
2021-10-01 [email protected] Extend multisample tests to support FSR
2021-10-01 [email protected] Stencil resolve tests without samplerate shading
2021-10-01 [email protected] Add a new GLES2TextureSharingTest
2021-10-01 [email protected] Initialise dot product required feature struct
2021-10-01 [email protected] Fix early fragment tests validation errors
2021-10-01 [email protected] Fix image view type for multiview multi draw tests
2021-10-01 [email protected] Fix for the bounding box tests with GL 4.5
2021-10-01 [email protected] Fix stencil data unpacking in dEQP-VK.fragment_operations test
2021-10-01 [email protected] Merge "Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master"
2021-10-01 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
2021-09-30 [email protected] Update vkDeviceFeatureTest.inl
2021-09-27 [email protected] Notice of withdrawal of Vulkan CTS 1.2.4.x

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: I79129b4fff3c4b7299854d00024758e0dd075fcb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3200289
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-10-02 00:40:49 +00:00
Jamie Madill f2f268b38f Fix invalid Windows header include.
Was detected from the recent loader roll.

Bug: angleproject:6476
Change-Id: Ifebf6d642727a92b7daff018723b7bf8f227ed6f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3198742
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-10-01 19:28:36 +00:00
Kenneth Russell da3db87ec4 Upstream latest changes to Metal backend from Apple to 7/1/2021
This CL merges in the ANGLE changes between these two WebKit commits:
https://git.webkit.org/?p=WebKit.git;a=commit;h=8648b353ab1d7730438c2e08319e1a4d64982c31
https://git.webkit.org/?p=WebKit.git;a=commit;h=166e4924a52971d6a32ad48247a439b16c00e062

Include provoking vertex buffer out of bounds fix
from https://bugs.webkit.org/show_bug.cgi?id=230107

Fix bad merge of resetting of dirty bits, breaking
DepthStencilFormatsTest.DepthTextureRender test and perhaps others.

Disable GL_APPLE_clip_distance when the direct-to-Metal compiler is
active. It can not yet handle the gl_ClipDistance array.

Disable use of rectangular textures for IOSurfaces. Metal can bind
IOSurfaces to 2D textures, and this was passing all tests in the
SPIR-V Metal backend. Introducing rectangular textures breaks the
SPIR-V Metal backend, and the tests currently fail on the
direct-to-Metal backend.

Fix several bugs with ProvokingVertex, which was causing
both the SpirV and Direct backends to incorrectly draw
indices.
(https://bugs.webkit.org/show_bug.cgi?id=230107)

Skip the following tests on the Metal backend which is still failing
  RobustResourceInitTestES3.BlitDepthStencilAfterClearBuffer
  GLSLTest_ES3.GLVertexIDIntegerTextureDrawArrays/ES3_Metal

With these changes, angle_end2end_tests again runs to completion.

Bug: angleproject:6395
Change-Id: I3cc58f531426a95fc8f177a4ad87f56c1855a546
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3167010
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Kyle Piddington <[email protected]>
2021-10-01 19:25:57 +00:00
Jamie Madill 0b4508e5d9 Add script to automatically download extension data.
The script uses the 'bb' and 'swarming' tool to download build info
and artifacts. See the script for more info.

Bug: angleproject:6379
Change-Id: I65444771a69dc2f6eee39f6ba8d471fdd8ca2cff
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3198737
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2021-10-01 19:20:16 +00:00
angle-autoroll 3de06bcd0c Roll vulkan-deps from 788a2f62acbe to 11c6360dd46f (144 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/788a2f62acbe..11c6360dd46f

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/e0771b5d4c..581897f462
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/c2500e504d..97a438d214
* spirv-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/6cae8216a6..ae217c1780
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/7e860e3831..ba4b390c36
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/9e62d02763..e500c7c809
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/20cf221e72..edccdb3444
* vulkan-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/642da192c8..a956d1a0e5
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/1e6ed74d5d..6d54fa0fe0

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: angleproject:6478
Change-Id: I28a46296e5b3590601a61707f438d8b238be3ff6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3198645
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-10-01 03:21:25 +00:00
Ian Elliott 1fdedbd45a Except "loader_windows.h" in export_targets.py
This should unblock the "vulkan-deps" autoroller

Bug: angleproject:6476
Change-Id: I106d23cb6531d41ebf0b8eb4495cb37ee07c51ba
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3197704
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-09-30 19:28:19 +00:00
Jamie Madill 35708f98ac Merge extension support docs.
We previously had an existing document in doc/ExtensionSupport.md.
This merges the new SupportedExtensions.md into the old location
and includes a bit more info on EGL extension support.

Bug: angleproject:6379
Change-Id: Ibb60a9e9db9200abe609383531131903ca698e60
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3197770
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-09-30 18:23:25 +00:00
Jamie Madill 0004ecc2a4 Write GL info to test artifact in end2end_tests.
These will show up as glinfo.json in the "cas outputs" of the shard
that runs these tests.

We currently have information for Pixel 4, NVIDIA and Intel Win/Linux,
and SwiftShader Windows. GLES 1.x extensions are treated separately.
Some WebGL/Mac-only/D3D-only extensions show as unsupported anywhere.

In order to capture artifacts on Android, we use a render test output
parameter.

Bug: angleproject:6379
Change-Id: I560b219b5a586cdbb68d272090f38eedc76aba20
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3176780
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2021-09-30 15:31:09 +00:00
Jamie Madill b930b9d32e Capture/Replay: Remove redundant "capture" from label
old: trex_200_capture_context1_frame001.cpp
new: trex_200_context1_frame001.cpp

The 'capture' word wasn't really adding any useful information.
Take it out so the filenames are a bit shorter.

Bug: angleproject:5133
Change-Id: Ibd7d47df2aa1f24a641c5d5b2a6dd14d6ce240e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3149370
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2021-09-30 14:27:14 +00:00
angle-autoroll 326761afb5 Roll Chromium from 5353b9932896 to 37e9c2c2d559 (481 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/5353b9932896..37e9c2c2d559

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/97037cb717..28fa03fe59
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/50e90b8650..31a366089a
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/c06de74c13..d9c7befabb
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/8aecb680df..413eeeaef1
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/f058930f07..caeb227a35
* third_party/android_platform: https://chromium.googlesource.com/chromium/src/third_party/android_platform/+log/6e5dc9acd2..7a11b799ef
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..01df326efe
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/764c927d7d..9c24aede92
* third_party/nasm: https://chromium.googlesource.com/chromium/deps/nasm.git/+log/4e6fe9d154..335fe83e13
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/622a4163de..0a0c4c7a05
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/33f90a99eb..3f71c7b4a1
* tools/python: https://chromium.googlesource.com/chromium/src/tools/python/+log/dda1627b52..d17f53e496
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Ie25a16ff9333c78cb69227004ae5a2791137da8b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3195197
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-09-30 08:12:56 +00:00
Alexis Hetu c0aa61082d Add new GL_RGBX8_ANGLEX format
Currently, IOSurface objects using {GL_RGB, GL_UNSIGNED_BYTE}
are natively represented with GL_BGRX8_ANGLEX, which we use
instead of other RGBA formats in order to avoid issues when
a canvas uses 'no alpha':
https://source.chromium.org/chromium/chromium/src/+/main:third_party/swiftshader/third_party/angle/angle/src/libANGLE/renderer/vulkan/mac/IOSurfaceSurfaceVkMac.mm;l=44

This unfortunately causes some other issues because of the
implicit RGB <-> BGR conversion like type mismatches in
subresource updates. This CL adds a new type, RGBX8, which
will be usable by IOSurface objects and which behaves exactly
like the BGRX8 format with the B and R channels flipped.

Bug: chromium:1209250
Change-Id: I345eadc8addd05a0964cae30d89c20005479e37b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3188910
Commit-Queue: Alexis Hétu <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-09-28 22:33:02 +00:00
angle-autoroll 1168bd2884 Roll VK-GL-CTS from 8e89717bf4ed to 5d72b170aad6 (5 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/8e89717bf4ed..5d72b170aad6

2021-09-24 [email protected] Fix GL_MAX_FRAGMENT_INTERPOLATION_OFFSET limit check
2021-09-24 [email protected] Test non-Sample Shading FragCoord.xy
2021-09-24 [email protected] Test vkCreateDevice with unsupported features
2021-09-24 [email protected] Test anisotropic filtering of single-level images
2021-09-24 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ie8f76d9590cf1afe0780bcae9b99caf7e6e2b16a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3188581
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-09-28 00:12:14 +00:00
angle-autoroll 5b699b4b72 Roll VK-GL-CTS from 7103920041db to 8e89717bf4ed (52 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/7103920041db..8e89717bf4ed

2021-09-20 [email protected] Add missing checking of integer dot product features
2021-09-20 [email protected] Don't silently drop features that were requested
2021-09-20 [email protected] Update checking of VulkanFeatures structs
2021-09-17 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
2021-09-17 [email protected] Tests for OpenGL ES 3.1 and 3.2 compressed formats
2021-09-17 [email protected] dEQP-VK.subgroups.*ray_tracing* missing extension check
2021-09-17 [email protected] Re-enable protected memory tests
2021-09-17 [email protected] Depth/Stencil descriptor tests
2021-09-17 [email protected] Test multiview with different depth ranges
2021-09-17 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master
2021-09-16 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master
2021-09-14 [email protected] Test blitting from ASTC formats
2021-09-14 [email protected] Fix workgroup memory tests for int16s
2021-09-14 [email protected] Check support for EGL 1.5 or higher when using GLES3
2021-09-14 [email protected] Accept NaN as valid in atan2 precision tests
2021-09-10 [email protected] Update Vulkan headers
2021-09-08 [email protected] Fix Clang -Wcomma warnings
2021-09-08 [email protected] Fix qpReleaseInfo generation with non-ASCII paths
2021-09-08 [email protected] Add tests for VK_EXT_load_store_op_none
2021-09-07 [email protected] Merge branch 'vulkan-cts-1.2.7'
2021-09-07 [email protected] Add tests for VK_KHR_shader_integer_dot_product
2021-09-03 [email protected] Merge branch 'vulkan-cts-1.2.7'
2021-09-03 [email protected] Remove unreachable breaks
2021-09-03 [email protected] Add a batch of GraphicsFuzz coverage tests
2021-09-03 [email protected] Fix GLES3 Clang UBSan errors
2021-09-02 [email protected] Add a batch of GraphicsFuzz coverage tests
2021-09-02 [email protected] Add test for finding unknown memory property flag sets
2021-09-02 [email protected] Fix loop over cube map faces in GL4
2021-09-02 [email protected] Fix fragment shading rate validation layer warning
2021-09-02 [email protected] Add run mode that verifies amber requirements
2021-09-02 [email protected] Remove extra semicolons
2021-08-30 [email protected] Fix warning in gcc-8
2021-08-28 [email protected] Enable Vulkan matrix determinant and inverse precision tests
2021-08-26 [email protected] Do not overflow when copy data
2021-08-26 [email protected] Issue in serial storage address computation
2021-08-26 [email protected] Add coverage for sampling a cubemap that has been rendered to
2021-08-20 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master
2021-08-20 [email protected] Check support in synchronization operation tests
2021-08-20 [email protected] Read stencil aspect from image in DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL  layout
2021-08-20 [email protected] Optimize image clearing tests
2021-08-20 [email protected] Ensure that destroying old swapchain has no effect
2021-08-20 [email protected] Conservative rasterization with SampleMask
2021-08-19 [email protected] Update Vulkan headers
2021-08-19 [email protected] Implement getProcAddress for surfaceless platform
2021-08-19 [email protected] Fix for the various multisample tests with GL 4.5
2021-08-19 [email protected] Fix to multisample texture test shaders with GL 4.5
2021-08-19 [email protected] Fix for the common function tests with GL 4.5
2021-08-13 [email protected] Remove shaders.arrays from the Khronos mustpass
2021-08-13 [email protected] Fix Android system memory requirements
2021-08-13 [email protected] Test multiViewport with different depth ranges
2021-08-13 [email protected] Test OpImageQueryLod when fwidth(UV) == 0
2021-08-13 [email protected] Merge vk-gl-cts/github-master into vk-gl-cts/master

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: angleproject:6441
Change-Id: Ifc95da798a2d6de0a794cef59ea61fb6a353f21d
Tbr: [email protected],[email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3188073
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-09-27 22:06:33 +00:00
angle-autoroll 22f838dffc Roll Chromium from 7292aaf5e212 to 832ba3ce1a28 (499 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/7292aaf5e212..832ba3ce1a28

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/a1987bce29..6476f40242
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/bd027a9094..6b0a116062
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/4402489ec5..a46a6332f7
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..444aba89e1
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/a6baf70a45..4a17839cda
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/77c132322f..dfa96e8145
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/77d41f045a..efd7c814c2
* tools/luci-go: git_revision:028cd41e0f4b2bec99d94c780caf2f978e09b182..git_revision:e9585787c808e21d6eaa2c7d7a928dbc19999172
* tools/luci-go: git_revision:028cd41e0f4b2bec99d94c780caf2f978e09b182..git_revision:e9585787c808e21d6eaa2c7d7a928dbc19999172
* tools/luci-go: git_revision:028cd41e0f4b2bec99d94c780caf2f978e09b182..git_revision:e9585787c808e21d6eaa2c7d7a928dbc19999172
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/2b72175863..4853b26dab
* tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/8cd780c1ff..e0429447bd
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/2946be9172..f6c353e258
* tools/skia_goldctl/linux: NzB8fnDNSFKL_tbRaBl6gO6f7Ljdwcdt9VbE3hQfjaoC..qxkaCck3N7NNLCHvQM2gksDboY80QAXbM9dfnJD0-y8C
* tools/skia_goldctl/mac: AjcIwArqfleDRrG1XpbN5DU5ZILcha99HMwrLEidm7kC..U5z-9pZVF7_n6d_eDRqkGGExXzWAwaI9weKVJ0UNCWIC
* tools/skia_goldctl/win: FqoNmLPfLGQu3lutK7aebZdmo2pHBMK9hZoKUkC9njkC..mXlfDemOBUbOngfIwncHzw56bAtEBcVh15WyA9ikp2cC
Clang version changed llvmorg-14-init-3940-gafc45ff0:llvmorg-14-init-4855-ged687c02
Details: https://chromium.googlesource.com/chromium/src/tools/clang/+/77d41f045a522bd39d8ec5e9307363bda56a036c..efd7c814c2f02b1a1219ff649489b8fcfff342f4/scripts/update.py

Bug: None
Tbr: [email protected]
Change-Id: I7dbd19837483fe7ed4bc9ae568f5fcdf3340fa60
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3185015
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-09-27 08:10:03 +00:00
Lubosz Sarnecki 9994110bae Tests: Add Nier Reincarnation trace.
Requires EGL_KHR_gl_colorspace and GL_KHR_texture_compression_astc_ldr.

Test: angle_perftests --gtest_filter="*nier_reincarnation*"
Bug: angleproject:6366
Change-Id: Ibb71520762cf9c0a17047324557e70215754bbbb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3151818
Commit-Queue: Lubosz Sarnecki <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-09-24 20:57:13 +00:00
Lubosz Sarnecki 952cb6a1e4 WGLWindow: Add support for color spaces.
Add WGL_ARB_pixel_format and WGL_EXT_colorspace to generate_loader.py.

Call wglChoosePixelFormatARB from WGL_ARB_pixel_format and use
enums from WGL_EXT_colorspace.

Fall back to ChoosePixelFormat if wglChoosePixelFormatARB is not
available or does not find a format.

Bug: angleproject:6366
Change-Id: I900f6fd6ee0501d5343f21c303b40f1347a53765
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3181720
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Lubosz Sarnecki <[email protected]>
2021-09-24 20:28:50 +00:00
angle-autoroll 17b50dbcf8 Roll Chromium from f50ae42daa8b to 0ca662a00a61 (158 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/f50ae42daa8b..0ca662a00a61

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/f34057a8e4..d4c1fd4eeb
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/48418f3dd7..ba539c18fc
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..25814bb53d
* third_party/turbine: n2quuVAecebwosy5EPRjDGSO5EQU94aFRBg_EdrYtpsC..EIJ2nS3aoQlV-cKpmxr4hNR4E1Qs82brcidjG4A1I5QC
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/126012e8f7..2a0d7f0fb7
No update to Clang.

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Iadccb0fdf49e99b68e18977a3b3c6ae39ffe1424
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3177641
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-09-23 00:25:05 +00:00
Yuly Novikov a58749edbc Revert "Add standalone experimental Mac Intel and AMD bots"
This reverts commit a5bbfe2afe.

Reason for revert: qualification complete

Original change's description:
> Add standalone experimental Mac Intel and AMD bots
>
> For qualifying Mac OS 11 on Mac Retina AMD and Mac Mini 8,1
>
> Bug: chromium:1241597, chromium:1128540
> Change-Id: I753b504f5910541f5d3f244d117d369937a06d38
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3150752
> Reviewed-by: Jamie Madill <[email protected]>
> Commit-Queue: Yuly Novikov <[email protected]>

Bug: chromium:1241597, chromium:1128540
Change-Id: I4eb71219783651c0e63188e2c94c6ee286625430
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3177332
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-09-22 23:32:31 +00:00
Jamie Madill c3e0eafaf3 Revert "Perf Tests: Split samples into sub-tests on desktop."
This reverts commit 90c981dafc.

Reason for revert: Causing timeouts on perf bots.

Original change's description:
> Perf Tests: Split samples into sub-tests on desktop.
>
> This adds an option to the perf test runner to split each sample of
> each test into a sub-test. The sub-tests then are split among the
> shards like ordinary tests, and distributed across machines. The
> intent is that running on different machines will reduce inter-build
> variance because of differences between test machines.
>
> This sampling change is only added to desktop (Linux/Win) because
> Android device variance seems to be lower.
>
> Bug: angleproject:6090
> Change-Id: I4046a012727baa8a0f2595de2349cc34257691f9
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3152752
> Commit-Queue: Jamie Madill <[email protected]>
> Reviewed-by: Cody Northrop <[email protected]>
> Reviewed-by: Yuly Novikov <[email protected]>

Bug: angleproject:6090
Change-Id: I92bffb98999f35274ec31a3b7567d87453feff94
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3174274
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-09-22 13:35:46 +00:00
angle-autoroll 47992c0a8d Roll Chromium from 0537997114eb to f50ae42daa8b (490 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/0537997114eb..f50ae42daa8b

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/b4be3eb78f..66bad00683
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/2d497d93e4..f34057a8e4
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/be66ead525..9e54ae41a0
* third_party/android_sdk/public: yODElY4RdHopNEfpOnqjRcrpa6JMzbhYYqGD53-DjJwC..AuYa11pULKT8AI14_owabJrkZoRGuovL-nvwmiONlYEC
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..25814bb53d
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/9a76798c9e..eff810e93d
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/7ea32d7ed3..948efd2585
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/f7f70b8408..13d38aef23
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/459b0ee485..126012e8f7
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Ifb56113c0c01a74609c2026121a4d30d4220f303
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3174097
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-09-22 09:34:56 +00:00
Jamie Madill 90c981dafc Perf Tests: Split samples into sub-tests on desktop.
This adds an option to the perf test runner to split each sample of
each test into a sub-test. The sub-tests then are split among the
shards like ordinary tests, and distributed across machines. The
intent is that running on different machines will reduce inter-build
variance because of differences between test machines.

This sampling change is only added to desktop (Linux/Win) because
Android device variance seems to be lower.

Bug: angleproject:6090
Change-Id: I4046a012727baa8a0f2595de2349cc34257691f9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3152752
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-09-21 15:39:19 +00:00