Commit Graph
623 Commits
Author SHA1 Message Date
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
Shahbaz Youssefi 6b97463d0a Add back glslang include check
The issue was fixed upstream by
https://github.com/KhronosGroup/glslang/pull/2362

Bug: angleproject:4763
Change-Id: Icc9af01097b1d97653eb15b640eed6bd72365fd1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2337349
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-08-05 13:57:57 +00:00
Shahbaz Youssefi e4e2a847da Entry points for ANGLE_external_objects_flags
Bug: angleproject:4912
Bug: fuchsia:52759
Change-Id: If339f096a74cc87d16a6494562711d718a7738ea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2335019
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-08-05 09:20:36 +00:00
angle-autoroll 26d2e04613 Roll Vulkan-Headers from a0f1f5149d91 to a6d08c75d219 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/a0f1f5149d91..a6d08c75d219

2020-08-03 [email protected] Update for Vulkan-Docs 1.2.149

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: If21f9c5c44fe24d22037a40a33c98c8a7ec81087
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2336212
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-08-04 08:55:05 +00:00
Jamie Madill 1120739333 Vulkan: Add an overlay counter for descriptor writes.
Note: currently the trace test shows about 1000 descriptor
set writes per frame in NBA2k20.

Bug: angleproject:4911
Change-Id: Id50d05fe405249c80a38dbbe3c96e7bd8c66cbc4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2333398
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-08-03 23:39:41 +00:00
Le Hoang Quyen 69ca10255c Metal: Implement EGL_ANGLE_iosurface_client_buffer.
GL_R16UI format is not supported yet. It will be implemented once
integer textures are implemented in metal back-end.

Bug: angleproject:4847
Bug: angleproject:2634
Change-Id: I60a52c0ce327a524c74e80b18bb15978ac52065b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2329091
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-03 18:53:18 +00:00
Jonah Ryan-Davis 4f7f438729 Add entry points for OES/EXT_texture_buffer
This extension is core in 3.2

Bug: angleproject:3573
Change-Id: If08736759da2fdc680cfa396d354dbfa97d1a60f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2317040
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-08-03 18:08:23 +00:00
Shahbaz Youssefi 41442cce3d Autogenerated changes for GL_EXT_multisampled_render_to_texture2
Bug: angleproject:4836
Change-Id: I86143c6b21ecdbc666ce316b6e4a4b402257f01c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2332957
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-08-01 13:48:53 +00:00
Shahbaz Youssefi 9b1cab0ded Fix validation of glFramebufferTexture2DMultisampleEXT
In preparation for GL_EXT_multisampled_render_to_texture2.  This makes
the validation reuse what's there for glFramebufferTexture2D in addition
to what GL_EXT_multisampled_render_to_texture requires.

Additionally, it uses packed enums for texture target and id.

Bug: angleproject:4836
Change-Id: Ie778c84e1ff5a0cb6615257f2aff9e04395dd5aa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2332956
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-07-31 21:15:19 +00:00
Jamie Madill f3a38d978f Add a custom trace tests loader.
This custom loader will disambiguate the trace tests gl layer
from the util GL/EGL loader.

Bug: angleproject:4845
Change-Id: I5e8340eb50f736d931302f71f15f556fd9e52081
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2315627
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Manh Nguyen <[email protected]>
2020-07-30 22:50:45 +00:00
Cody Northrop aed3d65bdf Tests: Add NBA2K20 trace
Test: angle_perftests --gtest_filter="TracePerfTest.Run/*nba*"
Bug: b/160014453
Bug: angleproject:4048
Change-Id: I4899af05d48ad2900e6d5e44adc5f5e0bdba157e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2326911
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-30 17:32:32 +00:00
Peng Huang 4cf2501c67 Add extension EGL_ANGLE_display_semaphore_share_group
For sharing semaphores globally.

Bug: angleproject:4877
Change-Id: I472e0902fd04ca8350d74e6c0ae6925ee930ccf9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2319370
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-29 22:33:31 +00:00
Cody Northrop 5f6f47f660 Tests: Update gfxbench traces
Use new capture calls to support offscreen mode.

Test: run_angle_perftests --gtest_filter="*Trace*"
Bug: angleproject:4845
Change-Id: I6d9ea79bd8339b7d5398e34b0407425e80ce1d32
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2327699
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-07-29 21:54:41 +00:00
Shahbaz Youssefi 8adc54693b Vulkan: Generate mipmap in compute
An initial implementation based on AMD's FFX SPD (Single Pass
Downsampler).

Apart from requiring STORAGE_IMAGE support for the image format, the
following limitations are in place due to FFX SPD:

- Image must be 2D or 2D array (including cube maps)
- Image must be single-sampled

The following _can_ be supported, but not yet implemented:

- sRGB formats
- Integer formats
- depth/stencil formats

Bug: angleproject:4551
Change-Id: Ibc4d5cea701cca31e55e3d651540872bbd3b473f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2278713
Reviewed-by: Mohan Maiya <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-07-26 19:38:41 +00:00
Tim Van Patten 43b951c8d8 Remove third_party/angle/ from generate_android_bp.py
Android builds are failing due to .git/HEAD being listed in the
Android.bp, which generate_android_bp.py is supposed to remove. The
problem is that the blacklist contains '//third_party/angle/.git/HEAD'
rather than '//.git/HEAD', due to generating the GN files from
chromium/src/ rather than angle/. This CL cleans this up.

Bug: b/160727922
Test: Manual script execution and building in AOSP
Change-Id: Ia1682605097791d20b28686f3043ddc08d49ca52
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2310960
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2020-07-25 01:18:28 +00:00
Cody Northrop ca8f856ac1 Tests: Update gfxbench traces
Migrate from traces recorded on desktop to traces recorded
on a Pixel 4 XL. This impacts the resolution and framebuffer
config used for the tests. They now more accurately reflect
the numbers seen from running the benchmark directly.

Test: angle_perftests --gtest_filter=TracePerfTest.Run/*
Bug: angleproject:4048
Change-Id: Ib013dfb35c32c6f97bcae76a74cc16d9a5d1a369
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2314896
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-07-22 21:34:37 +00:00
Jamie Madill a4535c18ca Fix trace tests auto-generation.
This moves the trace header inclusion to the cpp file so that the
test itself doesn't need to look at the individual trace headers.
This fixes an include directory dependency. Also removes the FBO
change callback from the generated traces.

Bug: angleproject:4845
Change-Id: I019f0d347a62a81b92bf32110572911111212689
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2314217
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-07-22 19:28:27 +00:00
Jamie Madill 6ca2c11624 Make trace tests a shared library.
This will facilitate intercepting the GL calls and implementing
emulation paths for offscreen redering. Or other EGL/GL features.
It does not yet override the GLES loader and uses the shared
'angle_util' loader as it did before.

Bug: angleproject:4845
Change-Id: I68806c307f59e1852999299e88dc358781817f12
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2305042
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Manh Nguyen <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-07-21 21:06:07 +00:00
Jamie Madill 4fa75b5cf6 Move restricted trace functions to cpp file.
This is a refactoring change only. It will facilitate moving these
functions to a shared library. A shared library will allow us to more
easily override GL functions with an interception layer. The intercept
layer will allow us to do emulation for features like offscreen tests.

Bug: angleproject:4845
Change-Id: I0e00c0c22a26f1bb8faec30a825c71953033f8a9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2305039
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-07-21 20:12:27 +00:00
Jamie Madill 2321158511 Roll chromium_revision b0410bba02..fb6cbaf6e5 (763000:790363)
Also updates a Vulkan back-end file to not return error.

Change log: https://chromium.googlesource.com/chromium/src/+log/b0410bba02..fb6cbaf6e5
Full diff: https://chromium.googlesource.com/chromium/src/+/b0410bba02..fb6cbaf6e5

Changed dependencies
* build: https://chromium.googlesource.com/chromium/src/build.git/+log/45ab3c89af..1ee11394cf
* buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/204a35a2a6..9e121212d4
* testing: https://chromium.googlesource.com/chromium/src/testing/+log/3993ef1f52..f126fc6578
* third_party/Python-Markdown: https://chromium.googlesource.com/chromium/src/third_party/Python-Markdown/+log/36657c103c..9c8566e047
* third_party/googletest: https://chromium.googlesource.com/chromium/src/third_party/googletest/+log/217407c478..defbf92951
* third_party/jsoncpp: https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/+log/{chromium_..ec647b85b6
* third_party/nasm: https://chromium.googlesource.com/chromium/deps/nasm.git/+log/4fa54ca5f7..19f3fad68d
* third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/ae385786ed..89bddfee9c
* tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/04b99e7bf9..6412135b39
* tools/md_browser: https://chromium.googlesource.com/chromium/src/tools/md_browser/+log/aae45d8d82..be8cf5a17d
DEPS diff: https://chromium.googlesource.com/chromium/src/+/b0410bba02..fb6cbaf6e5/DEPS

Clang version changed 4e0d9925d6a3561449bdd8def27fd3f3f1b3fb9f:04b9a46c842f793a2baedcad64de35fcbd3e93b7
Details: https://chromium.googlesource.com/chromium/src/+/b0410bba02..fb6cbaf6e5/tools/clang/scripts/update.py

Bug: angleproject:4867
Change-Id: I184945ad4d1fc39f4ad9b37cbf411b2c2b74a3ab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2309223
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-21 17:04:12 +00:00
angle-autoroll 7c79945a9f Roll VK-GL-CTS from 30aa06f22718 to 4b40207be32d (6 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/30aa06f22718..4b40207be32d

2020-07-21 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
2020-07-21 [email protected] Remove Amber example test
2020-07-20 [email protected] Reintroduce excluded dEQP-VK.binding_model.descriptorset_random tests
2020-07-20 [email protected] Update Vulkan headers
2020-07-20 [email protected] VK_EXT_image_robustness tests
2020-07-20 [email protected] Update glslang, SPIR-V Headers and tools

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: Ie3adac45f59f362fefc67f759356d26924e84d1f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2309638
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-21 12:48:44 +00:00
Tim Van Patten 20eb9be552 Generate Android.bp from multiple gn descriptions
With the introduction of ABI-specific build targets (zlib), the script
generate_android_bp.py needs to be updated to consume ABI-specific gn
descriptions and generate ABI-specific build rules for each target.

The roll_aosp.sh script was updated to generate ABI-specific gn
descriptions for each:
    arm
    arm64
    x86
    x64

Bug: b/160727922
Test: Manual script execution and building in AOSP
Change-Id: I459b388176f8fcc010f9f5668535d941b931cdd4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2285272
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2020-07-21 04:05:55 +00:00
Geoff Lang 49108a1283 Support BGRA_1010102 IOSurfaces in CGL and Vulkan.
Bug: chromium:1100599
Change-Id: I7bc2c2e35490e28e9f6fe8f2e0c26cdea50650b9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2275731
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2020-07-20 18:58:43 +00:00
angle-autoroll b9411968ec Roll Vulkan-Headers from 858b13a1220a to 83825d55c7d5 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/858b13a1220a..83825d55c7d5

2020-07-20 [email protected] Update for Vulkan-Docs 1.2.148

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: I8963f84e3fac3b06974e23843617c9014ba0f39f
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2307169
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-20 09:58:52 +00:00
angle-autoroll c754c02a65 Roll VK-GL-CTS from 8726fda3f865 to 30aa06f22718 (5 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/8726fda3f865..30aa06f22718

2020-07-17 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-07-17 [email protected] Test pipeline layout lifetime after ending cmd buffer
2020-07-17 [email protected] Add export/import drm modifier test
2020-07-17 [email protected] Test frag shader side effects are not removed by optimizations
2020-07-17 [email protected] VK_EXT_robustness2 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: Id48ef26916cdd755b73512b15c6fca921c59a1fa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2304442
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-17 14:27:45 +00:00
Le Hoang Quyen 3e0b61a986 Metal: Compile default shader source files separately.
- Previously all default shader files were included in one file named
  master_source.metal.
- Now they will be compiled separately and link together to generate
  binary shader.
- Also generate a debug binary variant that will be used in debug build.

Bug: angleproject:2634
Change-Id: Ic040835c4a729666e73afeba52f5be839b632396
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2281784
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-15 18:00:03 +00:00
Le Hoang Quyen 9277ee7413 Metal: Implement MSAA default framebuffer.
GL_SAMPLE_COVERAGE_VALUE is implemented by inserting gl_SampleMask
writing logic to fragment shader.

New test added: MultisampleTest.ContentPresevedAfterInterruption.
- Skip on D3D11 (Bug: angleproject:4609)

Bug: angleproject:2634
Change-Id: Ib44daf0baccc36ea320596d81713156047da059c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2281783
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-15 16:27:43 +00:00