1126 Commits
Author SHA1 Message Date
angle-autoroll f549594f44 Roll VK-GL-CTS from 571256871c2e to 0eb84cfc3d3f (25 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/571256871c2e..0eb84cfc3d3f

2021-07-29 [email protected] Add more tests for YCbCr plane compatibility
2021-07-29 [email protected] Remove invalid reserved keywords tests
2021-07-29 [email protected] Test line stipple factor is ignored if not used
2021-07-29 [email protected] Test zero-size unused specialization constants
2021-07-28 [email protected] Fix build on CLang failing due to -Wunused-private-field
2021-07-28 [email protected] SwiftShader script improvements
2021-07-28 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/master
2021-07-27 [email protected] Update glslang, SPIR-V Tools, headers
2021-07-27 [email protected] Add tests for VK_EXT_shader_atomic_float2
2021-07-27 [email protected] Tests for VK_KHR_present_id and VK_KHR_present_wait
2021-07-27 [email protected] Update Vulkan headers
2021-07-23 [email protected] Fix uninitialized local variables in generated shader.
2021-07-23 [email protected] Fix most dEQP-VK.sparse_resources.shader_intrinsics.* validation errors
2021-07-23 [email protected] Additional dynamic depth bias tests
2021-07-23 [email protected] Test VK_EXT_multi_draw with geometry and tessellation shaders
2021-07-22 [email protected] Remove unused test cases from gen-keywords script
2021-07-22 [email protected] Test dynamic vertex stride of 0.
2021-07-22 [email protected] Add Image Store tests to BGRA images
2021-07-22 [email protected] Test fragment shading rate limits and rates
2021-07-22 [email protected] Add more test related to early fragment tests
2021-07-22 [email protected] Remove replacement of bool32
2021-07-22 [email protected] Replace DWORD with uint32_t
2021-07-22 [email protected] Fix early destruction of VkPipelineLayout
2021-07-22 [email protected] Reorder vulkan enum elements
2021-07-19 [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 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: I3f0e4dbc7dfd3043f4c2318f56626d6cb3646b9a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3064027
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-30 20:10:57 +00:00
Shahbaz Youssefi 96ccf3f43e Translator: Consolidate EvqFragDepth and EvqFragDepthEXT
They were the same thing.  Fixes SPIR-V generation which only handled
EvqFragDepth.

Bug: angleproject:4889
Change-Id: Id2c35f4c5a26e43ad16a420cc0306756a1add082
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3059922
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-07-30 14:59:08 +00:00
Lubosz Sarnecki cad2bcb825 packed_egl_enums: Add ColorSpace.
Add EGL ColorSpace enum consisting of sRGB and Linear entries.

Bug: angleproject:5857
Change-Id: I1e30db6fca6ad65db17a6369a26eae886468a85d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3056370
Commit-Queue: Lubosz Sarnecki <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-30 12:19:06 +00:00
Shahbaz Youssefi 3036e0903c Vulkan: Direct SPIR-V Gen: Support the precise keyword
The precise keyword is different in GLSL in that it defines what
arithmetic operations _that have led to the value being assigned to a
variable_ should be done precisely (i.e. not "contracted").

A tree traverser is implemented that detects precise access chains and
applies precise-ness to the right hand side of assignment expressions to
said access chains.  This is only done if the shader uses the precise
keyword in the first place.  The algorithm for this is inspired by the
implementation in glslang.

This change additionally:

- Fixes parser to allow precise on function parameters
- Fixes GLSL code generation to output precise on struct members and
  function parameters.

Bug: angleproject:4889
Change-Id: Ie3808c3c8c08da308e88af20f5f90379d9d14d47
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3056369
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-07-29 21:55:23 +00:00
Shahbaz Youssefi 8f77e0bc6e Define angle::HashSet potentially using abseil
Split change from CL using it for simplicity.

Bug: angleproject:4889
Change-Id: Ie3e621dee624020581e9fd7679639332718948f6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3061439
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-07-29 21:29:42 +00:00
Shahbaz Youssefi b751b18595 infra: Enable gles3.2 deqp tests with direct SPIR-V generation
Enabled on Linux/Nvidia, Windows/Nvidia and Pixel4.

Bug: angleproject:4889
Change-Id: I3050ed53b48cc114c940486871910a3b9c5adea5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3047383
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-28 16:43:47 +00:00
Shahbaz Youssefi 630077c5f7 infra: Enable gles3.1 deqp tests with direct SPIR-V generation
Enabled on Linux/Nvidia, Windows/Nvidia and Pixel4.

Bug: angleproject:4889
Change-Id: Id82c909e368cdc189aea2e44f6371a27d8232e37
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3047382
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-28 16:14:18 +00:00
angle-autoroll 48a6188943 Roll Chromium from f18a56e21b43 to 7ad7eb435b84 (470 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/f18a56e21b43..7ad7eb435b84

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 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/2e6288eaef..96a4da9412
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/bfcda91989..24e92c2bee
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/ed11dbd7ea..88e2d8b080
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..10f6e4b89b
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/69fa5ec37a..2a8bb1ca80
* tools/luci-go: git_revision:04c7051e7a02d7000bf28b53a575fea10220b555..git_revision:75ff299b9adf969190cafebe902255856a346f0b
* tools/luci-go: git_revision:04c7051e7a02d7000bf28b53a575fea10220b555..git_revision:75ff299b9adf969190cafebe902255856a346f0b
* tools/luci-go: git_revision:04c7051e7a02d7000bf28b53a575fea10220b555..git_revision:75ff299b9adf969190cafebe902255856a346f0b
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/a577fc1092..ef691997d9
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/e39d397fb7..b210baf513
* tools/skia_goldctl/linux: kaeAzSau0swqM5_PxvyRfHSMDvXSjyDsqgPiP5rpoYEC..Pc3OHV2QqhJ1IA5WQWr_kZ72iUVitbAX-iQN7j8sfcQC
* tools/skia_goldctl/mac: sZ1aXBq0Ae2kaeyAtTGpMuEEGdcqMzga658pAaCAl0IC..KASmGKR0ayqtBOEyjhnO0Bt_YP_U602cxGcJOOjhAPoC
* tools/skia_goldctl/win: 67QQ3-xX3VTYrb9YrwUR0VedVqNq7sebZZeHS823QdcC..XfCGeDXrOWGLHwo_HFFlERuqKHW2zZGUGnF1DzCyCP0C
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Ie43056dba44cde445c38237c6e2aab6740a41922
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3058570
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-28 08:26:14 +00:00
angle-autoroll 1dd33c0525 Roll vulkan-deps from d85297cbd31b to 42c7e9bc00c2 (37 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/d85297cbd31b..42c7e9bc00c2

Changed dependencies:
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/cd22336a38..1964799fba
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/d9f8925785..11cd875ed8
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/872fa25bb6..b8c57b0a09
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/a0c69f0d3a..99a7440204
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/893fc802e4..459cb6009e

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 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: Id2402348bcf414ce7bebb8e5c647f0db54537557
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3057520
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-27 22:57:43 +00:00
Shahbaz Youssefi dbe986d710 Vulkan: SPIR-V Gen: Fixes to tessellation shader support
- TCS barrier() built-in is correctly looked up
- Patch decorations are fixed

Bug: angleproject:4889
Change-Id: I1befcaca85a965c9d46b1b41ec74597de44bf2b2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3052687
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-07-27 02:04:51 +00:00
Shahbaz Youssefi acfd63a4cc Translator: Remove GLSL rules from the ESSL-only symbol table
Shaves ~36KB off of ANGLE's binary size on Android.

Bug: chromium:1084580
Change-Id: I4711c6bd28437a43b7dc63be4cfcdaed7ae11ba2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3052686
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-07-27 02:01:41 +00:00
Shahbaz Youssefi 4ff80bb5f7 infra: Enable gles3 deqp tests with direct SPIR-V generation
Enabled on Linux/Nvidia, Windows/Nvidia and Pixel4.

Bug: angleproject:4889
Change-Id: I2462b7fa7801b766f4359103a5253209b7fded28
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3047381
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-27 01:21:51 +00:00
angle-autoroll 2ce8181788 Roll Chromium from 172cae01c41b to 779c0d440060 (322 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/172cae01c41b..779c0d440060

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 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/5e09be1ee6..958a8ec2c1
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/47f98e89a3..412b2038bc
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..10f6e4b89b
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/131233f789..94ebf0661e
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/42bdc1223f..48df54f532
Clang version changed llvmorg-13-init-15163-g98033fdc:llvmorg-13-init-15561-gf98ed74f
Details: https://chromium.googlesource.com/chromium/src/tools/clang/+/131233f78952301416fd1599964b58fe4af76285..94ebf0661eb5b6ed2a2cbc46eb7a579a06c040b0/scripts/update.py

Bug: None
Tbr: [email protected]
Change-Id: Id07aacc82c17d56790faec87e042b77db4f39d17
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3053611
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-26 08:15:23 +00:00
angle-autoroll 1f72aa14a2 Roll Chromium from 208fab302a17 to 172cae01c41b (609 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/208fab302a17..172cae01c41b

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 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/2ef6eae721..5e09be1ee6
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/b8e44ff539..47f98e89a3
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..10f6e4b89b
* third_party/r8: gXyBDv_fM87KnLcxvF5AGV5lwnm-JXIALYH8zrzdoaMC..Nu_mvQJe34CotIXadFlA3w732CJ9EvQGuVs4udcZedAC
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/609c3a5216..159bcd47b2
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/7668723204..42bdc1223f
No update to Clang.

Bug: angleproject:6090
Tbr: [email protected]
Change-Id: I75f1c7a574cea4e64c53b531a4953a06b9ebee4a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3049710
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-23 19:39:16 +00:00
Shahbaz Youssefi 02c5cdbdbd infra: Enable gles2 deqp tests with direct SPIR-V generation
Enabled on Linux/Nvidia, Windows/Nvidia and Pixel4.

Bug: angleproject:4889
Change-Id: I50c5e31097bd7e1539caf7b229a249cbfa62b93d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3042557
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-07-23 19:01:02 +00:00
Tim Van Patten 348eaf1523 roll_aosp.sh: Add dcheck_always_on = false
The GN args 'dcheck_always_on' was recently enabled by default, which
resulted in an increase to ANGLE's APK size in AOSP from 16.3MB to
20.6MB. Adding 'dcheck_always_on = false' to roll_aosp.sh to disable the
feature reduces the APK back to the original 16.3MB size.

Bug: b/189125396
Change-Id: I606c30fe49291fa893228644c4b1fe4dd5fbeabf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3048933
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-07-23 18:13:38 +00:00
Jamie Madill f18bb9c0ee Roll Chromium DEPS manually.
Because the packages list changed, the roll_chromium_deps script
was failing. Manually roll and update the failure assertion to
make the required action clear.

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/488aac0b88..2ef6eae721
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/8c3404999d..b8e44ff539
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/9211d9e376..368be24f93
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/0ab40df9d1..12d2cf1a46
* third_party/android_sdk: https://chromium.googlesource.com/chromium/src/third_party/android_sdk/+log/76bd51b56b..ff9352c23f
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..10f6e4b89b
* third_party/r8: Nu_mvQJe34CotIXadFlA3w732CJ9EvQGuVs4udcZedAC..gXyBDv_fM87KnLcxvF5AGV5lwnm-JXIALYH8zrzdoaMC
* tools/luci-go: git_revision:9ee8b1d719c0d3c268e0e19282351ca78024af2d..git_revision:81e548572494391fa74559e816562d60c767bc69
* tools/luci-go: git_revision:9ee8b1d719c0d3c268e0e19282351ca78024af2d..git_revision:81e548572494391fa74559e816562d60c767bc69
* tools/luci-go: git_revision:9ee8b1d719c0d3c268e0e19282351ca78024af2d..git_revision:81e548572494391fa74559e816562d60c767bc69
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/2db94c0aa3..609c3a5216
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/4682254401..7668723204
* tools/skia_goldctl/linux: 4iy6PO3bO0fujafbQ4I4eWhD8ErkBKf5xAnGzPrziIUC..kaeAzSau0swqM5_PxvyRfHSMDvXSjyDsqgPiP5rpoYEC
* tools/skia_goldctl/mac: _9rtsnZzHBJ4851DtK33jnz7UzMZ77SqJ9sYpciBwiMC..sZ1aXBq0Ae2kaeyAtTGpMuEEGdcqMzga658pAaCAl0IC
* tools/skia_goldctl/win: NsVk6Er035r7JVK4foqbqAksO65XEzgIT9Bjwf0Q1q0C..67QQ3-xX3VTYrb9YrwUR0VedVqNq7sebZZeHS823QdcC
No update to Clang.

Bug: angleproject:6211
Change-Id: I152572fd15066a100cb5f379f7adbd967dc6eac8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3048852
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-23 17:33:59 +00:00
Jamie Madill 91b35c909e infra: Add perf results processing script.
This script is a modified version of the Chromium script:
https://chromium.googlesource.com/chromium/src/+/main/tools/perf/process_perf_results.py

The primary change is to add additional build info to the
histogram set before upload. This additional info isn't
available to the test harness and is required for the perf
dashboard upload.

We can also use this as a basis for uploading to the Skia
perf dashboard.

Test: led launch
Bug: angleproject:6090
Change-Id: Ie439ed34a24ce66f4b60b947f221e4cb96cf7d25
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2997002
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-23 16:02:30 +00:00
Shahbaz Youssefi 45d4641a4c Vulkan: SPIR-V Gen: Support tessellation shaders
Bug: angleproject:4889
Change-Id: I7370e037a82689260e27bfd5e72c5c8c982efa58
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3041624
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-23 02:22:56 +00:00
Tim Van Patten 05716b9f3f Cleanup license_text to remove missing license files
The initial list of files speficied for license_text in
generate_android_bp.py included license files that aren't present after
issuing: git clean -f -x -d -f

While the list will build correctly when rolling ANGLE locally, since
roll_aosp.sh doesn't issue a 'git clean', it fails to build on the
Android presubmit bots.

Bug: b/191882454
Test: git clean -f -x -d -f ; m ANGLE -j50
Change-Id: I31efba1f5030b118838ba1a21501f32200c93db3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3046958
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-07-22 22:31:34 +00:00
Tim Van Patten 2ec44d079d List all license files in Android.bp
Update generate_android_bp.py to list all of the license files in
external/angle.

Bug: b/191882454
Change-Id: Ie13fb9199c7216b5468bf91994526fdcd8552be1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3046509
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-07-22 21:25:18 +00:00
Jamie Madill 27ccdc850c Add Chromium perf result processing script.
We will override this script in a follow-up CL to meet ANGLE's
specific needs.

Bug: angleproject:6090
Change-Id: I8d3a326645367e90ae79f49ef15ace700d6af106
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3042213
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-22 17:39:38 +00:00
Jamie Madill c408926fc8 Revert "EGL: GLES: Implement GL_EXT_protected_textures"
This reverts commit 6210a9b34a.

Reason for revert: Suspected for breaking ANGLE->Chrome roller.

Bug: angleproject:6204

Original change's description:
> EGL: GLES: Implement GL_EXT_protected_textures
>
> Implement EGL_EXT_protected_content Images
> Add protected member to Images and Textures
> Add error when creating objects if not supported or
> does't match native buffer
> When creating siblings pass protected state
> Add extension caps
> Add Validation
> Add GetTexParameter and SetTextparameter
> Add protected to Texture and state
> Expand tests for images and textures
>
> Test: angle_end2end_test --gtest_filter=EGLProtectedContentTest
>
> Bug: angleproject:3965
> Change-Id: I35a89b4e80bba6d9b6831c68e71630eef304dacb
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2802852
> Commit-Queue: Mohan Maiya <[email protected]>
> Reviewed-by: Geoff Lang <[email protected]>
> Reviewed-by: Jamie Madill <[email protected]>
> Reviewed-by: Shahbaz Youssefi <[email protected]>

Bug: angleproject:3965
Change-Id: Ia3ef260a17097b474189ccad5b235a9db99ee00b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3043889
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
2021-07-22 13:55:05 +00:00
angle-autoroll e759ff888e Roll Chromium from f8ef6fcfb849 to 208fab302a17 (1307 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/f8ef6fcfb849..208fab302a17

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 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/fd86d60f33..488aac0b88
* buildtools/linux64: git_revision:b2d77ab1373192d1532af94b68fb8bab727b0e5b..git_revision:d565aa3e72dd9e81da9595ee8c9d7b24cb45c48b
* buildtools/mac: git_revision:b2d77ab1373192d1532af94b68fb8bab727b0e5b..git_revision:d565aa3e72dd9e81da9595ee8c9d7b24cb45c48b
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/7d5c92f6cf..e8bf577fbf
* buildtools/win: git_revision:b2d77ab1373192d1532af94b68fb8bab727b0e5b..git_revision:d565aa3e72dd9e81da9595ee8c9d7b24cb45c48b
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/f619f21d40..8c3404999d
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/8c49b419c2..0ab40df9d1
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..9ac1fdf373
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/c81b8b948f..131233f789
* tools/luci-go: git_revision:175b811c1eebfa8868ab96b58a4dc7b5bcabf756..git_revision:9ee8b1d719c0d3c268e0e19282351ca78024af2d
* tools/luci-go: git_revision:175b811c1eebfa8868ab96b58a4dc7b5bcabf756..git_revision:9ee8b1d719c0d3c268e0e19282351ca78024af2d
* tools/luci-go: git_revision:175b811c1eebfa8868ab96b58a4dc7b5bcabf756..git_revision:9ee8b1d719c0d3c268e0e19282351ca78024af2d
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/df951e112c..2db94c0aa3
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/49df801dea..4682254401
* tools/skia_goldctl/linux: up6EUcZzuFZnm2JCEV1eW0TwCEAZjPcqtS2CsZN-3qAC..4iy6PO3bO0fujafbQ4I4eWhD8ErkBKf5xAnGzPrziIUC
* tools/skia_goldctl/mac: eR_S1Urlw9be4WKiQcXwEcBn9KiDrWknodT82I6vw-kC.._9rtsnZzHBJ4851DtK33jnz7UzMZ77SqJ9sYpciBwiMC
* tools/skia_goldctl/win: pLY1rCmGsL8vtV0wWxgqY3sOWkwIxuRh6PMIn_0BDcAC..NsVk6Er035r7JVK4foqbqAksO65XEzgIT9Bjwf0Q1q0C
No update to Clang.

Bug: angleproject:6090,angleproject:6198
Tbr: [email protected]
Change-Id: I30e0cc2e8d8820cca7abb589a35cbca09d325a30
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3045218
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-22 08:37:04 +00:00
Shahbaz Youssefi 0e1c90cf4f Translator: Validate function parameter qualifiers
This change cleans up a confusion in EvqConst and EvqConstReadOnly,
where the former was frequently used instead of the latter for function
parameters.

The change makes the following renames to make the intent of the
relevant qualifiers clearer:

    EvqIn            -> EvqParamIn
    EvqOut           -> EvqParamOut
    EvqInOut         -> EvqParamInOut
    EvqConstReadOnly -> EvqParamConst

Bug: angleproject:4889
Change-Id: Idedd32c08a91de069b91b1657d6b783dddece04a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3041622
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-07-22 02:03:13 +00:00
angle-autoroll d6a7b0172c Roll vulkan-deps from a42815069bad to 436e27578f75 (16 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a42815069bad..436e27578f75

Changed dependencies:
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/e51630595f..18f3cd6810
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/f084bcfe2b..033768c24b
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/0193e158bc..872fa25bb6
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/99c0b1433a..a0c69f0d3a
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/d444097efd..194db6870e

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 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: I802bb8f42ef0c62d8f17b47b6652b22c0d498541
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3043744
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-07-22 00:39:27 +00:00
Shahbaz Youssefi 05eb0a3291 Translator: Allow subpassLoad in AST in ESSL
subpassLoad is available to desktop GLSL, but not GLSL ES.  With this
change, subpassLoad is made available internally to the AST so that
framebuffer fetch's use of this built-in can be simplified.
Additionally, this makes the tree more consistent in that there's no
function call without a corresponding function declaration.

A follow up change will add an AST validation to enforce this.

Bug: angleproject:4889
Bug: angleproject:5454
Change-Id: I3fa502dc4b29eab7f34940466e283cffd218d746
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3040118
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-07-20 21:07:32 +00:00
Jeff Vigil 6210a9b34a EGL: GLES: Implement GL_EXT_protected_textures
Implement EGL_EXT_protected_content Images
Add protected member to Images and Textures
Add error when creating objects if not supported or
does't match native buffer
When creating siblings pass protected state
Add extension caps
Add Validation
Add GetTexParameter and SetTextparameter
Add protected to Texture and state
Expand tests for images and textures

Test: angle_end2end_test --gtest_filter=EGLProtectedContentTest

Bug: angleproject:3965
Change-Id: I35a89b4e80bba6d9b6831c68e71630eef304dacb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2802852
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-07-20 18:35:02 +00:00
Jamie Madill fd0579ac7d trigger.py: Add -realm to swarming args.
This should fix recent permissions changes.

Bug: chromium:1231092
Change-Id: Ie9b39449c861f3ab774334c4d392d1700c638ea9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3040565
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Andrii Shyshkalov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-20 14:10:29 +00:00
Jeff Gilbert afda22b085 Define ANGLE_IS_64_BIT_CPU in common/platform.h.
This is more reliable and reduces reliance on build flags.
Vendoring into Firefox, it's not trivial to replicate build flags,
but C++-native checks always work.

Bug: angleproject:6186
Change-Id: Idafd4ef1954efbfa79eae86cddfaa8f2e3992296
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3036589
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-20 12:27:13 +00:00
Jamie Madill 8c1cbc5a85 Implement EGL_KHR_mutable_render_buffer in the front-end.
Note that we do not currently expose any mutable configs.

Bug: b/192352791
Change-Id: Ib97f7889fedd91d09ef32dc7e7494ea4476cd7bd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3035583
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-07-19 18:33:13 +00:00
Mohan Maiya 5c8bf0816b Vulkan: Add support for YUV internal format extension
1. Add a function to upload YUV image data to textures
2. Modify stageSubresourceUpdate method to account for YUV images
3. Create VkSamplerYcbcrConversion when initializing ImageHelper
4. Update hasImmutableSampler to account for native YUV format support
5. Skip initializeNonZeroMemory for YUV formats

Bug: angleproject:5773
Test: Texture2DTestES3.TexStorage2D*Yuv*Vulkan*
Change-Id: I270f04bbf903cf2bf19f100eb95f32953d491c39
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2947767
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-07-19 16:09:52 +00:00
Jeff Gilbert 75c0d67c87 Build fixes needed by Firefox circa 2021-feb.
Bug: angleproject:6187
Change-Id: Ife2c9f08ca213358b8fb06a858664d235a860730
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3036592
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-19 13:44:31 +00:00
angle-autoroll 32829f093e Roll Chromium from ec932ff42c9b to ac347590d69b (492 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/ec932ff42c9b..ac347590d69b

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 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/c0b24c3c75..fd86d60f33
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/2500c1d8f3..37dc929ecb
* buildtools/linux64: git_revision:24e2f7df92641de0351a96096fb2c490b2436bb8..git_revision:b2d77ab1373192d1532af94b68fb8bab727b0e5b
* buildtools/mac: git_revision:24e2f7df92641de0351a96096fb2c490b2436bb8..git_revision:b2d77ab1373192d1532af94b68fb8bab727b0e5b
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/486cb62885..7d5c92f6cf
* buildtools/win: git_revision:24e2f7df92641de0351a96096fb2c490b2436bb8..git_revision:b2d77ab1373192d1532af94b68fb8bab727b0e5b
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/d5800742c1..36da2dc511
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/3a5a816917..9211d9e376
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..5cb305306a
* third_party/libjpeg_turbo: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git/+log/e9e400e0af..ad8b3b0f84
* third_party/protobuf: https://chromium.googlesource.com/chromium/src/third_party/protobuf/+log/7cf9863263..2229323ff7
* tools/luci-go: git_revision:91a04914ac71b7b6fe7b95ce8691d45eeb69bf4f..git_revision:d10ff2af1182ccaad573bc5acb84a36f4c280876
* tools/luci-go: git_revision:91a04914ac71b7b6fe7b95ce8691d45eeb69bf4f..git_revision:d10ff2af1182ccaad573bc5acb84a36f4c280876
* tools/luci-go: git_revision:91a04914ac71b7b6fe7b95ce8691d45eeb69bf4f..git_revision:d10ff2af1182ccaad573bc5acb84a36f4c280876
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/8e00ef0f0d..49df801dea
No update to Clang.

Bug: angleproject:6182
Tbr: [email protected],[email protected]
Change-Id: I126380502db06c46d8e1ddada145a3f6f0c85b39
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3035951
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-17 21:13:58 +00:00
Geoff Lang 232e523656 Remove the explicit context extension.
This extension currently has no known users and doubles the
number of entry points that ANGLE exports which is a significant
binary size cost.

This saves about 130kb of binary size on Android.

Bug: chromium:1084580
Change-Id: Ib0fc4930b38a33bd61434f7d0030ba9fb9b93ba7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3015518
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-16 20:04:00 +00:00
Jamie Madill 48da1c3594 Vulkan: Prefer the local vulkan loader over the system one.
Load the Vulkan loader ourselves and give vkGetInstanceProcAddr to
volk. This allows us to always prefer loading from the current module
directory instead of using the platform-specific ordering.

Refactor angle::Library loading to use ModuleDir instead of
ApplicationDir.

CL originally authored by Geoff Lang.

Bug: chromium:1219969
Change-Id: I21d1926e90fd66e1c23cea7323991ae55f3d22d4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3035444
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-16 18:56:40 +00:00
angle-autoroll ab440fe932 Roll Chromium from 8cd71c4b8d72 to ec932ff42c9b (494 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/8cd71c4b8d72..ec932ff42c9b

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 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/a0ffb5c18b..c0b24c3c75
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/bb278658aa..486cb62885
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/fc691f716e..d5800742c1
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..88e3e03477
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/9ae36fe326..c81b8b948f
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/8160e2a4da..ed1db6c6b3
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/f6e0d38cba..8e00ef0f0d
* tools/skia_goldctl/linux: akNu1KJYVHgTQNr5JP2zeDRr55on3hTjOig4L_oTFC8C..v3HXOS7MJkC2TfycHGZS1dHlQ_BosbzqLeuDXXLbxMUC
* tools/skia_goldctl/mac: tZIg-mPdIZ6uAOSczjKk5xX2bYbpRxpWf03pIR1H57UC..nx0V9Budj8K1DfPIdKA9oakeQE7SPTMIvVwqzX0DkF4C
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: I6c4e73b53f31d2a956769a84e9a32136cf561906
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3033965
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-16 08:34:26 +00:00
angle-autoroll 4b9b435bd5 Roll Chromium from 47358b0400b8 to 8cd71c4b8d72 (448 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/47358b0400b8..8cd71c4b8d72

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 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/c8b96e2021..a0ffb5c18b
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/6803464b0f..bb278658aa
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/70c4b1c859..fc691f716e
* third_party/android_sdk: https://chromium.googlesource.com/chromium/src/third_party/android_sdk/+log/ea5c2c2838..76bd51b56b
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..f61fac0492
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/9d0a403e85..9ae36fe326
* tools/luci-go: git_revision:8b8a9a6040ca6debd30694a71a99a1eac97d72fd..git_revision:91a04914ac71b7b6fe7b95ce8691d45eeb69bf4f
* tools/luci-go: git_revision:8b8a9a6040ca6debd30694a71a99a1eac97d72fd..git_revision:91a04914ac71b7b6fe7b95ce8691d45eeb69bf4f
* tools/luci-go: git_revision:8b8a9a6040ca6debd30694a71a99a1eac97d72fd..git_revision:91a04914ac71b7b6fe7b95ce8691d45eeb69bf4f
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/9f08bce929..8160e2a4da
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/1f94e8277f..f6e0d38cba
* tools/skia_goldctl/linux: McKpb1_oys52qBLvSwGec9-adPkk72RTCSdOBnzZiakC..akNu1KJYVHgTQNr5JP2zeDRr55on3hTjOig4L_oTFC8C
* tools/skia_goldctl/mac: Ea5khSEBtnBiIUjc8YOW1PTAiFTBzcSCJcQXyS_RcV8C..tZIg-mPdIZ6uAOSczjKk5xX2bYbpRxpWf03pIR1H57UC
* tools/skia_goldctl/win: hrfC-m0pHo7gMu28Bdo4wR8Fnxk_GQkMcO9LyPNPThoC..5vRobMZ1N26UvonRAdJZ66IEfzd3vF8r6z8j4Nqrhc8C
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Iee7633c3b092fc9399383a24b5d0f812b9841e13
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3028523
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-15 08:31:50 +00:00
Tim Van Patten 223cd0ac24 Capture/Replay: Refactor shared context handling
This is the initial CL to enable capture/replay of multi-context
applications.

This CL refactors FrameCapture and FrameCaptureShared to move much of
the functionality into FrameCaptureShared, since most everything is
shared by Contexts in the share group. For example, the setup of the
majority of the GL objects is done in the new SetupReplayContextShared()
function in the new $LABEL_capture_context_shared_frame001.cpp file. The
setup is performed by (for example):

    void SetupReplay()
    {
        $LABEL::InitReplay();
        $LABEL::SetupReplayContextShared();
        SetupReplayContext2();
    }

This performs the shared setup first, followed by the context-specific
setup, which may reference shared objects careated by
LABEL::SetupReplayContextShared().

No re-capturing is required with this change, since the external APIs
(i.e., SetupReplay()) are still the same.

Bug: angleproject:5878
Test: Manual MEC and replay of Magic Tiles 3, Candy Crush Soda Saga, Temple Run 2
Change-Id: Iab7bfe651437e9be1dee83514cd97acc20c61d1d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2965780
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-15 04:03:03 +00:00
Mohan Maiya 979876586d D3D: Update format table with new YUV formats
They are currently mapped to angle::FormatID::NONE

Bug: angleproject:5773
Change-Id: I0cba77158ef06bf39fbb30702e0fa91a37f660a9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2947764
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-07-14 21:44:59 +00:00
Mohan Maiya e66e334491 Vulkan: Add GL_ANGLE_yuv_internal_format extension
1. Add a new extension to support creation of immutable textures with
   sized internal YUV formats
2. Rename YUV format enums from *_ANGLEX to *_ANGLE
3. Move YUV format enums from angleutils.h to glext_angle.h

Bug: angleproject:5773
Change-Id: Ibfe732f4c9a4a536be56481f33e4768f6227c212
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2820153
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-07-14 21:02:30 +00:00
Jamie Madill ead83da933 Add environment variable args to trigger script.
This can allow specifying args such as VK_LOADER_DEBUG.

Bug: chromium:1228274
Change-Id: Idf9298e32a0c6a353891eb8b929a3524d27541b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3027539
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-14 17:52:41 +00:00
Cheryl Wei 45965e725a Vulkan: Translate border color's channel by image view format
ANGLE implementes some formats as other formats,such as ALPHA8 to R8,
this caused some tests failed due to missing border color's channel
translation,this change add a new textureBorderLoadFunction to
translate channels of border color by image view format.

Bug: angleproject:6046
Change-Id: I94ce719b4db3724ffd3dc862b51a412b5d9f3cce
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2972328
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-14 15:59:20 +00:00
angle-autoroll 7bbd3224ae Roll Chromium from 624f8c7a15ff to 47358b0400b8 (511 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/624f8c7a15ff..47358b0400b8

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 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/9c63d2e3b0..c8b96e2021
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/cb34896ebd..6803464b0f
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/d749d1b98b..70c4b1c859
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/329436118b..8c49b419c2
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..a67592355d
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/f376b41126..dfbc590f58
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/aca9f71bde..9d0a403e85
* tools/luci-go: git_revision:2ac8bd9cbc20824bb04a39b0f1b77178ace930b3..git_revision:8b8a9a6040ca6debd30694a71a99a1eac97d72fd
* tools/luci-go: git_revision:2ac8bd9cbc20824bb04a39b0f1b77178ace930b3..git_revision:8b8a9a6040ca6debd30694a71a99a1eac97d72fd
* tools/luci-go: git_revision:2ac8bd9cbc20824bb04a39b0f1b77178ace930b3..git_revision:8b8a9a6040ca6debd30694a71a99a1eac97d72fd
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/1820a3adb0..9f08bce929
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/6dad62e2eb..1f94e8277f
* tools/skia_goldctl/linux: R0Jd4IlcndZlI5C9Pejy7DqtmVEQT8Sc6Ye09MGyFxYC..McKpb1_oys52qBLvSwGec9-adPkk72RTCSdOBnzZiakC
* tools/skia_goldctl/mac: 5NoUEq08DuYUlQWnf2yj6rQvBtlMvWiDqfuUuE5nJFIC..Ea5khSEBtnBiIUjc8YOW1PTAiFTBzcSCJcQXyS_RcV8C
* tools/skia_goldctl/win: M2_R9AXWaN0xmm6nz_nRzKlhpzzOp3P9EUxNaLZ5owMC..hrfC-m0pHo7gMu28Bdo4wR8Fnxk_GQkMcO9LyPNPThoC
Clang version changed llvmorg-13-init-14732-g8a7b5ebf:llvmorg-13-init-15163-g98033fdc
Details: https://chromium.googlesource.com/chromium/src/tools/clang/+/aca9f71bde89a71cb8588f5d77868c612a163274..9d0a403e85d25b5b0d3016a342d4b83b12941fd5/scripts/update.py

Bug: None
Tbr: [email protected]
Change-Id: I4e4fd8a8207ae99ad7d2ba90a3584941e3ea6f42
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3026068
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-14 09:41:14 +00:00
Tim Van Patten 16a9a89250 Cleanup license data and remove Android.mk files
In an effort to better satisfy the Android legal/license requirements:
1.) Cleanup the license data in the generated Android.bp.
2.) Remove unused Android.mk files.

Bug: b/191882454
Change-Id: Ia1937c1e2e822e688cca2a4d3ebc9a294f67ad69
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3021851
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-07-13 16:59:56 +00:00
angle-autoroll 783c2f93ba Roll Chromium from 7d1a6713a379 to 624f8c7a15ff (526 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/7d1a6713a379..624f8c7a15ff

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 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/70f58488ed..9c63d2e3b0
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/e065358b5a..d749d1b98b
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..3345f09ed6
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/199485df6c..f376b41126
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/3fa819890a..aca9f71bde
* tools/luci-go: git_revision:2f836b4882d2fa8c7a44c8ac8881c3a17fad6a86..git_revision:2ac8bd9cbc20824bb04a39b0f1b77178ace930b3
* tools/luci-go: git_revision:2f836b4882d2fa8c7a44c8ac8881c3a17fad6a86..git_revision:2ac8bd9cbc20824bb04a39b0f1b77178ace930b3
* tools/luci-go: git_revision:2f836b4882d2fa8c7a44c8ac8881c3a17fad6a86..git_revision:2ac8bd9cbc20824bb04a39b0f1b77178ace930b3
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/783612b47d..1820a3adb0
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/511dbaffd9..6dad62e2eb
* tools/skia_goldctl/linux: tu1vY2W9BQ6Wx0o3zk5oqBwnr5rfFQGiaztbTpGiRNgC..R0Jd4IlcndZlI5C9Pejy7DqtmVEQT8Sc6Ye09MGyFxYC
* tools/skia_goldctl/mac: DPVSayDIq4ga78XaXXcfTzeTE2v33yM8z1w-eaD-ZuQC..5NoUEq08DuYUlQWnf2yj6rQvBtlMvWiDqfuUuE5nJFIC
* tools/skia_goldctl/win: HMJwTrgrkRmSqDuyQtWly6YxYSHJXsM6zQJFLkojAVwC..M2_R9AXWaN0xmm6nz_nRzKlhpzzOp3P9EUxNaLZ5owMC
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Ie14d842df225cfc1f60d087386147904a8120ae4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3023670
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-13 09:53:34 +00:00
Kyle Piddington d33a22228e Upstream Apple's direct-to-Metal backend: compile libANGLE.
This change is meant to merge the metal backend changes from Apple's
direct-to-Metal backend. Taken from Kyle Piddington's CL:
https://chromium-review.googlesource.com/c/angle/angle/+/2857366/
The goal of this CL is to merge the metal backend code in a state
that compiles, but not to switch the Metal backend over to using
the direct-to-metal backend yet.

Bug: angleproject:5505
Bug: angleproject:6127
Change-Id: If6783e06e0086b3a1dd25c6f53caca5cfc96cb86
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2950067
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
2021-07-12 14:54:45 +00:00
angle-autoroll a7d8f8cd51 Roll Chromium from e09623df2fbf to 7d1a6713a379 (478 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/e09623df2fbf..7d1a6713a379

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 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/9d1af1fefb..70f58488ed
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/e1152a2ffc..e065358b5a
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..f691b8d997
* third_party/libjpeg_turbo: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git/+log/b7bef8c05b..e9e400e0af
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/2c35569e9f..3fa819890a
* tools/luci-go: git_revision:6808332cfd84a07aeefa906674273fc762510c8c..git_revision:2f836b4882d2fa8c7a44c8ac8881c3a17fad6a86
* tools/luci-go: git_revision:6808332cfd84a07aeefa906674273fc762510c8c..git_revision:2f836b4882d2fa8c7a44c8ac8881c3a17fad6a86
* tools/luci-go: git_revision:6808332cfd84a07aeefa906674273fc762510c8c..git_revision:2f836b4882d2fa8c7a44c8ac8881c3a17fad6a86
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/0039c5300b..511dbaffd9
* tools/skia_goldctl/linux: gyVsF3sYTmaXRfH5ZxgrkitNlEIMmcqWZBcixfrfJ30C..tu1vY2W9BQ6Wx0o3zk5oqBwnr5rfFQGiaztbTpGiRNgC
* tools/skia_goldctl/mac: b-Qs2BgADASerBkyWLb2sUtPJBkhTpZQJNAwASkgrmcC..DPVSayDIq4ga78XaXXcfTzeTE2v33yM8z1w-eaD-ZuQC
* tools/skia_goldctl/win: qrVPZODzWaMfj0T74i2cbqiMzFoqTbUk01Xft2ZTSRMC..HMJwTrgrkRmSqDuyQtWly6YxYSHJXsM6zQJFLkojAVwC
No update to Clang.

Bug: angleproject:5505
Tbr: [email protected]
Change-Id: I3c077b02c889b5a1d02a8fb15fb4c4682b9a0eae
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3020444
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-07-12 08:46:45 +00:00
Shahbaz Youssefi e2710f598e Vulkan: SPIR-V Gen: Fix image atomic built-ins
The `imageAtomic*` built-ins additionally include coordinate and
sample parameters that need to be fed to OpImageTexelPointer before the
atomic operation can be generated.

This change passes all *image*atomic* GLES31 deqp tests as well as:

    GLSLTest_ES31.ArraysOfArraysOfR32fImages/ES3_1_Vulkan_DirectSPIRVGen

Bug: angleproject:4889
Change-Id: I9ed729d09914cb01467d4de504de38c931a9196e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3011419
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-07-09 20:23:25 +00:00
angle-autoroll 5718b0c977 Roll vulkan-deps from 6dda7d6b86d6 to cda66075b3f4 (43 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6dda7d6b86d6..cda66075b3f4

Changed dependencies:
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/9cdeefb5e3..1ae2b58f19
* spirv-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/f95c3b3761..ddf3230c14
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/8cc8b6562b..c26baf4c93
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/37164a5726..0193e158bc
* vulkan-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/8926213dd0..697cc6c387
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/c09be02a36..394157ab51

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 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: Ia0c6220963851caa505ad871b08afbe0639880c5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3010682
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-07-08 04:00:06 +00:00