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

13548 Коммитов

Автор SHA1 Сообщение Дата
Jamie Madill 2879eb5512 TestRunner: Fix missing "=" on swarming args.
These were missing from debe468309.
Also fixes a misnamed "perf" parameter.

Bug: angleproject:3162
Change-Id: Iad4c4d8d35cc8a08d0e30d50dd9bbf159a4a7ab9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2407833
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-09-12 13:35:35 +00:00
Mohan Maiya 6830eb6041 EGL: Fix a bug in ImageTest
During cleanup, we were incorrectly calling
glDeleteRenderbuffers on a texture object.
Also update comments to correctly reflect intent.

Bug: angleproject:5018
Change-Id: I28eaf6a23056f3b09eebb7331620e6a27cb14302
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2406614
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
2020-09-11 22:47:55 +00:00
angle-autoroll 68af795d03 Roll VK-GL-CTS from a48ed7c29144 to b045bf7d3b6a (9 revisions)
a48ed7c291..b045bf7d3b

2020-09-11 alexander.galazin@arm.com Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-09-11 ari.suonpaa@siru.fi Add coverage for uniform texel buffer SNORM formats
2020-09-11 gleese@broadcom.com Test OpVectorShuffle with index -1
2020-09-11 alexander.galazin@arm.com Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
2020-09-11 alexander.galazin@arm.com Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-09-10 lionel.g.landwerlin@intel.com Test imported signaled sync fd for VkSemaphore
2020-09-10 slawomir.cygan@intel.com Make pipeline destruction exception aware in subgroups tests
2020-09-10 venni.ihanakangas@siru.fi Check support for sampleRateShading
2020-09-07 alexander.galazin@arm.com 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 ianelliott@google.com,angle-bots+autoroll-info@google.com 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: ianelliott@google.com,angle-bots+autoroll-info@google.com
Change-Id: I00ec89b97722894e6ee357451d5b71f4a70fd446
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405394
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-11 22:20:54 +00:00
Jamie Madill bca88739ad Add a perf test that cycles through many VBOs.
Stresses the RenderPass buffer tracking in the Vulkan back-end.

Bug: angleproject:4950
Change-Id: I33d38d8703d0e333d0092195d34228d90f1af52a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2358522
Reviewed-by: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-09-11 18:37:47 +00:00
Shahbaz Youssefi 7870cf3f0a Vulkan: Fix RAW hazard with storage images
Semantic revert of 78304b470 and 7bce5194d.  7bce5194d assumed that a
read transition between same layouts is a noop, but that's not true if
said layout is GENERAL.

This is only possible if an image is simultaneously bound as storage and
sampled image.  This bug was discovered by the new syncval VVL warning.

Bug: b/156661359
Change-Id: I05f94160ca1b05b715701564e27fccee31a8aa45
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404742
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Charlie Lao <cclao@google.com>
2020-09-11 17:07:18 +00:00
Geoff Lang 2999ad4ed5 Flush less frequently in QueryGL.
StandardQueryGL flushes with every pause/resume/end operation to make
sure the list of pending queries does not grow too large. This ended
up trying to flush the queries as soon as they were ended and unlikely
to have results ready.

Add a threshold of pending queries before flushing, hopefully delaying
the flush calls until the queries are ready.

This is a speculative fix for a GPU hang in query flushing.

Bug: chromium:1078754
Change-Id: I38300995ee6576dee8c8c26fa9ccad26e269337a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2401178
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-09-11 15:46:07 +00:00
Courtney Goeltzenleuchter ef315fdcdf Vulkan: Use current commandBuffer pointer
We were using a passed in commandBuffer in
ImageHelper::flushStagedUpdates which became invalid during the process
of handling the flush upon which subsequent uses could cause problems
when threading is enabled (and maybe when it's not as well, just harder
to see.)
Have ImageHelper::flushStagedUpdates use the current
OutsideRenderPassCommandBuffer and the code will use the proper one.

Bug: b/168144059
Change-Id: Ib9849efe9366cf61df5e68fd25d17df165dbd3a0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2402354
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
2020-09-11 15:44:37 +00:00
Courtney Goeltzenleuchter 19b4dfc6cf Enable precision qualifiers.
This enables precision qualifiers to be included in the translated GLSL
and the generated SPIR-V.
We do not enable precision qualifiers on Pixel 2 with Android Q due to
bugs in the Vulkan driver. Issues appear to be fixed with later Android
releases and later devices.

Bug: angleproject:3078
Change-Id: Ia5f40befc7ec80fbb63fb6bbe88600301967f9c9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2350583
Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-09-11 15:26:07 +00:00
angle-autoroll a1ecebbc83 Roll Vulkan-ValidationLayers from fcb7ecbe49c5 to 3114c91b037b (3 revisions)
fcb7ecbe49..3114c91b03

2020-09-10 lionel.g.landwerlin@intel.com layers: CodeGen VkPerformanceConfigurationINTEL validation
2020-09-10 s.fricke@samsung.com scripts: Add SPIRV-Tool option to stats
2020-09-10 locke@lunarg.com layers: Remove VUID-vkCmdDraw-None-02698

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: Ida1733b8a6562b7affed4de5d41f71d92e4e0486
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405967
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-11 12:47:27 +00:00
angle-autoroll 38215457fe Roll SwiftShader from b24900a1aa39 to 41974f57973e (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/b24900a1aa39..41974f57973e

2020-09-10 jaebaek@google.com Allow OpTypeVoid for debug function return type

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 ianelliott@google.com 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: ianelliott@google.com
Change-Id: I03a77041e3fe88df2f8b172df5e92afe45fd7d14
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405970
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-11 11:52:37 +00:00
angle-autoroll 4331ba7ac0 Roll Vulkan-Tools from ccab4cc42372 to d19622688af4 (1 revision)
ccab4cc423..d19622688a

2020-09-10 shannon@lunarg.com build: Update known-good files for 1.2.153 header

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: Ic6110d1ece16436a7bd613c8bb02b1a10ec801ed
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405969
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-11 11:15:37 +00:00
angle-autoroll 9a7e7b08a7 Roll Chromium from 30a5da059e5d to fe51fcb522cc (441 revisions)
30a5da059e..fe51fcb522

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 report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Changed dependencies
* build: 8984f7a2c3..41b95e3b54
* testing: e4f04cd4f5..64f2e1cf55
* third_party/abseil-cpp: de8d9210e5..9967a97317
* third_party/zlib: 898c6c0dd9..f8517bd629
No update to Clang.

Bug: angleproject:4846
Tbr: ianelliott@google.com
Change-Id: If0d924a9a1093b5798e2e95951b894b390c38dc5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2405784
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-11 08:12:10 +00:00
Jiawei Shao 0c8f66c716 OpenGL: Get VendorID and DeviceID with angle::GetSystemInfo()
Previously on the OpenGL backend we get the device ID with funtion
GetDeviceID() which just supports a few types of devices. This patch
fixes this issue by using angle::GetSystemInfo() instead.

Bug: angleproject:5011
Change-Id: Ief0e1228bb1871a73755f05f2debd3a8e5c75597
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2392634
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jiajia Qin <jiajia.qin@intel.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2020-09-11 02:27:00 +00:00
Jamie Madill 3486ec9677 Enable -Wweak-template-vtables.
Needs one suppression due to Clang warning about multiple vtables
in a cpp file.

Bug: skia:7647
Change-Id: If7f318b7539d23f783b0ef6d6478ce24a0b72bc7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404746
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2020-09-11 02:02:00 +00:00
Courtney Goeltzenleuchter ae09e88957 Fix mismatch issue with precision qualifiers.
GLSL allows varyings passed from one stage to another to not match in
precision (e.g. float & half-float). Vulkan doesn't allow that so adjust
those mismatches to use the higher precision.

To fix we keep track of the precision of varyings and in the Vulkan
backend if we see they are different patch up the SPIR-V to make them
match.

Bug: angleproject:3078
Change-Id: I385d31e082da46ccdd4817b6612f5f9d9cbce17c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2337755
Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-09-11 01:48:47 +00:00
Courtney Goeltzenleuchter c5b5cf6c1f Refactor to pass ProgramMergedVaryings to link impl
Follow-on CL needs the ProgramMergedVaryings in the Vulkan backend to
generate valid SPIRV.

Bug: angleproject:3078
Change-Id: Ic442a3e0bd713fec36bd6b9420f67f3b1118e5ad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404336
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
2020-09-11 00:55:46 +00:00
Jamie Madill a4ef812c5d De-templatize ResourceManagerBase.
Bug: skia:7647
Change-Id: I568cb63118c944c7eca7efcd2445718dc7fda350
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404745
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-09-11 00:39:46 +00:00
Jonah Ryan-Davis 1ab73f0f8c Cleanup disable_program_binary workaround
This workaround should also clear the shader binary formats. Also,
we can use this workaround when disabling program binaries for
capture/replay.

Bug: angleproject:5007
Change-Id: I57c78e2cc95e7148cb8a1e7fb9bf3ed958fa69c8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404383
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-09-10 20:51:01 +00:00
Hidehiko Abe 90a9cf9619 Expand is_linux to is_linux || is_chromeos.
Currently is_linux is set to true on Chrome OS build,
but it is planned to set to false. This CL is the preparation
to keep the current behavior.

Bug: chromium:1110266
Test: Built locally. Tryjob.
Change-Id: I4124dfb251d68a519fed3e08555d1aa5a694c77c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404500
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-10 20:29:01 +00:00
Alexis Hetu e99a9df2df Added integer overflow detection to ClipRectangle
Used angle::CheckedNumeric to make sure none of the additions
in ClipRectangle produces an integer overflow.

Bug: chromium:1091364
Change-Id: I23b7943259010bb6bfde3d8ebc41e87a04f5b4f6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2404441
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Alexis Hétu <sugoi@chromium.org>
2020-09-10 19:42:11 +00:00
Shahbaz Youssefi 1bd71b48fb Make gl::DrawBufferMask a BitSet8
This shrinks the size of the mask for use in cache key classes.

Bug: angleproject:4881
Change-Id: I87c234832c61e6a663c609b7f6da5d69977b21c7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2399182
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-10 17:31:13 +00:00
Maksim Ivanov fe8224572d Fix useless move() in SizedMRUCache_unittest.cpp
Drop std::move() calls in places where there's no actual moving
happing, and only the "bugprone-use-after-move" clang-tidy
warning is triggered.

Bug: chromium:1122844
Change-Id: I692da5af4f96305f09008d1c7fd18f9be7f6273f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2401241
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-09-10 17:24:29 +00:00
Tim Van Patten d29d4c6baf Vulkan: Avoid linking to SPIR-V validation if possible
We unconditionally link to $angle_spirv_tools_dir:spvtools_val, but we
only use SPIR-V validation with ASSERTs. This CL removes this
dependency when ASSERTs are disabled.

Bug: angleproject:4887
Test: CQ
Change-Id: Ic403b78196ecd895e4a0cdefb54ab4497651ccac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2375872
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
2020-09-10 16:55:08 +00:00
angle-autoroll 65dcbe1245 Roll Vulkan-ValidationLayers from 4ede8ee6e2ec to fcb7ecbe49c5 (5 revisions)
4ede8ee6e2..fcb7ecbe49

2020-09-09 shannon@lunarg.com build: Update known-good files for 1.2.153 header
2020-09-09 shannon@lunarg.com build: Resolve last 1.2.152 VUID inconsistency
2020-09-09 tony@lunarg.com gpu: Intercept CmdDispatchBase to allocate input buffers
2020-09-09 s.fricke@samsung.com layers: Removed incorrect cmdDraw warnings
2020-09-09 baldurk@baldurk.org layers: Add a couple of missing % to printf specifiers

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: I2eb5a218a9ede986c5a5c4c27dcba68b1380188e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2403052
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-10 12:04:26 +00:00
angle-autoroll 8b1f0461b5 Roll SwiftShader from ce08265ba5b7 to b24900a1aa39 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ce08265ba5b7..b24900a1aa39

2020-09-09 sugoi@google.com Update PowerVR Samples to ToT

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 ianelliott@google.com 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: ianelliott@google.com
Change-Id: I4759bb1c7f1f7a3a5b9c0186acc93b61ad3e3e79
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2403054
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-10 11:43:06 +00:00
angle-autoroll 8fd41dffec Roll SPIRV-Tools from a715b1b40535 to 2de7d3af0c0e (2 revisions)
a715b1b405..2de7d3af0c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: Ifea2b79b7f2bf1d0e2cd03afd415b30fa14f8353
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2403053
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-10 11:11:16 +00:00
angle-autoroll 84508b9666 Roll Chromium from e9ccdaed3414 to 30a5da059e5d (421 revisions)
e9ccdaed34..30a5da059e

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 report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Changed dependencies
* build: 9c1d4223d1..8984f7a2c3
* buildtools: ff93f3ea1a..a90362b4fc
* testing: 558bae6f39..e4f04cd4f5
No update to Clang.

Bug: None
Tbr: ianelliott@google.com
Change-Id: Ie0d39bc5a74717daf4eb7b22a1a64bc3b59ddece
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2401934
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-10 08:27:41 +00:00
Shahbaz Youssefi 29b1f07f4a Vulkan: Boilerplate for vkCmdNextSubpass
Bug: angleproject:4881
Change-Id: I5c46c07e8c7865ef2bfd8aff0d3f8b5ba3ecd750
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2399181
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-10 02:55:40 +00:00
Courtney Goeltzenleuchter cbbf958764 Fix ASAN issue with accessing application name
ASAN caught reference outside scope issue regarding
RendererVk::initialize. Need to have a local copy of the string so that
it stays alive for the Vulkan call.

Bug: b/168145220
Change-Id: I13d751a48fe86a5a3d603d892c86c5a7186f2606
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2402353
Reviewed-by: Ian Elliott <ianelliott@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-10 01:27:41 +00:00
Jonah Ryan-Davis 9a7b0a2dc5 Workaround bogus MscRate reported by some XWayland drivers.
XWayland defaults to a 1hz refresh rate when the surface is not
visible, but this can sometimes cause issues in Chrome. If we see
a bogus rate like that, ANGLE can just report 30hz.

Bug: chromium:1042393
Change-Id: I554b05b4107cea528525ced6e95a5ce529eec3b1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2388700
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-09 21:04:48 +00:00
Shrek Shao a3bf9092e1 Suppress AtomicCounterBufferRangeRead failure on Nexus6P
TBR=syoussefi@chromium.org
Bug: angleproject:3726
Change-Id: I8e4eb420ef43ee50b7e4df563148ed296f260adb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2401545
Commit-Queue: Shrek Shao <shrekshao@google.com>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-09 20:01:58 +00:00
Jose Dapena Paz cee5748326 GCC: init kImageMemoryBarrierData with initializer constructor
GCC fails to automatically map the initializer assignment for
initializing the angle::PackedEnumMap. So this change adds the
type hint ImageMemoryBarrierData to the second part of the pairs
passed to construct the PackedEnumMap.

GCC error:
    ./../third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:387:1: error: could not convert ‘{{rx::vk::ImageLayout::Undefined, {"Undefined", ...}}}’ from ‘<brace-enclosed initializer list>’
    to ‘const angle::PackedEnumMap<rx::vk::ImageLayout, rx::vk::{anonymous}::ImageMemoryBarrierData>’
      387 | };
          | ^
          | |
          | <brace-enclosed initializer list>

Bug: chromium:819294
Change-Id: I314c43c0795e54cabd891205ee935c6354d11658
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2401778
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-09 18:41:52 +00:00
angle-autoroll 48df087f8a Roll SwiftShader from 10121443c16d to ce08265ba5b7 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/10121443c16d..ce08265ba5b7

2020-09-09 capn@google.com Fix register assignment for constant arrays
2020-09-09 capn@google.com Fix component swizzle for uniform texel buffers
2020-09-09 sugoi@google.com Allow alphaToCoverage with a single sample

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 ianelliott@google.com 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: ianelliott@google.com
Change-Id: Iefa5ad1f40ec2dfaae6d53d46e79de8a20471a7e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2400879
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-09 11:01:00 +00:00
angle-autoroll e05f3af554 Roll SPIRV-Tools from 1ab52e54abfd to a715b1b40535 (2 revisions)
1ab52e54ab..a715b1b405

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: I28c3042c6e03ecde0c16f96889d6b88e0f54c7c4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2400878
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-09 10:59:20 +00:00
Shahbaz Youssefi 957079aac4 Vulkan: Free 8 bits in RenderPassDesc
These bits will be used in a follow up change to determine which color
attachments need to take their value from a corresponding resolve
attachment in an initial subpass.

Bug: angleproject:4881
Change-Id: I76b6b3339fe209f93dd259ca087d84ecaa3004b6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2397205
Reviewed-by: Charlie Lao <cclao@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-09 09:41:58 +00:00
angle-autoroll 7598f4b003 Roll Chromium from 4a41eb42842c to e9ccdaed3414 (365 revisions)
4a41eb4284..e9ccdaed34

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 report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Changed dependencies
* build: 2dc8141cfc..9c1d4223d1
* testing: 17a7648876..558bae6f39
* third_party/zlib: aec16ef745..898c6c0dd9
* tools/clang: 03bacc3235..97d6ab3da3
No update to Clang.

Bug: None
Tbr: ianelliott@google.com
Change-Id: I5a9a5ec99879f574d26801198dd3129e199c20b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2399373
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-09 08:19:16 +00:00
Mohan Maiya 41c93c550b Vulkan: Bug fix in atomic counter buffer count calculation
When binding a new atomic counter buffer to a slot it is
necessary to take into account the previous binding of that
slot. This rectifies a bug introduced in f7b607c63c

Bug: angleproject:3566
Test: angle_unittests.exe --gtest_filter=AtomicCounterBufferTest31.AtomicCounterBuffer*
Change-Id: If78954d27c3345e8620294a84e839058d7dd7b9a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2388431
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-08 19:47:17 +00:00
Ian Elliott d4b029e370 Vulkan: Suppress VVL PushConstantOutOfRange errors
VVL Error: UNASSIGNED-CoreValidation-Shader-PushConstantOutOfRange

Bug: angleproject:5027
Change-Id: I60eef046df5569f4d76bf065ea6df7565793a6b9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2399178
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: Ian Elliott <ianelliott@google.com>
2020-09-08 18:47:37 +00:00
Corentin Wallez e5882825af Texture::copyImage: Correctly compare against FBAttachment
There is no functional changes, but avoids an incorrect static_cast of
pointers when looking to skip the clear in a copyImage of an image onto
itself.

Change-Id: I35949005016dab5df01e58d27de53dccf38d50c7
Bug: chromium:1125354
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395617
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-09-08 15:46:41 +00:00
angle-autoroll 2d00262a14 Roll glslang from dc1b9762731e to 6a6e311d81dd (1 revision)
dc1b976273..6a6e311d81

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: I9566baede31151aca6cfefc40fc96a1650e11456
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2398317
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-08 13:18:59 +00:00
angle-autoroll 97ad486c3a Roll SPIRV-Tools from fd05605bef1c to 1ab52e54abfd (1 revision)
fd05605bef..1ab52e54ab

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: Ib4d3f87a526884e8b87377545770cf89fd1e9f93
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2398314
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-08 12:13:09 +00:00
angle-autoroll cfa2a2c388 Roll Vulkan-Loader from 4a7362c2b223 to 45f2f18a69eb (1 revision)
4a7362c2b2..45f2f18a69

2020-09-07 shannon@lunarg.com build: Update known-good files for 1.2.153 header

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-loader-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: I3442c809da7fd42d50dbe2a5b0ec06c27f980e45
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2398310
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-08 11:54:49 +00:00
angle-autoroll 06fec93418 Roll Vulkan-ValidationLayers from 2c793ba1d0e8 to 4ede8ee6e2ec (2 revisions)
2c793ba1d0..4ede8ee6e2

2020-09-07 32918197+jorgep31415@users.noreply.github.com tests: Modify renderpass compat Multiview test for Vulkan 1.2
2020-09-07 32918197+jorgep31415@users.noreply.github.com layers: Modify renderpass compat Multiview check for Vulkan 1.2

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: I19fd93f979ddf3d61acdea7467b8b5738f292b55
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2397674
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-08 11:52:19 +00:00
angle-autoroll 0485634fe3 Roll Vulkan-Tools from 25d277579d1e to ccab4cc42372 (1 revision)
25d277579d..ccab4cc423

2020-09-07 shannon@lunarg.com build: Update known-good files for 1.2.152 header

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: I2faf1f77e1105078020f03d065f9e8c87472b1b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2398309
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-08 11:14:09 +00:00
angle-autoroll 51932f610c Roll Chromium from b35107425323 to 4a41eb42842c (172 revisions)
b351074253..4a41eb4284

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 report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Changed dependencies
* build: fc95b89607..2dc8141cfc
* testing: aae220c1b5..17a7648876
No update to Clang.

Bug: None
Tbr: ianelliott@google.com
Change-Id: Ibe4a08fcc302c0d6aa038ccbaad408d72063b243
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2397560
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-08 08:09:38 +00:00
angle-autoroll 07d44b97cf Roll SwiftShader from e63aa953ddfd to 10121443c16d (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/e63aa953ddfd..10121443c16d

2020-09-07 capn@google.com Regres: Roll dEQP to latest tip-of-tree

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 ianelliott@google.com 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: ianelliott@google.com
Change-Id: I01f27e241d1e179b5c4a873a20c821ee43bc66e9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395798
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-07 12:00:57 +00:00
angle-autoroll ddf0fba0b0 Roll Vulkan-Headers from ced848d699b5 to f0e102e48197 (1 revision)
ced848d699..f0e102e481

2020-09-07 oddhack@sonic.net Update for Vulkan-Docs 1.2.153

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 ianelliott@google.com 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: I240b3871d3887f3f0f5c60f2e2ebd206280e8a36
Bug: None
Tbr: ianelliott@google.com
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395048
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-07 11:52:47 +00:00
angle-autoroll 6e7ef462a5 Roll Vulkan-ValidationLayers from 6f1037eec97a to 2c793ba1d0e8 (5 revisions)
6f1037eec9..2c793ba1d0

2020-09-04 shannon@lunarg.com build: Address 152 VUID inconsistencies
2020-09-04 shannon@lunarg.com build: Update known-good files for 1.2.152 header
2020-09-04 mark@lunarg.com android: Force complete VLT information logging
2020-09-04 mark@lunarg.com tests: Add positive test for unabled dev ext struct use
2020-09-04 mark@lunarg.com layers: Fix for dev ext pdev struct usage

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: Ief205ea88fa91b9b5cec6330b9b3f667a09408e5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395797
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-07 11:16:07 +00:00
angle-autoroll b602269d23 Roll glslang from 517f39eee46f to dc1b9762731e (2 revisions)
517f39eee4..dc1b976273

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC ianelliott@google.com 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: ianelliott@google.com
Change-Id: Ice7fee6b617366983793e9eff9f3a493295a4f5c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395796
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-07 11:07:37 +00:00
angle-autoroll 3cdd19d95d Roll Chromium from c934ea57f1cb to b35107425323 (149 revisions)
c934ea57f1..b351074253

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

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

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

Changed dependencies
* build: a9ca728568..fc95b89607
* testing: 3572f32a2f..aae220c1b5
* third_party/abseil-cpp: 1e3b0f3630..de8d9210e5
* third_party/zlib: 59187e10e9..aec16ef745
No update to Clang.

Bug: None
Tbr: cwallez@google.com
Change-Id: Ic00c3243adc183b88ae09d40b0dac205d4dc8190
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2395044
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-09-07 08:05:58 +00:00