Commit Graph
684 Commits
Author SHA1 Message Date
Brandon Schade b22e437aff Add GL_EXT_copy_image extension entry points
Bug: angleproject:3593
Change-Id: I6d3a55a3112f5f9b20ef33c859a60b2952bfbc2f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2444209
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-10-14 21:37:05 +00:00
Jamie Madill 4c9f892f0d Tests: Use script type in isolate map.
This makes trigger.py use the same code paths as the bots
when they trigger standalone ANGLE tests.

Fixes launching tests via trigger.py on Linux because of
using the 'windowed_test_launcher' method that used xvfb.

Bug: angleproject:5114
Change-Id: I073631270b5b69aac8f3f0f6378bd71f951ce8e6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2464425
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-10-14 12:57:40 +00:00
Jamie Madill 0059e75cfe trigger.py: Remove GTest shard env when running one shard.
Bug: angleproject:5158
Change-Id: I3c29adf36f6f31f23bf662c2d7d6c4d05d8e9028
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2466781
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-10-14 00:55:36 +00:00
Shahbaz Youssefi 6c1c3bd9d0 Vulkan: Clear depth by shader if depthClamp not supported
This will avoid breaking the render pass when clearing depth through
clearWithDraw if the depthClamp Vulkan feature is not present.

Bug: angleproject:4836
Change-Id: I845fd5074dd95f6896da89f9e119ebc5000a5688
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2462719
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2020-10-10 05:01:55 +00:00
Jamie Madill a1477bef76 trigger.py: Append user tag.
This puts the output of 'whoami' into the user tag. This is useful for
finding your triggered swarming tasks.

Implemented while working on triggering standalone dEQP test runs.

Bug: angleproject:5157
Change-Id: Ic850726485a96408c8f2ded36195268eabb275f4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2463370
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-10-09 20:39:54 +00:00
Jamie Madill 068617d6cf Fix debug message formatting.
Also includes a refactor of GLenum utils.

Bug: angleproject:5131
Change-Id: Ic2d974ef5612b3609ae66bcca087cc0442f43888
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2447042
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-10-07 19:46:23 +00:00
Jamie Madill 98117b9def Move entry point enum utils to common.
These are now used in debug.cpp.

Bug: angleproject:5131
Change-Id: Ibe1f0e3e2919a9e2f2b85c3ed80a77617266913e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2451973
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
2020-10-07 18:38:23 +00:00
angle-autoroll 10d329d980 Roll VK-GL-CTS from 02da53e45d9e to 618e41c871d6 (7 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/02da53e45d9e..618e41c871d6

2020-10-05 [email protected] Update Vulkan headers
2020-10-03 [email protected] Notice of withdrawal of Vulkan CTS 1.2.0.x
2020-10-02 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-10-02 [email protected] Fix result checking of output location tests
2020-10-02 [email protected] Experimental crash postmortem use-after-free test
2020-09-28 [email protected] Update glslang, SPIR-V Tools and Headers
2020-09-28 [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: Icc1a573ea50c75b08c98c4c2f0e29be436df9605
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2455428
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-10-07 11:03:37 +00:00
Ian Elliott f074d61a69 Plumb EntryPoint & Context to DebugAnnotator/EVENT()
This makes it easier to plumb debug labels to a future
DebugAnnotatorVk class.

Bug: b/162068318
Bug: b/169243237
Change-Id: I01e3779569c27c91252dc2874f6deaec526afd6f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2451516
Commit-Queue: Ian Elliott <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-10-06 03:27:26 +00:00
Cody Northrop 61b13f8fb0 Tests: Update two traces, remove one
* Update candy_crush and temple_run to use more recent
  capture headers.

* Remove subway_surfer because the app no longer uses
  GLES. Its Unity backend now runs Vulkan, so we can't
  re-record it.

Test: angle_perftests --gtest_filter="*Trace*"
Bug: angleproject:4845
Change-Id: I9d219f2be05813c50b31287a65bfc099787d114c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2441851
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-10-05 18:55:10 +00:00
angle-autoroll d8b314863f Roll Vulkan-Headers from e1ba543c6789 to 94ff600cc862 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/e1ba543c6789..94ff600cc862

2020-10-05 [email protected] Update for Vulkan-Docs 1.2.156

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: Iefb59064e9acccd309eaaef2993f60c70de73dd9
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2448959
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-10-05 10:59:50 +00:00
Trevor David Black e815afbf88 First pass at increasing inclusivity
Link to the inclusivity rules
https://source.android.com/setup/contribute/respectful-code

Bug: b/162834212
Bug: chromium:1097198
Change-Id: Ied5a9e3879d72bff3f77ea6fcda9b82f30c32c2f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2396737
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Trevor Black <[email protected]>
2020-10-02 19:49:38 +00:00
Jeff Vigil 7a92d95890 Implement GL_OES_texture_stencil8
Add extension to Caps and code gen files.
Add to Validation of TexImage
Add all the autogen for new extension
Fix swizzle for stencil only
Add LoadFunction
Fix formatutils
Add validation
Test: angle_deqp_egl_tests
--deqp-case=GLES31.functional.stencil_texturing.format.stencil_index8_2d

Bug: angleproject:3231
Change-Id: Id59c7d183ea1658732887e99637d9c8faab938e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404327
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2020-10-02 19:31:38 +00:00
Mohan Maiya a2d9abef04 Vulkan: Add OES_sample_shading extension entry points
Addition of just the entry points for OES_sample_shading extension.

Bug: angleproject:3587
Change-Id: I7ef5ceb846d130c2d1e0b4ea7dcbe92452b5d7d3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2444212
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-10-02 17:08:28 +00:00
Jamie Madill 7b25b64316 Add a standalone GN isolate map.
This will allow us to use trigger.py in a standalone checkout
to fire off swarming jobs.

Bug: angleproject:5114
Change-Id: I99302a4e8fdfc0f6d9996748a2d6c97dc5f03cde
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2442079
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-10-02 01:17:02 +00:00
Jamie Madill 38ef7955e2 Drop isolated perf output arg in test runner.
This argument isn't used and is in the process of being removed.
We need to remove it partially to unblock landing ANGLE tests in
Chrome. We can follow up later to remove it from the argument set.

Bug: angleproject:3162
Change-Id: I3f80eb1bc14fd93a2b6d9732e51f49873fabb27e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2441512
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
2020-10-01 00:42:58 +00:00
Jamie Madill e9813ba092 trigger.py: Add launching of Android tests.
This adds new conditonal arguments --device-type and --device-os
(shortened as -t and -o) that specify an Android device type/OS.
In practice only -t is usually necessary. Also makes the GPU
dimension optional (-g or --gpu).

Bug: angleproject:5109
Bug: chromium:1133459
Change-Id: Id975c676db40e9eb104b73a4ed5858e6083cbd70
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2439481
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-09-30 01:17:40 +00:00
Ian Elliott 981a401e59 Add Context* to EVENT() & DebugAnnotator::beginEvent()
This will make it easier for us to record GLES calls and log them with
Vulkan vkCmd*DebugUtilsLabelEXT()

Bug: b/162068318
Change-Id: I6bddf086ef39cbaca313409802bbb4f2da0d85cc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2432193
Commit-Queue: Ian Elliott <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-09-29 05:22:14 +00:00
Jeff Vigil 6612da1feb GL_OES_texture_stencil8 autogen
Add extension string to registry_xml.py and autogen files.

Bug: angleproject:3231
Change-Id: I57d7f8d8e9292f32b2ae461c539296eb63ce26d4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2432270
Commit-Queue: Jeff Vigil <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-09-28 23:58:21 +00:00
angle-autoroll 059781eddd Roll Vulkan-Headers from 7f9879b1b1fa to e1ba543c6789 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/7f9879b1b1fa..e1ba543c6789

2020-09-28 [email protected] Update for Vulkan-Docs 1.2.155

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: I9141f819aee62a66e15ac532f509b6768560307b
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2435285
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-28 11:50:15 +00:00
Shahbaz Youssefi 6f52192135 Vulkan: Use one triangle for full-screen utils
In tiling GPUs, using two triangles means the tiles intersecting the
seam would be processed twice.

Bug: angleproject:4936
Change-Id: Ib10b77e6ab15bba932f0e4e970e10ed5a8399cdd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2372623
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-09-26 20:34:19 +00:00
Jamie Madill dff9331631 Add Skia Gold CIPD package to DEPS.
Will be used in restricted trace testing.

Bug: angleproject:4090
Bug: b/168049670
Change-Id: I0931a974c665dd8f8cf557c8af3bdc6e2fdc2544
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2431776
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-09-26 06:31:14 +00:00
Geoff Lang f0b020544c Add a Vulkan feature to compress float32 vertex formats.
Use the vertex conversion pipeline in VertexArrayVk to detect
static vertex data and convert float32 vertices to float16. This
feature is useful for determining if an allication is vertex
bandwidth bound and seeing what gains could be had by using smaller
attributes.

This feature could be implemented in ANGLE's frontend but new
infrastructure for converting and storing the converted attributes
would need to be added to gl::VertexArray. Our backends already
have the functionality needed to handle unsupported attribute formats
and this can be repurposed for compressing vertex formats.

Bug: b/167404532
Bug: b/161716126
Change-Id: I9a09656a72e8499faa4124adf876d7261c8341c9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2342285
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-09-24 14:55:24 +00:00
Tim Van Patten e78d9a61d2 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: Idd6084dff2ebce47833f304c605bbf3151b97414
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2402382
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2020-09-23 20:27:25 +00:00
Jamie Madill b6c179960e Auto-generate restricted trace .gitignore.
I'm going to add a non-ignored subdirectory so it behooves us to fix
our blanket suppression. This will also allow users to clean up stale
trace files.

Bug: angleproject:4090
Bug: b/168049670
Change-Id: I5b0879eb3eebf3b352bb78e3b927203f9483c89f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2426885
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-09-23 19:33:43 +00:00
Alexey Knyazev 15823ab020 Metal: Implement ASTC LDR support
Bug: angleproject:2634
Change-Id: If7ea09de384c8bc8727523f20fe17641127fcf9f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2411982
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Le Hoang Quyen <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-09-21 21:05:36 +00:00
Alexey Knyazev 1b436e07b1 Metal: Implement BPTC support
Use autogen for setting compressed format caps.

Bug: angleproject:2634
Change-Id: I8cfb57390751615c08f798f223f4db3deed2fff6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2411979
Reviewed-by: Le Hoang Quyen <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
2020-09-21 19:22:56 +00:00
Le Hoang Quyen e0eb7d2e1c Metal: Fix wrong FormatID enum order used by PBO autogen shaders.
FormatID_autogen.h's enums' order was altered by CL
https://chromium-review.googlesource.com/c/angle/angle/+/2413165
However, Metal default shaders relied on old order thus the result
PBO related computation based on enum value has become wrong.

This CL reuse gen_angle_format_table.gen_enum_string() function to
generate format enums for both
- src/libANGLE/renderer/FormatID_autogen.h (used by C++)
- src/libANGLE/renderer/metal/shaders/format_autogen.h (used by Metal
  default shaders)

Bug: angleproject:2634
Change-Id: I52fad168d1932e0386dcf789574f06d341dbd9c3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2418500
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-09-21 15:43:24 +00:00
Jamie Madill 7676ec1224 Remove zlib from export_target exceptions.
Note: contrib/optimizations/slide_hash_neon.h is inside zlib. It is
conditionally included which is why it needs to be in the exceptions.

Bug: chromium:1032721
Change-Id: I1da8bb2b12cfe44fca7ce8a423aa33c5e964f05f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2419043
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-09-21 15:05:04 +00:00
Jamie Madill 6d1bf2b4d7 Give trigger.py executable bit.
Bug: angleproject:3162
Change-Id: I4ebd0ccf397568aeaa62a033155e70024a806965
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2420333
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-09-21 15:04:44 +00:00
angle-autoroll 467c917c25 Roll Vulkan-Headers from f0e102e48197 to 7f9879b1b1fa (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/f0e102e48197..7f9879b1b1fa

2020-09-21 [email protected] Update for Vulkan-Docs 1.2.154

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: Ic66b570914960f1fcfbff89c8bcb5f26ccde539b
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2421329
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-21 11:53:22 +00:00
Mohan Maiya 48588bd181 Vulkan: Add GL_EXT_buffer_storage extension entry points
Addition of just the entry points for GL_EXT_buffer_storage extension.

Bug: angleproject:5056
Change-Id: I7a3d7c151f004f89fd945d5d06dbe7afcd491578
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2419951
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-09-21 00:03:30 +00:00
Tim Van Patten a42a7f0694 Remove setting a default value for use_custom_libcxx
Update the .gn to remove forcing use_custom_libcxx = false. Instead, let
//build/config/c++/c++.gni determine the value, which should better
match Chromium.

In particular, this helps with Abseil integration by supporting Windows
component builds by better matching the contents of the .def files.

Bug: angleproject:4873
Test: CQ
Change-Id: If8c064f16459292bfb95113a4d78e14e8923f86f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2414739
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2020-09-19 00:12:18 +00:00
Jamie Madill bda2205da1 Traces: Move up from tests/perf_tests/ to tests/.
The trace tests aren't strictly for performance. Since we'll be using
them for correctenss testing as well it makes sense to move them out
of the perf_tests/ folder.

Also renames RestrictedTraceTests.md to README.md so it'll load
automatically in gitiles.

Bug: angleproject:4090
Bug: b/168049670
Change-Id: I8be9f1d831489a9abf534d049a93441687850142
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2416913
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-09-18 17:25:52 +00:00
Jamie Madill 5bfca93e1a Fix roll script for CIPD deps.
Was looking at the Chromium path instead of the ANGLE path.

Bug: skia:10572
Change-Id: I7f5dba011a5d446b8f1ef814f89421edfd0f7b95
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2418420
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-09-18 13:50:20 +00:00
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