Commit Graph
839 Commits
Author SHA1 Message Date
Cody Northrop 0bb520adff Tests: Add Romancing Saga trace
Test: angle_perftests --gtest_filter="*romancing_saga*"
TBR: [email protected],[email protected]
Bug: angleproject:5622
Change-Id: I9f35fd0e0b9897e77f8d56547c2c134638b8b685
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2679323
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 23:46:22 +00:00
Cody Northrop d3c00f959f Tests: Add Rise of Kingdoms trace
Test: angle_perftests --gtest_filter="*rise_of_kingdoms*"
TBR: [email protected],[email protected]
Bug: angleproject:5621
Change-Id: I148d7ae0c23e0ce8ecf75d12affb4c8dfdc04e1d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2679221
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 21:10:01 +00:00
Cody Northrop 3bb5f1ff26 Tests: Add Clash Royale trace
Test: angle_perftests --gtest_filter="*clash_royale*"
TBR: [email protected],[email protected]
Bug: angleproject:5620
Change-Id: I13eb10dc84deffa31f0e7fd1f0382e87bf69e46e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2677621
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 15:58:56 +00:00
Cody Northrop cf9ca55fd9 Tests: Add Happy Color trace
Test: angle_perftests --gtest_filter="*happy_color*"
TBR: [email protected],[email protected]
Bug: angleproject:5619
Change-Id: I199c066c18412701b710eab66689107b07ec51f8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2677219
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 06:34:34 +00:00
Cody Northrop ac8d780739 Tests: Add Sniper 3D trace
Test: angle_perftest --gtest_filter="*sniper_3d*"
TBR: [email protected],[email protected]
Bug: angleproject:5618
Change-Id: Ie190dea3d5f233fb7f7ed2b10aaab939da4b374e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2676790
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 05:48:04 +00:00
Cody Northrop 95143f11e1 Tests: Add Coin Master trace
TBR: [email protected],[email protected]
Test: angle_perftest --gtest_filter="*coin_master*"
Bug: angleproject:5617
Change-Id: Ief6b9cdb4bc3b52f4085ba08dc32e62db1f8db8b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2676789
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 04:36:04 +00:00
Cody Northrop af70ceac99 Tests: Add Fallout Shelter Online trace
The trace includes calls to glDrawElements with zero count, but
since that causes erros on QCOM, we have commented them out.

To see them, grep for the following:
  glDrawElements(GL_TRIANGLES, 0,

Test: angle_perftests --gtest_filter="*fallout_shelter_online*"
Bug: angleproject:5615
Change-Id: I7e6a7d99f614884104df7d87dab082bef6d179e9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2676208
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-05 02:33:14 +00:00
Cody Northrop 4e8a848d64 Tests: Add Shadow Fight 2 trace
TBR: [email protected],[email protected]
Test: angle_perftests --gtest_filter="*shadow_fight_2*"
Bug: angleproject:5610
Change-Id: I80c6c44e19d77124096ed5970f99fbb6157bf03b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2674482
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-04 06:03:28 +00:00
Cody Northrop fff0a72e25 Tests: Add Hay Day trace
TBR: [email protected],[email protected]
Test: angle_perftests --gtest_filters="*hay_day*"
Bug: angleproject:5608
Change-Id: Ib0e259f193ed08ac80f1ae7b1a738c62a235d572
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2673070
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-04 04:07:28 +00:00
Cody Northrop 63e7ab8d63 Tests: Add One Punch Man trace
Full app name is: ONE PUNCH MAN: The Strongest (Authorized)

Test: angle_perftests --gtest_filter="*one_punch_man*"
Bug: angleproject:5607
Change-Id: Ib887fb06e53238e56ff5b3e2d45e5d37522a87e2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2673881
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-02-04 02:54:36 +00:00
Cody Northrop 2dfb3fcd05 Tests: Add 8 Ball Pool trace
Test: angle_perftests --gtest_filter="*eight_ball_pool*"
Bug: angleproject:5606
Change-Id: Ied7392ecb5148280e1b4cee65c7c63a0baee24fe
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2673064
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-02-04 02:05:16 +00:00
Jamie Madill 2c685a4104 Fix the perf test runner calibration.
This path was broken for the white box unit tests. Also adds argparse
handling to the runner so we can more flexibly override command line
arguments.

Previously the broken calibration was causing some of the tests to run
only a single test iteration when measuring. This could lead to low
quality measurements.

Bug: angleproject:5573
Change-Id: Ic1cb2b2553774a361325f290440c40b2ff90db5e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2672702
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Mohan Maiya <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-02-03 22:44:53 +00:00
Cody Northrop ffb36559eb Tests: Add Temple Run 2 trace
TBR: [email protected],[email protected]
Test: angle_perftests --gtest_filter="*temple_run_2*"
Bug: angleproject:5605
Change-Id: I4b60b5f258e57dda44df9186c981764d4633a277
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2673063
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-03 21:54:19 +00:00
Cody Northrop ad985fcdd8 Tests: Add Minecraft trace
Test: angle_perftests --gtest_filter="*minecraft*"
Bug: angleproject:5603
Change-Id: I8befbbb49762a14beea1863f4bb76e676cde0d8d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2669959
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-02-03 17:00:12 +00:00
Cody Northrop 4e1aa85e83 Tests: Add RAID: Shadow Legends trace
Test: angle_perftests --gtest_filter="*raid_shadow_legends*"
Bug: angleproject:5602
Change-Id: I4df06d09db57bb3d6ab0dcaf86e84f418c248a0b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2668066
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-03 15:09:52 +00:00
Jamie Madill 926d1cea1a testing: Add dEQP test merge script.
This script will allow ANGLE to process custom logic when we complete
a suite  of dEQP tests on the bots. The first customization step we
can do is merge the myriad batch QPA files into one master QPA file.

This script is currently a no-op and will let us set up the merge step
so we can test the logic pre-commit.

Bug: angleproject:5236
Change-Id: I38d0e359ff7fc6f6f91b5193387c13ff0fc77aa6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2664247
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-02-02 18:31:35 +00:00
Cody Northrop 43e39e1e8e Tests: Add Manhattan 3.1 trace
Note: This trace is longer than most at 100 frames.
This is to help get more accurate data on how transform
feedback is behaving. It also allows us the opportunity
to trim to smaller sections if we wish, and get more
reliable results on unstable systems.

Test: angle_perftests --gtest_filter="*manhattan_31*"
Bug: angleproject:5589
Bug: angleproject:5591
Change-Id: I76db8a56832d04ea4d335bd81ff98ba1679add5f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2659850
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-02-02 06:12:00 +00:00
Tim Van Patten 0d175f30a8 Tests: Add eFootball PES 2021 trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*efootball_pes_2021*
Bug: angleproject:5564
Bug: angleproject:5517
Change-Id: I9738876b6a6c365984cecce01f2f09e0260b41cc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2656989
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-02-01 19:01:45 +00:00
Jamie Madill 85efb9d50a Log dEQP QPA files as test artifacts.
This adds artifact output to the test runner. We add a fake test
at the start of a test run that owns the artifacts.

Bug: angleproject:5236
Change-Id: Ice8001bf1f2aafbd8123fee76e0e7fcc3e5a8a0c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2657535
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Mohan Maiya <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-02-01 18:13:55 +00:00
Peng Huang 122a1cc583 Fix several vulkan backend problem on Android.
* Load AHardwarebuffer API dynamically, so vulkan backend can be
  built with old NDK, but can work with newer android releases.
* Do not link with libvulkan on android.
* Expose EGL_ANDROID_get_native_client_buffer extension with vulkan
  backend.

Bug: chromium:1170339
Change-Id: Idf7f6867a86ae40ba6d57a86e419c610ba404ba8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2653506
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Peng Huang <[email protected]>
2021-01-28 18:57:48 +00:00
Shahbaz Youssefi 5e0a8f9b82 Translator: Enable geometry and tessellation in ES3.2
Symbols that these extensions introduced were only accepted if the
extension directive was present.  This is not necessary for es 320
shaders.  This change adds a new tag to builtin variable and function
declarations in the translator, namely "essl_extension_becomes_core_in"
which makes gen_builtin_symbols.py automatically create two entries for
the builtin; one with the specified level and extension, one with the
core level and without extension.  Entries in
builtin_function_declarations.txt can potentially be deduplicated as a
follow up to take advantage of this tag, though likely an anologous
"glsl_extension_becomes_core_in" needs to be introduced.

Bug: angleproject:5557
Bug: angleproject:5579
Change-Id: I84c19f48a3ccc89d82d80a4f35f7833205bbc88f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2649449
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-01-28 12:20:08 +00:00
Tim Van Patten 351e6e8c7b Add 'UniformBlockIndex' struct
Add the new structure 'UniformBlockIndex'. This is in preparation for
capturing glUniformBlockBinding() calls, which requires the (new)
corresponding ParamType::TUniformBlockIndex.

Bug: angleproject:5564
Change-Id: I88613dd96d058659dd253e8088fab49670c32316
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2651287
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2021-01-28 01:15:47 +00:00
Shahbaz Youssefi 6689a54d8a Vulkan: autogen for SPIR-V instruction build and parse
Handwritten SPIR-V instruction parse and build code is replaced with
autogenerated functions based on the SPIR-V grammar.

Bug: angleproject:4889
Change-Id: I09d724fd944e79c03fe4eadca3ee3e3ef0b49872
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2644721
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-01-25 19:04:21 +00:00
angle-autoroll d026fd35be Roll vulkan-deps from a0047c0f6ec8 to dbc46e43978b (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a0047c0f6ec8..dbc46e43978b

2021-01-25 [email protected] Roll Vulkan-Headers from 684390cedbff to 9166a0677e44 (1 revision)
2021-01-22 [email protected] Roll Vulkan-ValidationLayers from fd06d42afd9a to 1186f95a2f7b (2 revisions)
2021-01-22 [email protected] Roll Vulkan-ValidationLayers from ab73ad637606 to fd06d42afd9a (1 revision)
2021-01-22 [email protected] Roll SPIRV-Cross from 9acb9ec31f5a to 84a41cd4883d (1 revision)
2021-01-22 [email protected] Roll SPIRV-Tools from f37547c73a98 to 968659aee8af (1 revision)

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: I6b69186a6d46beac39d06508fef3fcf70b020fba
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2646556
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2021-01-25 12:02:20 +00:00
Cody Northrop 3c3b82abcf Tests: Add Hearthstone trace
Test: angle_perftests --gtest_filter="*hearthstone*"
Bug: angleproject:5571
Change-Id: Idc6535bbf817cd62d34aa9e684604be068455520
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2644143
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-01-22 18:17:24 +00:00
Cody Northrop 70f493d6e6 Tests: Add Subway Surfers trace
Note this differs from the previous trace for the app,
"subway_surfer_500". The previous trace is no longer
compatible with the replay harness and could not be
re-recorded due to using Vulkan at the time.

Test: angle_perftests --gtest_filter="*subway_surfers*"
Bug: angleproject:5569
Change-Id: If941a3f0e88e3e1aee7fb7db736e623f66a65de6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2641098
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-01-21 18:27:00 +00:00
angle-autoroll bd8ca05180 Roll vulkan-deps from dd50a3bce3ca to 3180f85f9bcd (11 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/dd50a3bce3ca..3180f85f9bcd

2021-01-19 [email protected] Roll SPIRV-Tools from e25db023c47a to 56f8ed48efd5 (1 revision)
2021-01-19 [email protected] Roll Vulkan-ValidationLayers from c7ffe6890160 to ab73ad637606 (2 revisions)
2021-01-19 [email protected] Roll Vulkan-ValidationLayers from efecc309816c to c7ffe6890160 (2 revisions)
2021-01-19 [email protected] Roll Vulkan-ValidationLayers from fb6e414f76dc to efecc309816c (1 revision)
2021-01-19 [email protected] Roll Vulkan-ValidationLayers from 03e41cc0c2a8 to fb6e414f76dc (2 revisions)
2021-01-19 [email protected] Roll Vulkan-ValidationLayers from 6886c4b57f10 to 03e41cc0c2a8 (3 revisions)
2021-01-19 [email protected] Roll Vulkan-ValidationLayers from 10651a9c0bc2 to 6886c4b57f10 (1 revision)
2021-01-19 [email protected] Roll glslang from 5b7d68ca6b3f to 9b4e82efb482 (1 revision)
2021-01-19 [email protected] Roll glslang from 3de5cfe50ede to 5b7d68ca6b3f (1 revision)
2021-01-19 [email protected] Roll Vulkan-Headers from 9efc4a631161 to 684390cedbff (1 revision)
2021-01-19 [email protected] Roll SPIRV-Tools from 8383bd5d6f26 to e25db023c47a (1 revision)

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: Ic79a5b12d8132a7f322c507150d3a7aa62ca0d66
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2639815
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2021-01-20 15:34:35 +00:00
Tim Van Patten 08e385b48d Tests: Add Klondike Adventures trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*klondike_adventures*
Bug: angleproject:5548
Change-Id: I1bab7696f3db6cb3b3be9d1f3e241891586a9cc8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2634204
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-20 01:09:46 +00:00
Trevor David Black 192a0147c3 Multithreading in D3D11 minimum viable product
Bug: b/168046573
Change-Id: I676a148333cbf5e9ca508768503e62cb14d8eeb0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2629618
Commit-Queue: Doug Horn <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Trevor David Black <[email protected]>
2021-01-20 00:16:46 +00:00
Cody Northrop dd6ac664c6 Tests: Add Asphalt 8 trace
Test: angle_perftests --gtest_filter="*asphalt_8*"
Bug: b/150484427
Change-Id: I6a5f1feec61466eae55c1a2464272aba797ed56c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2636602
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-01-19 19:41:40 +00:00
Jamie Madill e670fc72a5 Implement shader compiler changes for Tessellation.
Numerous rule changes to support validating Tessellation Control and
Evaluation shaders. New per-patch inputs and output variable support.
Includes a new traverser step that validates barrier function calls.

Functionality changes upcoming in http://crrev.com/c/2568234

Bug: angleproject:3572
Change-Id: If8da1c21d30efa12c60ed0d6c3f8cf0b27e4c86f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2633936
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Mohan Maiya <[email protected]>
2021-01-19 17:15:46 +00:00
Geoff Lang b5424bb4a2 Generate internal gl entry point functions as C functions.
Some internal GL functions are exported to our libGLESv1_CM library
and to properly export them, they must be C functions.

Bug: angleproject:5534
Change-Id: I37280312f73fd5e55166e4fa36659267d657a50b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2628139
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2021-01-18 22:19:25 +00:00
Tim Van Patten ff170c6f50 Tests: Add Real Gangster Crime trace
Note: Hand edits required to capture this trace:

CaptureMidExecutionSetup():
    // Check for supported textures
    ASSERT(index.getType() == gl::TextureType::_2D ||
           index.getType() == gl::TextureType::_3D ||
           index.getType() == gl::TextureType::_2DArray ||
           index.getType() == gl::TextureType::CubeMap ||
           index.getType() == gl::TextureType::External);  <<--- add

Test: angle_perftests --gtest_filter=TracePerfTest.Run/*real_gangster_crime*
Bug: angleproject:5550
Change-Id: I32391cc8de0b4307334bb873af4f3c5899b584f2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2626357
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-16 00:51:37 +00:00
Tim Van Patten 861378be3a Tests: Add Magic Tile 3 trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*magic_tiles_3*
Bug: angleproject:5540
Change-Id: I6d6f144d4c2a38cfc55724f7e454f756a162d054
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2622611
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-14 22:49:21 +00:00
Jason Macnak d392af02b7 Update roll AOSP scripts to reflect vulkan-deps subdirectory
Performing a roll with this changes produces
https://android-review.googlesource.com/c/1548235

Bug: b/147316305
Bug: angleproject:5456
Test: scripts/roll_aosp.sh && m ANGLE
Change-Id: I0f5a698e81a1299abde7cfccb4e1467c8dc02aad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2625168
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-01-14 16:41:38 +00:00
Junji Watanabe f7801a3be1 Use CAS in scripts/trigger.py
Isolate server is being migrated to CAS.
This CL changes trigger.py to use CAS instead of Isolate server.

Bug: chromium:1163817
Change-Id: I137cd656798c08bf991cb77da36780b87193f821
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2626931
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-01-13 16:24:13 +00:00
Jamie Madill 2e9161e4ff Vulkan: Add YUV G8_B8_R8_3PLANE_420_UNORM format.
Bug: angleproject:5438
Change-Id: I525a51256a5ee83fa69c8705aa90790fb32a6602
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2623813
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-01-12 21:06:26 +00:00
Jamie Madill fb4eea2ebb Vulkan: Index mandatory support table by ANGLE format.
This removes another instance of indexing a flat array by VkFormat.
With the introduction of YUV formats we no longer have a compact
table. Switching to ANGLE format indexing allows us to keep a flat
array and avoid using an unordered map.

Bug: angleproject:5438
Change-Id: I96caa19e3b7ce419ce09680399919447f002b0bd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2622238
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-01-12 19:25:26 +00:00
Jason Macnak 2c65da28a2 Default roll_aosp.sh to copy artifacts to vendor partition
... to support using ANGLE as a native GL driver.

Note: this will not affect devices installing the APK with
`PRODUCT_PACKAGES += ANGLE` and will *not* also install the
libs to vendor.

Bug: b/147316305
Bug: angleproject:5456
Test: ./scripts/roll_aosp.sh and build in AOSP
Change-Id: I98cab8d0735a4f66293ac063e0eef2ae7ddbee7b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618529
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-01-12 00:53:01 +00:00
Jamie Madill 2e9706d80d Vulkan: Use angle::FormatID instead of VkFormat.
This change switches the internal enums we pass around from VkFormat
to FormatID. The end goal of the refactor is to allow the Vulkan
back-end to store packed tables indexed by FormatID. Because VkFormat
has large gaps in its enum space we'd otherwise need to use unordered
data structures like unordered_map.

The change removes the redundant VkFormat storage from vk::Format and
uses a new table query to return the VkFormat that 1:1 matches an
angle::FormatID. We also include a reverse mapping for use with native
Vulkan get functions for Android.

Also moves sRGB conversion functions into renderer_utils. A couple
sRGB formats that don't exist in GL are no longer handled by the sRGB
conversion functions. These formats should be extremely rare.

Bug: angleproject:5438
Change-Id: Id8b49773ca0c556f9f5a6a10fcf0d9762b93bbea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618204
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
2021-01-12 00:18:01 +00:00
Tim Van Patten 6e909d9407 Tests: Add Saint Seiya Awakening: Knights of the Zodiac trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*saint_seiya_awakening*
Bug: angleproject:4048
Change-Id: Idf187b9c9298d184f1e0dd13f8a9aa0de7c2beb8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2612523
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-09 03:01:13 +00:00
Tim Van Patten 767af74ec9 Tests: Add World War Doh trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*world_war_doh*
Bug: angleproject:4048
Change-Id: I047ed1ccd06cd3707065fe8afed3ad7af5cd7dcc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606645
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-08 22:52:05 +00:00
Mohan Maiya 68f35f242a Vulkan: Add GL_EXT_clip_control entry points
Addition of the entry points for GL_EXT_clip_control extension.

Bug: angleproject:5471
Change-Id: If17ba0120bdb226cc5728bfea83e9085260eba19
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2615862
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2021-01-08 17:55:59 +00:00
Peng Huang acdb63b89d Remove the checking before accessing to function pointers
Bug: angleproject:5490
Bug: chromium:1161513
Change-Id: I96c5c463a9fd5a337d09f6cefe7836ff52bea90f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2601071
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Peng Huang <[email protected]>
2021-01-07 18:29:03 +00:00
Tim Van Patten 56479b065c Tests: Add FIFA Mobile trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*fifa_mobile*
Bug: angleproject:4048
Change-Id: I5cc731ada3ddd9adcb247d7c6f8cf5d823bdc2a3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2600098
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-01-06 20:19:59 +00:00
Jonah Ryan-Davis 956a358d18 GL: Add function pointers for EXT/NV_framebuffer_blit
Allow the GL backend to call BlitFramebuffer through these
extensions.

Bug: angleproject:5474
Change-Id: Ic19b0535056c3e2b098dedc60e2eb8da5f862433
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2602702
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-06 20:14:49 +00:00
Jamie Madill dc2cf6fc37 Roll third_party/vulkan-deps/ b08eace32..cbab63796 (17 commits; 1 trivial rolls)
https://chromium.googlesource.com/vulkan-deps/+log/b08eace32e9c..cbab637962d0

$ git log b08eace32..cbab63796 --date=short --no-merges --format='%ad %ae %s'
2021-01-06 chromium-autoroll Roll SPIRV-Tools from d630e5f8c10c to 37c03859de9e (1 revision)
2021-01-06 chromium-autoroll Roll Vulkan-ValidationLayers from 2468aa9630c2 to 98382948dfea (1 revision)
2021-01-06 chromium-autoroll Roll SPIRV-Tools from 1bb80d2778a3 to d630e5f8c10c (1 revision)
2021-01-06 chromium-autoroll Roll glslang from 9325cc013e3d to f77085c307fc (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-ValidationLayers from 57255a663ed9 to 2468aa9630c2 (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-Loader from 1f0c7868a438 to 9ba835885ffe (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-ValidationLayers from 56a96658b750 to 57255a663ed9 (3 revisions)
2021-01-05 chromium-autoroll Roll Vulkan-Loader from 294480cb7f3e to 1f0c7868a438 (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-Tools from 7554321b88ae to 4cc0932495ec (2 revisions)
2021-01-05 chromium-autoroll Roll Vulkan-Loader from 66a23ac8c566 to 294480cb7f3e (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-Headers from 85470b32ad5d to 9efc4a631161 (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-ValidationLayers from aa076dae88e2 to 56a96658b750 (25 revisions)
2021-01-05 chromium-autoroll Roll glslang from f426f652299d to 9325cc013e3d (1 revision)
2021-01-05 chromium-autoroll Roll SPIRV-Cross from e50f7d1ce8e1 to 7b7a21c4058c (3 revisions)
2021-01-05 chromium-autoroll Roll SPIRV-Tools from 17ffa89097b2 to 1bb80d2778a3 (1 revision)
2020-12-21 jmadill Rolling 8 dependencies

Created with:
  roll-dep third_party/vulkan-deps

Bug: angleproject:5390
Change-Id: I6f4a499099211e8990ed038984f41bc5f881c71f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2601340
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-06 18:40:58 +00:00
Jamie Madill e91097bf3a Vulkan: Clean up "actual"/"intended" naming.
Clarifies that the GL internal format is an "intended" format
and the Vulkan formats are "actual" formats. This makes all the format
fields use the same consistent naming pattern.

Bug: angleproject:5438
Change-Id: I935a49895109e9e06eae5ef98d5614dfd1128ff8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2605728
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-01-05 18:34:33 +00:00
Peng Huang 47ee6a7b09 Add build flags to disable desktop gl backend
This change saves about 100KB on Android

Bug: angleproject:5490
Change-Id: Ieca0e597423f74a917197f381560af5409a9e874
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2601341
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Peng Huang <[email protected]>
2020-12-29 19:42:01 +00:00
Jonah Ryan-Davis 88fec1e88f Code generation for NV_framebuffer_blit
Generate the entry points for NV_framebuffer_blit.

Bug: angleproject:5474
Bug: chromium:1157057
Change-Id: Iadffa24ce7368d8ab6c4bf9d5b6c016276e762f5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2602242
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
2020-12-23 23:39:50 +00:00