Commit Graph
1747 Commits
Author SHA1 Message Date
Jamie Madill 6193274a52 Capture/Replay: Redesign in-memory call capture replay.
This will allow the replay to use the call captures returned
by the interpreter's parser.

Bug: angleproject:7752
Change-Id: If1b281d9ce7ccfbdc23bea615e1e2258c8a029f9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3963367
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2022-10-21 00:17:51 +00:00
Jamie Madill cd10b6d25a Enum Utils: Add method to return enum value from string.
We'll use this in the trace interpreter to parse enum values.

Bug: angleproject:7752
Change-Id: I232a00baac2f74c9618029929bbb3e5822654046
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3963366
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-20 22:50:24 +00:00
Jamie Madill fd45cec30b Entry Points: Move enum helper to registry_xml.
This will make it accessible to other generators.

Bug: angleproject:7752
Change-Id: I91bc9a4d6c919266ea329f66d271bf881d99d17a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3963364
Reviewed-by: Yuxin Hu <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-20 22:27:40 +00:00
Jamie Madill 4bfb749ff2 Capture/Replay: Move shared trace code into src/common.
This will let them be accessible to the test harnesses. The
trace tests interpreter will need direct access to the classes
that we move in this CL.

This CL also moves the GLenum utils into the common folder,
where they were already used by some other tests.

Bug: angleproject:7752
Change-Id: I97ad607938ef29bc316f6d40098478e002ea8128
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3963362
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2022-10-20 14:18:58 +00:00
Jamie Madill 8403e4c512 EGL: Resource IDs for Surface, Context and EGL Image.
This will make these classes play nicely with resource maps. As these
objects are used in a lot of places, and simplified C can't handle
unordered_map, it's necessary to index the maps by simple packed IDs
in capture/replay code. This indirection will also have increased
safety as we validate EGL resource ID handle values before accessing
the memory directly.

Also hides some of the other EGL capture methods behind helper methods
to simplify the C code and hide assignments and other complex maps.

Bug: angleproject:7758
Change-Id: Ibc7bb56430d3068bd38877c9dfb011979d4ea234
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3957164
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2022-10-20 14:11:18 +00:00
Shahbaz Youssefi 025504b91c Pass worker pools to image load functions
In preparation for the ASTC decoder using threaded decoding.

Bug: b/250688943
Change-Id: I70d669bcb57b900dbb633304182e174aec362203
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3961339
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Greg Schlomoff <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2022-10-19 18:59:08 +00:00
Jamie Madill e495e7fdd0 Redo perf and trace test parameters.
- Moves common argument parsing code into test_util.
- Changes the perf test arg parsing to use the common functions.
- Adds new --use-angle and --use-gl parameters to the trace tests.
- Also adds new --offscreen and --vsync parameters to the traces.
- Removes the now unneeded --enable-all-trace-tests argument.
- Both --arg=value and --arg value work in test suites now.

Now, instead of using --enable-all-trace-tests you can specify the
backend with --use-angle=swiftshader, --offscreen, or combinations
of those parameters. The test names are the same as they were
before, but only the configured tests will run in a session. We
could opt to simplify the test names in later CLs if we want to
simplify the test running. Ideally we'd keep the perf reporting
the same because then we'd keep the time series the same on the
test infra.

This also allows us to split up the trace tests into separate
targets on the bots, which will better allow us to control the
workloads and sampling of the tests. For example:

- angle_perftests becomes
  - angle_perftests (microbenchmarks)
  - angle_trace_perf_vulkan_tests (traces with vulkan back-end)
  - angle_trace_perf_native_tests (traces with system GL)

Bug: angleproject:7755
Change-Id: I537168f3a6de96425dfda05ed98220eff9b19b76
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3956937
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2022-10-19 16:50:01 +00:00
Alexey Knyazev fec93f40d3 GL: Support clip and cull distance extensions
Use EXT_clip_cull_distance on OpenGL ES to expose
APPLE_clip_distance; use ARB_cull_distance on OpenGL
to expose EXT_clip_cull_distance.

Added disableClipCullDistance OpenGL workaround.

Bug: angleproject:4452
Change-Id: I458cad29c10b9d9193c5233e24bac53361ba104e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3956075
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Alexey Knyazev <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2022-10-19 01:08:04 +00:00
Gregg Tavares 968041b547 Metal: Optimized BufferSubData per device
Adds a staging buffer path which means there are 4 paths
for bufferSubData.

1. direct copy

   * get a pointer to the buffer
   * copy the new data to the buffer
   * if the buffer is managed, tell metal which part was updated

2. use a shadow copy

   * copy the data to a shadow copy
   * copy the entire shadow to a new buffer
   * start using the new buffer

3. use a new buffer

   * get a new buffer (or unused)
   * put the new data in the new buffer
   * blit any unchanged data from the old buffer to the new buffer
   * start using the new buffer

4. use a staging buffer

   * get a staging buffer
   * put the new data in the staging buffer
   * blit from the staging buffer to the existing buffer.

Further, there are 3 types of memory storage modes.
Managed, Staged, Private.

Based on the GPU type different storage modes and different
paths in different sitatutions are more performant.

So, add feature flags to select paths by GPU.

Bug: angleproject:7544
Change-Id: I741dd1874201043416374194bd2001ded8dbd9b4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3842641
Reviewed-by: Kyle Piddington <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Reviewed-by: Quyen Le <[email protected]>
Commit-Queue: Gregg Tavares <[email protected]>
2022-10-18 00:09:11 +00:00
Jamie Madill 0e0ea0265b Split trace tests out into angle_trace_tests.
This makes angle_perftests strictly for microbenchmarks.
The trace tests are a better separated target because they
are for both gold correctness tests and performance.

You can now use the GN arg "build_angle_trace_tests" to control
building the trace tests. "build_angle_trace_perf_tests" is
still supported for compatibility.

Updates the infra scripts to use this new trace tests target.
Also updates the build so by default we'll build the trace
tests if you check them out, without needing a custom arg.

Also updates docs.

Bug: angleproject:7755
Change-Id: I2b1ae67799234cc1aefe7cda5f3af945c3f867fd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3953340
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Roman Lavrov <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2022-10-17 22:41:58 +00:00
Jamie Madill 2265e37bf9 Capture/Replay: Auto-generate EGL capture code.
Replaces the custom code in the EGL stubs. Skips a few "Get"
entry points because this CL doesn't implement pointer capture
like we do for all the GL entry points.

Includes a new state in the AttributeMap that indicates which
type of attribute values we used when initializing the map.

Bug: angleproject:4035
Change-Id: I272eac5e4068602ce710ef66c9a1dce5387943a5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3949911
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2022-10-14 22:25:49 +00:00
Jamie Madill 7c4dc25328 Capture/Replay: Clean up EGL capture.
This switches the EGL capture types to ANGLE-casted pointers since
that's what we receive in the capture layer. Note that even if the
capture layer were used as a pure layer, not an EGL implementation,
we'd still have these types for state tracking.

This also prefixes each EGL class in the entry points with the egl
namespace for consistency and for simplifying the ParamType code.

Required changing to non-const gl::Context * in a few places. Also
changes the gSurfaceMap to be indexed by the raw pointer value,
which cleans up the code somewhat.

Bug: angleproject:4035
Change-Id: Id800c1ba25e5819ac7ea1df8aab806bc393fe192
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3949910
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-14 20:43:53 +00:00
Charlie Lao e8f9355c33 Vulkan: Add forceWaitForSubmissionToCompleteForQueryResult flag
Add forceWaitForSubmissionToCompleteForQueryResult feature flag and
enable it for ARM.

Also force host wait if async submission is enabled.

Bug: b/253522366
Change-Id: Ie2d7373930f1a2b3fc761d2f8d2df8fa84983c54
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3954044
Commit-Queue: Charlie Lao <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2022-10-14 19:52:18 +00:00
Jamie Madill 7d76160b73 Remove GLES 1.0 conformance tests on Win/Intel.
Now this test suite is causing timeouts. e.g.:
https://ci.chromium.org/ui/p/angle/builders/ci/win-test/2637/overview

Bug: angleproject:7750
Change-Id: I62c0ca237d7a0f618823fbe5ff15070c21a9cdd0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3956495
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2022-10-14 13:51:50 +00:00
Yuly Novikov 96bbc80b87 Restore default angle_gles1_conformance_tests Win Intel batch size
Low batch size suspect for causing blue screen on this platform.

Bug: angleproject:7750
Change-Id: I331f3aef22e313e318aeabb84b1277f4bf1678c9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3953493
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Auto-Submit: Yuly Novikov <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2022-10-13 17:17:43 +00:00
angle-autoroll a0fc6e4309 Roll vulkan-deps from 0386d7db7e59 to 3ff9f454761a (13 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/0386d7db7e59..3ff9f454761a

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/89db4e1caa..ef6c9714a8
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/a3350c0ff0..b53d3a6be3
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/0df9899602..98f440ce68
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/ae08f71147..a88144de30
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/d05c85054b..c1afb7e157

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: I5b0c4e027ae3fb3ca4c78691b6650c94a93b19e7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3949839
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2022-10-13 14:13:40 +00:00
angle-autoroll c75adc3cf1 Roll Chromium from 2a6c105f6b8f to 0bc5f81b0765 (627 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/2a6c105f6b8f..0bc5f81b0765

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/aa1e02dfa7..a07961eeea
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/f4e35bb2e9..24fa2da896
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/ebf2d34001..64d36e572d
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/849e53c238..9572e56a12
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/118a58005a..1111799723
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/27f289c474..88f6dc3118
* third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/2eecb3e113..58c69ecc36
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..4793433248
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/17cf81d90a..2c0a8c736a
* third_party/r8/d8: z23wTHakTR_i93g5BoaHQuO_yWgLT-AAt0fjTqQm_YgC..tQcmB4wHWxamdPd8ix5IwMv8eBEbMBeN4vEtGjikDeQC
* tools/luci-go: git_revision:a0624fca6d6e6fc1da6462ce0ee7678d4cc739d8..git_revision:9f65ffe719f73af390727d369b342c22fa37ea54
* tools/luci-go: git_revision:a0624fca6d6e6fc1da6462ce0ee7678d4cc739d8..git_revision:9f65ffe719f73af390727d369b342c22fa37ea54
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/20dd97665a..003fad096b
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/28e985ae84..1d02fed28c
* tools/skia_goldctl/linux: vMuEaxuoKcSgIEyacUY5YqByCP4RveJIid7OXrLUZnwC..N6uCjU9yuRs_YqzOLUOdwHsH-AYHQKQp4gidLlDHDesC
* tools/skia_goldctl/mac_amd64: OKl2kxI6rF8oLCJQma7QhqQHTC_J3hMRKoAqyW4tqq0C..spR3Wh59oLDHcwMl_Aw4KX_h3c0G4xcOxQSi7KM8uNgC
* tools/skia_goldctl/mac_arm64: pZmD81q5BF6lQcwTgrtJre8iXtofPubDLM8624rQKNsC..GBW03jFiyCg47tt4xFsQ4Qql_kYZm-A-ADSEmuqRCRIC
* tools/skia_goldctl/win: 3IrV971Fn9UEAXu0UwL8cBBY3L8il5zi4Qjhvfa43TQC..UQplRaUw9FHcOfJNcDs_v_q1RgFiRQOm1YPonxadxu0C
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: I4df3292490706e24cfd6af757095c724dcad9a3c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3949586
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2022-10-13 08:18:36 +00:00
angle-autoroll 0f74cd0b55 Roll Chromium from 475715430cb8 to 2a6c105f6b8f (1733 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/475715430cb8..2a6c105f6b8f

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/6b83819915..aa1e02dfa7
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/b47f3d62c4..f4e35bb2e9
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/eddc4cee09..ebf2d34001
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/db2a783a7d..849e53c238
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/08ebcbe7b6..118a58005a
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/cdb43fc0b8..27f289c474
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/11566d5c44..94f1169192
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..0dc9361cea
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/51a6576d1b..17cf81d90a
* third_party/fuchsia-sdk/sdk: version:9.20221006.4.1..version:9.20221006.5.1
* third_party/r8/d8: IgKfK01VX-GA1mjxpHqq-7kL9VDb5qlXZnSW0Jtl6cAC..z23wTHakTR_i93g5BoaHQuO_yWgLT-AAt0fjTqQm_YgC
* third_party/turbine: RXO2k7-PyXvbDjiK9EjbsheQfxXme2n0ABNX-MxR0JcC..rrpgWQ-uylo8c5IPgUVP464LwcVOmt29MqwsR59O_zkC
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/14ceacc495..d672069387
* tools/luci-go: git_revision:c893d7a542f324fe7c1a63c83e57ccea23631ffe..git_revision:a0624fca6d6e6fc1da6462ce0ee7678d4cc739d8
* tools/luci-go: git_revision:c893d7a542f324fe7c1a63c83e57ccea23631ffe..git_revision:a0624fca6d6e6fc1da6462ce0ee7678d4cc739d8
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/88a9d4ea84..20dd97665a
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/0cbb10ffdf..28e985ae84
* tools/skia_goldctl/linux: pnprsw4_qiLaFOB3waX424Uaz5zX3MSh6Iz5A3OwpR8C..vMuEaxuoKcSgIEyacUY5YqByCP4RveJIid7OXrLUZnwC
* tools/skia_goldctl/mac_amd64: qMTthZODlW9LCvkQX3upPhaL6t3VwQcYrs9cDYwP75oC..OKl2kxI6rF8oLCJQma7QhqQHTC_J3hMRKoAqyW4tqq0C
* tools/skia_goldctl/mac_arm64: 3NLkdA7AHyUKOEdv0Dc16lTUNJN9FjFkDIzVXthPsDkC..pZmD81q5BF6lQcwTgrtJre8iXtofPubDLM8624rQKNsC
* tools/skia_goldctl/win: wEIMZs5miJMkTVDLFMkQjh4dJWrLB4k8VQDU4aUPSwYC..3IrV971Fn9UEAXu0UwL8cBBY3L8il5zi4Qjhvfa43TQC
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: I2d4ef8f9e2f99b6f5e7286208492239e6e9c352a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3947945
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2022-10-12 09:19:04 +00:00
Shahbaz Youssefi 9b5fff82b5 Vulkan: Emulate shader stencil export for MSRTT
The MSRTT emulation code had one corner case issue that could lead to
performance and memory inefficiencies.  That is when stencil needs to be
unresolved and VK_EXT_shader_stencil_export is not supported.

This change adds a path to emulate VK_EXT_shader_stencil_export and
removes this inefficiency.

This should help Chromium on older Android devices that lack both this
and the recent VK_EXT_multisampled_render_to_single_sampled extensions.
Chromium frequently breaks the render pass (crbug.com/1336981), which
easily leads to this situation.

Bug: angleproject:4836
Change-Id: Ifceec43f7f3807b7e32f4b379edcd4351ae76414
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3935892
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2022-10-12 02:01:56 +00:00
Charlie Lao 76f377c5ac Vulkan: Break renderpass when switch from query to non-query
getQueryResult will wait for query result to be available, which means a
potential CPU bubble if the result is not yet available. On tiler GPUs
it will at least wait for renderpass to complete. Usually query enabled
draws are very tiny (usually just draw a point to see if it is occluded
or not), and query disabled draws are expensive. Some apps do issue a
glFlush when switch from query draw to non-query draw, but app like
dead_by_daylight does not issue such flush.  In order to reduce the
bubble, this CL ends renderpass and issue a flush  when we switch from
query enabled draws to non-query enabled draw so that the result will be
available much earlier, this reduce the CPU bubble. This result in
dead_by_daylight frame time improves from 5.45ms to 3.5ms (35%
improvement).

Bug: b/250706693
Change-Id: Ia3a32a9fb336e6f256809b3cad83f61a45415fb1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3931739
Reviewed-by: Yuxin Hu <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Auto-Submit: Charlie Lao <[email protected]>
Commit-Queue: Charlie Lao <[email protected]>
2022-10-11 21:55:15 +00:00
Lubosz Sarnecki a217dd56b5 Tests: Add The Witcher: Monster Slayer trace.
Test: angle_perftests --gtest_filter="*the_witcher_monster_slayer*"
Bug: angleproject:7747
Change-Id: I1851fc00cb665485b6111b4e01b0075d2440e62a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3942649
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Lubosz Sarnecki <[email protected]>
2022-10-11 18:18:44 +00:00
Shahbaz Youssefi b3b855d26c Vulkan: Features for two exts
- VK_EXT_graphics_pipeline_library
- VK_EXT_pipeline_protected_access

Bug: angleproject:7369
Bug: angleproject:7714
Change-Id: I42b5b5a2758b32625dc12352d521cfa1dff1aa90
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3939919
Reviewed-by: Charlie Lao <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
Auto-Submit: Shahbaz Youssefi <[email protected]>
2022-10-10 21:30:00 +00:00
angle-autoroll a8f03d4037 Roll VK-GL-CTS from 3739dbc26ccf to f4ed7376e1da (7 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/3739dbc26ccf..f4ed7376e1da

2022-10-10 [email protected] Add imageless framebuffer with different attachments test
2022-10-10 [email protected] Add depth range interaction tests
2022-10-10 [email protected] Enable some combined pipeline and image robustness tests
2022-10-10 [email protected] Add more VK_EXT_acquire_drm_display tests
2022-10-10 [email protected] Add VK_EXT_acquire_drm_display tests
2022-10-10 [email protected] Add tests with create pipeline cache flags
2022-10-10 [email protected] Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main

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: I014e5053382dca945511b74676eb6016250733df
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3942406
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2022-10-10 21:26:12 +00:00
Jamie Madill 702440964b Perf Tests: Enable --split-shard-samples on the bots.
This should make all sharts run at most one sample for each
test. This in turn should mitigate inter-run variance because
we'll sample from a wider pool of machines for each test.

Bug: angleproject:7738
Change-Id: Ied96235edff81c8ea6f3fb8ac0e4fb21d6254d4e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3942604
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-10 15:19:42 +00:00
Lubosz Sarnecki 85631d24dd Tests: Add 3D Pool Ball trace.
Test: angle_perftests --gtest_filter="*3d_pool_ball*"
Bug: angleproject:7742
Change-Id: I92870b928ee66af3eae903d91512b6943b893599
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3932171
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2022-10-08 02:40:35 +00:00
Jamie Madill 8bac3563ad infra: Update timeout for perf tests.
Changes 200 minutes to 120 minutes. Also applies the timeout
to the Pixel 4 perf tests which are now timing out with the
latest increase in warmup time.

Bug: angleproject:7738
Change-Id: Ib43d61cb218aac24a5d9ae190813256a72b9eccc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3937050
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2022-10-07 22:58:57 +00:00
Jamie Madill ad2fbc7da4 Roll third_party/OpenGL-Registry/src/ 11d7b7bae..5bae8738b (5 commits)
Also removes our copy of gl.xml now that upstream patches are merged.

https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry/+log/11d7b7baebfc..5bae8738b23d

$ git log 11d7b7bae..5bae8738b --date=short --no-merges --format='%ad %ae %s'
2022-09-29 sunserega2 [xml] Fixes for defined but unused enum groups (#520)
2022-09-29 julius_hager Added group PixelType to multiple-enums (#529)
2022-09-29 gnl021 EXT_separate_depth_stencil: Explicit unsupported cases (#531)
2022-09-29 jmadill Add enum groups for ANGLE use cases. (#538)
2022-09-29 syoussefi Clarify that PLS doesn't allow leak from outside framebuffer (#540)

Created with:
  roll-dep third_party/OpenGL-Registry/src

Bug: angleproject:6461
Change-Id: I6b7d8471144babe5cdd465c64574804f85c9e4f2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3937049
Commit-Queue: Jamie Madill <[email protected]>
Auto-Submit: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2022-10-07 20:43:23 +00:00
Jamie Madill 8d502f2d32 Perf Tests: Simplify merger script.
This script contains a lot of logic copied from Chromium
scripts that we don't need. This CL removes some of it.

Bug: angleproject:7671
Change-Id: I831c2620cf5d5d1325d51605122a6998fcf2d3c9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3937043
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-07 19:42:18 +00:00
angle-autoroll 2b3c8aaf1a Roll Chromium from 7903a06a3c9a to 475715430cb8 (558 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/7903a06a3c9a..475715430cb8

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/c34b59a3b6..6b83819915
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/8d901f9a01..b47f3d62c4
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/27c4bb6c70..eddc4cee09
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/6ed9a5cc4a..cdb43fc0b8
* third_party/android_build_tools: https://chromium.googlesource.com/chromium/src/third_party/android_build_tools/+log/65b2c6ba64..394370865d
* third_party/android_build_tools/manifest_merger: 0cYQOUjN8K9fAtfcm6Vwi30XcO6mPJU_5v4-pUkBg0sC..bUREd_PkCqlp2ww6zmyOLGf0jhqgbnf6GT4V1xkAZ10C
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/c4219fa517..11566d5c44
* third_party/android_platform: https://chromium.googlesource.com/chromium/src/third_party/android_platform/+log/04b33506bf..1bf9b93243
* third_party/android_sdk: https://chromium.googlesource.com/chromium/src/third_party/android_sdk/+log/a34cd77b53..3f159e715e
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..6cc3b1e4ab
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/99c8282eb5..51a6576d1b
* third_party/fuchsia-sdk/sdk: version:9.20221005.2.1..version:9.20221006.4.1
* third_party/ijar: https://chromium.googlesource.com/chromium/src/third_party/ijar/+log/af7b288c8f..b35e191547
* third_party/r8/d8: C5fVAulygxp-vnd9QQ9555s4drK-wMwSthIIcDX0N-wC..IgKfK01VX-GA1mjxpHqq-7kL9VDb5qlXZnSW0Jtl6cAC
* tools/luci-go: git_revision:9b6501cd8b61afbb92c76207dfd2594606a4b4d1..git_revision:c893d7a542f324fe7c1a63c83e57ccea23631ffe
* tools/luci-go: git_revision:9b6501cd8b61afbb92c76207dfd2594606a4b4d1..git_revision:c893d7a542f324fe7c1a63c83e57ccea23631ffe
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/186c5f3430..88a9d4ea84
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/5a0113e764..0cbb10ffdf
* tools/skia_goldctl/linux: vvnmipanCNz0xZWcZxMxqF8Dm17k5IzoIIuSAxayctEC..pnprsw4_qiLaFOB3waX424Uaz5zX3MSh6Iz5A3OwpR8C
* tools/skia_goldctl/mac_amd64: IvvIkJXPEctNxoRBIUUUuHSJN0vsFTR9XgTza8JoCngC..qMTthZODlW9LCvkQX3upPhaL6t3VwQcYrs9cDYwP75oC
* tools/skia_goldctl/mac_arm64: PobY7qdsILEzxp0nSF8_mIJNJpPQiFs2mtNqOXLZlAYC..3NLkdA7AHyUKOEdv0Dc16lTUNJN9FjFkDIzVXthPsDkC
* tools/skia_goldctl/win: mMto2aiE2BsVX1RoY_FYEPJ7ph496TgwksEHvbcwQJsC..wEIMZs5miJMkTVDLFMkQjh4dJWrLB4k8VQDU4aUPSwYC
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: I066bdd85c5bec0e2a3390e9ca0bb6eec807e32ae
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3939205
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2022-10-07 09:15:04 +00:00
Chris Dalton b5514bb256 Support pixel local storage on ES 3.0
Now that the application-facing API is implemented, we don't have to
rely on ES 3.1 anymore. Expose and test the extension on ES 3.0.

Bug: angleproject:7279
Change-Id: I5635620b9088201c20bafd283813092a329225d6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3915327
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Chris Dalton <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Chris Dalton <[email protected]>
2022-10-06 02:12:59 +00:00
Jamie Madill d8489db5bc Perf Tests: Reduce resource usage.
This halves the amount of time spent running the tests on
desktop platforms. It also reduces the number of shards used
on desktop platforms, to reduce resource utilization. It also
bumps up the test timeout to keep from getting infra errors.

Bug: angleproject:7738
Change-Id: Ie487c06452a39bb9ad1fe29b0d682e9c1bf297d5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3936448
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2022-10-05 19:03:49 +00:00
Cody Northrop 637209c912 Tests: Add Survivor.io trace
Test: angle_perftests --gtest_filter="*survivor_io*"
Bug: angleproject:7728
Bug: angleproject:7733
Bug: angleproject:7737
Change-Id: Ic337af781a209c3302bee748c5aed47f367993a8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3932009
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2022-10-05 03:40:50 +00:00
Shahbaz Youssefi fb83e6c58f Infra: Use smaller batches for GLES1 tests
The GLES1 conformance tests are few, but each take a long time.  As
such, --bot-mode only divides them by platform and otherwise the tests
run serially.  This change uses a smaller batch size to increase
parallelism.

Bug: angleproject:6644
Change-Id: I1401db0899d4f57735cbfdfb4b051a2d19f8e2a5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3933829
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2022-10-04 14:52:00 +00:00
angle-autoroll f937386342 Roll Chromium from 34801c7ce64b to ea588e320b5b (503 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/34801c7ce64b..ea588e320b5b

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/0a1188f24a..7e7c21a9ac
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/2e919977e0..7261e95e51
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/20a144a49a..db2a783a7d
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/6ff813a5ed..a3c5c93af6
* third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/b44f27b137..c4219fa517
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..0237c57801
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/a724859f7a..fe24047cdc
* third_party/fuchsia-sdk/sdk: version:9.20221002.2.1..version:9.20221003.3.1
* third_party/r8/d8: bmb4lLBpRLAMLRw1TtdElddObY0_tmNi69zHS8ugBiwC..0ji9wClrgOUJelQ_489AiysBnUebh6jZLyQU8BSZQo0C
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/6fe4ce825f..d689fca54d
* tools/luci-go: git_revision:20c50aa39686d91330c2daceccaa4ef1a0a72ee4..git_revision:45c4b0ebf2c594bbd64adf3f042f3f491c16bbdf
* tools/luci-go: git_revision:20c50aa39686d91330c2daceccaa4ef1a0a72ee4..git_revision:45c4b0ebf2c594bbd64adf3f042f3f491c16bbdf
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/9b7d6729b5..14ab6399f8
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/0aaadcf773..0f04c83ca2
* tools/skia_goldctl/linux: UdHMUZDUIpKh3Fkx8MkPeRz_hbu1MnpCmJdM7inIoQ0C..4jQ6gzrqaKCyEn_8V_Y5qXFi7zg2AYJ-OdNJsmywBJUC
* tools/skia_goldctl/mac_amd64: F6P1CZGSbpsEUcMbvplibXMpTLn8eJ2JEyFoJNFJRPcC..68Q-YqkF1ut4cqxu8AL0aBux2bqV8J1T1x6L9sOg8g0C
* tools/skia_goldctl/mac_arm64: g7lVD9PQ8qtqyTgw31tXGQr3XYgNTGXbmo0SCsi5hJEC..2BbiGimzY0i9eeqhzJAe3mynFtS0uE4wB33voz1XNqYC
* tools/skia_goldctl/win: xQDgjyn3X4sbT9v84yOcqZKH28r7ZtHM7EMnTDPGkLMC..v8uUG8MbJk5MqnqE-Oe0lpCWpvwrzmhT4Bb0jKxA-hoC
No update to Clang.

Bug: angleproject:7722
Tbr: [email protected]
Change-Id: I95d328b0f24f39ab30feb5b5d74c1902f68bfc2a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3933806
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2022-10-04 14:50:50 +00:00
Jamie Madill 5b3781ecff Remove namespacing from all ANGLE loaders.
This will make it easier to work with pure C files.

Bug: angleproject:7731
Change-Id: I2fe9af486af5f339d973c9149f082eb1f2efa8c4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3925426
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-04 12:16:30 +00:00
Cody Northrop be8aa9e9fb Test: Add The Gardens Between trace
Test: angle_perftests --gtest_filter="*the_gardens_between*"
Bug: angleproject:7725
Change-Id: I3160155018d843f57ec6e2cd6455fd2f6e1af580
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3931398
Reviewed-by: Roman Lavrov <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2022-10-04 04:26:25 +00:00
Junji Watanabe 4bcfc27088 Install CIPD ninja using DEPS
See chromium/src's CL https://crrev.com/c/3869740 for the context.

Bug: chromium:1340825
Change-Id: I6ff84c6bd3402b0a5301779af04bfee4bd26cccf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3929902
Auto-Submit: Junji Watanabe <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2022-10-03 14:53:07 +00:00
angle-autoroll 485f4d486c Roll Chromium from 82e52bf17d2f to 34801c7ce64b (613 revisions)
https://chromium.googlesource.com/chromium/src.git/+log/82e52bf17d2f..34801c7ce64b

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/2d2482275f..0a1188f24a
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/cccaf48c82..9174abb6ac
* buildtools/third_party/libc++/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/5ee02b2993..2e919977e0
* buildtools/third_party/libc++abi/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/5c3e02e92a..20a144a49a
* buildtools/third_party/libunwind/trunk: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/7ff728a977..08ebcbe7b6
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/94b0e722f5..6ff813a5ed
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..16eb727884
* third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/e3ed6a8e01..a724859f7a
* third_party/fuchsia-sdk/sdk: version:9.20220929.2.1..version:9.20221002.2.1
* third_party/r8/d8: YRMWFybrAcIrgAxXJdeWJ3Qn_MbhEUGC5vZAcOAHnJIC..bmb4lLBpRLAMLRw1TtdElddObY0_tmNi69zHS8ugBiwC
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/cbb6b98dc2..6fe4ce825f
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/c398c4a9c1..a5e0d72349
* tools/luci-go: git_revision:78063b01b53dd33a541938207b785cc86d34be37..git_revision:20c50aa39686d91330c2daceccaa4ef1a0a72ee4
* tools/luci-go: git_revision:78063b01b53dd33a541938207b785cc86d34be37..git_revision:20c50aa39686d91330c2daceccaa4ef1a0a72ee4
* tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/faa6164498..9b7d6729b5
* tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/3cb8993fff..0aaadcf773
* tools/skia_goldctl/linux: WBDrUDeM_a9K-F0R-4P29K3JwXJUEWawXi_gTzC_kFgC..UdHMUZDUIpKh3Fkx8MkPeRz_hbu1MnpCmJdM7inIoQ0C
* tools/skia_goldctl/mac_amd64: MQ13YYzbw_7X4YyfuuDuR8BSjHqdE2fc6Rrv6-SjmRMC..F6P1CZGSbpsEUcMbvplibXMpTLn8eJ2JEyFoJNFJRPcC
* tools/skia_goldctl/mac_arm64: IJsWDjGmEqVcNpRYh5ESn0o-zH19w6FWY8osQVIQS6oC..g7lVD9PQ8qtqyTgw31tXGQr3XYgNTGXbmo0SCsi5hJEC
* tools/skia_goldctl/win: GFphHdC69wbrz1vjJDhfiJCezaivApJ54F036JCnBdsC..xQDgjyn3X4sbT9v84yOcqZKH28r7ZtHM7EMnTDPGkLMC
No update to Clang.

Bug: None
Tbr: [email protected]
Change-Id: I4dc226ba164b57962026903f125f8dd7311fd1a8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3932011
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2022-10-03 08:13:16 +00:00
Chris Dalton a7dc51f246 Add a framebuffer fetch implementation of PLS
The framebuffer fetch implementation works by attaching PLS backing
textures to the framebuffer, and then rewriting PLS uniforms as "inout"
fragment variables. The compiler's existing machinery takes it from
there and makes it work on GL and Vulkan, and soon Metal.

EXT_shader_framebuffer_fetch is now the preferred backend for pixel
local storage, but we also use EXT_shader_framebuffer_fetch_non_coherent
if shader images can't be coherent. This is especially interesting for
Vulkan, since noncoherent framebuffer fetch is possible without any
extensions.

Bug: angleproject:7279
Bug: angleproject:7683
Bug: angleproject:7684
Bug: angleproject:7724
Change-Id: I33f3b2c6df9a5709969d9165c448ea71b096c9e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3900142
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Chris Dalton <[email protected]>
2022-10-01 17:20:13 +00:00
Cody Northrop 9905dabed3 Tests: Add Darkness Rises trace
Test: angle_perftests --gtest_filter="*darkness_rises*"
Bug: angleproject:7719
Change-Id: I0b99678003662c5e0bb89a5b78490276224a8eaa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3929333
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Yuxin Hu <[email protected]>
2022-09-30 23:28:34 +00:00
angle-autoroll 2f05dd9f3d Roll VK-GL-CTS from 7bbdc916a414 to 3739dbc26ccf (13 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/7bbdc916a414..3739dbc26ccf

2022-09-30 [email protected] Test cmdCopyBuffer with unaligned offsets & sizes
2022-09-30 [email protected] Fix tracking image layout in load_store_op_none tests
2022-09-30 [email protected] Enable extended_dynamic_state tests for VK1.3
2022-09-30 [email protected] Add alpha to one tests with single sample.
2022-09-30 [email protected] Add FSR tests with ImageView VK_NULL_HANDLE for dynamic rendering.
2022-09-30 [email protected] Add more tests for occlusion and statistics query.
2022-09-30 [email protected] Add tests for transfers with uneven vertical sizes
2022-09-30 [email protected] Apply BLAS pool to ray_tracing_pipeline.build.* tests
2022-09-30 [email protected] Add tests for transformFeedbackStreamsLinesTriangles
2022-09-30 [email protected] Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main
2022-09-29 [email protected] Merge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main
2022-09-28 [email protected] VKSC check offline pipeline compiler result.
2022-09-27 [email protected] Merge branch 'dev/VK_EXT_legacy_dithering'

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

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

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ifbdaa13b463b9d3f711123082d8ad833d5156413
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3930874
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2022-09-30 23:25:42 +00:00
Hailin Zhang 836cc5e2ce Vulkan: add etc to bc compute transcoding.
use compute shader to transcode etc format to bc format.

Bug: b/243398683
Change-Id: Idbd0820a2df8d92fe690055dae2933bc559e9bfd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3888501
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
Commit-Queue: Hailin Zhang <[email protected]>
2022-09-30 23:05:12 +00:00
Cody Northrop f7a5cce170 Tests: Add Life is Strange trace
Test: angle_perftests --gtest_filter="*life_is_strange*"
Bug: angleproject:7711
Bug: angleproject:7723
Change-Id: I83d9d58270a80435dba8991875b20a215372334f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3928205
Reviewed-by: Yuxin Hu <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2022-09-30 22:22:52 +00:00
Chris Dalton a81679bc83 Support EXT_shader_framebuffer_fetch on GLES
All the frontend functionality for EXT_shader_framebuffer_fetch is
already present, but only supported on Vulkan. This change wires it up
for the native GLES backend as well.

Bug: angleproject:7279
Bug: angleproject:7703
Change-Id: Ie1fce79e08a78662c8af65d33f3d8417c96cf58e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3920577
Commit-Queue: Chris Dalton <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2022-09-30 21:38:32 +00:00
Yuly Novikov 74b37bcbfb Remove run_gtest_angle_test script.
Shouldn't be used after crrev.com/c/3399045 and crrev.com/c/3035587

Bug: angleproject:5417
Change-Id: Iadf629d94a561a99ebfe2539dbabda5e17db5be6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3929144
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2022-09-30 15:08:39 +00:00
Constantine Shablya ff7aa2149d GL_PALETTE* sampling
Implement GL_PALETTE* formats by decoding them into
a R8G8B8A8_UNORM image at load time.

Test: angle_end2end_tests --gtest_filter="PalettedTextureTest.*"
Bug: angleproject:7599
Bug: angleproject:7688
Bug: angleproject:7710
Change-Id: I94d51e2c480fcdd39f1a0ad241b311d3b4de1579
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3863251
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Constantine Shablya <[email protected]>
2022-09-30 09:03:30 +00:00
angle-autoroll 5a80e19b97 Roll vulkan-deps from 9af2b2b2ef97 to cce3d29fab2b (35 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/9af2b2b2ef97..cce3d29fab2b

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/b40f87f1d3..28b53119bd
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/ddaa2da629..81ba8f78f6
* spirv-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/87d5b782be..4bd8fc0c8c
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/11d0d16227..3ec6b3698e
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/5177b119bb..0df9899602
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/3090fc12bd..9c40a28e3e
* vulkan-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/5b4f221819..facac95131
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/221bb37645..0a7b14dce3

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: I136c924998b2eb12e84eaab628f56841abb6496a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3928204
Bot-Commit: angle-autoroll <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2022-09-30 02:07:59 +00:00
Jamie Madill c5fc9c2291 Don't use run_gtest_angle_test.
Instead use the wrapper script in the run directory, and process
sharding args directly in the test runner. Also removes passing
--bot-mode, instead using the Chrome-based wrapper script to
implicitly pass --test-launcher-bot-mode.

Bug: angleproject:5417
Bug: angleproject:6937
Change-Id: I11882e10eb2e4d86ba9333326e7aab8eeb64e8db
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3399045
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Auto-Submit: Jamie Madill <[email protected]>
2022-09-29 17:14:38 +00:00
Roman Lavrov 4d096ce41e Move cflags added by script to its own cc_defaults.
This simplifies the downstream "-fno-unwind-tables" diff as we'll have
it all in one place, and also avoids having it dependent on `arch`
(which adds complexity as described in b/242929755#comment6)

Android.bp diff (might take a while to render):
https://diff.googleplex.com/#key=2ssQav0Jzifk
Search for `third_party_zlib_zlib_arm_crc32` to see how it resolves the
`arch` issue.

Tested locally that it builds (arm64 and x64).

Bug: b/242929755
Change-Id: I46c71e50942dfe42075b7ffef722e6c009fbf316
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3923457
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Roman Lavrov <[email protected]>
2022-09-29 16:46:18 +00:00
Cody Northrop 055d4c2fc3 Tests: Add Star Wars: Galaxy of Heroes trace
Test: angle_perftests --gtest_filter="*star_wars_galaxy_of_heroes*"
Bug: angleproject:7709
Change-Id: I00937ea7e637d618999ec57af6e1b5efed56ebe3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3927947
Reviewed-by: Roman Lavrov <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2022-09-29 14:14:28 +00:00