Commit Graph
894 Commits
Author SHA1 Message Date
Gert Wollny f201c9d2bf scripts: Ignore "rapidsjon/..." when checking includes
These include stubs are given in the comments within
rapidjson.h and are preported as error by the presubmission
check.

Bug: angleproject:5765
Change-Id: Ic200a860de7337aefcd3bb0f82686d62a1349d89
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2765648
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Gert Wollny <[email protected]>
2021-03-18 09:17:48 +00:00
Cody Northrop f6eccc203e Tests: Add June's Journey trace
Test: angle_perftests --gtest_filter="*junes_journey*"
TBR: [email protected],[email protected]
Bug: b/182566407
Bug: angleproject:5752
Change-Id: I083507949c9bc16bf701028a678540df9a3531dc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2755840
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-17 21:15:54 +00:00
Yuly Novikov 27e12398b3 Remove usages of obsolete Mac bots
Bug: angleproject:4483
Change-Id: I9d4d94d42ddab26b40e780ad04479ac470af7a52
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2757517
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-03-16 23:11:38 +00:00
John Plate 655867469c add cl entry points loader
Bug: angleproject:5743
Change-Id: I61791f412e8dbc54878cd3791519ad1c4ee33399
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2749595
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: John Plate <[email protected]>
2021-03-16 20:01:28 +00:00
Cody Northrop 225e1952d4 Tests: Add Plants vs. Zombies 2 trace
Test: angle_perftests --gtest_filter="*plants_vs_zombies_2*"
TBR: [email protected],[email protected]
Bug: b/182512556
Bug: angleproject:5749
Change-Id: Ib6c279f49ac95964f34e430d311a49600928166b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2752898
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-12 01:58:24 +00:00
Cody Northrop d98e436a9b Tests: Add Lineage M trace
Test: angle_perftests --gtest_filter="*lineage_m*"
TBR: [email protected],[email protected]
Bug: b/182491024
Bug: angleproject:5748
Change-Id: I901b68eef1ddac98ce6e1a4640e2b034d1027a45
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2752894
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-11 23:23:24 +00:00
John Plate 8507b105a4 Fix CL_EVENT macro
Bug: angleproject:5745
Change-Id: Icbfab0d0bd4b1510b98d5ed746f4d3ddfa5ec36e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2752746
Commit-Queue: John Plate <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-03-11 18:56:47 +00:00
angle-autoroll 2cf0729abd Roll vulkan-deps from 6691fcec0bce to a4e10bfde719 (24 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6691fcec0bce..a4e10bfde719

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/159b057080..a36d91e5ac
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/d57ab68a21..60aa24566e
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/7d514cf1c7..77eb2b608e
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/4fe5828a02..89d366355e
* vulkan-loader: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/237d3dcb5c..1353e80d87
* vulkan-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/461b33cfa2..d1cd265394
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/0ec2c7a693..be60dd27b1

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

To 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]
Change-Id: I65c8200a79763bdcbc0e32d60d7cac0f89ca786b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2752528
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-03-11 11:57:57 +00:00
Ian Elliott 43271b34e4 Revert "Roll vulkan-deps from 6691fcec0bce to 32692e5de307 (12 revisions)"
This reverts commit 2aed567fb3.

Reason for revert: Per https://bugs.chromium.org/p/angleproject/issues/detail?id=5741, the glslang change causes tests to fail with internal-linker errors.

Original change's description:
> Roll vulkan-deps from 6691fcec0bce to 32692e5de307 (12 revisions)
>
> https://chromium.googlesource.com/vulkan-deps.git/+log/6691fcec0bce..32692e5de307
>
> Changed dependencies:
> * glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/159b057080..84e11a858c
> * spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/d57ab68a21..fb1f295aaf
> * spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/7d514cf1c7..c6da5e343c
> * vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/4fe5828a02..89d366355e
> * vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/0ec2c7a693..d1de19fea5
>
> If this roll has caused a breakage, revert this CL and stop the roller
> using the controls here:
> https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
> Please CC [email protected] on the revert to ensure that a human
> is aware of the problem.
>
> To 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]
> Change-Id: I2bf77ebe46a52a285da0e8911a09f3e22067351a
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2745003
> Commit-Queue: angle-autoroll <[email protected]>
> Bot-Commit: angle-autoroll <[email protected]>

Bug: None
Change-Id: I17f29c93e3a778395c02831740684f0e4aeb342f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2746842
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-03-10 21:03:15 +00:00
Shahbaz Youssefi c7c3873150 Vulkan: Move SpirvBlob definition to common/
For use by the translator.

Bug: angleproject:4889
Change-Id: Ie95cafd3cfcdde50acc5d26d3c00e6574186a805
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2737276
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-03-10 07:26:18 +00:00
Shahbaz Youssefi 8844599fba Vulkan: Create unresolve shader directly in SPIR-V
Per issue 4889, dependency to glslang is being dropped.  This change
generates the unresolve UtilsVk shader directly in SPIR-V.

This shader is trivial and contains repeating patterns per attachment.
As a result, generating its SPIR-V is exceptionally simple.  The SPIR-V
in this change is first generated by glslang validator and is then
adapted for autogeneration.

See comments in the code for details.

Bug: angleproject:4889
Change-Id: I48dd77ae04e1035c05a8aef7bf2f161e105ae2a4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2407179
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-03-10 06:30:06 +00:00
Cody Northrop 14152cf4a3 Tests: Add Extreme Car Driving Simulator trace
Test: angle_perftests --gtest_filter="*extreme_car_driving_simulator*"
TBR: [email protected], [email protected]
Bug: b/180419767
Bug: angleproject:5735
Change-Id: I5c197a71354a0cb3b907718b7ae7161037f7266f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2743806
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-09 22:08:09 +00:00
angle-autoroll 2aed567fb3 Roll vulkan-deps from 6691fcec0bce to 32692e5de307 (12 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6691fcec0bce..32692e5de307

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/159b057080..84e11a858c
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/d57ab68a21..fb1f295aaf
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/7d514cf1c7..c6da5e343c
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/4fe5828a02..89d366355e
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/0ec2c7a693..d1de19fea5

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

To 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]
Change-Id: I2bf77ebe46a52a285da0e8911a09f3e22067351a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2745003
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-03-09 11:25:07 +00:00
Alexey Knyazev ffd803945e Metal: Enable iOS pixel formats on macOS 11
Bug: angleproject:2634, angleproject:5672
Change-Id: Idd1cc325067e73b02f4f82b2d78d20420e50645b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2739729
Commit-Queue: Alexey Knyazev <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-03-08 23:52:59 +00:00
angle-autoroll 8b1d1fb667 Roll VK-GL-CTS from a9c07acc33bc to c4e6dbe68e04 (15 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/a9c07acc33bc..c4e6dbe68e04

2021-03-06 [email protected] Ray query hitT direction length tests
2021-03-06 [email protected] Verify submit with wait on timeline semaphore with 0 value
2021-03-06 [email protected] Test timeline semaphore with two threads
2021-03-06 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2021-03-06 [email protected] Support GL 4.5 in the Texture Filtering Tests
2021-03-06 [email protected] Support GL 4.5 in the sRGB skip decode tests
2021-03-06 [email protected] Use SPV_KHR_physical_storage_buffer extension
2021-03-06 [email protected] Fix build indirect structure tests
2021-03-06 [email protected] Fix wrong semaphore type being queried
2021-03-06 [email protected] Fix fragment shading rate validation errors
2021-03-06 [email protected] Fix missing check for supported device features
2021-03-06 [email protected] Allow OOM for maxImageExtent swapchain cases
2021-03-06 [email protected] Decrease required subgroup size
2021-03-06 [email protected] Add needed extension and feature checks in mismatched_write_op test
2021-03-06 [email protected] Fix decoration_group 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: Ic8ad7f69f4592b78a8de798718134c6e7c343e03
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2740749
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-03-06 21:05:53 +00:00
angle-autoroll 9fc51e8204 Roll VK-GL-CTS from 9be79728eafb to a9c07acc33bc (6 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/9be79728eafb..a9c07acc33bc

2021-03-03 [email protected] Remove dubious const-casting in mismatched_write_ops tests
2021-03-03 [email protected] Including testing zw components with fragcoord_msaa tests
2021-03-03 [email protected] Ray tracing hitT direction length tests
2021-03-03 [email protected] Don't forget to enable KHR_fragment_shading_rate
2021-03-03 [email protected] Fix compute binding storage buffer alignment
2021-03-02 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master

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: I75cd592134f980b30f0d1a88c3fa56f604ec9e80
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2740004
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-03-06 01:46:37 +00:00
angle-autoroll a318b3d6b6 Roll VK-GL-CTS from 9cdde06fb38a to 9be79728eafb (18 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/9cdde06fb38a..9be79728eafb

2021-03-02 [email protected] Fix Windows build
2021-03-01 [email protected] Update Vulkan headers
2021-02-25 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2021-02-25 [email protected] Pipeline bind point tests
2021-02-25 [email protected] Add tests for sparseImageFloat32Atomics
2021-02-25 [email protected] Fix more spurious failures in KHR-GL*.transform_feedback.api_errors_test
2021-02-25 [email protected] Fix spurious failures on KHR-GL30.transform_feedback.api_errors_test
2021-02-25 [email protected] Print ints for pixel values instead of chars in error message
2021-02-25 [email protected] Fix exit code for cts-runner
2021-02-25 [email protected] Tests for GLES3 framebuffer completeness
2021-02-25 [email protected] Support GL 4.5 in the Program interface query tests
2021-02-25 [email protected] Silence validation layers warning on missing sType
2021-02-25 [email protected] Allow wildcards in waiver vendor strings
2021-02-25 [email protected] Add a list of unused shaders into log
2021-02-25 [email protected] Add concurrent transform feedback streams query tests
2021-02-24 [email protected] Remove a waiver for a non-existant device
2021-02-23 [email protected] Add tests for implicit unmap on free
2021-02-23 [email protected] Merge vk-gl-cts/github-master into vk-gl-cts/master

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],[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: angleproject:5684, angleproject:5722
Tbr: [email protected],[email protected],[email protected]
Change-Id: Ibd432a2135665ed89f93549e24923c108a08f97b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2739041
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-03-06 00:25:26 +00:00
Alexey Knyazev 32bf7d4190 Fix Apple GPU detection for M1
Renamed supportsIOSGPUFamily to supportsAppleGPUFamily
to match official naming.

Bug: angleproject:5672
Change-Id: Ic02c0f01bc30c12cef594cc2eb4f9932c22c1e33
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2739459
Reviewed-by: Le Hoang Quyen <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-03-05 18:27:55 +00:00
Alexey Knyazev 54294c9a43 Partially upgrade codegen to Python 3
Bug: angleproject:5707
Change-Id: I4e26c2c7ba4a36185b28ecd6e87be1161b60431a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2729567
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-03-04 16:47:52 +00:00
Yuly Novikov 8b55a3e5bb Replace Win x64 dEQP GPU.FYI bots with chromium.angle bots
Bug: angleproject:4483
Change-Id: I6b09f2c97e07eca90c71211e23ddd931637e7dda
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2733270
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-03-04 16:27:11 +00:00
Shahbaz Youssefi 0224e8480f Vulkan: Fix overlay graph widgets
Bug: angleproject:5690
Change-Id: I9a63fd91c7403f8bf1ee6ef25fc636aecfbe6ea0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2732533
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-03-04 11:37:14 +00:00
Shahbaz Youssefi 49211c31dc Vulkan: Fix Overlay for prerotation
Bug: angleproject:5690
Change-Id: I906a259767c54e3ac9f3ac822b6d5ed5dcaa0bd5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2725768
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
2021-03-04 09:52:02 +00:00
Shahbaz Youssefi 90db604919 Vulkan: Workaround Overlay draw issue on Android
On Android vector[n] translates to vector[0] likely due to a driver bug.
This resulted in text such as:

    12345678abcdefghijklmnopqrstuvwx

to render as:

    1234123412341234ijklijklijklijkl

It also made graph data flicker.  As a workaround, the shader now does
an if-else on the value of n and uses a constant to load the appropriate
component of the vector.

Bug: angleproject:5690
Change-Id: Idb891e726fafa896a1064ef7b2941b8fd1c41ed1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2725769
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-03-03 22:43:51 +00:00
Cody Northrop 71c7e346a9 Tests: Add Rope Hero: Vice Town trace
Test: angle_perftests --gtest_filter="*rope_hero_vice_town*"
TBR: [email protected],[email protected]
Bug: b/181727986
Bug: angleproject:5711
Change-Id: I11021ae91f968bd453b98a35c60cab90d71e5ed6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2731288
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-03 21:25:41 +00:00
Shahbaz Youssefi 07025aa347 Overlay: Widget for vk::DynamicBuffer allocations
Bug: angleproject:5690
Change-Id: Idfa591903627bbebffe306b387e95cbec1195338
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2725767
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-03-03 17:42:15 +00:00
Cody Northrop fbbd143bd9 Tests: Add Talking Tom Hero Dash trace
Test: angle_perftests --gtest_filter="*talking_tom_hero_dash*"
TBR: [email protected],[email protected]
Bug: b/181415750
Bug: angleproject:5614
Change-Id: I6110f5e3e6bbc60706c448ad3643de73b3c2eca2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2726134
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-03 14:59:30 +00:00
Cody Northrop 1de8b5a697 Tests: Add Car Parking Multiplayer trace
Test: angle_perftests --gtest_filter="*car_parking_multiplayer*"
TBR: [email protected],[email protected]
Bug: b/181696940
Bug: angleproject:5710
Change-Id: I50366e0bb993c1f19906aa5d96f47a00247a24f6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2729605
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-02 23:46:36 +00:00
Yuly Novikov 95b086b44c Pull buildtools DEPS directly instead of via recursedeps
libc++abi will be required after http://crrev.com/c/2729355
Switching others preemptively

Bug: chromium:1177288
Change-Id: I4d6dd8415b63de21bef8c750b9cf5c7cf23c9022
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2727647
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-03-02 23:25:46 +00:00
Cody Northrop 210a464e2f Test: Add Standoff 2 trace
Test: angle_perftests --gtest_filter="*standoff_2*"
TBR: [email protected],[email protected]
Bug: b/181681788
Bug: angleproject:5708
Change-Id: I36314d1addc880cc4fb0dc321cda4ba3eabab000
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2728662
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-02 21:42:56 +00:00
Cody Northrop 87b1875ca7 Tests: Add Among Us trace
Test: angle_perftests --gtest_filter="*among_us*"
TBR: [email protected],[email protected]
Bug: b/181616715
Bug: angleproject:5698
Change-Id: If52ee0e989c6b4a3c21b4a2bc0b77dbbea2a3d6d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2728564
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-03-02 15:23:51 +00:00
Cody Northrop 3e017cfe1e Tests: Use context version from trace
Test: Capture and replay ES 3.2 apps
Bug: angleproject:5652
Change-Id: Ib46250acd8a50390f0cbd40853623cdf31bd0203
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2698392
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-03-02 00:26:09 +00:00
angle-autoroll 264eab218e Roll vulkan-deps from 3ca55e802f5b to 64e40ae7572f (14 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/3ca55e802f5b..64e40ae7572f

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/51d672b8a8..42ddfbd3d5
* spirv-cross: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git/+log/621884d709..d57ab68a21
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/ef3290bbea..0bd920eb9d
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/1d99b835ec..c428484bc8
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/4fdcd0eebf..bbe724bcf1

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC [email protected],[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: I368f58c35d7407301ec33dda1360549c618dcb73
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2727870
Commit-Queue: angle-autoroll <[email protected]>
Bot-Commit: angle-autoroll <[email protected]>
2021-03-01 23:15:39 +00:00
Shahbaz Youssefi da4aa8b866 Vulkan: Move SPIR-V validation function to common/
For future use by the translator.

Bug: angleproject:4889
Change-Id: I051ad48e6edb58ce3055c5fd276c18a6e29a66ac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2717020
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-02-26 22:51:01 +00:00
Lubosz Sarnecki 33907625db gl_angle_ext: Add param groups to glGetTexLevelParameterivANGLE.
As seen in glGetTexLevelParameteriv from gl.xml.

Bug: angleproject:5645
Change-Id: I1d8445f2178632b0edb0652e63984b31a1e34c48
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2718043
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-02-26 16:16:09 +00:00
Lubosz Sarnecki d24398b3e3 gl.xml: Annotate glDiscardFramebufferEXT with param groups.
Remove tests from expectations list, as it now passes on SwiftShader for
ES2 and ES3.

Bug: angleproject:4401
Change-Id: If05b16e40632154a0ba2c22f1c3bf29e12113389
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2720259
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2021-02-26 00:16:15 +00:00
Shahbaz Youssefi 77637f2dd2 Vulkan: Generate xfb support code in SPIR-V for emulation path
This change moves the code generation at link time from source code to
SPIR-V.  As a result, transform feedback extension and emulation paths
are more similarly handled before SPIR-V transformation (they both store
information identically in the ShaderInterfaceVariableInfoMap).

This change gets rid of the @@ XFB-OUT @@ marker.  With no source code
generation at link time, shader compilation can be moved to
glCompileShader time.

Bug: angleproject:4888
Change-Id: I8cdb89c22b57ce48cf5d226b8e41622d9d550d46
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2713269
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-02-25 22:37:09 +00:00
Lubosz Sarnecki 46a955f869 gen_vk_internal_shaders: Don't include full path on Python 3.4+.
Since Python 3.4 `__file__` represents an absolute file path:
https://docs.python.org/3.4/whatsnew/3.4.html#other-language-changes

We only want the basename in the generated scripts.

Bug: angleproject:5516
Change-Id: Ia4009419ef627aa1ce12f9a944539c054edc3a6b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2720260
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-02-25 18:45:15 +00:00
Mohan Maiya 550f2a3e83 Vulkan: Shader support for EXT_shader_framebuffer_fetch_non_coherent
Translator can accept gl_LastFragData and 'inout' variable to gain
access to framebuffer attachment data. The Vulkan translator replaces
it with the SubpassInput type variable. Note that this works only for
the noncoherent version of the extension.

Bug: angleproject:5454
Test: *EXTShaderFramebufferFetchNoncoherent*.*
Change-Id: I392f84ee3ad3eb9fbd09d0b7ff83731a9a3f33f6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2598060
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2021-02-24 21:44:25 +00:00
Jamie Madill 6623a70f3d Stubs for OpenCL entry points.
Bug: angleproject:5653
Change-Id: I7ec9692a47be2556fef5bdd7630b422cc2d369b9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2708343
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2021-02-24 15:38:53 +00:00
Lubosz Sarnecki 37752956fd Generators: Use fixed year in license headers.
Remove dynamic year generation from generator scripts, as required by
the Chromium C++ style guide.
The dynamic year values were replaced by the current year at the time
the file was created according to git log. The code to dynamically
generate the year was removed.
This patch also refreshes generated files and hashes.

Bug: angleproject:5516
Change-Id: I735028bccb5c83217e92c380538f1abf0a906b2c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2690950
Commit-Queue: Lubosz Sarnecki <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-02-23 17:17:12 +00:00
Jamie Madill 7b7e5cadca Clean up entry point generation script.
The main refactor from this change is to replace statements like this:

  decls, defs, export_defs, _, _, _, _ = get_entry_points(
    apis.EGL, eglxml.all_commands, egl_version_commands, False,
    egl_param_types, cmd_packed_egl_enums, EGL_PACKED_TYPES,
    egl_ep_to_object, TEMPLATE_EGL_ENTRY_POINT_EXPORT)

With statements like this:

  eps = EGLEntryPoints(eglxml, egl_version_commands)

This will make the script easier to maintain and extend.

Bug: angleproject:5653
Change-Id: Ibd0930d45b8629702b7782f43a2d7ebfa4dac9b8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2705156
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-02-23 16:57:46 +00:00
Shahbaz Youssefi 1a70e5a045 Add const to optional parameters of SPIR-V instruction builders
Bug: angleproject:4888
Change-Id: I70274042794a7d56db48490d9e3930e1eace02bf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2713267
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-02-22 23:15:42 +00:00
Jamie Madill 6af603e1e0 Vulkan: Secondary sort shader enums by name.
This preserves the primary sort by bits. If bits are equal we then
sort by name to produce a more stable sort.

Bug: angleproject:5653
Change-Id: I4cdbc21094fcbd1bb7ad17e124074949bdbf0439
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2704825
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-02-19 19:47:44 +00:00
Cody Northrop 4b608a6ca2 Tests: Add Messenger Lite trace
Test: angle_perftests --gtest_filter="*messenger_lite*"
Bug: b/180562361
Bug: angleproject:5659
Bug: angleproject:5663
Change-Id: I9938b925962ea13fd626f2b82676655d07d78c0d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2703733
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-19 17:36:57 +00:00
Cody Northrop 9d83517b7d Tests: Add AliExpress trace
Test: angle_perftests --gtest_filter="*aliexpress*"
TBR: [email protected],[email protected]
Bug: b/180565449
Bug: angleproject:5660
Change-Id: I61ac0e7dbfbe6fd23c71b63fa6f8c00b20a94006
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2703735
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-19 04:18:31 +00:00
Jamie Madill 7e990ef4bb Clean ups to generate_entry_points.
Switches to Python 3 support. Made a change to run_code_generation to
support this. Affects several generators. Also updates the generator
to make a few other small cleanups.

Bug: angleproject:5653
Change-Id: I045173c9ca85947c4eac22285701032c09f4c8d0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2699187
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-02-18 00:47:44 +00:00
Cody Northrop 0fa6c307ac Enable ES 3.2 in ANGLE's loader
Test: Capture and replay ES 3.2 apps
Bug: angleproject:5652
Change-Id: I2dac84d3cf6534ee1b10889ba1312ae247ae8f62
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2698391
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-17 15:43:56 +00:00
angle-autoroll b8135daed2 Roll VK-GL-CTS from d8a8a5c337df to eab348e95425 (17 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/d8a8a5c337df..eab348e95425

2021-02-16 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2021-02-16 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2021-02-15 [email protected] Add VK_KHR_workgroup_memory_explicit_layout OpCopyMemory tests
2021-02-15 [email protected] Add VK_KHR_workgroup_memory_explicit_layout maximum size tests
2021-02-15 [email protected] Add VK_KHR_workgroup_memory_explicit_layout padding tests
2021-02-15 [email protected] Add VK_KHR_workgroup_memory_explicit_layout zeroing aliased block tests
2021-02-15 [email protected] Add VK_KHR_workgroup_memory_explicit_layout type aliasing tests
2021-02-15 [email protected] Add new ShaderBuildOption to enable Workgroup scalar offsets
2021-02-12 [email protected] Ensure there is a committed ray intersection before calling rayQueryGetIntersectionInstanceIdEXT(..., true)
2021-02-12 [email protected] Tests for image OpImageWrite on mismatched vector sizes
2021-02-12 [email protected] Mix dynamic state with compute and transfer
2021-02-12 [email protected] Test not writing to the Position built-in
2021-02-12 [email protected] Add coverage for depth bias
2021-02-10 [email protected] Test FragCoord with per-sample input variable
2021-02-10 [email protected] Add new samplerless descriptor tests
2021-02-10 [email protected] Add a batch of GraphicsFuzz tests
2021-02-09 [email protected] Rename all *KHR enums and structs to core

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: I44151987348fc72847f32f7024831635139715b8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2697312
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2021-02-16 17:19:38 +00:00
angle-autoroll ef6b31edd4 Roll vulkan-deps from c409714366e9 to 418fd62b5c0f (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c409714366e9..418fd62b5c0f

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

To 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

Changed dependencies:
* glslang: https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git/+log/4afd691772..6ab923c69d
* spirv-tools: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/cfa1dadb1e..c79edd260c
* vulkan-headers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/ec2db85225..1d99b835ec
* vulkan-validation-layers: https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/01c9ae9b47..c62432713f

Bug: None
Tbr: [email protected]
Change-Id: I0b9179d9c7031886cb1aeca30573ba27cd396f38
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2695289
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2021-02-15 11:31:15 +00:00
Jamie Madill 6fc103896f Move Frame Capture to capture/ folder.
This will make it easier to trigger the trace tests when these files
are modified.

Bug: angleproject:5530
Change-Id: I5f0c450595b380cd91b20c1477dc1845bee35dd9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2686120
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2021-02-10 21:34:36 +00:00