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

19966 Коммитов

Автор SHA1 Сообщение Дата
angle-autoroll 72e2ce69dc Roll vulkan-deps from a3f4f653c783 to ca8ca2aba961 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a3f4f653c783..ca8ca2aba961

Changed dependencies:
* spirv-cross: edd66a2fc9..c77b09b57c
* vulkan-headers: 974db1cede..b092b2fccc
* vulkan-loader: 6c7b2db415..3a092fe869
* vulkan-validation-layers: fc1c628605..7a9d51a51c

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 ianelliott@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: ianelliott@google.com
Change-Id: Id26b716a65cf697068114f5c1e75367b069c9b10
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4046941
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-22 11:09:15 +00:00
angle-autoroll 12fa46f07d Roll Chromium from 26b47bd446e8 to 2e2c857c4980 (530 revisions)
26b47bd446..2e2c857c49

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 ianelliott@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: bd893617b2..81415f1f5f
* testing: d5ad5f5098..3329b47db7
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..c996ebbd3d
* third_party/depot_tools: d06e475934..30e3ce8b1c
* third_party/fuchsia-sdk/sdk: version:10.20221120.3.1..version:10.20221121.3.1
* third_party/r8: vqsrb5_6fg9u-aSAqrcJiG7q2GOG66_39vdYTKgHmHgC..zJXokrYtEiaa-jjRGetxUuWf3Zkv_G7Fvl5oCXkhBAsC
* tools/clang: ed5ed0ecab..77843ad775
* tools/mb: 124c1e7294..ed1991b2c6
* tools/perf: 468419086d..1e02624893
Clang version changed llvmorg-16-init-10467-g1239d37b:llvmorg-16-init-10736-ged9638c4
Details: ed5ed0ecab..77843ad775/scripts/update.py

Bug: None
Tbr: ianelliott@google.com
Change-Id: Idb3489ac27cc8558d9bb9b1b5c9d92b9f579fdcc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4044052
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-22 08:10:58 +00:00
angle-autoroll 356b2a590e Roll VK-GL-CTS from c4fe10a0c86d to 2db7b0a1c310 (7 revisions)
c4fe10a0c8..2db7b0a1c3

2022-11-18 tapani.palli@intel.com Fix for the string query tests on desktop GL
2022-11-18 aitor@lunarg.com Add tests for out-param aliasing against other variables
2022-11-18 cturner@igalia.com Fix a typo setupVertexInputStete -> setupVertexInputState
2022-11-18 rgarcia@igalia.com Improve failure error messages in format_feature_flags2 tests
2022-11-18 amber@igalia.com Add tests for linearly tiled images
2022-11-17 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/main
2022-11-16 ziga@lunarg.com Merge vk-gl-cts/dev/VK_EXT_pipeline_protected_access into vk-gl-cts/main

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 jonahr@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: jonahr@google.com
Change-Id: Ia91e36411440ba5fe572d0971b54ae6857bbeb9c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4037817
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
2022-11-21 18:57:17 +00:00
Geoff Lang f37a32f070 Remove DisplayGbm and SurfaceGbm.
The Gbm classes were used to emulate WindowSurfaces on ChromeOS for
testing. These emulated features are not used in any shipping
configuration and cause issues because ANGLE opens drm devices
uneccessarily.

Bug: chromium:1344962
Change-Id: If564e40744f7825035bbbd63c141b154c534ed72
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4023096
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Brian Ho <hob@chromium.org>
2022-11-21 13:47:34 +00:00
angle-autoroll 55d46ffabc Roll vulkan-deps from eb108f5f3b15 to a3f4f653c783 (11 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/eb108f5f3b15..a3f4f653c783

Changed dependencies:
* spirv-tools: 1a7f71afb4..46ca66e699
* vulkan-validation-layers: 38f7ab2634..fc1c628605

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 jonahr@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: jonahr@google.com
Change-Id: Icd07184c48675986536dabca10945299d03b2f82
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4041635
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-21 11:01:46 +00:00
angle-autoroll cbc756332d Roll Chromium from 1f4a045ca0a4 to 26b47bd446e8 (645 revisions)
1f4a045ca0..26b47bd446

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 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: dc2384c048..bd893617b2
* testing: a9bbf9d24e..d5ad5f5098
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..b898eb3e06
* third_party/depot_tools: 1f67d5573f..d06e475934
* third_party/fuchsia-sdk/sdk: version:10.20221117.0.1..version:10.20221120.3.1
* third_party/r8: SRv8kr_t534yPmvzQnKEBqgw_lidewzTdKnAKoWYkz0C..vqsrb5_6fg9u-aSAqrcJiG7q2GOG66_39vdYTKgHmHgC
* tools/clang: d21aa5eb7e..ed5ed0ecab
* tools/mb: ff50c9b60c..124c1e7294
* tools/perf: d25dda6c4f..468419086d
No update to Clang.

Bug: None
Tbr: jonahr@google.com
Change-Id: Ia374a5814d6d9c2334dfb5fd8253fe7bd2fed86e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4041630
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-21 08:00:56 +00:00
Charlie Lao 0c0bbcf588 Revert "Vulkan: Only allocate default attribute if needed"
This reverts commit 85c98a92bb.

Reason for revert: This caused regression on pixel 6, https://ci.chromium.org/ui/p/angle/builders/ci/android-arm64-exp-test/1969/overview


Original change's description:
> Vulkan: Only allocate default attribute if needed
>
> mDirtyDefaultAttribsMask has all bits set when starts.
> ContextVk::handleDirtyGraphicsDefaultAttribs() is looping all dirty bits
> and try to allocate buffer for it, which means we are looping 16
> times when app starts. This CL changes to allocate a buffer only if used
> by program.
>
> Bug: b/258862506
> Change-Id: I2f0a75d1fe141c9ac3101088fdc4ce4f60b0c4ee
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4024544
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Reviewed-by: Yuxin Hu <yuxinhu@google.com>
> Commit-Queue: Charlie Lao <cclao@google.com>

Bug: b/258862506
Change-Id: Iff7d9c6d605613773f0b91a5539cefd6da6454eb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4038449
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Auto-Submit: Charlie Lao <cclao@google.com>
2022-11-18 23:13:26 +00:00
Cody Northrop 3857752d84 Tests: Fix parameter parsing with partial matches
New parameter parsing code needs a small tweak to handle
partial flag matches.

For instance, a new flag being added would trigger as if an
old one had been provided:

new: --fixed-test-time-with-warmup
old: --fixed-test-time

And if equals notations were being used:

--fixed-test-time-with-warmup=value

the code before this CL will treat the entire thing as
--fixed-test-time and attempt to consume the next argument
as value

Bug: angleproject:7755
Change-Id: I57eae2847053d664338d40b0191d5223ddd95852
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4038494
Reviewed-by: Roman Lavrov <romanl@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2022-11-18 22:30:32 +00:00
Charlie Lao 8378032e59 Vulkan: Remove get API for mLastCompletedQueueSerial
In preparation for per context queue serial, this CL makes
mLastSubmittedQueueSerial and mLastCompletedQueueSerial private to
CommandQueue. Before this CL, we have a get function to return the last
submitted serial and last completed serial and passing these serials
around. This works because the serial is a single uint64_t number.  With
per context queue serial, this will be an array of serials and there is
potential risk associated with access it from different threads. This CL
makes these serials private to CommandQueue and when you want to know if
GPU is completed with resource, you ask RendererVk/CommandQueue
directly. This way we can ensure they have thread safe access in the
CommandQueue (no lock is necessary, but all access will be restricted to
one class).

Bug: b/255414841
Change-Id: Ica565decce4a80588e0b447e179a2b634b55d7c3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4021676
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Charlie Lao <cclao@google.com>
2022-11-18 19:42:39 +00:00
Jonah Ryan-Davis 95cfa687f4 Revert "Map AHARDWAREBUFFER_FORMAT_R8_UNORM to GL_R8"
This reverts commit dcf3ab1228.

Reason for revert: Causing AOSP roll build failures:
https://android-review.git.corp.google.com/c/platform/external/angle/+/2308065?tab=checks

Original change's description:
> Map AHARDWAREBUFFER_FORMAT_R8_UNORM to GL_R8
>
> Bug: b/259551816
> Test: cvd start --gpu_mode=guest_swiftshader
> Test: atest librenderengine_test
> Change-Id: I874278fe50dd1b501c11c484c55ed91e67a7013b
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4034130
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>

Bug: b/259551816
Change-Id: Iac19db493ecda89bc49d05cc34f5b51818e39737
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4035110
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
2022-11-18 15:28:21 +00:00
Shahbaz Youssefi c7414946b8 Vulkan: Enable async pipeline cache sync by default
Bug: b/246683126
Change-Id: I593650364250f8802e9f546ab9957cf1c30e596a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031487
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-18 15:24:50 +00:00
angle-autoroll 3b21dfe48b Roll Chromium from 54894332d13c to 1f4a045ca0a4 (59 revisions)
54894332d1..1f4a045ca0

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: 316bdbb4f8..dc2384c048
* testing: fd493f4659..a9bbf9d24e
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..79ba9244e5
* tools/mb: 4fc30da878..ff50c9b60c
* tools/perf: 35428c527a..d25dda6c4f
No update to Clang.

Bug: None
Tbr: jonahr@google.com,ynovikov@google.com
Change-Id: If34ae69473a0cbf20312099152db49d551058347
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4035321
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-18 12:37:49 +00:00
angle-autoroll ec42459200 Roll SwiftShader from dd35c62aef80 to 6a259c87ef52 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/dd35c62aef80..6a259c87ef52

2022-11-17 natsu@google.com Handle AHARDWAREBUFFER_FORMAT_R8_UNORM AHBs

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 jonahr@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: jonahr@google.com
Change-Id: Ie4f2cfda15c57a841d2490e06dff0f7abdc609ca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4037804
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-18 10:57:03 +00:00
angle-autoroll 37bbbb5143 Roll vulkan-deps from f1b1fd3fc034 to eb108f5f3b15 (13 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/f1b1fd3fc034..eb108f5f3b15

Changed dependencies:
* spirv-tools: 8ea3ae6be2..1a7f71afb4
* vulkan-headers: 29c0457cc1..974db1cede
* vulkan-loader: 27d86008d8..6c7b2db415
* vulkan-tools: c4839afe75..ec541c410e
* vulkan-validation-layers: 00d345294d..38f7ab2634

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 jonahr@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: jonahr@google.com
Change-Id: I687badecb7210005c5ef2e9b02020b8c43f91ed0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4035855
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-18 10:47:34 +00:00
angle-autoroll 658a4b6be8 Roll Chromium from 2c9d51705f3b to 54894332d13c (577 revisions)
2c9d51705f..54894332d1

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 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: a6b135f6dc..316bdbb4f8
* testing: 1f8966e6e2..fd493f4659
* third_party/android_sdk: 3f159e715e..c5a3f52f05
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..79ba9244e5
* third_party/depot_tools: fadcbfdb27..1f67d5573f
* third_party/fuchsia-sdk/sdk: version:10.20221116.3.1..version:10.20221117.0.1
* tools/clang: eea11ec5d2..d21aa5eb7e
* tools/mb: 9d3a5eb0dd..4fc30da878
* tools/perf: d900152808..35428c527a
No update to Clang.

Bug: None
Tbr: jonahr@google.com
Change-Id: I5a46ba74c1edcd0946de7255d16cb5107692de3b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4035041
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-18 08:00:30 +00:00
Alexey Knyazev 81e9dc5640 Reland "Metal: Skip disabled draw buffers"
This is a reland of commit 4b084310d7

Do not try to create a command encoder with no attachments
since it may crash some Metal drivers.

Do not reset pipeline descriptors.

Original change's description:
> Metal: Skip disabled draw buffers
>
> When creating render pass descriptors, do not
> assign textures to disabled color attachments.
>
> When creating pipeline descriptors, reset
> pixel formats of disabled color attachments.
>
> Exit early when MTLRenderCommandEncoder is not created.
>
> Added:
> * DrawBuffersTest.None
> * DrawBuffersTest.NoneWithDepth
> * DrawBuffersTest.NoneWithStencil
> * DrawBuffersTestES3.DrawWithDisabledIncompatibleAttachment
>
> Fixes:
> * conformance2/rendering/fs-color-type-mismatch-color-buffer-type.html
>
> Bug: angleproject:6430
> Change-Id: I7f650c761f757985b027388c350c01340a83fd51
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4003180
> Reviewed-by: Kenneth Russell <kbr@chromium.org>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>

Bug: angleproject:6430
Change-Id: I13977bd7ef32c4c85420706215b4f4d3a65629ca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4030310
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-11-18 06:36:37 +00:00
Shahbaz Youssefi 70cf232224 Vulkan: Move async pipeline cache sync feature to backend
Bug: b/246683126
Change-Id: I194e488e04580cee7055c0674091f1228984edf9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031486
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Solti Ho <solti@google.com>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-18 06:01:34 +00:00
Stephen White 386ef2eefe Fix EGL validation of core robustness attribute.
Implement EGL validation of EGL_CONTEXT_OPENGL_ROBUST_ACCESS.
Previously, only the _EXT flavour was validated.

Note that EGLRobustnessTest was changed to only exercise the
core version.

Bug: chromium:1385480
Change-Id: I51f93d6cd344d073cd9656c9fff9636ca4eac99d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4030882
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-11-17 20:52:48 +00:00
Jason Macnak dcf3ab1228 Map AHARDWAREBUFFER_FORMAT_R8_UNORM to GL_R8
Bug: b/259551816
Test: cvd start --gpu_mode=guest_swiftshader
Test: atest librenderengine_test
Change-Id: I874278fe50dd1b501c11c484c55ed91e67a7013b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4034130
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-17 20:43:53 +00:00
Shahbaz Youssefi 7e7a47dffc Vulkan: Adjust logicOp dynamic state workaround
Bug: chromium:1379201
Change-Id: I355d0034de12e5aaf95c160efcace34ff7062337
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031149
Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jie A Chen <jie.a.chen@intel.com>
2022-11-17 17:55:38 +00:00
angle-autoroll a6fae3fec8 Roll SwiftShader from dbdf74996a2c to dd35c62aef80 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/dbdf74996a2c..dd35c62aef80

2022-11-16 bclayton@google.com Update Marl to a47a3a5c5

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 jonahr@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: jonahr@google.com
Change-Id: Ie0855ec3022dcd304463a17c2d4ed05851fd56aa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4033759
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-17 11:53:07 +00:00
angle-autoroll 01b27a6f17 Roll vulkan-deps from c8245c996384 to f1b1fd3fc034 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c8245c996384..f1b1fd3fc034

Changed dependencies:
* glslang: 2b2523fb95..88fd417b0b
* spirv-headers: 47f2465ee3..c214f6f2d1
* vulkan-loader: b7d671c2ba..27d86008d8
* vulkan-validation-layers: bcc473b6be..00d345294d

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 jonahr@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: jonahr@google.com
Change-Id: I0fab67017f56bbd35058c0c96e77c99fd23e801b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4032397
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-17 11:07:56 +00:00
angle-autoroll c3bad4b328 Roll Chromium from 734d0d44bb67 to 2c9d51705f3b (582 revisions)
734d0d44bb..2c9d51705f

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 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: 91eb84e37e..a6b135f6dc
* buildtools: bbb2301eef..09154d65c3
* buildtools/third_party/libc++/trunk: 81925935fd..cd0a050474
* testing: 5ea4565c81..1f8966e6e2
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..79ba9244e5
* third_party/depot_tools: 63fea808b0..fadcbfdb27
* third_party/fuchsia-sdk/sdk: version:10.20221115.1.1..version:10.20221116.3.1
* third_party/r8: -NUQfUfOV_01dV0d71XGUoe7FpVrH5M31W17eU8pLd0C..SRv8kr_t534yPmvzQnKEBqgw_lidewzTdKnAKoWYkz0C
* tools/clang: 2991b63fa2..eea11ec5d2
* tools/mb: f8875b1859..9d3a5eb0dd
* tools/perf: e9f9dffdef..d900152808
Clang version changed llvmorg-16-init-10289-g094c0ecc:llvmorg-16-init-10467-g1239d37b
Details: 2991b63fa2..eea11ec5d2/scripts/update.py

Bug: None
Tbr: jonahr@google.com
Change-Id: I7413ee2bea752c59bea518252c0abd8f36fc3405
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031153
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-17 08:12:15 +00:00
Austin Eng 91ee237fd8 Revert "Metal: Skip disabled draw buffers"
This reverts commit 4b084310d7.

Reason for revert: Crashing in webgl2_conformance_metal_passthrough_tests https://chromium-review.googlesource.com/c/angle/angle/+/4003180/comments/6e35ee21_38288238a

Original change's description:
> Metal: Skip disabled draw buffers
>
> When creating render pass descriptors, do not
> assign textures to disabled color attachments.
>
> When creating pipeline descriptors, reset
> pixel formats of disabled color attachments.
>
> Exit early when MTLRenderCommandEncoder is not created.
>
> Added:
> * DrawBuffersTest.None
> * DrawBuffersTest.NoneWithDepth
> * DrawBuffersTest.NoneWithStencil
> * DrawBuffersTestES3.DrawWithDisabledIncompatibleAttachment
>
> Fixes:
> * conformance2/rendering/fs-color-type-mismatch-color-buffer-type.html
>
> Bug: angleproject:6430
> Change-Id: I7f650c761f757985b027388c350c01340a83fd51
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4003180
> Reviewed-by: Kenneth Russell <kbr@chromium.org>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>

Bug: angleproject:6430
Change-Id: I485691bdcc4214ed6958f606591f23331bfbea53
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4032391
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Auto-Submit: Austin Eng <enga@google.com>
Reviewed-by: Austin Eng <enga@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-17 04:19:35 +00:00
Xinghua Cao 03e69803f4 Fix a document error
This patch fixes an error of the document, which describes
the translation from uniform block to StructuredBuffer.

Bug: angleproject:7832
Change-Id: Ice98f41ce558a47a6c19983e24ddbd3ea435d59d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4029670
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Jiajia Qin <jiajia.qin@intel.com>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
2022-11-17 01:59:42 +00:00
Shahbaz Youssefi 7fb1a25d14 Make BitSetT::Mask return a bit set
This allows a Mask function to be implemented for BitSetArray, which is
added in this CL.  When using larger bitsets on 32-bit systems, the
current Mask implementation prohibits its use.

This is in preparation for a follow up change that uses Mask on such a
bitset.

Bug: angleproject:7369
Change-Id: If995d96ec1583a546f20bff277f3223e2f2490f5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031493
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-16 22:04:18 +00:00
Roman Lavrov b205207a0a Lock gpu clocks using nvidia-smi to avoid overheating
For now only applies to Windows Nvidia (GTX 1660) bots
where I tested this. Default clocks boost to 1800+
reporting 110W+ initial power usage which can't be dissipated by
the setup and and gpu quickly hits ~90C and enters aggressive
throttling. Locking to 1410MHz yield a much more modest 50~60W usage
with reasonable gpu temps in the 70C~80C range over long runs at
100% utilization.

Also log gpu temperature before/after running tests.

Bug: angleproject:7671
Change-Id: Id43bede3b1d6a445f8caee6bbbaa43f7f380199b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031495
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Commit-Queue: Roman Lavrov <romanl@google.com>
2022-11-16 22:02:12 +00:00
Shahbaz Youssefi 2dde73576a Vulkan: `const` render passes
Bug: angleproject:7369
Change-Id: I1ee1449bd8ea8c6a3e26e50a7f3734fad91dc911
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031488
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-16 20:29:46 +00:00
Shahbaz Youssefi 5ef24b269f Vulkan: Limit logicOp dynamic state workaround to old mesa
Bug: chromium:1379201
Change-Id: I618507b118b4420793ec172f3ed1f0dddbb2ae86
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4031492
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
2022-11-16 20:00:53 +00:00
Cody Northrop 3f9223b265 Shader: Initialize mMaxComputeSharedMemory
Uninitalized values are causing retrace failures.

mMaxComputeSharedMemory is otherwise only set when the shader
is compiled.

Test: retrace_restricted_traces.py
Bug: angleproject:7815
Change-Id: I9884ac3c8550775d435d6fa7b11d7aebc63c14d5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4026669
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-16 14:42:53 +00:00
angle-autoroll b6a1512375 Roll vulkan-deps from 8384d293b2e8 to c8245c996384 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/8384d293b2e8..c8245c996384

Changed dependencies:
* vulkan-validation-layers: 6ea956a5e0..bcc473b6be

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 jonahr@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: jonahr@google.com
Change-Id: I54926b581eb4f160699f3899d29ff72631830ed4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4030238
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-16 11:38:24 +00:00
angle-autoroll 2d3ef7577d Roll SwiftShader from aac11f84562f to dbdf74996a2c (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/aac11f84562f..dbdf74996a2c

2022-11-15 swiftshader.regress@gmail.com Regres: Update test lists @ aac11f84

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 jonahr@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: jonahr@google.com
Change-Id: I24f9591f87b2677ff18a2978e71b36026234d1e8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4030218
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-16 10:59:08 +00:00
angle-autoroll 37ed6104c0 Roll Chromium from c578240a0fa6 to 734d0d44bb67 (606 revisions)
c578240a0f..734d0d44bb

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 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: 5bd2e64d76..91eb84e37e
* buildtools: 02b18cf1ec..bbb2301eef
* buildtools/third_party/libc++/trunk: 3fc0bf23fe..81925935fd
* buildtools/third_party/libunwind/trunk: 86213b7902..5870472fdd
* testing: 9d6b67f5f6..5ea4565c81
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..c8506af0cf
* third_party/depot_tools: 8de7b2d51b..63fea808b0
* third_party/fuchsia-sdk/sdk: version:10.20221114.3.1..version:10.20221115.1.1
* third_party/r8: Sbfuk7zCRoVjO5aIbd3nmDH8TcDZPNFY2k7srra6NIcC..-NUQfUfOV_01dV0d71XGUoe7FpVrH5M31W17eU8pLd0C
* third_party/zlib: 8bbd6c3129..d866d41e16
* tools/mb: a8c009dd04..f8875b1859
* tools/perf: 7b50a78720..e9f9dffdef
No update to Clang.

Bug: None
Tbr: jonahr@google.com
Change-Id: Ie59e27695b68c23704d8e0952876066329ab8513
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4029900
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-16 08:09:45 +00:00
Alexey Knyazev 4b084310d7 Metal: Skip disabled draw buffers
When creating render pass descriptors, do not
assign textures to disabled color attachments.

When creating pipeline descriptors, reset
pixel formats of disabled color attachments.

Exit early when MTLRenderCommandEncoder is not created.

Added:
* DrawBuffersTest.None
* DrawBuffersTest.NoneWithDepth
* DrawBuffersTest.NoneWithStencil
* DrawBuffersTestES3.DrawWithDisabledIncompatibleAttachment

Fixes:
* conformance2/rendering/fs-color-type-mismatch-color-buffer-type.html

Bug: angleproject:6430
Change-Id: I7f650c761f757985b027388c350c01340a83fd51
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4003180
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
2022-11-16 07:30:44 +00:00
Lubosz Sarnecki 2fa255da8c FrameCapture: Don't capture trailing zeros in shader strings.
This prevents C build errors like the following when
applications provide incorrect shader string lengths:

error: null character(s) preserved in string literal

Bug: angleproject:7402
Change-Id: Iac7bab58533d152c4b6ed525f0cbcbcb8a7c35ad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4020417
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-11-16 00:05:12 +00:00
Gert Wollny 66fda678f4 Capture/Replay: Delete buffer after test support for coherent
The buffer created to test coherent and persistzent mapping is
not used later, so it should be deleted.

Since this buffer is created and deleted before any VAO is created,
we also have to check whether a VAO exists before the buffer may
be detached from it.

Bug: angleproject:7814
Change-Id: I875f845e592325093dd90b48ba9cd3c7228fad47
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4023047
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2022-11-16 00:01:53 +00:00
Charlie Lao 8028bffcc5 Vulkan: Flatten GarbageAndSerial class
ObjectAndSerial templated class is only used by GarbageAndSerial. The
serial number here means queue serial. This CL simply flattens the
template class to GarbageAndQueueSerial to clarify the serial here is
the queue serial that tracks GPU completion.

Bug: b/259148812
Change-Id: I81e88a03ccffcf8fb632e3ac7dce886375dc51a5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4023098
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Charlie Lao <cclao@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-15 20:01:37 +00:00
Roman Lavrov e6491c2f1f Revert "Add temporary logging of gold_session.Initialize stdout."
This reverts commit 05d86e0600.

Reason for revert: this helped caught an issue https://anglebug.com/7550#c6, but recent outputs seem normal so no longer needed

Original change's description:
> Add temporary logging of gold_session.Initialize stdout.
>
> Normally looks like:
> Loaded 1549 known hashes
> ...
>
> Suspecting that in failure cases it's going to result in something
> different.
>
> Bug: angleproject:7550
> Change-Id: I0190d4f679fc4161fc36a3008ba2e7d6d4764277
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3804752
> Commit-Queue: Roman Lavrov <romanl@google.com>
> Reviewed-by: Brian Sheedy <bsheedy@chromium.org>

Bug: angleproject:7550
Change-Id: I7c6e1569299ca4c834f29fcd01c3e707e373de16
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4024759
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Roman Lavrov <romanl@google.com>
Auto-Submit: Roman Lavrov <romanl@google.com>
2022-11-15 20:00:11 +00:00
Charlie Lao 9483002d20 Vulkan: Clean up submitFrame/submitCommands
ContextVK has two functions, submitFrame, and submitCommands.
ContextVk::SubmitFrame means to be frame boundary or FBO boundary,
usually refers to submission triggered by API, for example,
glFlush/glFinish or FBO switches. ContextVk::submitCommands was added
later to mean any kind of submission.  It could be triggered by internal
logic, for example, when we think we have accumulated too much staged
updates. The odd thing is that ContextVk::submitFrame calls
ContextVk::submitCommands, which calls RendererVk::submitFrame. I
believe this is because when we introduced ContextVk::submitCommands, we
did not bother rename RendererVk's API.  This CL renames
RendererVk::submitFrame and CommandQueue::submitFrame and
CommandProcessor::submitFrame to submitCommands to be consistent with
ContextVk's function names.

This CL also removes unused function ContextVk::isSerialInUse()

This CL also removes unnecessary vk:: namespace in CommandProcessor

Bug: b/259148812
Change-Id: If074e381168950143ad56a728f23caa298e5f355
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4027284
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Charlie Lao <cclao@google.com>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
2022-11-15 19:58:56 +00:00
Charlie Lao 139b9df8cb Vulkan: getCommandBufferOneOff could reuse if serials are equal
When one off commands serial is equal to last completed serial, it means
completed. We should reuse command buffer instead of allocate a new one.

Bug: b/259148812
Change-Id: Ibc006a93e1ee775a436396a0d35cf4ab2b363940
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4023097
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Charlie Lao <cclao@google.com>
2022-11-15 19:45:18 +00:00
Roman Lavrov d8d8525333 Add gFixtures.clear() to ReleaseFixtures
Not necessary as we only call it on termination but if ReleaseFixtures
is called for e.g. eviction testing, it leaves bad state behind.

Bug: b/258723409
Change-Id: I345c9197742f78ec952cacecdc9ba55b518f9f53
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4024757
Auto-Submit: Roman Lavrov <romanl@google.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Charlie Lao <cclao@google.com>
2022-11-15 18:40:34 +00:00
Cody Northrop 124ba087cc Tests: Add Minetest trace
Test: angle_trace_tests --gtest_filter="*minetest*"
Bug: angleproject:7831
Change-Id: If182136cd14207d7243a2fcd56737dd0ea28b2de
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4022260
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Roman Lavrov <romanl@google.com>
2022-11-15 18:09:20 +00:00
Roman Lavrov f67d1224e3 Delete osWindow and eglWindow in ReleaseFixtures
valgrind rightfully reports these as leaks

Bug: b/258723409
Change-Id: I02dbd771c6f7bd9e7df2269c77d8bd95af593044
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4025992
Auto-Submit: Roman Lavrov <romanl@google.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Roman Lavrov <romanl@google.com>
2022-11-15 17:10:46 +00:00
angle-autoroll 3e13ab1c87 Roll vulkan-deps from 131d736c57d4 to 8384d293b2e8 (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/131d736c57d4..8384d293b2e8

Changed dependencies:
* spirv-tools: a8647f59c0..8ea3ae6be2
* vulkan-validation-layers: c4a6240618..6ea956a5e0

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 jonahr@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: jonahr@google.com
Change-Id: I041ca02fcdab99a5930fe0c949a904c51064e7d0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4027133
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-15 11:03:03 +00:00
angle-autoroll 1d34cf620c Roll SwiftShader from 87d41aad5e71 to aac11f84562f (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/87d41aad5e71..aac11f84562f

2022-11-14 swiftshader.regress@gmail.com Regres: Update test lists @ 87d41aad

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 jonahr@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: jonahr@google.com
Change-Id: I08e47ff3d2394c314f1c1c7ad12b516da1a3052e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4024160
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-15 11:00:46 +00:00
angle-autoroll 14c69aba6e Roll Chromium from 622e44fd31d8 to c578240a0fa6 (591 revisions)
622e44fd31..c578240a0f

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 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: 23a5cc541c..5bd2e64d76
* testing: 0e0c2e009c..9d6b67f5f6
* third_party/android_build_tools/bundletool: nrReBqFfE2B7DUv3RveTRIE4K9O3MJft7pP-iRhoRQ4C..eYz83zbG33sGLyNdc-a64qo1K6LRcS9GwW7GmSvyWisC
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..670186d696
* third_party/depot_tools: 7aaca94286..8de7b2d51b
* third_party/fuchsia-sdk/sdk: version:10.20221113.3.1..version:10.20221114.3.1
* third_party/r8: isj_SlllAO2yCbNZuv4OBa3d8hPKY5hulrBg7_xwY_MC..Sbfuk7zCRoVjO5aIbd3nmDH8TcDZPNFY2k7srra6NIcC
* third_party/turbine: HqLybI_r3dCgRJywsqJ3xkp2D6vQAI4-8D7zdqNiyxcC..4Cvss-AYlYPcW_PIdcX45Ew7ZQwsaeurs7mUjS3LFyQC
* tools/mb: 944ffba8ce..a8c009dd04
* tools/perf: 3ab0f76217..7b50a78720
No update to Clang.

Bug: None
Tbr: jonahr@google.com
Change-Id: Icc4a22388afe168e6ae52d78598380d465c5a37d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4027132
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-11-15 08:00:05 +00:00
Charlie Lao 85c98a92bb Vulkan: Only allocate default attribute if needed
mDirtyDefaultAttribsMask has all bits set when starts.
ContextVk::handleDirtyGraphicsDefaultAttribs() is looping all dirty bits
and try to allocate buffer for it, which means we are looping 16
times when app starts. This CL changes to allocate a buffer only if used
by program.

Bug: b/258862506
Change-Id: I2f0a75d1fe141c9ac3101088fdc4ce4f60b0c4ee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4024544
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Charlie Lao <cclao@google.com>
2022-11-14 23:48:51 +00:00
Alexey Knyazev 44d8fef850 Add ANGLE_provoking_vertex spec
Renamed provoking vertex enums to use _ANGLE suffix.
The newly defined enums alias those from the
desktop OpenGL extensions.

Updated tests to use the new enum names.

Bug: angleproject:2829
Change-Id: I72b686773536d3d54a653114cee5292007510a55
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4013700
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
2022-11-14 21:51:47 +00:00
Dan Glastonbury 40e4bc63b3 Make DrawRangeElements validation consistent with DrawElements
According to the WebGL specification, when an empty buffer is bound to
GL_ELEMENT_ARRAY_BUFFER binding point, one of the possibilities is to
return an error when trying to draw with an index count other than
zero. This is the behavior of DrawElements variants but not
DrawRangeElements.

This change brings variants of DrawRangeElements behavior in line with
that of DrawElements.

Bug: angleproject:7822
Change-Id: I6844efd1038d95c652b72e52209dfdd74f006f9b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4015418
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
2022-11-14 20:57:43 +00:00
Roman Lavrov 4878b317d8 Fix variable names
UpdatePreCacheActiveTextures and
updateExecutableActiveTexturesForShader
do similar things but there seems to have been some naming confusion.

Bug: b/242887117
Change-Id: Ib568f922c79b6ea36a225b4547e2abfc73b8ec08
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4022143
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Auto-Submit: Roman Lavrov <romanl@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-11-14 20:05:26 +00:00