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

1132 Коммитов

Автор SHA1 Сообщение Дата
Mohan Maiya aa2a558ec2 Vulkan: Add support for setting timestamp surface attribute
On Android the EGL wrapper handles most of the functionality required
by EGL_ANDROID_get_frame_timestamps. However if for some reason the
swapchain is recreated, the timestamp state would be lost resulting in
stuttering.

Introduce EGL_ANGLE_timestamp_surface_attribute extension that adds
support for toggling the EGL_TIMESTAMPS_ANDROID attribute of a surface.
Cache this state and recreate the swapchain accordingly.

Bug: angleproject:7489
Test: EGLSurfaceTest.TimestampSurfaceAttribute*
Test: dEQP-EGL.functional.get_frame_timestamps*
Change-Id: I3660f7137c006d904164d243a682a4ff520eabd8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3753396
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: mohan maiya <m.maiya@samsung.com>
2022-08-24 00:03:00 +00:00
Yiwei Zhang df9468565c Map RGBX AHB to GL_RGBX8_ANGLE and fix the load function
AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM was false mapped to GL_RGB8, which
will write back to the backing exteranl storage with 3 channel layout.
Angle actually has ANGLE_rgbx_internal_format to fix the mapping with
GL_RGBX8_ANGLE. However, the load function must align with GL_RGB8 if
the actual storage is 4 channel. This change also fixes that to use
LoadToNative3To4<GLubyte, 0xFF>.

Bug: b/238460927
Test: CtsNativeHardwareTestCases#SingleLayer_ColorTest_*_R8G8B8X8_*
Test: ImageTestES3.RGBXAHB* pass without VVL error
Change-Id: Ic5db4cb4adba252949d64e560ff32e492a045912
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3846413
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Lingfeng Yang <lfy@google.com>
2022-08-23 17:38:26 +00:00
Shahbaz Youssefi 952d6e8f8b Vulkan: Workaround ARM driver bug with dynamic vertex strides
According to ARM, vkCmdBindVertexBuffers2EXT is broken when more than
one attribute binding is involved.  In this change, the vertex strides
dynamic state is avoided altogether on ARM.

Bug: fuchsia:107106
Change-Id: Ie41fc07037083214d2dc99e4ed062485384911c5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3844640
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-22 22:17:01 +00:00
angle-autoroll 86a35a4b50 Roll vulkan-deps from d53c356ad7d9 to 186a4d4b9dea (48 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/d53c356ad7d9..186a4d4b9dea

Changed dependencies:
* glslang: adf7bf0113..10423ec659
* spirv-tools: 0a43a84e02..3c1a14b2b6
* vulkan-headers: c896e2f920..715673702f
* vulkan-loader: a0ab2f162e..40faec799c
* vulkan-tools: 497f232680..439026106a
* vulkan-validation-layers: 529a4320d3..40315fa5c0

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 ynovikov@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:7593
Change-Id: I9bfc09ca04025829881af9d03b2073a6f24234c2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3846057
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-22 21:44:59 +00:00
Lingfeng Yang caf2b4279b Vulkan: Add feature to use PASS_THROUGH for EGL_NONE color spaces
This is a temporary solution to fix media tests until ANGLE
also has the ability to query the "preferred color space" from
Surfaces.

Bug: b/235995022
Test: Launch Cuttlefish with this change and the feature enabled
      with aosp/2167231
Test: cts -m CtsMediaCodecTestCases
          -t android.media.codec.cts.EncodeDecodeTest
Test: cts -m CtsMediaCodecTestCases
          -t android.media.codec.cts.DecodeEditEncodeTest
Change-Id: I17d1a2c1701cd1707b34f5bf2f222e9ad57c7a61
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3770291
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Jason Macnak <natsu@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Lingfeng Yang <lfy@google.com>
2022-08-22 16:47:59 +00:00
angle-autoroll 676bc8ed49 Roll Chromium from 336269709208 to e1b4daf2a3e7 (602 revisions)
3362697092..e1b4daf2a3

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: ca7f2297ff..facb235241
* buildtools: 3a4c85002c..6f3cc96d10
* buildtools/third_party/libc++/trunk: db72216693..c58c612d74
* buildtools/third_party/libc++abi/trunk: d2e4dc7655..6c17e7c636
* buildtools/third_party/libunwind/trunk: f87795ea5b..42aa6de554
* testing: 8fade393ad..a30c0d90b3
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..9bfc1aede5
* third_party/fuchsia-sdk/sdk: version:9.20220817.2.1..version:9.20220821.3.1
* third_party/r8: qvL35O3yU1ZbOWHVZBedmVtdaav1qKquii4RJyUh-PgC..2P7CTTsDUzoP3f8LtGNRdtwC48KAMmV-hPoNhGAwiKMC
* tools/clang: a56fd8b0a2..bd2da0345a
* tools/perf: d2cfb95d99..398778992d
* tools/skia_goldctl/linux: vguZysogLzkycKzCMUUxjQNXAY4wQigIBE83puLd_8YC..eVmrBHTaHLBRrBHBIagAjRi84M8Pih7goWAjl0ZL9H0C
* tools/skia_goldctl/mac_amd64: nmPC1ukuYnMcvcfOIlAG5AbUIL_J9LSUaFkegd6BPF0C..3fnB8n0m7xQ9X4SWg4rYgZksJ4YFew0fj6ftsyHzbSwC
* tools/skia_goldctl/mac_arm64: B2gt4DQ8QHw4DRrXPgm6d05bbWE5-6hNolIlFc8WECIC..J_MizgwQbTOCG1ZKfGQJRXm-F2Ey8P3M7Dl5WxYKEwwC
* tools/skia_goldctl/win: nOvtL4uNJDJw0xbMHz5X0t6RPhp-WQ7eFnxDpCkrmlEC..aYli_YA93vex9TPItiLM1AcLs64FzefvhXxh2aHEvJsC
No update to Clang.

Bug: None
Tbr: syoussefi@google.com
Change-Id: Iedba1328a8534d03ee0154a1a8ac0b4b7c2d6895
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3844859
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-22 08:08:59 +00:00
Shahbaz Youssefi 4330a827ba Reland "Vulkan: Use VK_EXT_primitive_topology_list_restart"
This reverts commit 29d18b3031.

Reason for revert: Fixed VVL suppressions not working

Original change's description:
> Revert "Vulkan: Use VK_EXT_primitive_topology_list_restart"
>
> This reverts commit e79c9cd630.
>
> Reason for revert: Causing timeouts on some headless tests: anglebug.com/7579
>
> Original change's description:
> > Vulkan: Use VK_EXT_primitive_topology_list_restart
> >
> > From ANGLE's point of view, there is nothing to do with this extension
> > other than enable a feature that silences a validation error.
> >
> > Bug: angleproject:3832
> > Change-Id: I094343d09c322e2848a65a5bc775d0f21388fb46
> > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3562380
> > Reviewed-by: Jamie Madill <jmadill@chromium.org>
> > Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
> > Reviewed-by: mohan maiya <m.maiya@samsung.com>
>
> Bug: angleproject:3832
> Change-Id: Ifec7c9eaea1d3a949f15e0b6d868742f53cf8377
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3838391
> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>

Bug: angleproject:3832
Change-Id: Ia79b1f3b716f0df1991f605704135b4af48fb639
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3841366
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-08-19 15:27:46 +00:00
Shahbaz Youssefi 29d18b3031 Revert "Vulkan: Use VK_EXT_primitive_topology_list_restart"
This reverts commit e79c9cd630.

Reason for revert: Causing timeouts on some headless tests: anglebug.com/7579

Original change's description:
> Vulkan: Use VK_EXT_primitive_topology_list_restart
>
> From ANGLE's point of view, there is nothing to do with this extension
> other than enable a feature that silences a validation error.
>
> Bug: angleproject:3832
> Change-Id: I094343d09c322e2848a65a5bc775d0f21388fb46
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3562380
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
> Reviewed-by: mohan maiya <m.maiya@samsung.com>

Bug: angleproject:3832
Change-Id: Ifec7c9eaea1d3a949f15e0b6d868742f53cf8377
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3838391
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-18 19:59:36 +00:00
Eddie Hatfield 955adb7757 Cache compiled shader
By storing the compiled shader in the blob cache, the time to
recompile the same shader is reduced.

Based on work by <hckim.kim@samsung.com>

Bug: angleproject:7036
Change-Id: I884ae40e715c49a9ccd12903012e8327811e3557
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3808235
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-08-18 05:28:46 +00:00
Shahbaz Youssefi e79c9cd630 Vulkan: Use VK_EXT_primitive_topology_list_restart
From ANGLE's point of view, there is nothing to do with this extension
other than enable a feature that silences a validation error.

Bug: angleproject:3832
Change-Id: I094343d09c322e2848a65a5bc775d0f21388fb46
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3562380
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: mohan maiya <m.maiya@samsung.com>
2022-08-16 17:44:48 +00:00
Roman Lavrov 19eb658f64 Reland "Infra: Enable Skia Gold tests on Pixel 6"
Reverted due to timeouts https://crrev.com/c/3594112 which shouldn't be
happening now.

Bug: angleproject:7216
Change-Id: I9a4b0f9d8e315a103dbdbe3f5e3e7219ae4815d5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3819844
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2022-08-16 15:12:32 +00:00
Cody Northrop 2089943b95 Tests: Add Lumino City trace
Test: angle_perftests --gtest_filter="*lumino_city*"
Bug: angleproject:7571
Change-Id: I206b965712b8f833874069bbcec0c93fc7ee5087
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3829135
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2022-08-15 21:49:00 +00:00
angle-autoroll 4cdabfb145 Roll VK-GL-CTS from eaf78cbfdaed to 5a93cd60f33b (4 revisions)
eaf78cbfda..5a93cd60f3

2022-08-12 ziga@lunarg.com Add tests making sure dynamic states are not overwritten
2022-08-12 rgarcia@igalia.com Test interaction of image_view_min_lod, robustness2 and gather
2022-08-12 piotr.byszewski@mobica.com Interaction between FDM and imageless framebuffer
2022-08-11 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkan-cts-1.3.3 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 angle-bots+autoroll-info@google.com,geofflang@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: angle-bots+autoroll-info@google.com,geofflang@google.com
Change-Id: I58dcd6e603d2ea8cbd1e6fff9eb39f7d41fabba0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3829728
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 17:49:11 +00:00
angle-autoroll 002b9544ac Roll Chromium from e4653aba963d to f904dc881cb8 (487 revisions)
e4653aba96..f904dc881c

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 geofflang@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: 9497cae3d0..36b3854b7e
* buildtools: 11459ac227..47ec3a84c6
* buildtools/linux64: git_revision:c8c63300ac8ecb66d8126af5407257209ae59044..git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a
* buildtools/mac: git_revision:c8c63300ac8ecb66d8126af5407257209ae59044..git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a
* buildtools/third_party/libc++/trunk: 55e0c49d14..9f503bebdb
* buildtools/win: git_revision:c8c63300ac8ecb66d8126af5407257209ae59044..git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a
* testing: 6250261533..4802c02064
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..b2cd6477b9
* third_party/fuchsia-sdk/sdk: version:9.20220810.1.1..version:9.20220811.2.1
* third_party/r8: YywdNQUrAK_HHH829t_MPLvTyjmQW-dWAsB7k-8gpNkC..DZRgtLW0NflugdN9UMc7OsJqux69vI-6BxCNcTJaRTwC
* tools/memory: 7d9556cfda..e5f1a8a766
* tools/skia_goldctl/linux: 9fyLI7UE2vwgyQweLyqyh193CzDMxbUr0xRuqtcCLAgC..ebDbf3X2jdAICDlXMXUr7yp4muhSvYoREDLdZZoJzuAC
* tools/skia_goldctl/mac_amd64: Gd1BbosIHwOaX5zOlcEpL3_dE4fNnH3ZavJaYPSbIaEC..yE_XL6pbQ8M0WuI236ObRlkSxu0XMdWs_AnUeo21wa8C
* tools/skia_goldctl/mac_arm64: xjfviFgm_MjrBG13x_JywIF9-wkn8wCyBm7yZVx-V10C..l46gUmkc-2-OsEMo-oEbpXiBAYg48KtXbtF1lyBh0u8C
* tools/skia_goldctl/win: rV5hj2Xykfze-wY9ozIelEOoVLxjUV7rPUMxnRrlh80C..58nNno6pNLLSJaZknYmuijuo5gy2tfRBKNI1iCldDlcC
No update to Clang.

Bug: None
Tbr: geofflang@google.com
Change-Id: Ia3761305f18225d92685073e031fabf127a59829
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3828537
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-12 09:20:22 +00:00
Chris Dalton 4a636cdd41 Require all PLS formats to consume exactly 4 bytes of storage
D3D 11.0 UAVs only support R32_FLOAT, R32_UINT, R32_SINT formats.

EXT_shader_pixel_local_storage explicitly states that all PLS variables
consume exactly 4 bytes.

ESSL images can only have both read and write access if their format is
r32f, r32i, r32ui. (We were able to circumvent this via aliasing, but it
was a huge source of bugs.)

There is a large precedent for only supporting 4 bytes of storage in the
capabilities we use for PLS, so this CL removes support for all PLS
storage formats that are not 4 bytes. It also implements an "R32" mode
for PLS, that does manual packing and unpacking of r32* image formats.
If the application wants larger formats, it can always define multiple
PLS planes and piece them together.

Next up we ought to be able to support rg16* types with more
packing/unpacking.

With aliasing gone, and with a bit of tweaking, the PLS tests now pass
on the Pixel 4 GLES bot.

Bug: angleproject:7279
Bug: angleproject:7388
Bug: angleproject:7524
Bug: angleproject:7527
Change-Id: I6b8f62c2428ade6cb5413e33360d734e55dda0eb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3782579
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Chris Dalton <chris@rive.app>
2022-08-11 18:05:32 +00:00
Chris Dalton fa3d7d5cd0 Make PLS coherent on Vulkan
Uses the VK_EXT_fragment_shader_interlock extension to make the shader
image implementation of PLS coherent on Vulkan.

This extension is supported on AMD, Apple, NVIDIA, and Intel.

Bug: angleproject:7279
Change-Id: Ic0253eb20932eb6be0b1f433ba454e48b57be2f5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3813816
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Chris Dalton <chris@rive.app>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-08-11 18:02:42 +00:00
angle-autoroll 6c9530690c Roll Chromium from d830698e47ae to e4653aba963d (476 revisions)
d830698e47..e4653aba96

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 geofflang@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: 93068bfb00..9497cae3d0
* buildtools: b11e87a879..11459ac227
* buildtools/linux64: git_revision:3d773bba0927e67eae8fdaee5e28b0f6203d3bee..git_revision:c8c63300ac8ecb66d8126af5407257209ae59044
* buildtools/mac: git_revision:3d773bba0927e67eae8fdaee5e28b0f6203d3bee..git_revision:c8c63300ac8ecb66d8126af5407257209ae59044
* buildtools/third_party/libc++/trunk: fe1bc75a46..55e0c49d14
* buildtools/win: git_revision:3d773bba0927e67eae8fdaee5e28b0f6203d3bee..git_revision:c8c63300ac8ecb66d8126af5407257209ae59044
* testing: 2988eb6ecf..6250261533
* third_party/abseil-cpp: f35edd63ba..d22f28635a
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..268569634e
* third_party/fuchsia-sdk/sdk: version:9.20220809.1.1..version:9.20220810.1.1
* third_party/r8: ncOWcGcIDVi8ufTgdNYbCX5-V_uiCMJ1doSNFemyu1wC..YywdNQUrAK_HHH829t_MPLvTyjmQW-dWAsB7k-8gpNkC
* tools/mb: d42a2d064a..7fbcd9170e
* tools/perf: 0d9f47b867..ca2df581e4
No update to Clang.

Bug: None
Tbr: geofflang@google.com
Change-Id: I15f973628babf7efc3fbc2aaec8b2db522ccde2f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3824172
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-11 09:55:02 +00:00
Shahbaz Youssefi 876da4ae9c Vulkan: Query support for VK_KHR_imageless_framebuffer
In preparation for using it.

Bug: angleproject:7553
Change-Id: I579af8ce2c0dd1d58bf750ee494e06a071b798fa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3823620
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
2022-08-10 22:46:41 +00:00
Shahbaz Youssefi f7d4c6145d Vulkan: Use VK_EXT_primitives_generated_query
This Vulkan extension implements OpenGL's primitives generated query.
The heavy lifting in ANGLE's implementation was done when this query was
emulated with pipeline statistics query.  This change simply switches
pipeline statistics query usage to this dedicated query when available.

Bug: angleproject:5430
Change-Id: I5d2c7d64e4627bcbd33d428d6a7c836b1129e5fd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3813815
Reviewed-by: Charlie Lao <cclao@google.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
2022-08-10 18:18:03 +00:00
Shahbaz Youssefi 493b5aff70 Vulkan: Workaround ARM bug with stencil write mask
Bug: angleproject:7556
Change-Id: I0aa17c178071cc15d8ee15f700b0c4932819c72a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3821367
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-08-10 16:02:25 +00:00
angle-autoroll ee09383861 Roll Chromium from 6306836d087b to d830698e47ae (506 revisions)
6306836d08..d830698e47

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 geofflang@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: 91cf468257..93068bfb00
* buildtools/third_party/libunwind/trunk: c38cbd4028..a097a1ada6
* testing: 3da59a3d51..2988eb6ecf
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..743fa6c597
* third_party/fuchsia-sdk/sdk: version:9.20220808.3.1..version:9.20220809.1.1
* third_party/r8: zwDsb_S9yBEwDeg6obeP11vhi8U_Hg82v-Fsv-90ifMC..ncOWcGcIDVi8ufTgdNYbCX5-V_uiCMJ1doSNFemyu1wC
* tools/mb: 7995d10b85..d42a2d064a
* tools/perf: 4819558a6e..0d9f47b867
No update to Clang.

Bug: None
Tbr: geofflang@google.com
Change-Id: I331747dc891d29acdacbe0296c2f6173767b4ffd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3821647
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-10 10:21:17 +00:00
Amirali Abdolrashidi 8050079c11 Vulkan: Remove basicGLLineRasterization
* Removed basicGLLineRasterization from the ANGLE features.
* Removed "viewport" from the extended driver uniform classes.

Bug: angleproject:2830
Bug: angleproject:7558
Change-Id: I289b1e2b536a6bd0c1ab24844835221e617a296d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3818165
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-09 18:28:28 +00:00
angle-autoroll 97b16799ce Roll Chromium from 199441d23d93 to 6306836d087b (461 revisions)
199441d23d..6306836d08

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 geofflang@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: b1868b3db9..91cf468257
* buildtools: 416d16f002..b11e87a879
* buildtools/linux64: git_revision:c8c63300ac8ecb66d8126af5407257209ae59044..git_revision:3d773bba0927e67eae8fdaee5e28b0f6203d3bee
* buildtools/mac: git_revision:c8c63300ac8ecb66d8126af5407257209ae59044..git_revision:3d773bba0927e67eae8fdaee5e28b0f6203d3bee
* buildtools/third_party/libc++/trunk: 75bbec9f6d..fe1bc75a46
* buildtools/third_party/libunwind/trunk: 47974e9376..c38cbd4028
* buildtools/win: git_revision:c8c63300ac8ecb66d8126af5407257209ae59044..git_revision:3d773bba0927e67eae8fdaee5e28b0f6203d3bee
* testing: 9598217953..3da59a3d51
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..4755386202
* third_party/depot_tools: 2cd48234f1..647cfe6bf1
* third_party/fuchsia-sdk/sdk: version:9.20220806.1.1..version:9.20220808.3.1
* third_party/r8: IBW3UYermEa3GRA8TK8U8l7zQEPKBCQOt8d4K4QAHtsC..zwDsb_S9yBEwDeg6obeP11vhi8U_Hg82v-Fsv-90ifMC
* tools/perf: 27842bf472..4819558a6e
No update to Clang.

Bug: None
Tbr: geofflang@google.com
Change-Id: Ia87f9cfcd941b0016c2299cc4a6681f64d3cd878
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3819073
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-09 09:19:30 +00:00
angle-autoroll dbfab1595b Roll Chromium from d7560fcbdf63 to 2bf3e35d7a4c (416 revisions)
d7560fcbdf..2bf3e35d7a

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 jmadill@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: 0ad6539347..664331e40d
* testing: 915a8eb0cc..230a11a4ba
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..dcdf418945
* third_party/fuchsia-sdk/sdk: version:9.20220803.3.1..version:9.20220804.2.1
* third_party/r8: 8RiUzjctgueOdfuqGNeXwdR_7AGlMwPM9A01M3uKD88C..MQolCMavu5-KSAcEH_GUHAmKTQ1g5ydGaNBmKfh7czkC
* tools/clang: ba74bc78cc..5a9c565608
* tools/memory: 41d69d665a..7d9556cfda
No update to Clang.

Bug: None
Tbr: jmadill@google.com
Change-Id: I5dd7397aa3b7c21ef7a28142340cc32781939b06
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3813017
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-05 08:24:27 +00:00
angle-autoroll 6f158ca04e Roll vulkan-deps from 3ee9789f25ed to 3a443029375b (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/3ee9789f25ed..3a443029375b

Changed dependencies:
* glslang: fb64704060..adf7bf0113
* spirv-tools: 54cd5e1963..08c542d344
* vulkan-headers: ff92049ebd..2b55157592
* vulkan-validation-layers: aa7ee26f15..3a10ae8223

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 jmadill@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: jmadill@google.com
Change-Id: Ifbdf940f660ad5363810dee490ddb49b67b790c8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3810052
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-04 14:48:24 +00:00
Chris Dalton 861149c7ac Make PLS coherent on desktop OpenGL
Implements ANGLE_shader_pixel_local_storage_coherent using fragment
shader synchronization extensions:

  NV_fragment_shader_interlock
  INTEL_fragment_shader_ordering
  ARB_fragment_shader_interlock

With these extensions combined, we get coherency all 3 big desktop
vendors: NVIDIA, Intel, and AMD.

Bug: angleproject:7279
Change-Id: Ie20b251fb772898e89994b799640f1f2806581eb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3773990
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-08-04 14:04:26 +00:00
Eddie Hatfield c54ed79053 Get desktop GL conformance tests to build
The target for these tests is angle_deqp_gl_tests.

Bug: angleproject:7533
Change-Id: I290822671d99da020f9a6a1f02bee43987644bf9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3766435
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Eddie Hatfield <eddiehatfield@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-08-03 22:17:47 +00:00
Bo Liu 57ccd974ba Make limit_max_texture_size_to_4096 webgl only
Bug: chromium:1319451
Change-Id: I7dedeb8d738c1070e650650e893d57984a9e7956
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3739439
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2022-08-03 20:59:36 +00:00
Jamie Madill f0d2dbec74 Retry flaky failures on SwiftShader *SAN builds.
This should green up the TSAN builder.

Bug: chromium:1275223
Change-Id: Id8dc2e35b739caa6688d13fcabfefb9833940d79
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3804745
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Auto-Submit: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2022-08-03 14:16:05 +00:00
Cody Northrop 13da8b9731 Tests: Add Octopath Traveler trace
Test: angle_perftests --gtest_filter="*octopath_traveler*"
Bug: angleproject:7543
Change-Id: I6187058f99c1598051a118ac65e0121e9c35ac9d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3805739
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2022-08-02 20:31:45 +00:00
angle-autoroll 60a02ca6ee Roll Chromium from bfa66f9bea8c to d268b4c8a6b1 (202 revisions)
bfa66f9bea..d268b4c8a6

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 jmadill@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: 35807fca11..b1d3dcea6a
* buildtools: 03e060ebda..56cc5bc223
* testing: 57cf1a6ce6..03d22b4428
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..682d9b1d88
* third_party/fuchsia-sdk/sdk: version:9.20220801.1.1..version:9.20220801.2.1
* third_party/r8: auReXfxxD74XGdPdi-rYsKrp4sRwYwgNjh_W0PT7vNcC..5xaODYedSIJ21XAwZcpj4pG3NuVyKXrw43631PdtgK0C
* tools/skia_goldctl/linux: BquSeorcTU84O2_A8IoWetGrcfLWxLfZCo9sve1Wt2IC..0NA1CyaNhIxt00SqtGFZVHJ-K7ioB4L6a5rT4MzyQ48C
* tools/skia_goldctl/mac_amd64: -t3YY_sZ-jtMAYZ2PlhjudFnEUgk4m-HjlIwSip4tOAC..FWI4Q_ogCO1xBJ0xpOqci1On1AsY-RHqGDYlvqf3AiQC
* tools/skia_goldctl/mac_arm64: x_xKUnqrgizoTO8mxX4RkyhpQ-nUp_x_go9YH-tc--QC..3dJEBjpviigMA6es0-th0SJsyrnw5_4wTMyBddvEByUC
* tools/skia_goldctl/win: AOoQr1u4-cOIEYJDAgVxGWoTiPaRcjrSsjjAaB-u_ggC..TwW8GVww_8ATYlTEN2pHq5xuXkLqTN5mrqFZjRWD2GgC
No update to Clang.

Bug: None
Tbr: jmadill@google.com
Change-Id: Iafbe821b783b5f6860bf26cba0325e0a8d846a1d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3803997
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-02 08:20:14 +00:00
Cody Northrop 606a923957 Tests: Add Ni no Kuni trace
Test: angle_perftests --gtest_filter="*ni_no_kuni*"
Bug: angleproject:7507
Change-Id: I129a9f053dab24f277c42d22876732b83e4de933
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3802565
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
Auto-Submit: Cody Northrop <cnorthrop@google.com>
2022-08-01 20:59:24 +00:00
angle-autoroll a629fb0a05 Roll VK-GL-CTS from e3066ef682d7 to 0170b4a25e36 (10 revisions)
e3066ef682..0170b4a25e

2022-07-29 piotr.byszewski@mobica.com Test NULL set layouts with non-independent sets
2022-07-29 piotr.byszewski@mobica.com Read vk.xml instead of vulkan_core.h
2022-07-29 piotr.byszewski@mobica.com Remove mandatory_features.txt
2022-07-29 jbauman@google.com Port deqp-vk to Fuchsia
2022-07-29 ziga@lunarg.com Fix passing temporary object as reference
2022-07-29 pdaniell@nvidia.com Improve image capability check compressed image tests
2022-07-29 rgarcia@igalia.com Test conditional rendering does not affect render pass clears
2022-07-29 ilkka.saarelainen@siru.fi Add dynamic rendering MSRTSS tests
2022-07-29 quic_mnetsch@quicinc.com Merge "Merge vk-gl-cts/vulkan-cts-1.3.3 to vk-gl-cts/main" into main
2022-07-28 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkansc-cts-1.0.1 to 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 angle-bots+autoroll-info@google.com,yuxinhu@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: angle-bots+autoroll-info@google.com,yuxinhu@google.com
Change-Id: I710f4a69b6a811a21c97001dffd099f22fa6710e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3794302
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-29 20:47:02 +00:00
angle-autoroll 9c6c072c9d Roll vulkan-deps from d28e244d3e12 to 2d409ca4e3b6 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/d28e244d3e12..2d409ca4e3b6

Changed dependencies:
* spirv-tools: cc5fca057e..8dc0030ecb
* vulkan-headers: 87d2aa9d77..ff92049ebd
* vulkan-loader: fe3ea8d5f7..0bcddf345f
* vulkan-tools: cd379e6992..e734be0bb5
* vulkan-validation-layers: c55f470906..cbdb019150

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 yuxinhu@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: yuxinhu@google.com
Change-Id: I6491ec0a8d80a984e94a437c54e7655ecccaf816
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3793768
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-29 11:38:16 +00:00
Lingfeng Yang 6142b83979 Vulkan: EXT_YUV_target: add vk feature
This Vulkan feature will be set to true once we detect support
from underlying Vk driver (method TBD).

Bug: b/223456677
Change-Id: I5003068c3119f43befb92579d4b656e3a9346363
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3788564
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Lingfeng Yang <lfy@google.com>
2022-07-28 22:50:41 +00:00
angle-autoroll a04f8c58a0 Roll Chromium from 85c57e6023c8 to e810ac85e1c8 (442 revisions)
85c57e6023..e810ac85e1

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 yuxinhu@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: faf85adb8b..1404d7f2be
* testing: 844e20e207..7975a43bbd
* third_party/abseil-cpp: c3a4a17539..53bd4e2349
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..84a7988038
* third_party/fuchsia-sdk/sdk: version:9.20220726.2.1..version:9.20220727.1.1
* tools/clang: 184bc29dd8..37aede243e
* tools/mb: 8c41d19417..6440bc4b73
* tools/perf: 8f4235f7ff..94f4798869
No update to Clang.

Bug: None
Tbr: yuxinhu@google.com
Change-Id: Idcfce9695e1de7d4856bc05e70102e76bcefca92
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3790472
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-28 08:36:00 +00:00
Stephen White 3f59c28562 D3D11: implement image load/store format reinterpretation.
Reinterpretation requires all UAV textures to be in a TYPELESS
format. Implement an ensureUnorderedAccess() that converts the
texture's storage to one with the D3D11_BIND_UNORDERED_ACCESS
flag, which, prior to this change, was set unconditionally for
all textures in an >= ES 3.1 context. If this flag is set at
D3D texture creation time, use the appropriate TYPELESS format.

Implementation uses a BindFlags struct, which subsumes the
existing renderTarget for clarity. Factor out the relevant bits
of ensureRenderTarget() into an ensureBindFlags() helper function,
and make ensureRenderTarget() and ensureUnorderedAccess() wrappers
around it.

Add the corresponding typeless formats to the texture format table.

Bug: angleproject:7501, angleproject:7520
Change-Id: Id21b9db3229aceca121da6ba6507704417034ec4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3780588
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-07-26 21:29:17 +00:00
Lubosz Sarnecki 5c5a14c30f Tests: Add Battle Of Polytopia trace.
Test: angle_perftests --gtest_filter="*battle_of_polytopia*"
Bug: angleproject:7529
Change-Id: Ib9ad862fa5d2a3cd761bdbf42b2b91c2fe63f99b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3780915
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-07-26 16:50:15 +00:00
Shahbaz Youssefi be70844665 Vulkan: Remove the bindEmptyForUnusedDescriptorSets workaround
Only applied to older Qualcomm-based phones.

Bug: angleproject:2727
Change-Id: I37a611e2ff79d898eff9401467407543f3c690b8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3785290
Reviewed-by: Charlie Lao <cclao@google.com>
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
2022-07-25 22:12:34 +00:00
Yuly Novikov da2d1e0a90 Update extension support (July 25, 2022).
Linux Intel testing was switched from HD630 to UHD630 GPU.

Bug: chromium:1342945
Change-Id: Ic02e71a9ee3d5cdb2a6808405551bf3f60512914
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3780158
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
2022-07-25 16:33:04 +00:00
angle-autoroll 3b020cc17e Roll VK-GL-CTS from cb1dc55bc044 to e3066ef682d7 (11 revisions)
cb1dc55bc0..e3066ef682

2022-07-23 quic_mnetsch@quicinc.com Merge dev/VK_EXT_shader_module_identifier to vk-gl-cts/main
2022-07-23 quic_mnetsch@quicinc.com Merge vk-gl-cts/dev/VK_EXT_multisampled_render_to_single_sampled to vk-gl-cts/main
2022-07-22 quic_mnetsch@quicinc.com Notice of withdrawal of Vulkan CTS 1.2.7.x
2022-07-22 quic_mnetsch@quicinc.com Merge "Merge vk-gl-cts/github-main into vk-gl-cts/main" into main
2022-07-22 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main
2022-07-22 piotr.byszewski@mobica.com Fix validation errors for DR multiview tests
2022-07-22 jbolz@nvidia.com Support commandPoolResetCommandBuffer==VK_FALSE for VulkanSC
2022-07-22 vidar.lillebo@arm.com Add tests for VK_EXT_image_compression_control_swapchain
2022-07-22 antto.makinen@siru.fi Add coverage of indirect dispatches on the compute queue
2022-07-22 rgarcia@igalia.com Test dynamic patch control points without tessellation
2022-07-22 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkan-cts-1.3.3 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 angle-bots+autoroll-info@google.com,yuxinhu@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: angle-bots+autoroll-info@google.com,yuxinhu@google.com
Change-Id: Ic3bdc4c896e144cadb5dd5b049763a649b9ac126
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3784727
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-25 15:50:54 +00:00
angle-autoroll 6d6b99673f Roll Chromium from d2f8d8516036 to 1201dfbc6265 (220 revisions)
d2f8d85160..1201dfbc62

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 romanl@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: 1d40290874..f14f6d206b
* buildtools: 8b46ec0615..fe57e98eeb
* buildtools/third_party/libc++/trunk: 49e658031b..eb79671bfb
* testing: 9222b02eb9..1f497ac0b0
* third_party/abseil-cpp: 5bf30e53b5..c3a4a17539
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..3384fbd903
* third_party/depot_tools: 0ba2fd429d..debf6402b3
* tools/perf: 9f9696f98f..8e7aadf254
No update to Clang.

Bug: None
Tbr: romanl@google.com,ynovikov@google.com
Change-Id: I09ec0218b7dab0e1a7607148b23de436dd6fdebd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3782572
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-22 22:39:01 +00:00
Peng Huang b78d471aea Add angle_enable_share_context_lock build flag
This flags can be used to enable the share context lock.
Without this lock, the client need to use gl calls in
a threadsafe way. It is true by default.

Bug: chromium:1336126
Change-Id: I984f8cfb0379195f6ebe11b0997e401f2421affa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3780582
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2022-07-21 19:04:00 +00:00
Yuly Novikov 115d83618e Switch Linux Intel testing to UHD 630 GPU
Replacing 0x5912 HD 630 with 0x9bc5 UHD 630.
Also updating Mesa from 19.0.2 to 20.0.8.

Since no problems were observed on the new configuration during the
experiment, removing max-processes and flaky-retries workarounds.

Bug: chromium:1342945
Change-Id: I51150092c67802ffd54796dd3b067cd6473dfb86
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3780922
Reviewed-by: Roman Lavrov <romanl@google.com>
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Roman Lavrov <romanl@google.com>
2022-07-21 16:42:20 +00:00
Chris Dalton c460c29914 Implement GLSL additions for ANGLE_shader_pixel_local_storage
Specs out, implements, and thoroughly tests the GLSL additions for
ANGLE_shader_pixel_local_storage. Adds a simple transformation that
rewrites PLS directly into shader images. Updates the existing PLS tests
to use the newly built-in PLS features and ensures they continue
passing.

For now, applications call glBindImageTexture to configure their pixel
local storage. The OpenGL ES API side of this extension will follow
shortly.

Bug: angleproject:7279
Change-Id: I141183069b5cbfcca01cbb77b5b36d3e5f834bf5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3761876
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Chris Dalton <chris@rive.app>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
2022-07-21 14:58:20 +00:00
angle-autoroll 25f7d39fca Roll vulkan-deps from c42337d9ef75 to 5cb0a31b27bf (10 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c42337d9ef75..5cb0a31b27bf

Changed dependencies:
* spirv-tools: 93ebf698a0..e4cfa190df
* vulkan-headers: 16847a6100..87d2aa9d77
* vulkan-validation-layers: eb67f9bbef..52aadfabb5

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 romanl@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: romanl@google.com
Change-Id: Iaaa8bdbee6b56f8e1e07722c690548ad46533a5a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3778411
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-21 13:20:10 +00:00
angle-autoroll 3fbd4e40d9 Roll Chromium from a1cfdbdf4c3b to 806fa2d991d9 (256 revisions)
a1cfdbdf4c..806fa2d991

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 romanl@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: f7ac2ecbd4..f304e1f508
* testing: 0a224ca590..1307a6e5be
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..1240e973d5
* third_party/fuchsia-sdk/sdk: version:8.20220713.3.1..version:9.20220719.1.1
* tools/perf: 4e30c7daa4..394db6d2a8
No update to Clang.

Bug: None
Tbr: romanl@google.com,ynovikov@google.com
Change-Id: I7f58ef83fe7c9c7760b200a7142a98709c5aac47
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3773447
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-19 19:49:48 +00:00
Lubosz Sarnecki 45e5cf0147 Vulkan: Implement ASTC emulation.
Implement ASTC emulation using the astc-encoder library.
Add copy_image tests to deqp_gles31_test_expectations for desktop cards.
Add emulatedAstc limitation.
Don't expose emulated ASTC from WebGL contexts.
Introduce ANGLE_HAS_ASTCENC define to check for build availability.
Only build on angle_standalone configurations.

DEPS: Add astc-encoder.
image_util: Decode ASTC to RGBA.
TracePerfTest: Skip car_chase and genshin_impact on NVIDIA.

Bug: angleproject:7415
Change-Id: Ib2f3fd3f710164a2ecd5d5edf780227031bbfb84
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3697999
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-07-19 12:24:48 +00:00
Roman Lavrov 2c3c45ee66 Roll VK-GL-CTS from ef9a6635208b to 692df061716d (12 revisions)
Includes suppression of new render_sample_texture_array dEQP tests on Android.

ef9a663520..692df06171

2022-07-15 quic_mnetsch@quicinc.com Merge vk-gl-cts/opengl-cts-4.6.2 into vk-gl-cts/main
2022-07-15 jan-harald.fredriksen@arm.com Avoid dependency on geometry shaders for VK_ARM_rasterization_order_attachment_access
2022-07-15 michal.jakubek@mobica.com Global Priority Queue Families Tests
2022-07-15 rgarcia@igalia.com Test resetting queries after copying results
2022-07-15 piotr.byszewski@mobica.com Remove some RT SkipTriangles tests
2022-07-15 piotr.byszewski@mobica.com Enable FSR basic tests for Vulkan SC
2022-07-15 toni.merilehti@siru.fi Add tests for array comparisons
2022-07-15 yiyfan01@arm.com Add Texture2D array test in which Texture2D array is rendered and sampled.
2022-07-15 michal.jakubek@mobica.com Fix for attachment count in EXT_color_write_enable tests.
2022-07-15 piotr.byszewski@mobica.com Fix maxImageView(MipLevels/ArrayLayers) bug in SC
2022-07-15 skirank@nvidia.com Fix vkwsi Display control tests
2022-07-15 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkan-cts-1.3.3 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 angle-bots+autoroll-info@google.com,romanl@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:7506
Change-Id: I0b674a424cc109126b5a590430546942c6db3740
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3769550
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Commit-Queue: Roman Lavrov <romanl@google.com>
2022-07-18 18:52:57 +00:00
Chris Dalton 15cc001307 Add a GL_ANGLE_shader_pixel_local_storage extension
Plumbs through "GL_ANGLE_shader_pixel_local_storage" and
"GL_ANGLE_shader_pixel_local_storage_coherent" extension strings
advertised by ANGLE and stubs out an initial spec document. This change
doesn't add any new procedures or shader constructs, but it does allow
the PLS tests to start checking for the real extension strings and
requiring the GL_ANGLE_shader_pixel_local_storage extension.

Bug: angleproject:7279
Change-Id: I36877fe4117185a2121f803288123cd69a447cf3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3739590
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Chris Dalton <chris@rive.app>
2022-07-15 20:39:03 +00:00