Граф коммитов

17200 Коммитов

Автор SHA1 Сообщение Дата
Shahbaz Youssefi 3861c90365 Capture/Replay: Unsupress failures due to I/O block zero-init
Bug: angleproject:6609
Bug: angleproject:6610
Change-Id: I771db9d26122ce1e5955ee092c6ca05af65fde95
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3265605
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-06 01:35:31 +00:00
Shahbaz Youssefi adf878f39e Vulkan: Synchronization tests for read-to-read transitions
Bug: angleproject:6663
Change-Id: I89aafa6c197233b75562c0faa1d5331969eeedf9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3265604
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-06 01:34:41 +00:00
Shahbaz Youssefi 52d6e36373 Translator: Fix zero-init of nameless I/O blocks
Bug: angleproject:6609
Change-Id: I680fec85d53709f9abd3680a9dc5794ecfae6588
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3260326
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-05 20:31:39 +00:00
Jamie Madill 4fd4eb5001 Vulkan: Minor cleanups.
Makes some VkFlags into VkAccessFlags to aid with code search. Also
corrects a few typos.

Bug: angleproject:6566
Change-Id: Ia4d14d38bb6d4e8c4c71fed6038c12edae112be9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3264224
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-05 20:25:09 +00:00
Shahbaz Youssefi e10768f07b Translator: Fix zero-init of I/O block arrays
Bug: angleproject:6609
Change-Id: I8245e868fe6bc4798e74088916e1d8cdd0727b6b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3260325
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-05 19:56:09 +00:00
Peng Huang d7090f5d71 Add more attributes for EGL_ANGLE_device_vulkan
Bug: chromium:1264439
Change-Id: Ibc9676cef16411b17c833abe9559721811016eef
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3264164
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2021-11-05 19:17:29 +00:00
Jamie Madill f7bcd91007 Vulkan: Skip VVL barrier warning on SwiftShader.
This gets tripped up from our barrier handling code.

Bug: angleproject:6656
Change-Id: Iefb1c898ca6506e81a19a0928beaf221dcdf8f4e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3264225
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-05 18:53:09 +00:00
Jamie Madill 019ddad593 Reset cache in ProgramExecutable::updateActiveSamplers.
This missing reset was causing incorrect state validation to
persist in a few instances.

Bug: chromium:1266437
Change-Id: I7ab47c81bf9f855e3ad75048f9d1aaefbc2291df
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3262477
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-11-05 15:19:00 +00:00
angle-autoroll fab56bdb6f Roll vulkan-deps from a46607dbd322 to 22e40c170f29 (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a46607dbd322..22e40c170f29

Changed dependencies:
* vulkan-loader: 7e3866fa3a..d5bb7a9216
* vulkan-validation-layers: 2ab8c47ee5..208c06c883

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 cnorthrop@google.com 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: cnorthrop@google.com
Change-Id: I2c61ce00179cd28f8dbd6cef77dd2c9329211f3b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3263571
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-05 11:53:20 +00:00
angle-autoroll ad47e8605d Roll SwiftShader from e733a26e2ba0 to 70f3a0ff7233 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/e733a26e2ba0..70f3a0ff7233

2021-11-05 sugoi@google.com VK_EXT_blend_operation_advanced minimal implementation
2021-11-05 sugoi@google.com Support VK_EXT_pipeline_creation_cache_control
2021-11-05 capn@google.com Poison device memory allocations for GN MSan builds

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cnorthrop@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/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

Bug: None
Tbr: cnorthrop@google.com
Change-Id: I2ab824e934ad1a08e9e743511f7374cada086486
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3264005
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-05 11:52:29 +00:00
angle-autoroll 690e11ced0 Roll Chromium from ff76252a7394 to f1944afd4c24 (513 revisions)
ff76252a73..f1944afd4c

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 cnorthrop@google.com 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: be7dd8702f..53c802ccf2
* testing: 0be155b448..d4fd825c14
* third_party/abseil-cpp: 4f10fce35c..6fdb0784b9
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..e50155de2c
* third_party/depot_tools: 8a0d05dea6..b85aef9b5c
* third_party/protobuf: 6e73e226c4..fd8a7c7c2b
* tools/clang: b2ffe54673..af96b7b56f
* tools/luci-go: git_revision:68355732afb00a422ae0c70eed95c6a45f9868b1..git_revision:de048fb36dbb1cb5b78774cc4a758e783865062f
* tools/luci-go: git_revision:68355732afb00a422ae0c70eed95c6a45f9868b1..git_revision:de048fb36dbb1cb5b78774cc4a758e783865062f
* tools/luci-go: git_revision:68355732afb00a422ae0c70eed95c6a45f9868b1..git_revision:de048fb36dbb1cb5b78774cc4a758e783865062f
* tools/mb: 8c543dbf70..22f5180e91
* tools/perf: de187bb48c..418f322961
Clang version changed llvmorg-14-init-8033-gabb2a91b:llvmorg-14-init-8564-g34b903d8
Details: b2ffe54673..af96b7b56f/scripts/update.py

Bug: None
Tbr: cnorthrop@google.com
Change-Id: I21785bf3199f4a7dc7269a6002907a4bee4919b3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3263290
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-05 08:10:59 +00:00
Sylvain Defresne 30afc25e1f [ios] Remove support for building with Xcode clang
Chromium //build will soon remove the `use_xcode_clang` variable.
Remove it from Angle to avoid breakage when the variable is gone.

Bug: chromium:1266466
Change-Id: I3f95ffe611cc38c9de76e9744186efff3332d539
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3259713
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-04 19:57:28 +00:00
Tim Van Patten 8c9b8f03e0 Capture/Replay: Don't finish() destroyed Contexts
If an app destroys a context, but keeps it current on a thread, ANGLE
will reset the context, but can't delete it. This can lead to a segfault
if ANGLE attempts to call Context::finish() on a destroyed context.

To solve this, check if the context has been destroyed in
ShareGroup::finishAllContexts().

Bug: angleproject:6653
Change-Id: Ib30e352ad6395e01f8fab0095cd6231dfb10d8ae
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3260726
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-11-04 16:49:08 +00:00
Cody Northrop 45ffabd0b5 Skip world_cricket_championship_2 Intel Linux
Timing out.

Bug: angleproject:6657
Change-Id: Ia4b6456adbffd41764ae2bccac6d1cf79f3b4fb6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3262032
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2021-11-04 16:10:47 +00:00
Cody Northrop 73da16481a Tests: Skip zillow trace on desktop Vulkan
Bug: angleproject:6658
Change-Id: I0d0152c83930b6a789bd9660ad2f16e9a8e9f80a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3262031
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2021-11-04 15:49:07 +00:00
angle-autoroll 270a2c0ef4 Roll SwiftShader from 7a571328541a to e733a26e2ba0 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/7a571328541a..e733a26e2ba0

2021-11-03 sugoi@google.com Add assert on illegal signed/unsigned blit

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cnorthrop@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/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

Bug: None
Tbr: cnorthrop@google.com
Change-Id: I6e5ccc05abf5e57b8abbb15de7db0ebf3ea5362c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3260749
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-04 11:34:07 +00:00
angle-autoroll 6791f0f1dd Roll vulkan-deps from d388b3abde67 to a46607dbd322 (20 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/d388b3abde67..a46607dbd322

Changed dependencies:
* glslang: d1608ab1ef..eb92526d5e
* spirv-cross: 66adba17a8..04293e03fd
* spirv-headers: 1380cbbec1..29817199b7
* spirv-tools: 97d4495600..6b073f8992
* vulkan-headers: d594f70127..51a326d756
* vulkan-loader: 830a0724aa..7e3866fa3a
* vulkan-tools: 7001f2eb37..aa16057108
* vulkan-validation-layers: 6fca9899aa..2ab8c47ee5

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 cnorthrop@google.com 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: cnorthrop@google.com
Change-Id: I6514851e18a1f6857f4dd79519c8835c9f600f67
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3261593
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-04 11:10:58 +00:00
angle-autoroll a5e039b7c6 Roll Chromium from b8a060d71358 to ff76252a7394 (1883 revisions)
b8a060d713..ff76252a73

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 cnorthrop@google.com 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: 40d725c711..be7dd8702f
* buildtools/linux64: git_revision:79c6c1b1a24c46df5a773cc61604bb5051ca6cf4..git_revision:90294ccdcf9334ed25a76ac9b67689468e506342
* buildtools/mac: git_revision:79c6c1b1a24c46df5a773cc61604bb5051ca6cf4..git_revision:90294ccdcf9334ed25a76ac9b67689468e506342
* buildtools/third_party/libc++abi/trunk: 1876d99930..4c6e0991b1
* buildtools/win: git_revision:79c6c1b1a24c46df5a773cc61604bb5051ca6cf4..git_revision:90294ccdcf9334ed25a76ac9b67689468e506342
* testing: 0f63f0d38b..0be155b448
* third_party/abseil-cpp: aaec1f1057..4f10fce35c
* third_party/android_build_tools/bundletool: OZ4is33usuZy-deP3FpWCtbKXaIY0qBLsElWte7556YC..2ZcLVDxyRwp8FzpeYLtLT0TfSRweZxvwh1-Kx1jZ_FoC
* third_party/android_deps: d1c5c4d011..0f5030b08c
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..6f6dc831c9
* third_party/depot_tools: b3a1a797ba..8a0d05dea6
* third_party/ijar: 0c48c93118..1c4422cef7
* third_party/r8: EU82Aqeu2B1PZzAmebHXfyOgeL2UZifcIJ1LPyoThw0C..nqWomZTwNDoogX26WeCSoFGg6aQN1FrwzoU4hCS0duEC
* third_party/turbine: 6QYCyqU5yXkAT7T-_K3sCPvfISI8ACXF_cW4OM5v9BgC..KbLQUR_KFiUEzVt1lMTORY96bz_PbMwC3GwIb1oGJmAC
* tools/clang: f827083d00..b2ffe54673
* tools/luci-go: git_revision:d1c03082ecda0148d8096f1fd8bf5491eafc7323..git_revision:68355732afb00a422ae0c70eed95c6a45f9868b1
* tools/luci-go: git_revision:d1c03082ecda0148d8096f1fd8bf5491eafc7323..git_revision:68355732afb00a422ae0c70eed95c6a45f9868b1
* tools/luci-go: git_revision:d1c03082ecda0148d8096f1fd8bf5491eafc7323..git_revision:68355732afb00a422ae0c70eed95c6a45f9868b1
* tools/mb: c063514f93..8c543dbf70
* tools/memory: 20319341da..bfbdc93fb6
* tools/perf: 930ae734b0..de187bb48c
Clang version changed llvmorg-14-init-7378-gaee49255:llvmorg-14-init-8033-gabb2a91b
Details: f827083d00..b2ffe54673/scripts/update.py

Bug: angleproject:6037
Tbr: cnorthrop@google.com
Change-Id: I9de8c27ecafc1a9c0457af98b36074920e37bf2a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3261685
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-04 09:00:07 +00:00
Shahbaz Youssefi 30b01d8fd1 Fix multiview framebuffer completeness check
In the process of dropping ANGLE_multiview in favor of OVR_multiview,
the framebuffer completeness checks have become stale.  In particular:

- There is no requirement that the base layer of the attachments match
- There _is_ a requirement that base+count layers are within the texture
  boundaries.

Bug: chromium:1264988
Change-Id: I86837b587ad5befaa6a545c5a24507e8dff0b568
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3259272
Reviewed-by: Alexis Hetu <sugoi@google.com>
Reviewed-by: Alexis Hétu <sugoi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-04 01:56:17 +00:00
Cody Northrop 2091451e52 GLES1: Create multiple shaders based on state
This CL introduces the concept of having optimized shaders for given
state combinations.  In this first pass, all uniform bools have been
moved to hard coded values in the GLES1 ubershader.

Frame times on Android ARM with locked GPU clocks:

Trace               Before      After
dr_driving:         27.8145 ->  4.2986
sonic_the_hedgehog: 17.9779 ->  2.8223
summoners_war:      93.2040 -> 15.9810
wordscapes:         53.9227 ->  7.6167
zillow:             15.0323 ->  2.9368

Bug: angleproject:6644
Bug: angleproject:6652
Change-Id: I548bc5c6aa24bad5fbd740b9552c4a703ae41354
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251688
Reviewed-by: Lingfeng Yang <lfy@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2021-11-03 23:35:06 +00:00
Tim Van Patten 7e70818a62 Capture/Replay: Skip failing UniformTest tests
The following tests are failing on win-trace:

    UniformTest.UnusedStructInlineUniform
    UniformTest.UnusedStructInlineUniformWithSampler

They were added by this CL:
https://chromium-review.googlesource.com/c/angle/angle/+/3256235

Bug: angleproject:6654
Bug: angleproject:6641
Change-Id: Ibce2a9ef1795ffeb50bce5546d558ce12166cd17
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3260733
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-11-03 23:19:06 +00:00
Kyle Piddington 77eb8a491b Metal: Reduce memory usage of attribute re-writing
Rework vertex buffer caching to allow us to reuse parts
of converted buffers.

Reusing conversions dramatically drops the memory usage
when drawing index ranges by offset with
unaligned attributes.

Bug: angleproject:6638
Change-Id: I79797da202629b1632e1397ce1227ee3d7a1c9d7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251467
Commit-Queue: Kyle Piddington <kpiddington@apple.com>
Reviewed-by: Le Hoang Quyen <le.hoang.q@gmail.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
2021-11-03 21:46:27 +00:00
Amirali Abdolrashidi 0777af7050 Env var for EXT_framebuffer_fetch_non_coherent
* Added an environment variable/Android property to remove the
restriction on exposing GL_EXT_shader_framebuffer_fetch_non_coherent
on ARM and Qualcomm.
  * Environment variable: ANGLE_ENABLE_EXT_SHADER_FRAMEBUFFER
_FETCH_NON_COHERENT_OVERRIDE
  * Android property: debug.angle.enable.ext_shader_framebuffer
_fetch_non_coherent_override

Bug: angleproject:6519
Change-Id: I62e80f348c2ffda7d1d63496e3a2aedad9d69229
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3258363
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Charlie Lao <cclao@google.com>
2021-11-03 18:20:16 +00:00
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 <cnorthrop@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
2021-11-03 16:54:56 +00:00
Tim Van Patten afaa1287c7 Vulkan: Don't submit XFB queries when XFB is inactive
Consider the following GL commands:

  glBeginQuery(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN)
  glBeginTransformFeedback()
  glDrawArrays()
  glPauseTransformFeedback()
  glDrawArrays()
  glResumeTransformFeedback()
  glDrawArrays()
  glEndTransformFeedback()
  glEndQuery(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN)

The renderpass is broken for each of the draw calls, leading to
pauseRenderPassQueriesIfActive() and resumeRenderPassQueriesIfActive()
being called when the RP is stopped/started. This leads ANGLE to
generate 3 TransformFeedbackPrimitivesWritten queries when looping
through the "active" queries, since no consideration is made for XFB
actually being active/unpaused.

ARM doesn't support the TransformFeedbackPrimitivesWritten query when
XFB is disabled. Instead, the query is never completed and the results
are never available. It could probably be argued that this is an ARM
bug, and they should just output '0' if XFB isn't active during the
query.

Regardless, ANGLE shouldn't be issuing the queries when XFB is no
active, since it's wasteful.

Bug: angleproject:6622
Test: dEQP.GLES3/functional_transform_feedback*
Test: TransformFeedbackTest.TransformFeedbackQueryPausedDrawThenResume
Change-Id: I380fb60405d7f538b802bb0df72bf609f0bc58e9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3246532
Reviewed-by: Charlie Lao <cclao@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-11-03 16:15:24 +00:00
Cody Northrop e50894a08f DEPS: Update Android SDK source to android-31
Bug: angleproject:6650
Change-Id: I7fd3a6c23d47966d055dfaa4dfffed95a9f41240
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3259848
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-11-03 16:05:44 +00:00
angle-autoroll 8df68fd477 Roll SwiftShader from 542593f0e311 to 7a571328541a (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/542593f0e311..7a571328541a

2021-11-02 sugoi@google.com Perform all blend operations in floating-point
2021-11-02 swiftshader.regress@gmail.com Regres: Update test lists @ 542593f0

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cnorthrop@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/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

Bug: None
Tbr: cnorthrop@google.com
Change-Id: I1cd36fbf0483351d4d9b30be3108dafc366364e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3259062
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-03 10:39:06 +00:00
Kyle Piddington 0e9e321b57 Metal: Anonymous unused uniform structs not named.
Due to some upstream changes, unused uniform structs are not being
given a name. These structs cause compilation failures, which has
completely caused shadertoy.com to fail to render.

Skip the check when naming embedded structs to allow uniform struct
types to still be named, even when no uniform exists.

Unskip targeted tests on the Metal backend which were added previously
in Issue 6641. These still need to be fixed more generically for the
Vulkan backend.

Also suppress flaky WebGLCompatibilityTest.RG32FTextures test on Mac
Intel OpenGL, which affected this CL.

Bug: angleproject:6642
Bug: angleproject:6641
Bug: angleproject:6570
Change-Id: I598fc212f4db3d3b7c5617bd8a87f8b7db60706c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3258341
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Gregg Tavares <gman@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-11-02 23:25:29 +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 <kbr@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Gregg Tavares <gman@chromium.org>
2021-11-02 22:58:39 +00:00
Kyle Piddington 88ca3b18ab Expose translator issues with struct samplers.
Struct samplers assert in the Vulkan and Metal backends during
rewriting. Add a test - skipped for now on these backends - to
highlight this issue.

Bug: angleproject:6641
Change-Id: I95cbc9e5f4122f1ac7db926ac44c4cccc1b6f87a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3256235
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
2021-11-02 21:06:38 +00:00
Shahbaz Youssefi a517d4d95f Vulkan: Regression test for xfb query before resume
Bug: angleproject:6622
Change-Id: If15195437e656dc20aed10d02cf8429ad15ae3d2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3254432
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-02 20:17:13 +00:00
Jamie Madill 38d5349a90 Fix out of range access in MemoryBarrierTest.
Bug: angleproject:6646
Change-Id: Ia406e290d0a6d6bef6352ac5e46a591e980d33f3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3258006
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-11-02 18:12:14 +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 <natsu@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-11-02 17:57:19 +00:00
Stephen White 0b56267f2d Implement ANGLE_FALLTHROUGH macro.
Use it instead of ABSL_FALLTHROUGH_INTENDED.
(ANGLE shouldn't use absl unless angle_enable_absl is true.
This is breaking the roll of ANGLE into Dawn.)

Bug: angleproject:6647
Change-Id: I47f9a00841c4605fca52b17eeb68c0b1da5004c0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3258008
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-11-02 17:38:49 +00:00
Gert Wollny c4921cd87a Capture/Replay: Capture name in GetProgramResourceIndex
Bug: angleproject:6180
Change-Id: I1ee7e49dcfa5df23ff5d81d8ca43dd1843c9b2e6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3250880
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2021-11-02 15:59:09 +00:00
Gert Wollny 7952f84cd6 Capture/Replay: Add ES3_1_Vulkan_SwiftShader expectations
Bug: angleproject:6180
Bug: angleproject:6605
Bug: angleproject:6608
Bug: angleproject:6609
Bug: angleproject:6610
Bug: angleproject:6611
Change-Id: I340d1d9ead7e1f537ea447447e7d051b8725c534
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3236986
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2021-11-02 13:41:11 +00:00
Jamie Madill 548e7a2f71 infra: Expose ASAN configs in try.
This will allow us to manually add ASAN tryjobs to test before
landing.

Bug: angleproject:5795
Change-Id: I1085b64f2dcf09e20f470aded0d57befbe4fb084
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3257025
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-11-02 13:03:29 +00:00
Gert Wollny 02cc418d4e Capture/Replay: Mark test to be flaky on Windows
The test is passing quite often, but not always.

Bug: angleproject:6180
Change-Id: I4bed6cd2907da61023ca91b20e20d8b0722302b7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3257321
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-11-02 13:03:27 +00:00
angle-autoroll aaf82f38ff Roll SwiftShader from 9d8950e082d8 to 542593f0e311 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/9d8950e082d8..542593f0e311

2021-11-01 capn@google.com Implement support for VK_FORMAT_R16*_UNORM attachment formats
2021-11-01 capn@google.com Clamp blend factors and color output
2021-11-01 capn@google.com Refactor blending

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cnorthrop@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/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

Bug: None
Tbr: cnorthrop@google.com
Change-Id: If2c6d0503245d313c3101f98b2ee7321df4ff182
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3256524
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-02 11:29:47 +00:00
Amirali Abdolrashidi 6a749cdacd Complete validation of glGetAttribLocation()
-Added more checks to glGetAttribLocation() similar to
glBindAttribLocation().
-Added the corresponding unit tests. Using a reserved
prefix in glGetAttribLocation() should return -1.

Bug: angleproject:2419
Change-Id: I3f691f344c7003f855e53d35cd5f9578069acdae
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3252643
Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-02 04:21:16 +00:00
YuxinHu a514df081d Add detachShader capture calls in MEC
This change adds a capture call to detach shader
object before deleting the shader object in function
GenerateLinkedProgram(), if that is also what the app does.
GenerateLinkedProgram() is part of the Mid Execution Capture
(MEC), and the purpose of the MEC is to setup a program that
more closely mirrors the original app.

The game World Cricket Championship2 detaches the shader object
before deleting the shader object. With this change, we can follow
the same behavior in GenerateLinkedProgram(). This ensures that
the Shader Object refcount is decremented to 0 before the
CaptureDeleteShader call is applied, and the ShaderProgramID
handle assigned to the Shader Object will be released and
can be reused for subsequent glCreateShader calls. The total number
of ShaderProgramID we need will be consistent between
SetupReplayContextShared() and the game uses.
We are allocating memory slots for gUniformLocations2 array
based on the total number of ShaderProgramID the game uses.
Keeping the ShaderProgramID counts the same between
trace replay and the game ensures we allocate the right amount
of memory for the trace replay.

Bug: angleproject:6621
Bug: b/194508692
Change-Id: Ib2810b486a6e9108db2a32f084d650a25f14bebd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3246533
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
2021-11-01 22:47:56 +00:00
Steven Noonan ab514d4ac0 d3d11: fix typo in pixel shader function signatures
These two shaders used "TEXCORD0" instead of "TEXCOORD0" which made the
Direct3D debug layers unhappy:

    D3D11 ERROR: ID3D11DeviceContext::Draw: Vertex Shader - Pixel Shader
    linkage error: Signatures between stages are incompatible. The input
    stage requires Semantic/Index (TEXCORD,0) as input, but it is not
    provided by the output stage. [ EXECUTION ERROR #342:
    DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND]

Fixing the typo makes that error go away.

Bug: angleproject:6614
Change-Id: Ifa1c8c01fb4502398b3b4e13a411ef50bc3db483
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3239013
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-11-01 19:39:46 +00:00
angle-autoroll 10356c0087 Roll VK-GL-CTS from 49afd2823061 to 06492d671a2d (6 revisions)
49afd28230..06492d671a

2021-10-29 rgarcia@igalia.com Add compute test with zero dispatch size
2021-10-29 rgarcia@igalia.com Test contradictory parameters on swapchain creation
2021-10-29 paulthomson@google.com Revert "Exclude cov-function-with-nested-loops-called-from-nested-loops"
2021-10-29 juha.heiskanen@siru.fi Add buffer feature check for depth/stencil formats
2021-10-29 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/master
2021-10-28 quic_mnetsch@quicinc.com Merge vk-gl-cts/opengl-es-cts-3.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 timvp@google.com,angle-bots+autoroll-info@google.com 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: timvp@google.com,angle-bots+autoroll-info@google.com
Change-Id: Ie032d02c4b759ebfe3f4dfe5cf61b9d5fed96b2f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3254001
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-01 19:28:46 +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 <jmadill@chromium.org>
2021-11-01 19:17:21 +00:00
Gregg Tavares ab42673590 Template gl::Rectangle so it can be used for float
Bug: angleproject:6598
Change-Id: I8cf5894f0e34c56a6ad856c978be93ea9d5ae113
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3253131
Commit-Queue: Gregg Tavares <gman@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-11-01 18:27:20 +00:00
angle-autoroll a7b3551ef2 Roll vulkan-deps from a03d00bd2a78 to d388b3abde67 (16 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a03d00bd2a78..d388b3abde67

Changed dependencies:
* spirv-cross: 29632959d2..66adba17a8
* spirv-tools: d997c83b10..97d4495600
* vulkan-validation-layers: b9168891cb..6fca9899aa

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 timvp@google.com 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: timvp@google.com
Change-Id: I19b0462854ae5eed5c49e1e38d79581e4de31018
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3254967
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-11-01 10:44:02 +00:00
Shahbaz Youssefi 5a0e6c1e85 Suppress failing test
ProgramBinaryES3Test.SaveAndLoadDetachedShaders depends on
VK_EXT_provoking_vertex, which is not supported on many of our bots.

Bug: angleproject:6526
Bug: chromium:1264995
Change-Id: I9ea26c1a113068381b18a65c4b79448cf642d476
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251224
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-30 02:26:11 +00:00
Tim Van Patten d2b4d9aec1 Revert "Vulkan: Don't expose MSRTT on SwiftShader"
This reverts commit fb77afd3c7.

Reason for revert: Breaks ANGLE roll into Chromium:
https://chromium-review.googlesource.com/c/chromium/src/+/3253966/

Please follow the directions here to update the reference images:
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/web_test_expectations.md

Original change's description:
> Vulkan: Don't expose MSRTT on SwiftShader
>
> Emulating this extension on SwiftShader is neither useful nor efficient
> (on the contrary, it hurts performance (which is true for all non-tiling
> architectures)).  This extension was exposed purely to increase testing
> coverage, but is being disabled now as OOMs resulting from allocating
> the implict multisampled image is confusing Chrome.  Note that
> SwiftShader exposes only a limited amount of memory.
>
> Bug: chromium:1263046
> Change-Id: Ia69b7fc63804169431885352a8f637a95ab08bd0
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251581
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>

Bug: chromium:1263046
Change-Id: I554df85109282db840ed6d2dbf0b153da5a7a98f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3254007
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-10-30 00:28:39 +00:00
Kyle Piddington 50fc2909d8 Merge Webkit up to Oct 27 2021
Merge the following commits from Webkit. This
change merges webkit from the following git commits

Previous:
commit 703b234524e75109ca3e94febbf63098314022f5
Author: Alex Christensen <achristensen@webkit.org>
Date:   Tue Sep 28 16:22:30 2021 +0000
    Mostly fix Mac CMake build
    https://bugs.webkit.org/show_bug.cgi?id=230868

Current:
commit 43d2e637f84b1e6b75c139ac64c26ca108b4f12f
Author: Kimmo Kinnunen <kkinnunen@apple.com>
Date:   Wed Oct 27 17:43:38 2021 +0000
    REGRESSION (Safari 15): Poor WebGL performance on
https://downloads.scirra.com/labs/particles

Commits:
commit 8238f462c96e515dabd3db0e26c143b18f47340c
Author: Kyle Piddington <kpiddington@apple.com>
Date:   Wed Oct 6 21:45:18 2021 +0000
    Shadertoy "truchet district" fails to compile with error:
    Internal error compiling shader with Metal backend"

commit 2fcb9af290e4b6c804f11ad4359555507c1492f9
Author: Kyle Piddington <kpiddington@apple.com>
Date:   Thu Oct 14 21:14:26 2021 +0000
    https://tankionline.com/play/ html5 engine not
    working: crashes. (Metal shader not working)
    https://bugs.webkit.org/show_bug.cgi?id=231490

commit e11955a258380a875115ded16ab8963142c4023b
Author: Kyle Piddington <kpiddington@apple.com>
Date:   Fri Oct 15 23:57:12 2021 +0000
    REGRESSION (r283667):
    webgl/2.0.0/deqp/functional/gles3/lifetime.html fails
    https://bugs.webkit.org/show_bug.cgi?id=231682

commit 43d2e637f84b1e6b75c139ac64c26ca108b4f12f
Author: Kimmo Kinnunen <kkinnunen@apple.com>
Date:   Wed Oct 27 17:43:38 2021 +0000

    REGRESSION (Safari 15): Poor WebGL performance on
    https://downloads.scirra.com/labs/particles
    https://bugs.webkit.org/show_bug.cgi?id=230749

Bug: angleproject:6630
Change-Id: Icca411dc429538f839f05834f1851fbc54ef8a1d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3248573
Commit-Queue: Kyle Piddington <kpiddington@apple.com>
Reviewed-by: Gregg Tavares <gman@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-10-30 00:12:29 +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 <timvp@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-10-29 21:16:08 +00:00