Граф коммитов

17225 Коммитов

Автор SHA1 Сообщение Дата
Gert Wollny 8b627444c7 Capture/Replay: capture program with ActiveShaderProgram too
Here the program parameter is the second parameter, so
UpdateCurrentProgram needs some refactoring too, to support
specifying the parameter position.

Bug: angleproject:6560
Change-Id: Iea08e1c0b7271bcd82aba64898cec76c09edefbb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3220690
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
2021-10-21 07:50:41 +00:00
Cody Northrop b06606b992 Tests: Add Zillow trace
Test: angle_perftests --gtest_filter="*zillow*"
Bug: b/203693727
Bug: angleproject:6596
Change-Id: If1a29c452de60b124b234645953a6a8a53a35b67
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3235480
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-10-21 01:32:02 +00:00
Cody Northrop 5a682795cc Capture/Replay: Fix glAttachShader filtering
Dota Underlords capture was filtering shaders that should be active.
It is using a pattern that creates shaders in advance, then attaches
them in later frames.  This requires MEC to setup the shader, but
not the program.

We were failing to set those active because glAttachShader refers to
two ShaderProgramIDs, and we've only been scanning for the first in
any given API call:

    glAttachShader(gShaderProgramMap2[1], gShaderProgramMap2[2]);

This CL fixes it by scanning for all ShaderProgramIDs in each call.

Test: Dota Underlords MEC
Bug: angleproject:5857
Change-Id: I1f76ad3345178cdfeb00479a84489dd363858e13
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233875
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2021-10-20 23:45:21 +00:00
Tim Van Patten 78ae5d70b7 Vulkan: Remove support for GL_RGB8 from DisplayVkAndroid
The Android Vulkan loader doesn't support GL_RGB8, so remove it from
DisplayVkAndroid::generateConfigs().

The list of supported swapchain formats is available at:
    https://cs.android.com/android/platform/superproject/+/master:frameworks/native/vulkan/libvulkan/swapchain.cpp;l=465-486?q=GetNativePixelFormat

This fixes launching the Zillow app.

Bug: angleproject:6277
Change-Id: I34f06e2b45a1de77864701462bf11712285b7ae2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3235466
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
2021-10-20 21:16:11 +00:00
Kyle Piddington 43fd49e60c Metal: Add Shadow Sampler Grad workaround for AMD
This change allows the direct translator to
use emulated gradient shadow compare functions for
AMD devices, and devices that don't support shadow compare
sampler.

Bug: angleproject:5107
Change-Id: I8cc8dcb6e6982531c2a858782869283e6dc97052
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3232818
Commit-Queue: Kyle Piddington <kpiddington@apple.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
2021-10-20 17:55:21 +00:00
Jamie Madill 5ad7ae4a02 Remove Nexus 5X expectations from dEQP tests.
Bug: angleproject:2322
Bug: angleproject:3308
Bug: angleproject:3309
Bug: angleproject:3434
Bug: angleproject:3715
Bug: angleproject:3716
Bug: angleproject:5169
Bug: angleproject:5184
Bug: angleproject:5665
Bug: angleproject:6527
Change-Id: If64efe229e12bb2a0bd4fe7f942899000a7aad76
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233902
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-20 15:55:11 +00:00
Shahbaz Youssefi 420e77a64e Revert "Vulkan: Flush descriptor set updates during flush*Commands()"
This reverts commit 02b73c2fd7.

Reason for revert: Causes test to crash on Linux/Intel: anglebug.com/6591

Original change's description:
> Vulkan: Flush descriptor set updates during flush*Commands()
>
> The intent of this CL is to reduce the number of descriptor set updates
> by delaying the work until all of the GLES commands that could trigger a
> re-update have been performed and the command stream is being flushed.
> To achieve this, flushDescriptorSetUpdates() is being moved from
> setupDraw()/setupDispatch() to
> flushRenderPassCommands()/flushOutsideRPCommands().
>
> This change also exposed an issue where the BufferView handles were not
> being preserved until flushDescriptorSetUpdates() was called. To resolve
> this, flushDescriptorSetUpdates() is also being called during
> BufferViewHelper::release() before the BufferView memory is released.
>
> Bug: angleproject:5706
> Change-Id: I61e19af9c0fac891aa2115d72391459b80d22f19
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2939385
> Reviewed-by: Charlie Lao <cclao@google.com>
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Tim Van Patten <timvp@google.com>

Bug: angleproject:5706
Bug: angleproject:6591
Change-Id: I9d1ee3fcb3d1aebc86e60896e0065cab847a92b4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233901
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-20 15:04:32 +00:00
Jamie Madill d8c18ac6d8 Re-land: "Isolate commit_id.h from other code."
Re-land limits the angle_version deps to Windows to fix an iOS
visibility rule violation in GN.

Instead of recompiling multiple source files, we can seal off the
files that include commit_id to prevent recompilations when the
commit changes and source files don't change.

Bug: angleproject:2551
Change-Id: I033f00ec7afe4bfd01e29e0eea8848eea27747a0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233899
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-20 14:42:23 +00:00
Shahbaz Youssefi 4b75345a7d Vulkan: Don't create pipeline with depthWrite if !depthTest
depthWrite is ineffective without depthTest.  This change makes sure
that depthWrite/depthTest combinations of true/false and false/false
generate the same Vulkan pipeline.

Bug: angleproject:6410
Change-Id: I47e1524379d40dfb956f026903e0affc7f4fc59d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3210628
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Charlie Lao <cclao@google.com>
2021-10-20 14:33:01 +00:00
Jamie Madill 5ab95ec344 infra: In milo, split console into 'compile' and 'test'.
This will provide an easier-to-read summary for wranglers because
test failures will be grouped instead of spread out in between
compile builders.

Bug: angleproject:6496
Change-Id: I45e2f1a868d887de22133684aa0b4821ed4c8f84
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233900
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-20 14:31:24 +00:00
Jamie Madill 0fb59c09ee infra: Remove old bot configs.
This can be landed after the change to switch the CQ to the new
configs.

Bug: angleproject:6496
Change-Id: I3b6ec4697a2fa7a279e5a761ea1717f652af84a1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3231835
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-20 14:13:03 +00:00
angle-autoroll e5dafc3315 Roll SwiftShader from 85101b9ec148 to 2a86d62642ce (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/85101b9ec148..2a86d62642ce

2021-10-20 swiftshader.regress@gmail.com Regres: Update test lists @ 6b700ffc
2021-10-19 srisser@google.com Add VK_KHR_shader_integer_dot_product structs
2021-10-19 swiftshader.regress@gmail.com Regres: Update test lists @ 85101b9e

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Bug: None
Tbr: syoussefi@google.com
Change-Id: I49c11a73546735784c1c9b8d292c499b2ce62313
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3234358
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-20 12:52:45 +00:00
Mohan Maiya 9a7b62ad40 Remove glext_angle.h, merge contents into gl2ext_angle.h
Currently glext_angle.h file, which is for GLES 1.x, has enums for
GL_ANGLE_yuv_internal_format which is an ES 3.0+ extension.
Merge contents of glext_angle.h into gl2ext_angle.h and remove
glext_angle.h

Bug: angleproject:6579
Change-Id: Iec5427af131888a2d9c473f4f497afb71dcafdac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3232822
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-10-20 12:45:54 +00:00
Shahbaz Youssefi 066fb91b41 Vulkan: SPIR-V Gen: Handle scalar(const) produced by index clamp
Normally scalar(const) is folded into a constant.  The index clamp
transformation may produce such a code where the index looks dynamic at
first (for example `false ? uniform_value : constant`), but becomes
constant after folding.

This change makes SPIR-V generation robust in that case.  A potential
future change could avoid the clamp entirely by making FoldExpressions
adjust the op of the EOpIndexIndirect node whose index is being replaced
with a constant with EOpIndexDirect (and apply the clamp on the
argument).

Bug: chromium:1260651
Change-Id: I552b7527d821d1cb52e0e53212cc481285674861
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226311
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-10-20 11:30:54 +00:00
angle-autoroll ca127443c8 Roll vulkan-deps from fe06f6ff26f8 to 59f9313742fc (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/fe06f6ff26f8..59f9313742fc

Changed dependencies:
* glslang: 7f1d926a3a..6351fcef28
* spirv-tools: 4578db3c41..001604bd4a
* vulkan-validation-layers: f857c9258c..d3c917b9bf

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 syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Bug: None
Tbr: syoussefi@google.com
Change-Id: I0a62cbf70784160e839aa8945a12d8caec00fd06
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233943
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-20 11:10:15 +00:00
angle-autoroll 660c44db1e Roll Chromium from 0d22e489aa33 to 0d66e54fc44e (485 revisions)
0d22e489aa..0d66e54fc4

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Changed dependencies
* build: 40338b8d2a..d50a437691
* testing: cc9c74dc19..1acfcd28c1
* third_party/android_build_tools/aapt2: QTle7uOqwUcpHkoK4T62iuIj5-BlSM7NC9sR8su220IC..oJ_fhfmT6sLorimH6Eo6hwWS2R2gU0c4ZUQfXvzae1UC
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..2d036344bd
* third_party/depot_tools: 650f853ced..b6ce244503
* tools/clang: 51064c3ff6..c990ea1afe
* tools/mb: aec1c87de6..a2b665b90f
* tools/perf: b403a49da0..df163762a1
* tools/skia_goldctl/mac: uNABaGj6En3IVtFLWvrw2nXvWtpM4JVX0Yynz3_7Yr0C..s5FQ4at83HB6cms6U4yFCQ-DS8LAIk6BsYD0SYwtiyMC
No update to Clang.

Bug: None
Tbr: syoussefi@google.com
Change-Id: I8ebe976da6349e7fca82d38b3a7eba52aa284472
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3233938
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-20 08:57:34 +00:00
Shahbaz Youssefi ef237faf66 Translator: Validate precision for function args
In fragment shaders, float does not have a default precision.  Any
declaration of this type must therefore specify the precision if a
default one is not provided.

This was not validated for function arguments.

Bug: chromium:1255089
Change-Id: I0d17e226ec88610692ec7dd18793cf4d471f12e7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226314
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-20 04:03:13 +00:00
Tim Van Patten 02b73c2fd7 Vulkan: Flush descriptor set updates during flush*Commands()
The intent of this CL is to reduce the number of descriptor set updates
by delaying the work until all of the GLES commands that could trigger a
re-update have been performed and the command stream is being flushed.
To achieve this, flushDescriptorSetUpdates() is being moved from
setupDraw()/setupDispatch() to
flushRenderPassCommands()/flushOutsideRPCommands().

This change also exposed an issue where the BufferView handles were not
being preserved until flushDescriptorSetUpdates() was called. To resolve
this, flushDescriptorSetUpdates() is also being called during
BufferViewHelper::release() before the BufferView memory is released.

Bug: angleproject:5706
Change-Id: I61e19af9c0fac891aa2115d72391459b80d22f19
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2939385
Reviewed-by: Charlie Lao <cclao@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-10-20 02:27:27 +00:00
Gregg Tavares bf42f0096f Update bug number for point clipping AMD metal
Bug: angleproject:6589
Change-Id: Ibc33b9870ab566c2b36caa2b6ccdeb256078d3cf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3232286
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-20 02:13:23 +00:00
Gregg Tavares 83bb270544 Update bug numbers in dEQP test expectations
Bug: angleproject:6080
Change-Id: Ic0fa2c41b9a132cdebfd81dfd6137cf6623632c0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3232820
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-20 02:02:43 +00:00
Lubosz Sarnecki d3753039db Reland "RendererVk: Enable VK_KHR_image_format_list on SwiftShader."
This is a reland of 8559d50b3b

Original change's description:
> RendererVk: Enable VK_KHR_image_format_list on SwiftShader.
>
> This reverts commit 08b42714f5.
>
> Bug: angleproject:5281
> Bug: chromium:1245774
> Change-Id: I773d95225301ccf3c2807fd2269b6d7da1195a16
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3223679
> Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>

Bug: angleproject:5281
Bug: chromium:1245774
Bug: chromium:1260941
Change-Id: Ic6992bcc4b44aa16a2931271350a6f6d2a23d9c8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3232555
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-19 20:26:36 +00:00
Gert Wollny eee3936bcd libANGLE: Assert on mExecutable when syncing images
In the loop in syncImagesInit mExecutable is dereferenced
and mProgram is not even touched, so assert on mExecutable

Bug: angleproject:6557
Change-Id: Icf482bda281c574e952113a97cbaf1e1d93fc1e3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3220631
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2021-10-19 20:07:36 +00:00
Jamie Madill e0de97cf2d infra: Remove SwANGLE bots from CQ.
These configs are now included in win-tests and linux-tests.

Bug: angleproject:6496
Change-Id: I1ab3961e74bde6672617e4494027da1ff490b352
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226302
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-19 19:59:56 +00:00
Shahbaz Youssefi e637e4c93b Vulkan: Optimize updating blend state in pipeline desc
Updating blend funcs and equations always updated all 8 slots.  Now
that's only done for the attachments that are present.

Bug: angleproject:6298
Change-Id: I58fa7e4dfa27d05fef54cc9d56c7b2aa5ef43dd8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3202550
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-10-19 17:29:35 +00:00
Shahbaz Youssefi 7defdb6044 Revert "Isolate commit_id.h from other code."
This reverts commit 6d7ebf656d.

Reason for revert: Suspected reason for failing ANGLE roll into Chromium

Original change's description:
> Isolate commit_id.h from other code.
>
> Instead of recompiling multiple source files, we can seal off the
> files that include commit_id to prevent recompilations when the
> commit changes and source files don't change.
>
> Bug: angleproject:2551
> Change-Id: I98800c5a8e04ec7d4c3e57ea0eb3b636d3b224bb
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3212895
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>

Bug: angleproject:2551
Bug: angleproject:6588
Change-Id: I19f41141f57d0683efb9a4ec043e078a9f7dc925
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226056
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2021-10-19 16:18:10 +00:00
Jamie Madill 7fea17b972 infra: Add new configs to CQ.
This leaves the old configs in place. We can't remove them
until the CQ bots switch over.

Bug: angleproject:6496
Change-Id: Id9ee70cfd65cd85a7525b42f08d78873f31a7cd8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226301
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-19 15:54:53 +00:00
Shahbaz Youssefi 4bb0a7af9d Vulkan: Async Queue: Fix signal of external semaphores
Per the Vulkan spec:

> ... when a semaphore wait operation is submitted to a queue:
>
> - A binary semaphore must be signaled, or have an associated semaphore
>   signal operation that is pending execution.

It is incorrect for ANGLE to defer the submission that signals an
external semaphore, because then it's impossible for the application to
know when it can wait on the semaphore.

Bug: angleproject:6574
Bug: b/172704839
Change-Id: I5469b500b2f7d402acec31d9848585a9947843c6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226308
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-19 15:53:13 +00:00
Shahbaz Youssefi c9e0da8e51 Vulkan: Improve wording in DeferredClears.md
Bug: angleproject:1944
Change-Id: I268e8191cfb7aeb16e33c1f9b39382461c5ac3e7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226310
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-10-19 14:29:13 +00:00
Weiwei Lin aa630727e3 [milo] migrate to new bug_url_template
The old way of specifying bug template is deprecated.

R: geofflang, jmadill
Bug: chromium:1218698
Change-Id: I1b3dc9b4ebb3bdcbd6a1f574209f30a8b27f129e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3230302
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-19 12:46:31 +00:00
Gert Wollny 1d1b757350 Capture/Replay: Skip binary formats test when none are supported
During capture/replay the number of supported binary formats is set to
zero, so the test can't run successfully, hence skip it.

Bug: angleproject:6559
Change-Id: Iabff38669bd6bbbbec770888ae940be3961b136e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3220633
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
2021-10-19 12:07:24 +00:00
angle-autoroll a213d0d251 Roll vulkan-deps from a9d8c46f2b61 to fe06f6ff26f8 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a9d8c46f2b61..fe06f6ff26f8

Changed dependencies:
* glslang: b9ba4c5743..7f1d926a3a
* spirv-tools: 35fd0e17d0..4578db3c41
* vulkan-loader: 61688e09fe..f524349518
* vulkan-validation-layers: 78b1f89454..f857c9258c

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 syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Bug: None
Tbr: syoussefi@google.com
Change-Id: I4ce4d083db48202aa306b7d5f8fda580cbd460b5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3230337
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-19 11:11:17 +00:00
angle-autoroll b8131bf456 Roll SwiftShader from 33eaf1f76b60 to 85101b9ec148 (7 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/33eaf1f76b60..85101b9ec148

2021-10-19 capn@google.com Avoid SPIR-V binary identifier clashes
2021-10-19 capn@google.com Avoid recompiling identical SPIR-V binaries
2021-10-19 capn@google.com Store the SPIR-V binary of a vk::ShaderModule in an sw::SpirvBinary
2021-10-18 sugoi@google.com Fix uninitialized memoryOwner on unused DescriptorSet
2021-10-18 sugoi@google.com Fix BC6h decoder
2021-10-18 sugoi@google.com Fix blitting of various packed formats
2021-10-18 srisser@google.com Update Vulkan headers to version 1.2.196

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Bug: None
Tbr: syoussefi@google.com
Change-Id: I901482bde712e84c14748436fdcb25da57df4595
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3230336
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-19 10:56:11 +00:00
angle-autoroll 2e0e9e8abc Roll Chromium from 54930e1ff6ee to 0d22e489aa33 (634 revisions)
54930e1ff6..0d22e489aa

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Changed dependencies
* build: 3df8a59b75..40338b8d2a
* buildtools: a9bc3e2831..aa2fb0187c
* buildtools/third_party/libc++abi/trunk: 198699532a..025086bfe7
* testing: faf29ca944..cc9c74dc19
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..2d036344bd
* third_party/nasm: 335fe83e13..9215e8e1d0
* tools/mb: eff3136246..aec1c87de6
* tools/perf: de168d1b50..b403a49da0
* tools/skia_goldctl/mac: s5FQ4at83HB6cms6U4yFCQ-DS8LAIk6BsYD0SYwtiyMC..uNABaGj6En3IVtFLWvrw2nXvWtpM4JVX0Yynz3_7Yr0C
No update to Clang.

Bug: angleproject:6501
Tbr: syoussefi@google.com
Change-Id: I37c0d584aa61e15860a5544e1310e97132e58e4a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3230333
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-19 08:11:26 +00:00
Shahbaz Youssefi 7f87a326e8 Vulkan: SPIR-V Gen: Fix crash in array of struct constant
Bug: chromium:1260690
Change-Id: I51fe85a2ebc23c3fcaa3c961c4ebf84688bbed31
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226309
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-10-19 03:24:26 +00:00
Shahbaz Youssefi 9a323cd05e Vulkan: Suppress failing test on AMD/Linux
EXTBlendFuncExtendedDrawTest.FragData/* has started flaking for an
unknown reason.  This test has multiple suppressions for the Vulkan
backend on different hardware.

Bug: angleproject:6585
Change-Id: I7b97c8210a0846bbc6935812fcad743291c516be
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3230522
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-19 03:16:27 +00:00
Shahbaz Youssefi bb0e0dead2 Roll vulkan-deps from 5be75e2ae595 to a9d8c46f2b61 (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/5be75e2ae595..a9d8c46f2b61

Changed dependencies:
* spirv-tools: 06ebc4806b..35fd0e17d0
* vulkan-loader: 6d9e5b07d6..61688e09fe
* vulkan-validation-layers: 77cd59ba80..78b1f89454

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 syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Bug: angleproject:6584
Change-Id: I8da9da9f82ccaf781d89a4f7975fb7520d3b6b28
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226052
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-19 02:57:45 +00:00
Cody Northrop e2e77baa13 Revert "Revert "Translator: Remove the SH_VALIDATE flag""
This reverts commit 701e8892f4.

Reason for revert: Chromium dependency fixed in http://crrev/c/3214440

Original change's description:
> Translator: Remove the SH_VALIDATE flag
>
> The SH_VALIDATE flag is a noop, defined as zero (0).
>
> Also move option descriptions up in the file.
>
> Bug: angleproject:6501
> Change-Id: I898106eb68b4508d8f94534cbff66652a69f4f3e
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3207360
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Commit-Queue: Cody Northrop <cnorthrop@google.com>

Bug: angleproject:6501
Change-Id: I4d1514d6ac04e5bedf3624facf8e9339828fa291
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3229955
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-19 01:39:24 +00:00
Shahbaz Youssefi 670b58d8c5 Revert "RendererVk: Enable VK_KHR_image_format_list on SwiftShader."
This reverts commit 8559d50b3b.

Reason for revert: Causes MSAN failures. See crbug.com/1260941

Original change's description:
> RendererVk: Enable VK_KHR_image_format_list on SwiftShader.
>
> This reverts commit 08b42714f5.
>
> Bug: angleproject:5281
> Bug: chromium:1245774
> Change-Id: I773d95225301ccf3c2807fd2269b6d7da1195a16
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3223679
> Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>

Bug: angleproject:5281
Bug: chromium:1245774
Bug: chromium:1260941
Change-Id: Id6712aed68ed04d2525549ae016594aa05243a5d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226312
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-19 01:27:27 +00:00
Tim Van Patten eb1d24741b Vulkan: Add R8G8B8_UNORM to vk_format_map.json
The map of R8G8B8_UNORM -> VK_FORMAT_R8G8B8_UNORM is missing from
vk_format_map.json. This leads to attempting to get format bits for
angle::FormatID::NONE / VK_FORMAT_UNDEFINED.

This CL adds R8G8B8_UNORM to vk_format_map.json, so devices that support
it, like ARM, can use it. This allows those devices to import AHBs
created with R8G8B8_UNORM.

This CL also adds some additional ASSERT() and UNREACHABLE() calls to
catch missing formats sooner.

This allows the EGL tests to pass on ARM devices, but the tests are
still skipped due to Qualcomm not having the necessary support for
optimal tiling.

Bug: angleproject:6277
Test: dEQP-EGL.functional.image*
Change-Id: I41b7ead97a10ae80be4b6048d36d0d85ad71784f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3204152
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-19 01:08:49 +00:00
Shahbaz Youssefi 8996b1e6c4 Vulkan: Suppress failing async queue tests
Bug: angleproject:6574
Change-Id: I2da6c65a43cc53bd6100c7be1a325d56766a175a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226307
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-18 18:12:46 +00:00
Peter Kasting bcd3ae6165 Fix some instances of -Wshadow.
Bug: chromium:794619
Change-Id: I5efe04e64800455585438467bcf6c262e91f398d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3229095
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-10-18 17:31:22 +00:00
Shannon Woods f7cbca80e0 Update link to old presentation
Bug: angleproject:1944
Change-Id: I750bfe9fd15c51dbc0f2acc8da966cfdb07f51e5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3229428
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-18 17:22:56 +00:00
Jamie Madill 6d7ebf656d Isolate commit_id.h from other code.
Instead of recompiling multiple source files, we can seal off the
files that include commit_id to prevent recompilations when the
commit changes and source files don't change.

Bug: angleproject:2551
Change-Id: I98800c5a8e04ec7d4c3e57ea0eb3b636d3b224bb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3212895
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
2021-10-18 16:02:56 +00:00
Shahbaz Youssefi ddedcdaff2 Vulkan: Recycle vkAcquireNextImageKHR semaphores
This change optimizes CPU performance by recycling semaphores used for
ANI instead of creating and deleting them every frame.

Bug: angleproject:6580
Change-Id: I151ea227870ed7b8bd123cbf629a65723c4696d2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3225085
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-10-18 15:58:35 +00:00
Jamie Madill 87b4f0fbb2 Suppress colorspace trace tests.
These were recently enabled with a Vk SwiftShader CL.

Bug: angleproject:6578
Change-Id: I5f6716f3c8a4c314d0679f8393532b25f9f5c032
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226303
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-10-18 15:47:25 +00:00
Shahbaz Youssefi f3334d0361 Vulkan: Fix importing layered AHBs
Bug: angleproject:6475
Change-Id: Iceb0880cadc54552d3f01593d2e12088cafa10cc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3198733
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-10-18 15:31:45 +00:00
angle-autoroll 8fbce1e02e Roll SwiftShader from ce1449fd798a to 33eaf1f76b60 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ce1449fd798a..33eaf1f76b60

2021-10-15 liyl@google.com Use smart pointer for the LibX11Exports singleton
2021-10-15 swiftshader.regress@gmail.com Regres: Update test lists @ ce1449fd

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Bug: None
Tbr: syoussefi@google.com
Change-Id: I6af8147eea2731f900481ad0024a5a60418e1fa5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3229013
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-18 11:39:15 +00:00
angle-autoroll 485cb718c0 Roll Chromium from 9fcbc0940fc3 to 54930e1ff6ee (222 revisions)
9fcbc0940f..54930e1ff6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC jonahr@google.com,ynovikov@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry

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/main/autoroll/README.md

Changed dependencies
* build: 7694937a1e..3df8a59b75
* testing: 03fbde054b..faf29ca944
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..59de2526fa
* third_party/depot_tools: 9a36d697d8..650f853ced
* tools/mb: c64ca6a1cc..eff3136246
* tools/perf: cf5ad1a309..de168d1b50
No update to Clang.

Bug: None
Tbr: jonahr@google.com,ynovikov@google.com
Change-Id: Ie803eb43a59de40b0dfb6b458e5be22af63c54e2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3227701
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-16 01:09:58 +00:00
Ian Elliott 6c44865981 Improve EGL validation errors
Improvements:
- Report the numeric value of a bad attribute
- Show the requested/desired/unsupported version and the max version
- Correct printf attribute set and previous errors fixed

Bug: b/186543601
Change-Id: I889f2384afbe134496cad9e349766b7ff756dcee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3224566
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
2021-10-16 00:52:58 +00:00
Kenneth Russell 4d5711291e Suppress ObjC exceptions in OSXWindow::messageLoop.
Crashes have been seen inside the Cocoa-internal
NS_setFlushesWithDisplayLink function. Web searches indicate this is a
regression in macOS 11. See whether catching and ignoring these
exceptions improves stability.

Bug: angleproject:6570
Change-Id: Id0be68077163bf4e9f98189461eea016a35edd73
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3227697
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-10-16 00:10:08 +00:00