Commit Graph
1920 Commits
Author SHA1 Message Date
Maksim Sisov 25e9686cf6 [ios]: fix missing caps for D16_UNORM
Fixes "Assert failed in updateCaps (third_party/angle/src/libANGLE/ \
Context.cpp:4368): getClientVersion() < ES_3_0 || \
formatMaxSamples >= 4" as D16_UNORM caps were missing, which resulted
in GenerateTextureCapsMap skipping that format.

Bug: angleproject:6597, chromium:1413715
Change-Id: I031271e2db07d129e0c383107db2080794a11da1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4236537
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2023-02-14 19:07:34 +00:00
Kenneth Russell ee64836f70 Revert "Metal: Optimized BufferSubData per device"
This reverts commit 968041b547.

Includes the following patches:

git revert -n 995db1f66b \
  9a6c90c8f8 \
  dbd47e3785 \
  369b320f92 \
  4abae6f975 \
  968041b547

Several conflicts with top-of-tree were resolved during this revert.

The aim is to reland this with additional code which will reduce the
amount of excess buffer memory allocated, and release the resources
associated with temporary buffer allocations.

Bug: angleproject:7544
Change-Id: Ib7a6bc2ab1c2f23cb43112cd980106e2898c3826
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4240556
Reviewed-by: Kimmo Kinnunen <[email protected]>
Reviewed-by: Gregg Tavares <[email protected]>
Commit-Queue: Kenneth Russell <[email protected]>
2023-02-14 05:13:17 +00:00
Shahbaz Youssefi 54951da226 Vulkan: Refactor extension vs core version checks
Extensions are now grouped based on promotion-to-core status, and
initialization code is generally cleaned up.  ANGLE currently doesn't
attempt to use a core version above Vulkan 1.1, as extensions are always
assumed to be exposed even if promoted to core in later versions.

With this change, it would be simpler to use a newer core version if
ever necessary.

Bug: angleproject:7959
Change-Id: Ia5fd3e06c18f7289e9e5a63af0f039a6dc89c687
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4224582
Auto-Submit: Shahbaz Youssefi <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2023-02-13 16:09:49 +00:00
angle-autoroll e60b0e4edd Roll Chromium from 5221896b4233 to 155bf9f7bac6 (660 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/5221896b4233..15
5bf9f7bac6

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/f8016dcd09..df19a5c740
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/0e64446d34..dbaf3c47d5
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/035440c707..fb27d308b0
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/e95b94b74d..f0ea28495a
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/439aacf3d9..244bbf5b99
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/93d7491b2e..d3f88fee5d
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/f623f723b3..384e4741b8
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..7947234401
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/10369890bb..e636a25853
* third_party/fuchsia-sdk/sdk: version:11.20230209.3.1..version:11.20230212.3.1
* third_party/r8: UgTC8OKm5SiqQeTkdMMHkq0jL9h_6gbpI0YTBfHWrs8C..aPfF8BYhTWRf1GioUYZMwrC8hlAaLFllM_tfppFbRBIC
* tools/luci-go: git_revision:f6b5518e872364f59bb17dd5a967270b38331b84..git_revision:a4b0cf91f9d6e0436705b94b979fe070d21912b1
* tools/luci-go: git_revision:f6b5518e872364f59bb17dd5a967270b38331b84..git_revision:a4b0cf91f9d6e0436705b94b979fe070d21912b1
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/419aeec3e9..91d154887d
* tools/skia_goldctl/linux: B3ETgoPk2gSY8aomIHMZNixKf63RvZDpuJhnZFelSl0C..LwN7ZJrQvM8sN80_aX10MUXINMSjQBvxibNfB23TK7AC
* tools/skia_goldctl/mac_amd64: NOk7u3dYnhPnUxaMRoyyCQJuMKm8zRMFGnFQEABngAoC..Qnkn88mMsJO34PYkpRIvl-NLuVRex_EErC2mae0s8-wC
* tools/skia_goldctl/mac_arm64: BUhEAfs1NoEiksslNZjWOXyg_zHe-s72fTUjjN1pCLkC..zwMY6HDvacAXQ7H2YoRaJaaZvTEjFqdaP-u8jsS1yksC
* tools/skia_goldctl/win: 4l2ybbWBlKkcGXEi6Z6MOOanDzH2X3JuwuKW3hlLcq8C..ZEdHm2J5ysCEG6U97Ynh99pxkjw67x7lhhhZUMiXShkC
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: If05afcc12c85f8597f3ed09bd67eacc1c795ddca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4242772
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2023-02-13 08:18:43 +00:00
Roman Lavrov 90ddd7c760 Tests: Add Mini Block Craft trace
Test: angle_trace_tests --gtest_filter="*mini_block_craft*"

Bug: b/267795849
Change-Id: Ia6087066476992367f432d5d032f6f5542eeb2d3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4241403
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Roman Lavrov <[email protected]>
2023-02-10 23:01:30 +00:00
Roman Lavrov a57e36dc21 Tests: Add Durak Online trace
Test: angle_trace_tests --gtest_filter="*durak_online*"
Bug: b/267794160
Change-Id: Id8047921bf5c48109fd7b59e8262849571701c5c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4241398
Commit-Queue: Roman Lavrov <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
Auto-Submit: Roman Lavrov <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2023-02-10 19:04:05 +00:00
angle-autoroll 70dd443321 Roll Chromium from 22b1fa2b9cc1 to 111e2c20b468 (1179 revisions)
Manually adds third_party/kotlin_stdlib DEPS based on
https://chromium-review.googlesource.com/c/chromium/src/+/4226232

https://chromium.googlesource.com/chromium/src.git/+log/22b1fa2b9cc1..11
1e2c20b468

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/a88dbf7fdc..ec73ae49c0
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/8b4b823eed..70e9f44cbc
* buildtools/linux64: git_revision:84c8431f3e03cc6226c59dd49637c15ea31169a1..git_revision:edf6ef4b06b42c58292faea78498aff76bdf68ed
* buildtools/mac: git_revision:84c8431f3e03cc6226c59dd49637c15ea31169a1..git_revision:edf6ef4b06b42c58292faea78498aff76bdf68ed
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/31cf778cc2..035440c707
* buildtools/win: git_revision:84c8431f3e03cc6226c59dd49637c15ea31169a1..git_revision:edf6ef4b06b42c58292faea78498aff76bdf68ed
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/38eb24c9f2..0e9e5db2f3
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/cd843b25b4..e51c1873aa
* third_party/android_build_tools/lint: sZdG1MNQ0xJujrekhrJYNg_olHerEdSIrcRjrsfZDC4C..5BDAxjWpDzT13mci6A0GjF4jCSjYOwUQD_-z9MnRhtUC
* third_party/android_build_tools/manifest_merger: 5Zw4RYBL86koJro2O-jjcZYxOOdEW-hJDYykae8efQAC..gzy9U2HI42hR8r1zspR-mPI3BQ6I3zTmJ3GojAQrvgcC
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/fd77243c4e..773cfa5e8b
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..37e879a7d1
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/2c90793139..d8fb7c9667
* third_party/fuchsia-sdk/sdk: version:11.20230202.3.1..version:11.20230208.3.1
* third_party/r8: Ned_emxwurmNCGpvlG5BpLkBfs4sQkz1GvFudutb2TAC..shk1TNQCPsWWeZyuC5uzvDQmrY2wQfPzO0E_SKCaEu0C
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/6e5ae687b5..98dd69cae2
* tools/luci-go: git_revision:46eca1e3a280c340bf58f967aaded13c87ca3859..git_revision:f6b5518e872364f59bb17dd5a967270b38331b84
* tools/luci-go: git_revision:46eca1e3a280c340bf58f967aaded13c87ca3859..git_revision:f6b5518e872364f59bb17dd5a967270b38331b84
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/2c56755363..e534325cbe
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/be10dc8b8c..9c5059d900
* tools/skia_goldctl/linux: 96rbK3aat75vEXP7ECt3n7am23k8o4IW1Kj2NGUovQIC..B3ETgoPk2gSY8aomIHMZNixKf63RvZDpuJhnZFelSl0C
* tools/skia_goldctl/mac_amd64: FntW8cjbXgVS_GvJvQvtt-7TJNG3fIimvtTYIZk0D1oC..NOk7u3dYnhPnUxaMRoyyCQJuMKm8zRMFGnFQEABngAoC
* tools/skia_goldctl/mac_arm64: NZBp40siQ-lxQNC8b1WfCOirUrl613zS5Kvaux4g0cwC..xe7SkOafMEH4PikK8N-7c1Wt2rPEVLnTG10xrBCAExYC
* tools/skia_goldctl/win: ENCJikCHD8vdfDSnlM_pfnzJG4G3uRkrN2s6giSlxWcC..4l2ybbWBlKkcGXEi6Z6MOOanDzH2X3JuwuKW3hlLcq8C
No update to Clang.

Bug: angleproject:7828, chromium:1412135
Change-Id: Iadf717df829df0d58b8dab3791b403bc882da082
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4236309
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2023-02-09 21:08:02 +00:00
Roman Lavrov 4c9785238f Tests: Add Add Words Crush: Word Puzzle Game trace
Test: angle_trace_tests --gtest_filter="*words_crush*"
Bug: b/267795212
Change-Id: I7c5c19b4306dd9b141f8880e1b4e7948629b6a73
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4233090
Commit-Queue: Roman Lavrov <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2023-02-08 20:39:59 +00:00
Alexey Knyazev 93e311f772 Add channel info to compressed formats in angle::Format
Fixed: angleproject:8011
Change-Id: I2ea08f30523c08b7ca11ee327990a110a448ca42
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4232118
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Alexey Knyazev <[email protected]>
2023-02-08 18:50:12 +00:00
Shahbaz Youssefi b38467147b Vulkan: Feature to make async queue slow for testing
Bug: angleproject:6746
Change-Id: I2573cae2dcf42d177168c55bc2a6d8bb012dde18
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4227986
Auto-Submit: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2023-02-07 21:05:22 +00:00
Yuly Novikov 36a4b33c45 Remove valid_param_values.h exception from export_targets
Fixed upstream

Bug: chromium:1412096
Change-Id: Iedb91040a835015301e1395310eea57f4744732f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4225034
Commit-Queue: Roman Lavrov <[email protected]>
Auto-Submit: Yuly Novikov <[email protected]>
Reviewed-by: Roman Lavrov <[email protected]>
2023-02-07 18:12:23 +00:00
angle-autoroll a12dd26c9c Roll Chromium from 20c3dc51aba5 to 22b1fa2b9cc1 (546 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/20c3dc51aba5..22b1fa2b9cc1

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/d0fad16496..a88dbf7fdc
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/5408fe0e01..8b4b823eed
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/549781a48c..31cf778cc2
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/0cb236a8e6..38eb24c9f2
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..6488cadd2f
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/ef2d011ad3..2c90793139
* third_party/r8: ChcFHxz1-A0Ts6xPtVwnVK2cqjRVmQTv4QRFYJ_et80C..Ned_emxwurmNCGpvlG5BpLkBfs4sQkz1GvFudutb2TAC
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/44e5e39a90..6e5ae687b5
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/984e0a33ee..2c56755363
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/5f50a38e7b..be10dc8b8c
No update to Clang.

Bug: angleproject:7998
Tbr: [email protected]
Change-Id: I632c6e493d2e9eade9308c78638ef0d05fc67582
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4227632
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2023-02-07 08:03:09 +00:00
Yuxin Hu 3159a4dac8 Add temp gn_response_file to $(genDir) directory in Android build
According to
https://android-review.git.corp.google.com/c/platform/external/angle/+/2420140,
the Android source tree will be made read-only eventually.
Move the temporary file to the $(genDir) directory.

Bug: None
Change-Id: I1f39c2ee52f15dba54f88a700ac9d571c3860d37
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4222356
Reviewed-by: Roman Lavrov <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Yuxin Hu <[email protected]>
2023-02-06 19:31:41 +00:00
angle-autoroll 6bdd90a7ca Manual roll vulkan-deps from c7184adab227 to 7ab598f59574 (12 revisions)
Manual roll requested by [email protected]
Suppressing VUIDs:
    "VUID-VkAttachmentDescription2-stencilStoreOp-parameter",
    "VUID-VkAttachmentDescription2-storeOp-parameter",

https://chromium.googlesource.com/vulkan-deps.git/+log/c7184adab227..7ab598f59574

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/58d302cfa2..7341a21b34
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/199d0cb8a9..459fa67937
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/8a0fe779e5..d8759a140b
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/3bc9d7c0c5..ebb932a402
* vulkan-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/df9d118bb1..e1940bd368
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/99b147ad63..c5d638465e

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

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

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

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

Bug: chromium:1412096
Change-Id: Ie97d47f81bfd367e18602bfae885ba487bc732e9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4219865
Commit-Queue: Yuly Novikov <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2023-02-04 00:02:43 +00:00
angle-autoroll 30a5b24c11 Roll VK-GL-CTS from 435efeefbc72 to a13cbc855993 (6 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/435efeefbc72..a13cbc855993

2023-02-03 [email protected] Simplify test setup for descriptor indexing
2023-02-03 [email protected] Run descriptor_indexing tests in more places
2023-02-03 [email protected] Fix dispatching to custom device
2023-02-03 [email protected] Add more tests for off-screen viewports
2023-02-03 [email protected] Merge vk-gl-cts/vulkan-cts-1.3.5 to vk-gl-cts/main
2023-02-03 [email protected] Notice of withdrawal of Vulkan CTS 1.3.1.x

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

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

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

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

Bug: None
Tbr: [email protected]
Change-Id: I19fdae34e856929505553a1f179a98326a5f3986
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4219010
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2023-02-03 20:49:37 +00:00
Mark Lobodzinski 173003af16 Tests: Add Lilys Garden trace
Test: angle_trace_tests --gtest_filter=TraceTest.lilys_garden
bug: b/267577743
Change-Id: I5dc64293767c30a0e4f79ca5779db092d34a9998
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4219853
Commit-Queue: Mark Łobodziński <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2023-02-03 17:48:58 +00:00
Geoff Lang 9b00af5260 Metal: Add an in-memory MTLLibrary cache.
Add a small cache for (msl + compile parameters) -> MTLLibrary at the
egl::Display level. In regular executions of Chrome, the same shaders
(particularly vertex) are compiled multiple times in different programs.

Tested for a regular Chrome startup + open wikipedia + motionmark 1.2:
112/282 (40%) cache hits.

Several different caching methods were profiled (LinkProgram perf test)
 - struct key with std::map                             : 303309
 - struct key with std::unordered_map                   : 308090
 - binary blob key with std::map                        : 263595
 - binary blob key with std::unordered_map              : 286051
 - struct key + is_transparent with std::unordered_map  : 304877
 - struct key + is_transparent with absl::flat_hash_map : 335686

Using is_transparent allows us to search the hash map without
copying the shader source string to construct the key structure.

Bug: chromium:1385510
Change-Id: Ieec4ba526fe286276a4af7114d89cde32a8f9e1d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4214012
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2023-02-02 20:35:03 +00:00
angle-autoroll 36199fa916 Roll VK-GL-CTS from bbf05746bf87 to 435efeefbc72 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/bbf05746bf87..435efeefbc72

2023-01-31 [email protected] Vulkan video only for windows and linux

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

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

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

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

Bug: None
Tbr: [email protected]
Change-Id: I1763ad11ec8184217c17484e8e27c789dd49eab2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4219852
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2023-02-02 20:29:25 +00:00
Alexey Knyazev 17931e23d4 Fix stencil and depth/stencil data uploads
Multiple changes were made to depth and stencil load
functions, removing redundant code and fixing issues.

Failures were caused by incorrect assumptions about
component locations in combined formats.

* D32_FLOAT_S8X24_UINT has the same layout as
GL_FLOAT_32_UNSIGNED_INT_24_8_REV
* D24_UNORM_S8_UINT has stencil data in its MSBs,
while GL_UNSIGNED_INT_24_8 puts it in LSBs.

Bugfixes
* Added LoadD24S8ToS8D24 that swaps D24 and S8 components
* Added LoadS8ToS8X24 for stencil-only uploads on D3D
* Replaced LoadD24S8ToD32F with LoadD32ToD32F
* Fixed D and S extraction in LoadD24S8ToD32FS8X24
* Fixed stencil load and store in LoadD32FS8X24ToS8D24 and
  LoadD32FS8X24ToD32FS8X24
* Fixed S8_UINT subresource updates in Vulkan
* Fixed D24_UNORM_S8_UINT subresource updates from
  GL_FLOAT_32_UNSIGNED_INT_24_8_REV data in Vulkan

Cleanup
* Renamed LoadUNorm16To32F to LoadD16ToD32F
* Removed LoadUNorm32To32F, replaced it with LoadD32ToD32F
* Renamed LoadR32ToR24G8 to LoadD32ToX8D24
* Renamed LoadD32FS8X24ToD24S8 to LoadD32FS8X24ToS8D24
* Removed unused LoadG8R24ToR24G8
* Removed Metal-specific LoadS8D24S8ToD32FX24S8,
  made use of the fixed LoadD24S8ToD32FS8X24 instead
* Simplifed LoadD24S8ToD32F

Added Texture2DTestES3.TexImageWithStencilData.

Fixed: chromium:1408004
Fixed: angleproject:5317
Change-Id: I231345353aa4a7cebe46ded8458ac80de2c59e01
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4203427
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Alexey Knyazev <[email protected]>
2023-02-02 14:59:15 +00:00
Cody Northrop 9399c508ed Tests: Add Piano Kids - Music & Songs trace
Test: angle_trace_tests --gtest_filter="*piano_kids*"
Bug: b/267393674
Change-Id: I77637aa04e4a38b2915f3cd3bcb224468bb6323f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4211594
Reviewed-by: Roman Lavrov <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2023-02-01 15:37:30 +00:00
Cody Northrop 6486b25ad2 Tests: Add 2 3 4 Player Mini Games trace
Test: angle_trace_tests --gtest_filter="*2_3_4_player_mini_games*"
Bug: b/267390255
Change-Id: Ia3a20af6126534fb6004a46470fe40316512486c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4211592
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Roman Lavrov <[email protected]>
2023-02-01 14:59:42 +00:00
Cody Northrop 754c923bfd Tests: Add Callbreak trace
Test: angle_trace_tests --gtest_filter="*callbreak*"
Bug: b/267369413
Change-Id: I00910bf3f683eeb35e3a9c2320fb5c62a82a81ec
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4209863
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2023-02-01 02:16:30 +00:00
Mark Lobodzinski e4dfdde9b7 Tests: Add Age of Origins Z trace
Test: angle_trace_tests --gtest_filter=TraceTest.age_of_origins_z
Bug: b/267289988
Change-Id: Ic7ca3270879b83a47101e58b86bad056a002dbf6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4209853
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Mark Łobodziński <[email protected]>
2023-01-31 20:29:11 +00:00
Chia-I Wu 155a94d794 Vulkan: prefer D24_UNORM_X8_UINT as D32_UNORM fallback
D24_UNORM_S8_UINT might need a separate plane or might not be
compressible depending on gpus.  Prefer D24_UNORM_X8_UINT.

Test: glmark2
Bug: b/259570128
Change-Id: I8e30f8dbe35853cc9647f2452a2bde8b2c6a1e26
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4201091
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Auto-Submit: Chia-I Wu <[email protected]>
2023-01-31 15:08:55 +00:00
angle-autoroll e8afed5b96 Roll Chromium from fb367de4643f to 97cd4b79248f (792 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/fb367de4643f..97cd4b79248f

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/b448ad8b3f..af34606076
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/4ab9691e91..c09e1e5021
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/6d5f62996f..36806aa421
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..78833e4177
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/562481d6a9..9d77ca716f
* third_party/fuchsia-sdk/sdk: version:11.20230126.1.1..version:11.20230129.3.1
* third_party/r8: lhnuNLpWpWBVM6efX0iIg5i9ztfW8VKpMvkyfWCxfr0C..kTwoRbYJ0cNEX_B1XARsNkSFKf4bOHgQCEiP4afsmBUC
* third_party/turbine: t0TeGgk2CZr3B0HtEqBb60BSRwVPRJm9066izhJwzz0C..YQC-btuan_DTe9V9dv_e1LxgYSWeOoDfrd-VSqzIvHkC
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/44d9b490c7..2d44c51ada
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/1214b4d328..527cfbb299
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/134d306e72..9bc0b44c25
* tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/da557f2c89..568316d425
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/3c9dc38f54..cd0d8fe0b1
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: I354e85da9cc2f355cfb5ca4b65df82b11d3c023b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4203171
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2023-01-30 16:56:15 +00:00
Cody Northrop 4716d85e16 Tests: Add LIMBO trace
Test: angle_trace_tests --gtest_filter="*limbo*"
Bug: angleproject:7945
Change-Id: Ic52af324ed554d62daafc8e27c373cebd52f9bdb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4152869
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Roman Lavrov <[email protected]>
2023-01-27 22:00:34 +00:00
Mark Lobodzinski 60ad92e432 Tests: Add Goddess Of Victory: Nikke trace
Test: angle_trace_tests --gtest_filter=TraceTest.goddess_of_victory_nikke
Bug: angleproject:7982
Change-Id: Id4b49dce6be91bdca85c493d36dec2616be3392c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4199070
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Mark Łobodziński <[email protected]>
2023-01-27 20:34:38 +00:00
angle-autoroll 3d182016f9 Roll Chromium from 5c03f547ddf9 to fb367de4643f (549 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/5c03f547ddf9..fb367de4643f

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/1015724d82..b448ad8b3f
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/949b2864b6..4ab9691e91
* third_party/android_build_tools/manifest_merger: Oe3FpLcNFdPYOQQYUNnC4ajNSBfgmsFHDUaAimk7m6MC..5Zw4RYBL86koJro2O-jjcZYxOOdEW-hJDYykae8efQAC
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..35952dc547
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/44e9bee34f..562481d6a9
* third_party/fuchsia-sdk/sdk: version:11.20230125.2.1..version:11.20230126.1.1
* third_party/r8: SCuPfdKTpEJfVbWzckpmWx125Zf3pO-4RitqcfXX-RQC..lhnuNLpWpWBVM6efX0iIg5i9ztfW8VKpMvkyfWCxfr0C
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/dca2b915e2..44d9b490c7
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/566877f1ff..1214b4d328
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/7fb7f11041..134d306e72
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/aec5433286..3c9dc38f54
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Ic7934e445a6bd3fa7b2cd4664f7ede85ff704893
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4199067
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2023-01-27 09:22:15 +00:00
angle-autoroll 83150e249f Roll vulkan-deps from a2f348c2039f to 8a9f79f08d79 (22 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a2f348c2039f..8a9f79f08d79

Changed dependencies:
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/eb9b273298..ff7a11dbcb
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/7f9184a5b2..96c5dac559
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/a49166a89a..9f93cbe76a
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/0a2c1bece6..3948415ebb
* vulkan-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/80e16af0fd..50d9f72d49
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/8f898553b5..6226625105

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

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

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

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

Bug: None
Tbr: [email protected]
Change-Id: I4a50a7c1576aa2cdc8e6683b8ac3f08c5bbf5cfc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4199063
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2023-01-27 07:08:41 +00:00
Mohan Maiya 1d9b8d802e Reland "Add support for glShaderBinary"
This is a reland of commit 228973e731
with the following fixes -

1. Apply patch from Yuly to fix chromium build errors
2. Fix ShaderBinaryTest instantiation call
3. Add ShaderBinaryTest to expectations file for IOS

Original change's description:
> Add support for glShaderBinary
>
> This patch adds the following -
> 1. ANGLE_shader_binary extension and GL_SHADER_BINARY_ANGLE token.
> 2. Compiler support to generate shader binaries.
> 3. Update compiler to use SH_SPIRV_VULKAN_OUTPUT as output type for
> Vulkan translator.
> 4. Support to load GL_SHADER_BINARY_ANGLE binaries.
> 5. end2end tests for glShaderBinary.
>
> Tests: ShaderBinaryTest*
> Bug: angleproject:7833
> Change-Id: I191d5ba7c4d5304696f5e743c851dc945fa57858
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4137306
> Reviewed-by: Shahbaz Youssefi <[email protected]>
> Commit-Queue: mohan maiya <[email protected]>
> Reviewed-by: Charlie Lao <[email protected]>

Bug: angleproject:7833
Change-Id: I21135c52e2bae955342a99aff5631ba0e687eff1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4195852
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2023-01-27 00:27:14 +00:00
Mike Schuchardt 6938b883fc Tests: Add Dragon Ball Z Dokkan Battle trace
Test: angle_trace_tests --gtest_filter=TraceTest.dragon_ball_z_dokkan_battle
Bug: angleproject:7980
Change-Id: If7a69d81d7256a90420fad65739ff61e907f5d16
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4198477
Commit-Queue: Mike Schuchardt <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2023-01-26 23:53:59 +00:00
Cody Northrop bed19c471a Tests: Add Bubble Shooter and Friends trace
Test: angle_trace_tests --gtest_filter="*bubble_shooter_and_friends*"
Bug: b/266823872
Change-Id: I6dfec3b3349675791e3cb7c41bed52b146cb7bee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4195848
Auto-Submit: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2023-01-26 19:49:03 +00:00
Alexey Knyazev ef0fe6388a Implement EXT_polygon_offset_clamp
* Added polygonOffsetClamp to the RasterizerState
* Adjusted State::setPolygonOffsetParams
* Added PolygonOffsetClampTest end2end tests
* Added StateChangeTestES3.PolygonOffsetClamp test
* Suppressed the affected dEQP test as it has a bug

Capture
* Updated serialized rasterizer state
* Updated CaptureMidExecutionSetup

OpenGL
* Rely on the EXT extension defined both
  for desktop and ES contexts
* On desktops, might as well use the ARB extension
  or GL 4.6 once ANGLE supports them

D3D11
* Requires FL10_0 or higher
* Maps to D3D11_RASTERIZER_DESC.DepthBiasClamp
* Drive-by cleanup of extensions init code

Vulkan
* Requires depthBiasClamp physical device feature
* Maps to the depthBiasClamp parameter
  of the vkCmdSetDepthBias command

Metal
* Maps to the clamp parameter
  of the setDepthBias command

Bug: angleproject:7957
Change-Id: If6b28df4084f0a81db29f75fb434e75d394c8730
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4169945
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Alexey Knyazev <[email protected]>
2023-01-26 19:17:59 +00:00
Sean Risser 0133b6f186 Add GL_ARM_shader_framebuffer_fetch builtins
Bug: b/242419750
Bug: angleproject:7882
Change-Id: I85582ad21e58e448b740789ec88f783c8b95ee01
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4189028
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Sean Risser <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2023-01-26 18:50:48 +00:00
Geoff Lang 18657894ba Add features to dump and replace shader source.
dump_shader_source writes shader source strings to files named
with the hash of the source and shader type.

enable_shader_substitution allows subsituting the shader source
with the strings contained in a file. The same file naming scheme
as dump_shader_source is used so shaders can be dumped in one run,
modified and subsititued in the next run.

Use the ANGLE_SHADER_DUMP_PATH and debug.angle.shader_dump_path
environment variables to control where files are written. If they
are unspecified, write to the temp directory.

Based upon Cody's CLs:
https://chromium-review.googlesource.com/c/angle/angle/+/2755841
https://chromium-review.googlesource.com/c/angle/angle/+/3961670

Bug: angleproject:7760, chromium:1385510
Change-Id: I43b9827b977079b88daa794e867637f7a126b080
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4192347
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2023-01-26 16:54:28 +00:00
Yuly Novikov 0c9cbf39f5 Revert "Add support for glShaderBinary"
This reverts commit 228973e731.

Reason for revert: breaks compile on ANGLE into Chromium roll
https://cr-buildbucket.appspot.com/build/8790942326644064097
https://cr-buildbucket.appspot.com/build/8790942759045412865
https://cr-buildbucket.appspot.com/build/8790942417069789217
Leaks detected on ASAN
https://cr-buildbucket.appspot.com/build/8790946657703508337

Original change's description:
> Add support for glShaderBinary
>
> This patch adds the following -
> 1. ANGLE_shader_binary extension and GL_SHADER_BINARY_ANGLE token.
> 2. Compiler support to generate shader binaries.
> 3. Update compiler to use SH_SPIRV_VULKAN_OUTPUT as output type for
> Vulkan translator.
> 4. Support to load GL_SHADER_BINARY_ANGLE binaries.
> 5. end2end tests for glShaderBinary.
>
> Tests: ShaderBinaryTest*
> Bug: angleproject:7833
> Change-Id: I191d5ba7c4d5304696f5e743c851dc945fa57858
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4137306
> Reviewed-by: Shahbaz Youssefi <[email protected]>
> Commit-Queue: mohan maiya <[email protected]>
> Reviewed-by: Charlie Lao <[email protected]>

Bug: angleproject:7833
Change-Id: Ice19576acbc1351810ff0cd769ac17ad6c0abdf3
No-Try: true
No-Presubmit: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4197375
Auto-Submit: Yuly Novikov <[email protected]>
Commit-Queue: Rubber Stamper <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
2023-01-26 12:15:06 +00:00
angle-autoroll 5e43562b5f Roll Chromium from 701fadbce737 to 5c03f547ddf9 (614 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/701fadbce737..5c03f547ddf9

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/45d09f40b1..1015724d82
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/0cc02fb849..3c7e3f1b8b
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/1dfd0022c4..1127c78cf9
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/bb5988e15c..e95b94b74d
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/32401180de..949b2864b6
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/a920882fe7..9b5f27f99a
* third_party/android_build_tools: https://chromium.googlesource.com/chromium/src/third_party/android_build_tools/+log/7ce1c475b8..a102d977b6
* third_party/android_build_tools/lint: 0X1mSg1M9Q3Dv6pcOnX0mK0YR_LyTxyT3oRbYk5uxQ8C..EPj7vnLteKz9kMQ6x4ZPaM5E20Bt4I0wTdrxdBpruZMC
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..140797ef1f
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/00be3f079a..44e9bee34f
* third_party/fuchsia-sdk/sdk: version:11.20230124.2.1..version:11.20230125.2.1
* third_party/jdk: egbcSHbmF1XZQbKxp_PQiGLFWlQK65krTGqQE-Bj4j8C..-FR8HTNcMfxy7J2HUaWVa0QmEE4f68iotzvFbqOj2LEC
* third_party/r8: LH65AcDi3ysVLfebZhbSxN3YUGUV62qpqLIlrV6Znm8C..SCuPfdKTpEJfVbWzckpmWx125Zf3pO-4RitqcfXX-RQC
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/41fd15ae6c..566877f1ff
* tools/luci-go: git_revision:36cf4b54527c49aca7ed3023995a081e14f1852a..git_revision:221383f749a2c5b8587449d3d2e4982857daa9e7
* tools/luci-go: git_revision:36cf4b54527c49aca7ed3023995a081e14f1852a..git_revision:221383f749a2c5b8587449d3d2e4982857daa9e7
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/f760c9e996..7fb7f11041
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/86a7bc48ce..aec5433286
* tools/skia_goldctl/linux: bOyplOZW_1JEVFUYAKgbKGWaIlUNmN1YWkzd5HXMjbMC..PZOpm-VdLUuaVE8seo910YRCnqv7Y2BkPcrmUs13RMAC
* tools/skia_goldctl/mac_amd64: AUahse3CmKx-dL05gv51smOfDW3bSRbiOmWly3oDmyQC..aZ8KYJUPYrRq4f7-Td3nt0et_16S06A0vovOn2c85tIC
* tools/skia_goldctl/mac_arm64: BUfxeGjbFbRJh3xW3sHUYhB0CNMviWBhCtud4vytIrEC..JtcfJFsvsUuaaIajqvwETn8j5hxOSC_YLDszV96Ukn8C
* tools/skia_goldctl/win: eBpAa_OebMnB2kWt7jt2enLuznrQvGveRaHpV1a3y1AC..qp3u_bn43vFlG3HHG61Co9eOeo52m6SWIw099mHqt9EC
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Iba34e4c2b8bfe540f11d364731ab5c29a11f6a68
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4195842
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2023-01-26 08:11:46 +00:00
Mohan Maiya 228973e731 Add support for glShaderBinary
This patch adds the following -
1. ANGLE_shader_binary extension and GL_SHADER_BINARY_ANGLE token.
2. Compiler support to generate shader binaries.
3. Update compiler to use SH_SPIRV_VULKAN_OUTPUT as output type for
Vulkan translator.
4. Support to load GL_SHADER_BINARY_ANGLE binaries.
5. end2end tests for glShaderBinary.

Tests: ShaderBinaryTest*
Bug: angleproject:7833
Change-Id: I191d5ba7c4d5304696f5e743c851dc945fa57858
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4137306
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: mohan maiya <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2023-01-25 22:13:01 +00:00
Alexey Knyazev 11608a8b7b Adjust STENCIL_INDEX8 caps
* Fixed a typo in GetSizedFormatInternal
* Required texturing for OES_texture_stencil8
* Marked all depth/stencil formats as not blendable
* Fixed frontend and GL texture caps for GL_STENCIL_INDEX8

Bug: angleproject:3231
Change-Id: Ie91e4bb4e8ab56d39dc1270487380b0bfce25b08
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4194169
Commit-Queue: Alexey Knyazev <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2023-01-25 16:34:22 +00:00
Kenneth Russell 660e4a7c0d Don't override D16_UNORM to D32_FLOAT on Apple GPUs.
Local testing of:
dEQP-GLES3.functional.polygon_offset.fixed16_render_with_units

on M1 indicates that depth bias works correctly with
MTLPixelFormatDepth16Unorm on this GPU type, indicating that previous
workarounds only need to be applied to non-Apple GPUs.

Reimplement d24s8_fallbacks_mac as depth_fallbacks_mac, add this
workaround there, and move the conditions to the JSON file per review
feedback from Alexey Knyazev. Avoid emitting duplicate depth formats
in gen_mtl_format_table.py.

Leave the iOS Simulator alone - the workaround is likely still needed
there, and difficult to test.

Tested via:
./out/Release/angle_deqp_gles3_tests \
--gtest_filter=\
dEQP-GLES3.functional.polygon_offset.fixed16_render_with_units \
--use-angle=metal

Bug: angleproject:6597
Change-Id: I52a99b3f710bb88e1f43ed17862f6e6f2e6471ac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4184943
Auto-Submit: Kenneth Russell <[email protected]>
Reviewed-by: Kyle Piddington <[email protected]>
Reviewed-by: Quyen Le <[email protected]>
Reviewed-by: Gregg Tavares <[email protected]>
Commit-Queue: Kenneth Russell <[email protected]>
2023-01-25 02:45:08 +00:00
angle-autoroll e5671e16b8 Roll VK-GL-CTS from c1ebeb5013f9 to 821e153ac85a (20 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/c1ebeb5013f9..821e153ac85a

2023-01-24 [email protected] Add more coverage of image copies with BC formats and mips/layers
2023-01-24 [email protected] Simplify failure message
2023-01-24 [email protected] Extend helper_invocation tests to cover SPIR-V 1.6
2023-01-24 [email protected] Make dynamic primitive restart test more reliable
2023-01-24 [email protected] Add tests for compute shaders dispatched in secondary command buffers
2023-01-24 [email protected] Test vkGetDeviceProcAddr with device that has no extensions enabled
2023-01-24 [email protected] Add tests for adjusted pipeline compatibility rules.
2023-01-23 [email protected] Merge vk-gl-ct/opengl-cts-4.6.2 into vk-gl-ct/main
2023-01-23 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main
2023-01-23 [email protected] Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main
2023-01-16 [email protected] Remove not needed else statement and commented code from subgroups tests code
2023-01-16 [email protected] Add robustness tests with dynamic index on vector
2023-01-16 [email protected] Make unused shader stage tests pass layout when linking
2023-01-16 [email protected] Add coverage of copies from compressed mipmap textures
2023-01-16 [email protected] Test memory access write/read bit
2023-01-16 [email protected] Prioritize downloaded ffmpeg over system ffmpeg
2023-01-16 [email protected] Merge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main
2023-01-16 [email protected] Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main
2023-01-13 [email protected] Create linked pipeline with null layout
2023-01-09 [email protected] Fix atomic swapcomp return value tests

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] on the revert to ensure that a human
is aware of the problem.

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

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

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

Bug: None
Tbr: [email protected]
Change-Id: I4a9a79ed59e4aa561ca787e9d651008c5bb64b73
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4190689
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2023-01-24 14:24:49 +00:00
Cody Northrop 057997e4f6 Tests: Add CSR2 Drag Racing trace
Test: angle_trace_tests --gtest_filter="*csr2_drag_racing*"
Bug: b/266249089
Change-Id: I61e4d44fa9ed4bfc5cce1177189d93397cc8a8ae
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4184944
Auto-Submit: Cody Northrop <[email protected]>
Commit-Queue: Roman Lavrov <[email protected]>
Reviewed-by: Roman Lavrov <[email protected]>
2023-01-23 14:52:59 +00:00
Yuxin Hu 3b27647cb9 Remove the temp workaround in presubmit script
The newly included header files in vulkan_core.h
were added in the vulkan-headers/BUILD.gn:
https://github.com/KhronosGroup/Vulkan-Headers/pull/348.

Removing the temp workaround added in the
export_targets.py which was needed to bypass
the presubmit error before the above fix was ready.

Bug: b/263310519
Change-Id: I37d2c6af9b1e705a1a285f8e6d4fb23f777d4bdc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4184948
Commit-Queue: Yuxin Hu <[email protected]>
Reviewed-by: Amirali Abdolrashidi <[email protected]>
2023-01-21 01:10:06 +00:00
Roman Lavrov 77e995c0f6 Tests: Add Family Island trace
Bug: b/266228507
Change-Id: I077236dad048662f093f65a7702a27b09205bdd4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4185155
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Roman Lavrov <[email protected]>
2023-01-20 22:32:25 +00:00
Cody Northrop 134acabaf8 Tests: Add Royal Match trace
Test: angle_trace_tests --gtest_filter="*royal_match*"
Bug: b/266220659
Change-Id: I7fcc81611dd2a566ba9b6f7cc97ea6efdc345339
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4184935
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Roman Lavrov <[email protected]>
2023-01-20 20:54:13 +00:00
angle-autoroll d4535966a3 Roll vulkan-deps from 823d1a0d7c30 to f709feae795b (13 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/823d1a0d7c30..f709feae795b

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/615741f278..ca8d07d0bc
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/bb1c885956..c51e2afe00
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/08bfe2e226..78448eda6e
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/4b705abe08..125b4f665c
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/57fe3f50cd..947366e2ce

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

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

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

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

Bug: None
Tbr: [email protected]
Change-Id: I261c9aac2e41336ec0b1651dc0f6baa1626267fb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4182556
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2023-01-20 11:03:30 +00:00
angle-autoroll bac6516b1b Roll Chromium from b7e315063b1a to 4303e3d5e898 (531 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/b7e315063b1a..4303e3d5e898

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

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

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

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

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/b999a0bc63..dac013f262
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/b55d9cf082..8aa310ace3
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/4fd023ec65..da69f777a0
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..e4385f1ba0
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/faf64f1f63..aec39c38f8
* third_party/r8: sXl5FcBjtOx9iJFm1Sh2S_Q4meUE-UtMw23EOdeQRMkC..P1d7YJypbKC2Tv6UCo5QRdo1UwIyECszSGO583AzYigC
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/d55fe17f21..6d7ad776de
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/40f74f7860..c3af70bb40
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: Ifd7b9bf3d6bf464a617ee56e3766b0cf6103c3fb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4182555
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2023-01-20 09:30:53 +00:00
Shahbaz Youssefi ffbb65bc9e Vulkan: Use VK_EXT_swapchain_maintenance1 for present fences
Bug: angleproject:7878
Change-Id: Ic3a43c663789a6489cff261848d9ad4a408ca53a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4088905
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
2023-01-19 20:13:01 +00:00
Cody Northrop d2be11634e Tests: Add Words of Wonders trace
Test: angle_trace_tests --gtest_filter="*words_of_wonders*"
Bug: angleproject:7965
Change-Id: I6fa9176a1ae90a85421aed6ed5a2101155bbe87b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4179705
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2023-01-19 20:10:45 +00:00
Jamie Madill e960355a9a Trace Interpreter: Support DOTA underlords.
Supports zero pointer parameters, which are used to indicate
unwritten parameters.

Bug: angleproject:7887
Change-Id: Ibee1d558567020eeeeb2ed6ac98f38cf985d87a5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4140259
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2023-01-19 16:04:58 +00:00