677 Commits
Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
angle-autoroll 249db6da5a Roll Vulkan-Headers from 2a164e9680a5 to 858b13a1220a (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/2a164e9680a5..858b13a1220a

2020-07-13 [email protected] Update for Vulkan-Docs 1.2.147

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: I63fdb76434d1dc6091c69032687bf28ca098c95c
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2296843
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-14 09:43:18 +00:00
Shahbaz Youssefi 95bfb3e5de Vulkan: Fix resolve draw path
If the draw path is taken for resolve, the internal shader previously
calculated (1+sum(sample.a))/sampleCount instead of
sum(sample.a)/sampleCount.  Additionally, due to a typo, the result was
rounded.

This change also fixes a number of off-by-one errors when calculating
src/dst offsets in blit/resolve path.

Tests are added to resolve from default to FBO and vice versa to
exercise the draw path which was otherwise never invoked for color
buffers.

Bug: angleproject:4746
BUg: angleproject:4092
Change-Id: I4b9c181339b89af44b27d61d27a6b3d88cde2eea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2288224
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
2020-07-14 05:16:05 +00:00
angle-autoroll 5263d5e1ca Roll VK-GL-CTS from 44ef9e08c459 to 8726fda3f865 (8 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/44ef9e08c459..8726fda3f865

2020-07-13 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
2020-07-12 [email protected] Add support for comments in amber index files
2020-07-12 [email protected] Test texelfetch on uniform texel buffer with packed format
2020-07-08 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-07-06 [email protected] Test transitions between command buffer states
2020-07-04 [email protected] Update SPIR-V Tools/Headers and glslang
2020-07-04 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
2020-07-04 [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: I48bc03267af2f66bb3794f31b060d74f4d4e1343
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2294915
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-13 14:20:03 +00:00
Courtney Goeltzenleuchter f61272fbf3 Add support for VK_KHR_sampler_ycbcr_conversion
This adds ability for applications to import Android Hardware Buffers
(AHBs) as OpenGL images which in turn can be sampled from and/or
written.

This was specifically tested with the common use case of importing a
buffer created by an media decoder and using that as a texture source to
include that video content on the screen. Tested with:
- Angry Birds 2 video player (for ads) requires YUV conversion.
- Basic Media Decoder example:
    https://github.com/android/media-samples/tree/master/BasicMediaDecoder

Bug: b/155487768
Change-Id: I9255450f81aa4daa2aace7205d4f6c3f225abcca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2175103
Commit-Queue: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-09 19:05:52 +00:00
angle-autoroll dcd57068be Roll Vulkan-Headers from 8188e3fbbc10 to db06fce926b0 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/8188e3fbbc10..db06fce926b0

2020-07-04 [email protected] Update for Vulkan-Docs 1.2.146

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: I399b1bccafada63ed83d384501747ba63aa80544
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2284423
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-07 08:47:34 +00:00
Shahbaz Youssefi 36a97db1bb Vulkan: Compress internal shaders
Shaves ~200KB in binary size.  The compressed SPIR-V blobs are in most
cases a little smaller than 1/3 of the original size.

The internal shader blobs at this point take ~100KB.

Bug: angleproject:2022
Change-Id: I1a2cec073cb1f330632c8dce7a550a0cca1e373d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2280945
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-07-06 20:57:35 +00:00
angle-autoroll 07193df66c Roll VK-GL-CTS from 2e189d3854db to 44ef9e08c459 (27 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/2e189d3854db..44ef9e08c459

2020-07-04 [email protected] Add tests for VK_EXT_private_data
2020-07-03 [email protected] Uncomment gen_framework.py
2020-07-03 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
2020-07-03 [email protected] Test atomic operations with VK_KHR_buffer_device_address
2020-07-03 [email protected] Tests for global atomic operations
2020-07-03 [email protected] Update VK_EXT_fragment_density_map2 names
2020-07-03 [email protected] Add atomic operation tests for multisample storage images
2020-07-02 [email protected] Add core feature bit checks for Vulkan 1.1
2020-07-02 [email protected] Prevent leaking extra fences
2020-07-02 [email protected] Ensure swizzle identities work with their equivalent mappings
2020-07-02 [email protected] Fix VK_AMD_shader_trinary_minmax feature checks
2020-07-02 [email protected] Add test for writing to an SSBO array
2020-06-26 [email protected] Merge vk-gl-cts/github-master into vk-gl-cts/master
2020-06-26 [email protected] Add missing mandatory features
2020-06-26 [email protected] Remove handwritten array from the driver properties test
2020-06-26 [email protected] Fix framework device properties generated code
2020-06-26 [email protected] Robustness2 features are enabled by default
2020-06-26 [email protected] Move texture parameter checking to checkSupport()
2020-06-26 [email protected] Separate types and cases in random descriptor set tests
2020-06-25 [email protected] Add ModfStruct and FrexpStruct to GLSL precision tests
2020-06-19 [email protected] Add tests for SNORM clamping
2020-06-19 [email protected] Add tests for VK_AMD_texture_gather_bias_lod
2020-06-19 [email protected] Test vkQueueBindSparse with timeline semaphores
2020-06-19 [email protected] Test vertex buffer accesses with stride zero
2020-06-19 [email protected] Test maximum compute work group sizes
2020-06-19 [email protected] Add modfStruct comparison tests
2020-06-19 [email protected] Add tests for VK_EXT_fragment_density_map2

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: I6d13d94fbc5f3931e7ab7a8beb4cca2767085061
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2281477
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-07-04 12:54:28 +00:00