Commit Graph
703 Commits
Author SHA1 Message Date
Cody Northrop 2e1091e0ef Tests: Add FIFA Mobile trace
Test: angle_perftests --gtest_filter="*fifa_mobile*"
Bug: b/171421051
Change-Id: If50c6387a1a49fb6946d20279caf6470544a2b11
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2490279
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-10-22 00:59:18 +00:00
Cody Northrop ad222d1c9f Tests: Add KartRider Rush+ trace
Test: angle_perftests --gtet_filter="*kartrider_rush*"
Bug: b/171337677
Change-Id: I9a248ecf51e296a2b894b0951538842a7efde046
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2490277
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-10-21 21:53:35 +00:00
Cody Northrop 8feb5c8253 Tests: Add Marvel Contest of Champions trace
Test: angle_perftests --gtest_filter="*marvel_contest_of_champions*"
Bug: b/171334313
Change-Id: Ia1195a5647ad2805e3cabd23c15719eb1ebc3534
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2487764
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-10-21 20:19:45 +00:00
Geoff Lang 089ef0fa65 Expose glGetTexLevelParameter{if}v before ES 3.1.
Add a new extension, ANGLE_get_tex_level_parameter which allows
users to query texture size and format information before ES 3.1.
This is very useful for re-using existing textures instead of
re-allocating.

Bug: chromium:1132514
Change-Id: I71f6bad8bdacb91875cc81b4884d4c3099235f3f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2469959
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-10-21 17:23:46 +00:00
Jonah Ryan-Davis 188a1fc7b6 Add dlopen_fuchsia.h as exception in export_targets.py
This was breaking the Vulkan-Loader autoroller after a Fuschia
related change.

Bug: chromium:1140531
Change-Id: I502bcf67c014a9c543cacc35b6e21b366aae1e1b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2490340
Commit-Queue: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-10-21 15:48:24 +00:00
Mohan Maiya 553726a4c5 Vulkan: Add OES_shader_multisample_interpolation extension
Addition of 'sample' qualifier keyword and 'interplateAt*'
fragment shader builtin functions with autogen

Bug: angleproject:3589
Change-Id: If358eb371fbcefffa715c8da4ba5e96eefaf6f52
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2477904
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-10-21 04:57:21 +00:00
Cody Northrop d591ddff25 Tests: Add Free Fire trace
Test: angle_perftests --gtest_filter="*free_fire*"
Bug: b/168049517
Change-Id: Ide772454fe5c602d92bf9c476d33da420b9dfa14
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2461350
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-10-21 04:26:10 +00:00
Cody Northrop 9d160b0bba Tests: Add Brawl Stars trace
Test: angle_perftests --gtest_filter="*brawl_stars*"
Bug: b/171043467
Change-Id: Ide04fbbfd69145554c6dbb544d6ee4daa51df9cc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2481154
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-10-20 22:16:45 +00:00
Cody Northrop 637786a9a8 Tests: Add Arena of Valor trace
Test: angle_perftest --gtest_filter="*arena*"
Bug: b/170994774
Change-Id: I44c81c539da975fefcf085d6fc12f8508826277f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2477440
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-10-20 20:31:45 +00:00
Geoff Lang d85293808d Generate CONTEXT_LOST errors on every GL call.
The robustness spec states that all GL calls should generate context
lost errors when the context is lost. This behaviour was lost due to
some context lookup optimizations but can be re-added at no cost by
updating the autogenerated entry points.

Updated the ContextLostTest to cover the repeated error generation
behaviour.

Bug: chromium:1137241
Change-Id: I0b8d1cf4d2a37f13c466c8dd0e66edfe852f7e59
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2488180
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2020-10-20 20:12:25 +00:00
Jamie Madill 5f7eeb9333 Add isSRGB flag to angle::Format.
Bug: angleproject:5176
Change-Id: I85fc78206456439ba7dab55c093187fb94364823
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2482290
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Mohan Maiya <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-10-19 17:18:06 +00:00
angle-autoroll 2e3490f34a Roll Vulkan-Headers from 04306fa5d673 to 320af06cbdd2 (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/04306fa5d673..320af06cbdd2

2020-10-19 [email protected] Update for Vulkan-Docs 1.2.158

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: I0ca016f42bc32492ec609a9c5ca54ae4c604046b
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2484334
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-10-19 11:17:07 +00:00
Jamie Madill 188d0fe69b Make Metal shader-gen cross platform.
This switches the generator script use the hermetic Clang instead
of the system gcc/clang. It also uses common Python routines to
manage the temporary file so that it works consistently on Win.

Bug: angleproject:5186
Change-Id: I52906d1a708db8b925061a9d5578b3d54a6dc862
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2483464
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Le Hoang Quyen <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-10-18 20:31:30 +00:00
Le Hoang Quyen 5b7c5b3493 Metal: don't precompile default shaders.
Default shaders will be compiled from source at runtime, this is because
they depend on ANGLE format table and there is currently no way to
pre-compile metal shaders in a cross-platform manner.

Using default shaders' source instead of pre-compiled form seems to
reduce the libGLESv2's binary size. However, the startup time will be
increased due to runtime cost of compilation, thus the compilation now
will be done asynchronously.

Bug: angleproject:5186
Change-Id: I0e1987d6c76692d5169255736fbb8e215185c33b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2482405
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Le Hoang Quyen <[email protected]>
2020-10-18 13:45:56 +00:00
Le Hoang Quyen 119d867c23 Metal: autogen blit & clear shaders for integer textures
Bug: angleproject:2634
Change-Id: I20d0bf3fca354a7964ce5893a605ab72a8a9012d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2433328
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-10-16 10:45:45 +00:00
Jamie Madill 7882260387 Add priority to trigger.py jobs.
Use a default priority of 30 to match CQ jobs and not starve.
The user can also carefully add a higher priotity for small tasks.

Bug: angleproject:5177
Change-Id: I8e8460f096102423429b19e2107673f58d73805a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2475454
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-10-16 02:48:18 +00:00
angle-autoroll 2aaa38e91d Roll Vulkan-Headers from 94ff600cc862 to 04306fa5d673 (2 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/94ff600cc862..04306fa5d673

2020-10-12 [email protected] Update for Vulkan-Docs 1.2.157
2020-10-12 [email protected] Update for Vulkan-Docs 1.2.157

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: I8efa0f86caea1b6cb1abfcfa93f9cb21b28c2639
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2477443
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-10-16 02:29:38 +00:00
Jonah Ryan-Davis 96a49a488a GLX, EGL: Support NV_robustness_video_memory_purge
Chrome is showing rendering issues on Linux/Nvidia after returning from
the lock screen. This could be related to the fact that Nvidia drivers
are not able to guarantee conformance after certain events.
By exposing this extension, we can instruct Chrome to reinitialize
contexts after they are purged by the driver. If this is not explicitly
requested, we can still generate an UnknownContextReset to tell apps
to discard the invalid context anyway.

Bug: chromium:1113040
Change-Id: Ie99b6356cc27fea33643d61b1d74f4f68a271d70
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2453689
Reviewed-by: Kenneth Russell <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
2020-10-15 22:33:07 +00:00
Jeff Vigil 8eaf72a8f0 EGL: Entrypoint and autogen for EGL_KHR_reusable_sync
Add entry point eglSignalSync
Update autogen files

Test: angle_deqp_egl_tests
--deqp-case=dEQP-EGL.functional.reusable_sync.*

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

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

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

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

Implemented while working on triggering standalone dEQP test runs.

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

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

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

2020-10-05 [email protected] Update Vulkan headers
2020-10-03 [email protected] Notice of withdrawal of Vulkan CTS 1.2.0.x
2020-10-02 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-10-02 [email protected] Fix result checking of output location tests
2020-10-02 [email protected] Experimental crash postmortem use-after-free test
2020-09-28 [email protected] Update glslang, SPIR-V Tools and Headers
2020-09-28 [email protected] Update Vulkan headers

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

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Icc1a573ea50c75b08c98c4c2f0e29be436df9605
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2455428
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-10-07 11:03:37 +00:00
Ian Elliott f074d61a69 Plumb EntryPoint & Context to DebugAnnotator/EVENT()
This makes it easier to plumb debug labels to a future
DebugAnnotatorVk class.

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

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

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

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

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

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

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

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

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

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

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

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

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

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

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

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

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

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

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

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

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

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

Bug: b/167404532
Bug: b/161716126
Change-Id: I9a09656a72e8499faa4124adf876d7261c8341c9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2342285
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-09-24 14:55:24 +00:00
Tim Van Patten e78d9a61d2 Convert unordered_map to absl::flat_hash_map for select files
This is the initial CL to start migrating to abseil in various places:
- formatutils.h
- FramebufferVk.h
- Program.h
- ProgramExecutableVk.h
- RewriteRowMajorMatrices.cpp

This intentionally hits a couple different places in the code to make
sure the abseil dependencies are added to the required targets.

Bug: angleproject:4873
Change-Id: Idd6084dff2ebce47833f304c605bbf3151b97414
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2402382
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2020-09-23 20:27:25 +00:00
Jamie Madill b6c179960e Auto-generate restricted trace .gitignore.
I'm going to add a non-ignored subdirectory so it behooves us to fix
our blanket suppression. This will also allow users to clean up stale
trace files.

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

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

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

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

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

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

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

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Change-Id: Ic66b570914960f1fcfbff89c8bcb5f26ccde539b
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2421329
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-09-21 11:53:22 +00:00