Commit Graph
649 Commits
Author SHA1 Message Date
Shahbaz Youssefi 8d4331eeb5 Vulkan: Free up 5 bits in RenderPassDesc
Leveraging the fact that there are only a handful of depth/stencil
formats, the last element of RenderPassDesc::mAttachmentFormats can
contain other information in addition to the depth/stencil format ID.

The FormatID enum is rearranged such that depth/stencil formats are
placed first, as a result occupying values in [1, 7].  These values take
up 3 bits in an element of RenderPassDesc::mAttachmentFormats (which
could be the last element if all color draw buffers are attached).

As a result, the upper 5 bits of the last element of
RenderPassDesc::mAttachmentFormats is unused.  It is intended for these
bits to be used in the implementation of multisampled-render-to-texture
depth/stencil renderbuffers.

Bug: angleproject:4836
Change-Id: I0786e0712539cdbbf5494ec83aeee1dd93f936dd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2413165
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-09-18 03:05:34 +00:00
Jamie Madill bb96aefaa1 GN: Componentize D3D back-ends.
This also isolates headers for D3D9 / D3D11 from each other.

Bug: angleproject:3943
Change-Id: I04edbe7db68461ae4fc78ac7f9c22451debcb768
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405807
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2020-09-17 16:40:13 +00:00
Mohan Maiya c99c22bb32 EGL: Add support for EGL_ANDROID_create_native_client_buffer
This EGL extension will add support for creating EGLClientBuffer
backed by an Android window buffer (struct ANativeWindowBuffer)
which can be later used to create an EGLImage.

Bug: angleproject:5018
Tests: angle_end2end_tests --gtest_filter=ImageTest.SourceNativeClientBufferTarget*
Change-Id: If78ed7b80ad09629b8c5f5b5a0eb07a548e82e6e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404320
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2020-09-17 15:04:57 +00:00
Jamie Madill 23cff4e18c Test Runner: Handle GTest sharding args.
These were messing up the test runner when used in combination
with the test runner's specific args.

Make it an error if the arguments are used together.

Bug: angleproject:3162
Change-Id: I6fa1c0fb346a8c376ca455f7f4bf0492cfc0198a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2414931
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-09-16 20:43:08 +00:00
Jamie Madill 4d3a0f6028 GN: Componentize D3D format tables.
These tables are used by both the GL and D3D11 back-ends. Also moves
them to renderer_utils to be in a shared place.

Bug: angleproject:3943
Change-Id: I1f5d79842396a87e795547fa03c6855d6f9c5e9a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405805
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2020-09-16 01:08:50 +00:00
Jamie Madill d48b0f78bd Test Runner: Fix shard parameter script types.
The input types are string, not integer.

Bug: angleproject:3162
Change-Id: Ib4cac4cc0d4556d607e10fd9b79e36dbed68a39d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2411340
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-09-16 00:53:20 +00:00
Tim Van Patten e417bfb0b3 Android: Set angle_enable_commit_id=false in roll_aosp.sh
The current roll_aosp.sh is generating an invalid Android.bp by
including the local repo's .git file:

cc_genrule {
    name: "angle_commit_id",
    tool_files: [
        "src/commit_id.py",
    ],
    cmd: "$(location) gen $(location commit.h)",
    srcs: [
        ".git/refs/heads/rollAngle",
    ],
    sdk_version: "28",
    out: [
        "commit.h",
    ],
}

This is fixed by enabling the GN arg 'angle_enable_commit_id=false' in
the script:

cc_genrule {
    name: "angle_commit_id",
    tool_files: [
        "src/commit_id.py",
    ],
    cmd: "$(location) gen $(location commit.h)",
    sdk_version: "28",
    out: [
        "commit.h",
    ],
}

Bug: angleproject:5050
Test: Manual verification in AOSP checkout
Change-Id: I08a08084c4c25411b29b22544c2ed8c06f6f54d8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2412790
Reviewed-by: Geoff Lang <[email protected]>
2020-09-15 20:11:03 +00:00
Jamie Madill b99bbbaa74 Add luci-go and mb to DEPS.
These tools are used by scripts/trigger.py and by the src-side testing.
Also adds .vpython and .vpython3 spec files which can't be easily
auto-rolled from the Chromium src/ repo.

Bug: angleproject:5040
Change-Id: Ie6384c176b391dae4fe19582ec59c2c1d6ec22d8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2408717
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-09-14 21:27:36 +00:00
Shahbaz Youssefi 821aabb385 Add Context::renderbufferStorageMultisampleEXT
glRenderbufferStorageMultisampleEXT is special in that it doesn't have
the same semantics as glRenderbufferStorageMultisample, but is aliased
in gl.xml for the sake of desktop GL (where it does have the same
semantics).  This change special-cases this function so
multisampled-render-to-texture renderbuffers can be supported.

Bug: angleproject:4881
Change-Id: Iaa321dd0671dd82ea802df22a1ae935942789c21
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405395
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-09-14 17:46:54 +00:00
Le Hoang Quyen 63c91a3bb9 Metal: autogen for PBO related shaders.
Bug: angleproject:2634
Change-Id: I36e5a6a4cb11d82f666c410b33fdb39ad35a5e80
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2336557
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-09-14 16:19:14 +00:00
Jamie Madill 183a454b9d Test Runner: Use standard isolate script args.
This will allow the Android test runner to work seamlessly with
the ANGLE GTest runner script.

Bug: angleproject:3162
Change-Id: Id20d2fd05eb01e90a5a884891d9a1aa609ca744d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2407837
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-09-12 18:34:01 +00:00
angle-autoroll 68af795d03 Roll VK-GL-CTS from a48ed7c29144 to b045bf7d3b6a (9 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/a48ed7c29144..b045bf7d3b6a

2020-09-11 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-09-11 [email protected] Add coverage for uniform texel buffer SNORM formats
2020-09-11 [email protected] Test OpVectorShuffle with index -1
2020-09-11 [email protected] Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
2020-09-11 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-09-10 [email protected] Test imported signaled sync fd for VkSemaphore
2020-09-10 [email protected] Make pipeline destruction exception aware in subgroups tests
2020-09-10 [email protected] Check support for sampleRateShading
2020-09-07 [email protected] Update Vulkan headers

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

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: I00ec89b97722894e6ee357451d5b71f4a70fd446
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405394
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-11 22:20:54 +00:00
angle-autoroll ddf0fba0b0 Roll Vulkan-Headers from ced848d699b5 to f0e102e48197 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/ced848d699b5..f0e102e48197

2020-09-07 [email protected] Update for Vulkan-Docs 1.2.153

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

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

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

Change-Id: I240b3871d3887f3f0f5c60f2e2ebd206280e8a36
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395048
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-07 11:52:47 +00:00
angle-autoroll 72f6b99c29 Roll VK-GL-CTS from f564aa5f30f1 to a48ed7c29144 (4 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/f564aa5f30f1..a48ed7c29144

2020-09-06 [email protected] Fix mustpass
2020-09-05 [email protected] Memory allocation size fix.
2020-09-05 [email protected] Tests for sign handling in integer operations
2020-09-05 [email protected] Check output depth in inverted depth range 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],[email protected] on the revert to ensure that a human
is aware of the problem.

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ic2321ddcfef8df99b6b18683b128bcce63ac47e5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2394414
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-06 12:52:26 +00:00
angle-autoroll b6b9cffaf3 Roll VK-GL-CTS from 3b3f93c206dc to 5e85f689b911 (7 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/3b3f93c206dc..5e85f689b911

2020-09-02 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-09-02 [email protected] Revert back to libpng 1.6.27
2020-09-02 [email protected] Add a batch of GraphicsFuzz tests
2020-09-02 [email protected] Add coverage for negative float to clear color values
2020-09-02 [email protected] Execute the graphics/compute pipeline
2020-09-02 [email protected] Add formats support in nearest_edge tests
2020-09-01 [email protected] Experimental crash postmortem shader timeout test

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

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: I780ae179a5555f66a202c41156ed03c64401b8fa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2391109
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-03 16:21:34 +00:00
Shahbaz Youssefi 0c25fbe3e3 Vulkan: Remove accidental padding in push constants
Bug: chromium:1124379
Change-Id: I45f4511c836858c70d4dae23c7b3954e0bc65ab4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2391616
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-09-03 01:44:41 +00:00
Geoff Lang 7e815c77a4 Implement EXT_shadow_samplers
Bug: angleproject:4863,b/161716126
Change-Id: I6beb45d91f59a851787c9f40b40266fb985198d5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2288330
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: back sept 10 - Jamie Madill <[email protected]>
2020-09-01 19:30:14 +00:00
Jamie Madill 7b5439987f Remove Vulkan repos from export targets ignore list.
These were all fixed upstream.

Bug: angleproject:4077
Change-Id: Id67cfdb62ec9949b0e8cb249d5bb1696ad205376
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2378924
Reviewed-by: back sept 10 - Jamie Madill <[email protected]>
Commit-Queue: back sept 10 - Jamie Madill <[email protected]>
2020-08-31 15:30:15 +00:00
Jamie Madill 8d412db25c Revert "Convert unordered_map to absl::flat_hash_map for select files"
This reverts commit 1acaf4eced.

Reason for revert: Fails when is_component_build is not set:

lld-link: error: <root>: undefined symbol: public: __cdecl absl::Condition::Condition<struct std::__1::atomic<bool> const>(bool (__cdecl *)(struct std::__1::atomic<bool> const *), struct std::__1::atomic<bool> const *)
<snip>

Original change's description:
> Convert unordered_map to absl::flat_hash_map for select files
> 
> This is the initial CL to start migrating to abseil in various places:
> - formatutils.h
> - FramebufferVk.h
> - Program.h
> - ProgramExecutableVk.h
> - RewriteRowMajorMatrices.cpp
> 
> This intentionally hits a couple different places in the code to make
> sure the abseil dependencies are added to the required targets.
> 
> Bug: angleproject:4873
> Change-Id: I68c7d067b6912b0cc0ecde231501dbed92f0b189
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2321735
> Commit-Queue: Tim Van Patten <[email protected]>
> Reviewed-by: Jamie Madill <[email protected]>
> Reviewed-by: Charlie Lao <[email protected]>

[email protected],[email protected],[email protected]

Change-Id: I75041532fc5126b4c7cc5e0d4529883fb357e05b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: angleproject:4873
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2383870
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-08-29 22:25:28 +00:00
angle-autoroll 776538aab0 Roll VK-GL-CTS from 11fcbbf5d7cc to 3b3f93c206dc (13 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/11fcbbf5d7cc..3b3f93c206dc

2020-08-28 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-08-28 [email protected] Add a batch of GraphicsFuzz tests
2020-08-28 [email protected] Added test for reusing query handle
2020-08-28 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-08-28 [email protected] Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
2020-08-28 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-08-28 [email protected] Merge vk-gl-cts/github-master into vk-gl-cts/master
2020-08-27 [email protected] Add tests for Read/Write ops on mismatched formats
2020-08-27 [email protected] Add tests for shader reuse with differing layout
2020-08-27 [email protected] Move texel_offset into it's own test group
2020-08-27 [email protected] Enable random writes for dynamic storage buffers
2020-08-27 [email protected] Add support for FreeBSD
2020-08-27 [email protected] Restore cubic filtering 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],[email protected] on the revert to ensure that a human
is aware of the problem.

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: I4151c33b45d74c1db551750ad02e162e5679d133
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2383575
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-29 15:24:05 +00:00
Tim Van Patten 1acaf4eced Convert unordered_map to absl::flat_hash_map for select files
This is the initial CL to start migrating to abseil in various places:
- formatutils.h
- FramebufferVk.h
- Program.h
- ProgramExecutableVk.h
- RewriteRowMajorMatrices.cpp

This intentionally hits a couple different places in the code to make
sure the abseil dependencies are added to the required targets.

Bug: angleproject:4873
Change-Id: I68c7d067b6912b0cc0ecde231501dbed92f0b189
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2321735
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2020-08-28 23:45:32 +00:00
Le Hoang Quyen 966a62cb2d Metal: autogen for EXT_occlusion_query_boolean.
Bug: angleproject:2634
Change-Id: I4d6a6378a269ea9e38e9282d6dbfa45e4e3d4d5a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2336126
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-08-28 23:03:42 +00:00
Tim Van Patten ed33795bbe Add third_party/abseil-cpp to ANGLE
1. Add third_party/abseil-cpp to DEPS so it can be used in ANGLE.
2. Add abseil directory to ANGLE overrides.
3. Add third_party/abseil-cpp to .gitignore.
4. Add third_party/abseil-cpp to roll_chromium_deps.py so it's
auto-rolled periodically.

Bug: angleproject:4873
Change-Id: Ic158bba844e88ec90ac56a2f8c817168c4bea17f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2321734
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-08-28 21:30:49 +00:00
Jamie Madill dfddb9837f Fix warnings that show up in Skia with MSVC.
Bug: skia:7647
Change-Id: I6951dcfc1eacd0426dfa7f8142780a5065fae1b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2380715
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-08-28 00:17:15 +00:00
Brian Sheedy a1d05e35a8 Workaround GN bug
Works around a bug in `gn desc` where values can sometimes be reported
as strings when we would expect them to be lists. This was causing
issues with the migration to abseil, as scripts/export_targets.py
did not have a workaround for this bug.

Bug: angleproject:4873
Change-Id: I69994e2cd68a563110fcb98072a24f59f70a06d3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2380716
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-27 22:11:55 +00:00
angle-autoroll 6804817038 Roll Vulkan-Headers from 834673eaa34a to ced848d699b5 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/834673eaa34a..ced848d699b5

2020-08-26 [email protected] Update for Vulkan-Docs 1.2.152

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

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

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

Change-Id: Id9950d584ada693a8a1a12699345706b725bbc2a
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2379233
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-27 09:20:05 +00:00
Le Hoang Quyen 7ce9947d81 Metal: autogen for 3D texture's mipmap generating shader.
Bug: angleproject:4921
Bug: angleproject:2634
Change-Id: I5c379d750114e2ca1c5dd0203e94bb63dac1e0bf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2336125
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-08-24 15:41:45 +00:00
Yuly Novikov a357cbab10 Fix manual roll mode of roll_chromium_deps.py
Got broken while working on autoroll mode in
https://chromium-review.googlesource.com/c/angle/angle/+/2363212

Bug: skia:10572
Change-Id: I0c851aed758e568b080d6c222762f35b8c7adae4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2365597
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-08-20 00:46:19 +00:00
Yuly Novikov 7d38b0ba07 Fix manual, disable automatic rolling of googletest and jsoncpp
roll_chromium_deps.py didn't handle properly rolling recursedeps for
these 2 repos, only rolling the top level repo but not internal.

Temporarily disable rolling these 2 repos in roll_chromium_deps.py and
roll them properly to the latest revision used by Chrome.

Change log:
https://chromium.googlesource.com/chromium/src/third_party/googletest/+log/e3c3f879eee34ec81b1e562d8fecd207716d8945..c20c5a3085ab4d90fdb403e3ac98e7991317dd27
https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/f2fb48c3b3d79a75a88a99fba6576b25d42ec528..4fe018038f87675c083d0cfb6a6b57c274fb1753
https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/+log/ec647b85b61f525a1a74e4da7477b0c5371c50f4..30a6ac108e24dabac7c2e0df4d33d55032af4ee7

No change to
https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git/+/645250b6690785be60ab6780ce4b58698d884d11

Bug: angleproject:4973
Change-Id: Ie164c5b1adb8684b875f1be4924b295033e2fb4a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2365023
Commit-Queue: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-20 00:03:07 +00:00
Yuly Novikov 0f33d01e3f Adjust roll_chromium_deps.py to work with autoroller.
Add --autoroll option which expects an existing git commit by the
autoroller, which updates chromium_revision.
roll_chromium_deps.py then updates other ANGLE dependencies to the
revision of their Chromium counterparts and amends autoroller's commit.

Bug: skia:10572
Change-Id: Iddb9296bd1470f4a2113563c5ed3a1c27e16f128
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2363212
Commit-Queue: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-19 20:05:54 +00:00
Le Hoang Quyen defeda29dd Metal: autogen for EXT_draw_buffers & ANGLE_framebuffer_blit
Bug: angleproject:2634
Change-Id: I8f8ee91fb673301b8bd97c359ee39c411e2bf8da
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2336124
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-08-19 16:54:30 +00:00
Jamie Madill 5b4f6e3193 Vulkan: Add overlay widget for RP buffer count.
Can help evaluate when scenes stress out the resource tracking in the
RenderPass command buffer.

Bug: angleproject:4950
Bug: angleproject:4965
Change-Id: I7da2ad0101a840c5441f2112db4bb61f564afcef
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2358521
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-08-19 00:45:35 +00:00
Le Hoang Quyen 85919ef772 Metal: autogen format caps from json
Bug: angleproject:4940
Bug: angleproject:2634
Change-Id: I1e107e856a50a7eaf685296dd7464af9ad5bcec4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2342522
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-18 22:21:35 +00:00
Jamie Madill 5739315280 Auto-gen more Overlay code.
We add a new header where we auto-generate the Widget ID. We also use
a new X macro to generate per-widget arrays and tables.

Bug: angleproject:4965
Change-Id: Ic53e5d1c47d5712a63c98c481c15f550f1f99692
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2358520
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-08-18 20:58:54 +00:00
Cody Northrop c4a82aaabb Tests: Add COD:Mobile trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*cod_mobile*
Bug: b/164426913
Bug: angleproject:4048
Change-Id: I306714632b635c728fa212ed793f076c6b889227
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2360047
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-08-18 17:07:16 +00:00
angle-autoroll 064bbf297d Roll Vulkan-Headers from 6eaf979e7366 to 99638d8d7fc6 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/6eaf979e7366..99638d8d7fc6

2020-08-17 [email protected] Update for Vulkan-Docs 1.2.151

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

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

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

Change-Id: Ieb7b233ed32ad9a15878a347890c73f92729aa1f
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2358773
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-17 10:58:48 +00:00
Manh Nguyen 634d1718f2 Add unittests of ANGLE commit message format check
Mocks depot_tool input_api and output_api for ANGLE
presubmit checks' unittests.
Adds unittests of ANGLE commit message format check

Bug: angleproject:4961
Change-Id: I2a8bc2c3703d9a07b26f7609490dbd80369c73b9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2356287
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-08-14 17:24:18 +00:00
angle-autoroll 5c8c6b4296 Roll VK-GL-CTS from b2be8f165978 to fb86cfb19849 (4 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/b2be8f165978..fb86cfb19849

2020-08-12 [email protected] Try alternative DS formats in extended dynamic state tests
2020-08-07 [email protected] Revert workaround for SNORM linear filtering
2020-08-07 [email protected] More extended dynamic state variants
2020-08-06 [email protected] Add tests for VK_EXT_full_screen_exclusive extension

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

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ic8d1b4611e6c7e3a0d5aa90f1015e7b6fadbb238
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2354358
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-13 16:52:46 +00:00
Cody Northrop d667ad2f01 Tests: Add Mobile Legends trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*mobile*
Bug: b/163619545
Bug: angleproject:4048
Change-Id: I8ed176afe10b758a22b539d526bf02a9fe35ab92
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2350582
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-08-11 23:58:58 +00:00
Yuly Novikov 398a874c9b Add tools/clang/dsymutil to roll_chromium_deps.py
New DEPS entry added in
https://chromium-review.googlesource.com/c/angle/angle/+/1926387
We should sync it together with other DEPS coming from Chromium.

Bug: angleproject:4149
Change-Id: I3b10b5568bace2b55c07b664702ae8a82ccc2289
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2349528
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-08-11 18:39:38 +00:00
Le Hoang Quyen 9385eb35f5 Metal: Generate default shaders to separate files.
Generate default shaders' OS specific versions to separate files to
avoid mtl_default_shaders_autogen.inc becoming too big.

Bug: angleproject:2634
Change-Id: Ie2a39971ec46c36ce13bf5cb72f998f2cbc0ab64
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2332145
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-08-11 09:59:11 +00:00
angle-autoroll 4ac12af490 Roll Vulkan-Headers from 8446db62f194 to 6eaf979e7366 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/8446db62f194..6eaf979e7366

2020-08-10 [email protected] Update for Vulkan-Docs 1.2.150

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

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

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

Change-Id: Ib5610bf1d44fae79fd759d56d42e24950f714472
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2348254
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-11 09:02:42 +00:00
Le Hoang Quyen f37f1dcb16 Metal: Init format table using Metal-Feature-Set-Tables.pdf
- Format table is now initialized using informations from
  https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf.
  Previously, it was setup using gl::GenerateMinimumTextureCaps().

- This CL also adds InitializeTextureDataFunction and LoadFunctionMap to
  mtl::Format. They are needed to properly initialize/convert textures
  with non-normalized formats.

- This CL is prerequisite for integer & floating point format supports.

- New test: DXT1CompressedTextureTest.DXT1Alpha (this test was added
  in the past but was reverted for some reasons).

Bug: angleproject:2634
Change-Id: I5eaad812909a49c4c138d0f65fd21a6a199fcb22
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2332144
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-11 05:55:26 +00:00
Yuly Novikov f9e98fd460 Fix clang revision regexp in chromium autoroller to match new format
Sample revision: llvmorg-12-init-1771-g1bd7046e
Was git hash before

Bug: chromium:1104516
Change-Id: I5373dc6dbe9bb0960dcea7d151898a60f92e3d84
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2348112
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-08-11 02:25:43 +00:00
Manh Nguyen bbfbea9dd5 Invalid calls' pointer params are no longer captured
Changes call capture methods generation so that invalid calls no
longer capture pointer params.

Bug: angleproject:4817
Change-Id: I2d83d4d3334da8ba34925f80aed2de859a10fae5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2346749
Commit-Queue: Manh Nguyen <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-08-10 21:13:09 +00:00
Cody Northrop 063d754bbe Tests: Update NBA2K20 trace
Significantly reduce setup for this trace. First frame drops
from ~430K lines to ~150K lines of code. Compile/link times
should be bearable.

TBR: [email protected],[email protected]

Test: angle_perftests --gtest_filter="TracePerfTest.Run/*nba*"
Bug: b/160014453
Change-Id: Ia33941012e02ec5488d039501f592dc48e9acfe4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2343454
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-08-07 22:51:01 +00:00
Cody Northrop fc8866cfaf Tests: Update Angry Birds 2 trace
Primarily fix the width/height of the drawing surface,
but also pull in changes from July 2020 update.

TBR: [email protected],[email protected]

Test: angle_perftests --gtest_filter="*Trace*"
Bug: b/157672184
Change-Id: Ia6e16f6d695954f50b3d2a4e8aaaa88514b461d1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2343453
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-08-07 20:41:12 +00:00
angle-autoroll ea952ff32b Roll VK-GL-CTS from 4b40207be32d to b2be8f165978 (32 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/4b40207be32d..b2be8f165978

2020-08-06 [email protected] Merge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"
2020-08-06 [email protected] Add tests for VK_EXT_global_priority
2020-08-06 [email protected] Merge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"
2020-08-06 [email protected] Check per-sample copy results in multisample copy tests
2020-08-06 [email protected] Add a batch of GraphicsFuzz tests
2020-08-06 [email protected] Update KC CTS
2020-08-06 [email protected] Fix pixel pack/unpack in nearest edge tests
2020-08-06 [email protected] fix 1d depth component 16 sizing in layout locations tests.
2020-08-06 [email protected] Convert GraphicsFuzz vkscript to AmberScript
2020-08-05 [email protected] dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix
2020-08-05 [email protected] Test imported signaled sync fd
2020-08-05 [email protected] Merge  vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
2020-08-04 [email protected] Restore dual source blending tests
2020-08-03 [email protected] Update Vulkan headers
2020-08-03 [email protected] Delete excluded graphicsfuzz test
2020-08-03 [email protected] Throw an error on missing cmake in build config
2020-07-31 [email protected] Fix shaderCullDistance limit checks
2020-07-31 [email protected] Test mipmaps with linear tiling
2020-07-30 [email protected] Enable random descriptor writes for storage buffers
2020-07-30 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
2020-07-29 [email protected] 1D and 3D image copy and blitting tests
2020-07-29 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-07-29 [email protected] Stop 10bit formats requiring GL_SRGB encoding
2020-07-29 [email protected] Disable a test that access uninitialized variable
2020-07-29 [email protected] Update Amber to fix regression
2020-07-24 [email protected] Support for VkPhysicalDeviceVulkan1{1,2}Properties in framework
2020-07-24 [email protected] Let requireDeviceFunctionality support Android AHB extension
2020-07-24 [email protected] Add timeline semaphore polling tests
2020-07-24 [email protected] Test 3D image blit with differing depth
2020-07-23 [email protected] Update the date in the notice of withdrawal
2020-07-23 [email protected] Notice of withdrawal of Vulkan CTS 1.1.5.x
2020-07-22 [email protected] Allow Bresenham for single-sample non-strict lines

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

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

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

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ie9c01a3c47d77bd9f896194c30750b5bffc4eef2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2338820
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-06 20:35:32 +00:00
Yuly Novikov 277ad4e098 Make roll_chromium_deps executable
Bug: chromium:1104516
Change-Id: I595fe7b47d92cecf2d645bc5d626ef559bf5aa4f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2338999
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-08-05 21:48:10 +00:00
Yuly Novikov 91bbd01aed Rename roll_deps to roll_chromium_deps
To emphasize that this script rolls pinned Chromium revision,
in addition to other Chromium sub-repos.

Bug: chromium:1104516
Change-Id: Idfd80af6f450b8eab255eaa0445f07742400d907
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2339547
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-08-05 20:27:42 +00:00