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

19702 Коммитов

Автор SHA1 Сообщение Дата
Lingfeng Yang c8b0caf1f4 Vulkan: Don't try to guess format mapping
Either the implementation should tell us what Vk format it is, or it
returns VK_FORMAT_UNDEFINED and we should take the "YUV" path,
regardless of how un-YUV-like the format ID enum suggests it is.

Bug: b/223456677
Change-Id: I979e9d19c466005350aeb8f88f2e0c092b545d51
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3864024
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Lingfeng Yang <lfy@google.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Auto-Submit: Lingfeng Yang <lfy@google.com>
2022-08-30 16:55:58 +00:00
Alexey Knyazev 00411e2c12 Support provoking vertex state query
When ANGLE_provoking_vertex is enabled, glGetIntegerv
should accept GL_PROVOKING_VERTEX parameter name.

Bug: angleproject:2829
Change-Id: I6316de2c6b4cdbf4365df3ffb88f75c4b095f99c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858264
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
2022-08-30 16:51:28 +00:00
Kimmo Kinnunen c10326f14b Make shader dump code compile after ShCompileOptions API change
Make the output directory configurable with the define
that turns on the dump feature.

Write each aggregate struct in its own block of memory, so that
if an aggregate changes, the binary format does not change
so easily.

Choose the filename based on the contents hash, so that multiple
dump sessions do not produce excessive amount of dumps.

Bug: angleproject:7612
Change-Id: Ifccd2d83e3361dc4633b601fd18f425c9ec44790
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858263
Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.com>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2022-08-30 15:26:17 +00:00
Roman Lavrov 2c37377192 Add include atomic, missing in Skia builds.
Bug: angleproject:7602
Change-Id: I024981c880ed073c3a603f47b538d2375a911e1a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3863161
Commit-Queue: Roman Lavrov <romanl@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2022-08-30 14:33:19 +00:00
angle-autoroll 7788fb6a84 Roll vulkan-deps from 7d94bcff7a00 to db1584efaa9b (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/7d94bcff7a00..db1584efaa9b

Changed dependencies:
* spirv-tools: a98f05d02f..fca39d5cb4
* vulkan-validation-layers: 1396d7b36a..67b79bcb00

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

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

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

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

Bug: None
Tbr: jonahr@google.com
Change-Id: I873069ee48f349ef9a92e7b1799658d5c30948a5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3864120
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-30 11:13:37 +00:00
angle-autoroll 6d43eb6276 Roll Chromium from 75cc1cb02dd7 to 25d1a1a7a886 (533 revisions)
75cc1cb02d..25d1a1a7a8

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

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

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

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

Changed dependencies
* build: 7e25322e49..adc338f326
* testing: 2f79c54fb4..d103a63729
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..6552f9ba7b
* third_party/depot_tools: b7ec673ccc..f41670fdad
* third_party/r8: DnXL93qMVJmSx3c12aqaeAqcwE6_UB4cblftdipoe9UC..UQXAUIg11QBR0HJg-Izctj2hg-wGB9cr6s-8oxTCQ-IC
* tools/clang: 1eff359227..25cf25b86e
* tools/mb: f3f47de60d..80f9638812
* tools/perf: 1e4426f8bb..c4ec909694
No update to Clang.

Bug: None
Tbr: jonahr@google.com
Change-Id: I203c0689b5702776c8dc0605a3dc81d1a4a4c19d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3864117
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-30 08:10:27 +00:00
Yuxin Hu 70c434b20e Check max shader storage blocks support in test
If the shader source code uses shader storage
buffer objects, we need to check the corresponding
GL_MAX_*_SHADER_STORAGE_BLOCKS is at least of size 1.

Bug: angleproject:7583
Change-Id: I7f0e537e4dcfca8414cccb0088be8d34735633d1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3863111
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-30 07:19:47 +00:00
Shahbaz Youssefi ac19624e97 Vulkan: Handle suboptimal like out-of-date
If out-of-date can recreate the swapchain, so can suboptimal.  Do so to
better support window resizing on desktop.  Note that on Android this
was already being done.

Bug: angleproject:7615
Change-Id: I3d1ce8ca45b002e5382e31fda003f02753a2c94e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3859409
Reviewed-by: Steven Noonan <steven@valvesoftware.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-30 07:08:09 +00:00
Jamie Madill 64f41972a9 Use canonical gl.xml and update enum to string function.
This replaces our copy of gl.xml with the upstream canonical copy.
Note that one patch is required before we can remove ANGLE's copy:

https://github.com/KhronosGroup/OpenGL-Registry/pull/538

Because the upstream version uses a new method of enum groups, we
also update our enum-to-string generator to use the new groups.
This new code includes many more enums and groups in the mapping.

Bug: angleproject:6461
Change-Id: I1c0ab44c36afce8db04c9661b377bbe5762c913e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856649
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2022-08-29 20:29:27 +00:00
Sunny Sachanandani 3207290551 d3d11: Support rendering to GL_TEXTURE_2D target for YUV images
YUV D3D11 texture plane EGLImages can be bound to TEXTURE_EXTERNAL_OES,
but don't support rendering because ExternalImageSibling11::IsYUV()
returns true. While it might appear that IsYUV() should return true for
YUV D3D11 textures, the EGLImage siblings are actually for individual
planes which are R/RG 8/16 and they can indeed be bound as render
targets if we just return false for IsYUV().

This CL makes IsYUV() return false and adds a test for rendering to
YUV EGLImages.

Bug: angleproject:7610
Change-Id: I6c95a9521448e83a53153c1efaca70bd73e49818
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856660
Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-08-29 19:45:57 +00:00
angle-autoroll a18a041472 Roll VK-GL-CTS from 435ebaff9214 to f08773d25d83 (15 revisions)
435ebaff92..f08773d25d

2022-08-29 quic_mnetsch@quicinc.com Merge "Merge vk-gl-cts/opengl-es-cts-3.2.8 into vk-gl-cts/main" into main
2022-08-29 aitor@lunarg.com Add dynamic rendering test for mixed inside/outside render pass commands
2022-08-29 arkadiusz.sarwa@amd.com Tests for AMD_shader_early_and_late_fragment_tests
2022-08-26 quic_mnetsch@quicinc.com Merge "Merge vk-gl-cts/vulkan-cts-1.3.3 into vk-gl-cts/main" into main
2022-08-25 piotr.byszewski@mobica.com Fix enabling of partially promoted extensions
2022-08-25 piotr.byszewski@mobica.com Fix subpassMergeFeedback mandatory feature check
2022-08-25 piotr.byszewski@mobica.com Fix aliases of aliases
2022-08-25 marcin.zajac@mobica.com Depth and stencil clears in dynamic rendering
2022-08-25 john.anthony@arm.com Add support for VK_EXT_rasterization_order_attachment_access
2022-08-25 piotr.byszewski@mobica.com Test clears of 3D depth/stencil images
2022-08-25 pdaniell@nvidia.com Use multi-level multi-layer compressed image views
2022-08-25 pdaniell@nvidia.com Reenable texel_view_compatible 3d_image tests
2022-08-25 quic_mnetsch@quicinc.com Merge vk-gl-cts/vulkansc-cts-1.0.1 into vk-gl-cts/main
2022-08-25 piotr.byszewski@mobica.com Run DR tests with secondary command buffers
2022-08-24 quic_mnetsch@quicinc.com Merge vk-gl-cts/dev/VK_EXT_attachment_feedback_loop_layout 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,jonahr@google.com on the revert to ensure that a human
is aware of the problem.

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

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

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

Bug: None
Tbr: angle-bots+autoroll-info@google.com,jonahr@google.com
Change-Id: I5d62b659451129f887f30bb2ea97a8fd1df45c5b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3862409
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-29 19:31:29 +00:00
Roman Lavrov f18b6335e3 Replace std::this_thread::get_id() use with a unique thread id.
std::this_thread::get_id() gets recycled. It's pthread_self()
under the hood on Linux and Android which gets recycled, for
example when one thread terminates and another one starts
it is likely to return the same value.

Bug: angleproject:7602
Change-Id: I83d818bc17ead5cce8bce7f7d88fc1c7c0fa860c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3855041
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2022-08-29 19:30:29 +00:00
Shahbaz Youssefi 9fb05a883a Vulkan: SPIR-V Gen: Remove suppression of passing tests
Some tests were suppressed during development.  Try enabling them again.

Bug: angleproject:6210
Change-Id: I7b52307a26fb9351773a591901a9c5bbb4703466
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3859411
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-08-29 19:23:57 +00:00
Solti b9df3551df update CopyTextureCHROMIUM to match Chromium
Overview:
This CL makes the validation of *CopyTextureCHROMIUM* and
*CopySubTextureCHROMIUM* in ANGLE behave consistently with CHROMIUM.

The new behavior is:
```
INVALID_OPERATION is generated on ES 2.0 if <sourceId> refers to an
external texture (OES_EGL_image_external), <destId> refers to a texture
with an integer-type internal format, and the underlying context does
not support OES_EGL_image_external_essl3.
```

Tests:
===== CopyTextureCHROMIUM =====
add a test in ES 2.0 to test the API with the error case.
===== CopySubTextureCHROMIUM =====
add a test in ES 3.0 to test the error case.  in ES 2.0, the error case
cannot happen because "glTexImage2D()" doesn't support integer formats

- ran all CopyTextureTest on gLinux: ```autoninja -C out/Debug &&
  xvfb-run out/Debug/angle_end2end_tests
  --gtest_filter=*CopyTextureTest* --verbose```
- ran all CopyTextureTest on Android test phone: ```autoninja -C
  out/Android && out/Android/angle_end2end_tests
  --gtest_filter=*CopyTextureTest* --verbose```

Bug: angleproject:4228
Change-Id: I1cb77c72750add5f399013d3d30eed7acf8d0a50
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3826166
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-29 19:21:32 +00:00
Roman Lavrov 4b33633a7c Capture/Replay: Delete binary data in FinishReplay via callback
Delete callback fixes b/179188489 as delete[] will get called from the
same module where allocation happens. When decompress/delete callbacks
not provided, new[] and delete[] are called from the fixture.

AFAICT, gBinaryData == nullptr every time, even with a single test and
--gtest_repeat=N, so we never delete the uncompressed data. When
running multiple tests locally, I see RES usage grow significantly
on Linux which this CL fixes. I don't think this matters for bot runs as
we run tests one by one there.

Bug: b/179188489
Change-Id: Iee3bccb9d6d72c315c4358b70ec9c3c0ac963258
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858185
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Roman Lavrov <romanl@google.com>
2022-08-29 18:45:47 +00:00
Yuly Novikov cd0f642e4e Fix loading end2end test expectations on iOS
Need to be packed and found in the application bundle.

Bug: angleproject:5417
Change-Id: Iaf84ced0de6674a807aa747e71dbbf2715bbd6fb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3860831
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2022-08-29 18:22:33 +00:00
Eddie Hatfield ba4b691303 Fix data race in BlobCache
* Re-enable shader cache feature
* Improve BlobCache thread-safety test
* Improve EGLProgramCacheControlTest to not check the size
  of the BlobCache, since the shader cache interferes with this.
* Include the arguments to ConstructCompiler() and Compile()
  in the key hash for the shader cache.

Bug: angleproject:7036
Change-Id: Ied4e11f9160552f2f9358d99b5656315239ba856
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3851161
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Eddie Hatfield <eddiehatfield@google.com>
2022-08-29 16:16:18 +00:00
Kimmo Kinnunen 5ef3960bc1 Use correct seed type for XXH32 fuzzer
Patch by: David Kilzer <ddkilzer@apple.com>
Use unsigned int as the seed type as expected,
instead of unsigned long long. Helps compiling
with strict compile flags.

Also fix a bug where short buffers would test
XXH64 instead of intended XXH32.

Bug: angleproject:7618
Change-Id: If63318fbc932349db4ab82aa8abadc9bab655989
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3860830
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.com>
2022-08-29 13:35:17 +00:00
angle-autoroll c63f9bcc5c Roll vulkan-deps from eb46f95f20dc to 7d94bcff7a00 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/eb46f95f20dc..7d94bcff7a00

Changed dependencies:
* glslang: 10423ec659..9e78bc8108
* vulkan-validation-layers: 6086f7993d..1396d7b36a

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: None
Tbr: ynovikov@google.com
Change-Id: I77417e906b521154933a59543754812424cd47d2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3860585
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-29 12:28:38 +00:00
angle-autoroll 4d182868af Roll SwiftShader from 6517262b2386 to 476165cc7c0c (6 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6517262b2386..476165cc7c0c

2022-08-27 swiftshader.regress@gmail.com Regres: Update test lists @ 6517262b
2022-08-27 bclayton@google.com Reimplement GLSLstd450Ldexp
2022-08-26 capn@google.com Compute fragment coordinates for wider SIMD groups
2022-08-26 capn@google.com Rename pixel coordinate variables
2022-08-26 capn@google.com Compute relative fragment coordinates just once
2022-08-26 capn@google.com Compute the primitive's origin coordinates only once

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

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

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

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

Bug: None
Tbr: ynovikov@google.com
Change-Id: Ic5488a2f1f86a02f61dbdff69046f68eb90bb0c0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3861126
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-29 11:52:47 +00:00
angle-autoroll 0533280f70 Roll Chromium from 21906127bee6 to 75cc1cb02dd7 (625 revisions)
21906127be..75cc1cb02d

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 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: 5221aeee35..7e25322e49
* buildtools: 11747ae48c..cf8185c5cb
* buildtools/linux64: git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a..git_revision:5705e56a0e5856621415cfdf444432554e72c9c9
* buildtools/mac: git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a..git_revision:5705e56a0e5856621415cfdf444432554e72c9c9
* buildtools/third_party/libc++/trunk: aa3a6cd0f1..26e3467ee8
* buildtools/win: git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a..git_revision:5705e56a0e5856621415cfdf444432554e72c9c9
* testing: fcc4b4c209..2f79c54fb4
* third_party/abseil-cpp: 22c65e6ceb..0733c941ff
* third_party/android_build_tools/lint: nklp_LHwFqk9tuQm1yHGBy2W16YMz_R7Q7vcnZZnF78C..JpRGSVY_dRFR9MLSN_235CfYK4S9jovg0yqlX98htXIC
* third_party/android_build_tools/manifest_merger: CvokX4c6dx7DwQ8VVMQ70CROzyJWg13oOq3feeuTzg8C..tAZpJUnwhFBJmu1ctEKYMLJp7l3qJufDu7ByW6waq3QC
* third_party/android_deps: eef35e6d64..84e112ab4c
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..2417ba3d0d
* third_party/depot_tools: 95f870fb5d..b7ec673ccc
* third_party/fuchsia-sdk/sdk: version:9.20220825.3.1..version:9.20220826.3.1
* third_party/r8: _rv7EargK1mPOQPb7922ENB7-AaUTJZCxBWNBeLVsfQC..DnXL93qMVJmSx3c12aqaeAqcwE6_UB4cblftdipoe9UC
* tools/clang: 673c407b6e..1eff359227
* tools/luci-go: git_revision:a0ba80649473055bae3d789eec28c9967adb5e45..git_revision:3226112a79a7c2de84c3186191e24dd61680a77d
* tools/luci-go: git_revision:a0ba80649473055bae3d789eec28c9967adb5e45..git_revision:3226112a79a7c2de84c3186191e24dd61680a77d
* tools/mb: 29848909aa..f3f47de60d
* tools/perf: e54496f219..1e4426f8bb
No update to Clang.

Bug: None
Tbr: ynovikov@google.com
Change-Id: Ie1b6638269c04c3f668ae122b90effd58ca299d1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3860584
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-29 08:11:27 +00:00
Shahbaz Youssefi bec40d7684 Vulkan: Set SPIR-V Generator version to 1
Let's call it officially no longer experimental.

Bug: angleproject:6210
Change-Id: I7c5ae91dff0ff189f93e67fe1cd0721771c67275
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3859410
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
2022-08-29 02:47:06 +00:00
Yuxin Hu ac2aeccde2 Check GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS in test
If the vertex shader uses shader storage buffer objects,
we need to check GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS
is at least of size 1.

Bug: angleproject:7185
Change-Id: I98d83f9f0cc30e92fdcaee15541fdde96652b38e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858144
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-27 01:25:16 +00:00
Yuxin Hu cb618b3d42 Vulkan: Remove useRelaxedPrecision
Bug: angleproject:7488
Change-Id: I30ca3e2740d8810a01615ca778eb072d77ad34d9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856658
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-26 22:38:45 +00:00
Mohan Maiya 2d48a37079 Vulkan: Support passthrough of colorspace attributes
On Android, the EGL loader supports and implements the necessary
functionality for the following colorspace extensions -
 1. EGL_EXT_gl_colorspace_display_p3
 2. EGL_EXT_gl_colorspace_display_p3_linear
 3. EGL_EXT_gl_colorspace_display_p3_passthrough
 4. EGL_EXT_gl_colorspace_scrgb
 5. EGL_EXT_gl_colorspace_scrgb_linear

Add support for "EGL_ANGLE_colorspace_attribute_passthrough"
extension that allows vendors that support wide color gamut
to passthrough colorspace attribute values to the underlying
Vulkan implementation to be used during VkImage creation.

Bug: angleproject:7319
Test: PbufferColorspaceTest.CreateSurfaceWithColorspace*
Change-Id: Ibd78bb5fea4ede394f4dc5027c1d4a730746f2ee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3855048
Commit-Queue: mohan maiya <m.maiya@samsung.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-26 22:29:35 +00:00
Eddie Hatfield 98d5db7063 Add capture functions for desktop GL entry points
The parameter capture functions are left unimplemented for now.

Bug: angleproject:7533
Change-Id: Ief356e7401805cf9b417e1f5cc3790011237e03f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858618
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Eddie Hatfield <eddiehatfield@google.com>
2022-08-26 20:19:45 +00:00
Chris Dalton 6ba8582b9f Add a fix on all backends for images as function arguments
The ESSL spec has a bug with images as function arguments. The
recommended workaround is to inline functions that accept image
arguments.

Bug: angleproject:7484
Change-Id: I8fc0826f330c68150de5c3d1758c10c3e37bbf04
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3813050
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-26 16:26:45 +00:00
angle-autoroll 40782cf568 Roll Chromium from 32095292c129 to 21906127bee6 (499 revisions)
32095292c1..21906127be

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 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: c384292cf5..5221aeee35
* buildtools: 3fe17aa694..11747ae48c
* buildtools/third_party/libc++/trunk: 60c266d87c..aa3a6cd0f1
* testing: adf23740b2..fcc4b4c209
* third_party/android_deps: c0dd90cacc..eef35e6d64
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..8e773a22c9
* third_party/depot_tools: 19b3eb5adb..95f870fb5d
* third_party/fuchsia-sdk/sdk: version:9.20220825.0.1..version:9.20220825.3.1
* third_party/r8: QXtnqOo6mUvEBgxfd_2YYYeMxB5fcgIDXmNAmf73VGEC.._rv7EargK1mPOQPb7922ENB7-AaUTJZCxBWNBeLVsfQC
* third_party/zlib: 8d1d3e3419..926ac230d7
* tools/clang: 0d2d645c85..673c407b6e
* tools/mb: 14ffc6ca5d..29848909aa
* tools/perf: 46207450df..e54496f219
No update to Clang.

Bug: None
Tbr: ynovikov@google.com
Change-Id: I32f8ba999da49c3344875db59cb0bebe06cd7d4b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858156
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2022-08-26 12:31:15 +00:00
angle-autoroll efea3934b1 Roll vulkan-deps from e623f608cbf3 to eb46f95f20dc (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e623f608cbf3..eb46f95f20dc

Changed dependencies:
* vulkan-validation-layers: b87209ca72..6086f7993d

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: None
Tbr: ynovikov@google.com
Change-Id: Ifa44826f33302b0dedca5cda6ae883e626edc693
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858157
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-26 11:07:34 +00:00
Lubosz Sarnecki 02eb5f4907 validation: Annotate kEnumNotSupported errors with values.
Use validationErrorF to annotate all unsupported enum errors with the
corresponding value of the enum in hex.

This makes the errors more meaningful and reduces the amount of
debugging required to find out the invalid enum used.

Add kEnumInvalid error string in cases an InvalidEnum is provided and
can't be resolved to the given GL enum.

Before:
glEnable: GL error: HIGH: Enum is not currently supported.

After:
glEnable: GL error: HIGH: Enum 0x809D is currently not supported.

Bug: angleproject:7595
Bug: angleproject:7596
Change-Id: Iff060a1c3a2f482f4df5b5b7ea036b93025df7d9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3849475
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-08-26 08:33:04 +00:00
Alexey Knyazev 320bfde0f1 Hide emulated ETC2/EAC formats from WebGL contexts
In addition to not exposing the dedicated ANGLE-specific
extension name, do not add these formats to the internal
formats table.

Bug: angleproject:7601
Change-Id: I2e3fdd99129823b8092bfa35cb95023ae5008edd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3853591
Auto-Submit: Alexey Knyazev <lexa.knyazev@gmail.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2022-08-26 06:05:34 +00:00
Chris Dalton 9d41585e14 Make PLS coherent on D3D 11.3
Adds a new internal memory qualifier to the compiler called
"rasterOrdered", which we set in RewritePixelLocalStorage.cpp when D3D
11.3 Rasterizer Order Views are supported. The HLSL translator then
generates RasterizerOrderedTexture2D<> instead of RWTexture2D<> when
this qualifier is set.

Bug: angleproject:7279
Change-Id: I39b8c3279b7bff93b7e57272e8fb84d9c0312616
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3830288
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Chris Dalton <chris@rive.app>
2022-08-25 23:15:19 +00:00
Lubosz Sarnecki cedc23d818 validation: Annotate kInvalidInternalFormat errors with values.
Use validationErrorF to annotate all internal format errors with the
corresponding value of the internal format enum in hex.

This makes the errors more meaningful and reduces the amount of
debugging required to find out the invalid format used.

Before:
glCompressedTexImage2D: GL error: HIGH: Invalid internal format.

After:
glCompressedTexImage2D: GL error: HIGH: Invalid internal format 0x8B94.

Bug: angleproject:7595
Bug: angleproject:7596
Change-Id: I6b9c116863e0116f96b8ff0e71e9734947a1c1c6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3849476
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-08-25 21:58:46 +00:00
Chris Dalton 51de383749 Enable PLS on D3D
Bug: angleproject:7279
Change-Id: Ide498e6ebadc5cd567dc64cd1efed52e777aa32e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3790473
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Chris Dalton <chris@rive.app>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2022-08-25 21:46:56 +00:00
Jamie Madill f6842cc2cd Revert override for desktop GL extensions in gl.xml.
Instead override the supported APIs in registry_xml.py, which
will transfer to using the canonical gl.xml. Note these are
desktop-GL-only extensions that ANGLE exposes in GLES:

GL_ARB_sync
GL_NV_robustness_video_memory_purge

Bug: angleproject:6461
Change-Id: I25778149ecfc3cb4be0aca2104c08273c260c564
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856648
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Auto-Submit: Jamie Madill <jmadill@chromium.org>
2022-08-25 20:23:05 +00:00
Shahbaz Youssefi 5bcfad04de Vulkan: Add a handful of features
This commit bunches a couple of features in one to reduce merge
conflicts.

Bug: angleproject:4836
Bug: angleproject:5845
Bug: angleproject:7162
Bug: angleproject:7319
Bug: angleproject:7604
Change-Id: Icbb33f5b6d61822c5f4a61f08078bb2de4e7d2fe
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856646
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-25 19:55:27 +00:00
Lubosz Sarnecki 68b6206ef6 FrameCapture: Fix capturing glBindRenderbuffer on GLES1.
Use FramebufferCaptureFuncs when capturing glBindRenderbuffer calls on
GLES1 contexts, since they require the GL_OES_framebuffer_object
extension and will otherwise crash on certain native GL drivers.

Bug: angleproject:7596
Change-Id: I7be1b0dee38c9186b657489ca76bf769f47caeb1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3849478
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2022-08-25 19:53:36 +00:00
Shahbaz Youssefi 80a9ee7180 Fix translator fuzzer
The GLSL mac-only options were being listed as unsupported only when the
output is not GLSL.  However, they should also be listed as unsupported
on GLSL output when not on mac.

Bug: chromium:1355076
Bug: chromium:1355281
Change-Id: I5a87d9a529e534b2ea6c030ad7132cd0f698e7d1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3855700
Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
2022-08-25 19:50:56 +00:00
Jamie Madill a35728bdab Skip several Multithreading Tests on SwiftShader.
Because any of the tests could flakily hang, it's better that we
skip the group entirely until we have the ability to add flaky
retries as test expectations.

Bug: angleproject:6261
Change-Id: I59d686d983ff5123a2c8cb40f3c1d808c611b20e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856651
Auto-Submit: Jamie Madill <jmadill@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-08-25 18:27:21 +00:00
Jamie Madill 5d62c05e26 Use canonical Khronos registry XML files for auto-gen.
This switches ANGLE to use the upstream XML files for the CL, EGL
GLX and WGL APIs. Since gl.xml has a few more significant diffs
from the upstream version, that work will come in another CL.

This also removes an ANGLE EGL ext that was added upstream.

Bug: angleproject:6461
Change-Id: I29ead5edc13a4256d1f702c330a5d3d233502cd4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3854318
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2022-08-25 17:35:24 +00:00
Gert Wollny b688c90985 Capture/Replay: save and restore UNPACK_ALIGNMENT in MEC
MEC replay requires an unpack alignment of one. When creating a
trace the call to set this alignment is emitted, but it is not
actually set in the context, so that the captured context state
records the actual unpack alignment. When replaying, the call
to set the unpack alignment to one is executed, and the context
state changed, so that comparing the captured context to the
replay context will fail if the original alignement was not one.

Restore the original alinment in the context setup functions to
ensure that the context state holds the same state information
when replaying like when the trace was captured.

Bug: angleproject:7564
Bug: angleproject:7180
Change-Id: I09d9bf77bc0193bdf9f41b6183f1ee8d66c5e563
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3827346
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-08-25 16:52:19 +00:00
Shahbaz Youssefi a69e53c566 Vulkan: Move vertex stride assert
Bug: fuchsia:107106
Change-Id: I82c34b5c450f39f2869c8fd6ae938b2cdfc5af13
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3846404
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2022-08-25 15:58:24 +00:00
Lubosz Sarnecki 15b1678f2e FrameCapture: Add VertexArrayCaptureFuncs.
Analogously to FramebufferCaptureFuncs, append OES suffixes to vertex
array related functions on GLES1 contexts. These functions require the
GL_OES_vertex_array_object extension and will crash on certain native
drivers without the OES suffix.

This resolves the following validation error when replaying GLES1
traces captured using MEC on ANGLE:
glBindVertexArray: GL error: HIGH: OpenGL ES 3.0 Required.

Bug: angleproject:7596
Bug: angleproject:7608
Change-Id: I603efae4a8d61b84b7711effb2e7e1d8d52e3d83
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3849477
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2022-08-25 15:49:15 +00:00
angle-autoroll ab9fddb786 Roll SwiftShader from 67f88061d2d4 to 6517262b2386 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/67f88061d2d4..6517262b2386

2022-08-25 capn@google.com Clarify negativeOneToOne depth clipping comments
2022-08-24 syoussefi@google.com Implement VK_EXT_depth_clip_control
2022-08-24 nicolas.capens@gmail.com Consistently print bitmasks as hexadecimal

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

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

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

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

Bug: None
Tbr: ynovikov@google.com
Change-Id: Ifa193229bb1e99222ea45f56a11dd26d32d8c96b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3856296
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2022-08-25 13:30:13 +00:00
angle-autoroll ccbc0289e4 Roll vulkan-deps from 188a44aaa198 to e623f608cbf3 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/188a44aaa198..e623f608cbf3

Changed dependencies:
* spirv-headers: 0bcc624926..93754d52d6
* vulkan-validation-layers: dd4f17a7b9..b87209ca72

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: None
Tbr: ynovikov@google.com
Change-Id: I080ec038799b26d5cd879c4d5bf962adbd8d44b5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3853347
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-25 11:04:42 +00:00
angle-autoroll f556b91889 Roll Chromium from 5377f9824cad to 32095292c129 (473 revisions)
5377f9824c..32095292c1

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 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: 90d51f4aef..c384292cf5
* buildtools: dbde006685..3fe17aa694
* buildtools/third_party/libc++/trunk: f30089a416..60c266d87c
* buildtools/third_party/libc++abi/trunk: 3dc2f80d34..48afced8aa
* testing: 016880dac8..adf23740b2
* third_party/abseil-cpp: 4ef58b7319..22c65e6ceb
* third_party/android_build_tools: a4bb552cde..3057caab5d
* third_party/android_deps: d4fa09c046..c0dd90cacc
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..3fdc858272
* third_party/fuchsia-sdk/sdk: version:9.20220823.1.1..version:9.20220825.0.1
* third_party/protobuf: dd32a150e7..1c95dd77bf
* third_party/r8: tqdAlBozEG54h6NC2UQmRoNYSoz4oMEckckPdZSOYEkC..QXtnqOo6mUvEBgxfd_2YYYeMxB5fcgIDXmNAmf73VGEC
* tools/clang: 0fc72d33ca..0d2d645c85
* tools/mb: 807f466a48..14ffc6ca5d
* tools/perf: 437abfc7fb..46207450df
No update to Clang.

Bug: None
Tbr: ynovikov@google.com
Change-Id: Ib113b74467d402b547c7356eaed309bfc7619e69
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3853346
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-25 10:51:43 +00:00
Gert Wollny c394adfc2c ANGLE: reorder program and shader creation
When MEC re-creates the program creation, it first creates the
program, and then the shader stages, and since the Handles are
handed out from the same handle allocator, the numbers are
different if the creation order is different. Since the logic
to capture a shader program is more involved to be changed,
re-arrange the calls in CompileProgramInternal.

Bug: angleproject:7564
Change-Id: I28617cc67e7ca59d8ce181785cc159fe876655b1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3826257
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
2022-08-25 06:29:11 +00:00
Bryant Chandler efa9a4d914 Rename README.angle to README.chromium
The extension needs to be `.chromium` for compatibility with
tools/licenses.py

Bug: chromium:1355665
Change-Id: Iabc26bd96ec8b71cf8546ff0ec05172fb8d82ca1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3855396
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
2022-08-24 22:43:31 +00:00
Charlie Lao b9bc09cbcf Vulkan: Always enable mVirtualBlockMutex
Right now this is only enabled if async queue submission is enabled. I
think this is a bug that we have to always enable the lock, since
suballocation destroy could come from any threads.

Bug: b/236098131
Change-Id: I0fda61e5db3ff60f776b8d4917a9f10dafed6b1a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3855203
Commit-Queue: Charlie Lao <cclao@google.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
2022-08-24 21:51:31 +00:00
Eddie Hatfield d89c027e7c Add unimplemented GLX entry points to desktop GL
Test: Run glxgears and hit unimplemented in ANGLE

Bug: angleproject:7533
Change-Id: Ic7ed7506b6d0c5ef5022ae6899cbd6c4d351b178
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3852631
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Eddie Hatfield <eddiehatfield@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-08-24 21:26:01 +00:00