Commit Graph

9327 Commits

Author SHA1 Message Date
Dawn Autoroller c0d493ffa1 Roll ANGLE from 4a5fe6fb56e5 to da984303fda1 (6 revisions)
4a5fe6fb56..da984303fd

2022-07-01 chris@rive.app Add a pls test for in-shader coherency
2022-07-01 chris@rive.app Add a pls test for load-only storage
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from e22ec5fc4cbf to 867b77cee987 (1 revision)
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 8bf3474ad33a to b1ab0fbd602a (1173 revisions)
2022-07-01 cclao@google.com Reland "Reland "Vulkan: Destroy DescriptorSet cache when it becomes invalid""
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 863435cf0898 to cf47f3e49a61 (19 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I477f2266d0f0eae93d55d55705a8ca3e48c014cc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95400
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-02 05:06:40 +00:00
dawn-autoroll bdfae6df66 Roll vulkan-deps from cf47f3e49a61 to ad005b700de1 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/cf47f3e49a61..ad005b700de1

Changed dependencies:
* vulkan-validation-layers: a9711d2135..46f5d6ba1d

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Id52d709b499b8fa934c7184eba97ac3370c65f64
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95323
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-01 19:39:00 +00:00
dawn-autoroll 336dcaa9c4 Roll vulkan-deps from 76c2f42ea652 to cf47f3e49a61 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/76c2f42ea652..cf47f3e49a61

Changed dependencies:
* spirv-tools: 91572e769a..8ec4a0772b
* vulkan-headers: 3be1df310b..2c823b7f27
* vulkan-loader: e91cfe1cf9..68e5bdc58f
* vulkan-tools: 4643f73ec7..1987cb2331
* vulkan-validation-layers: b66ee057d8..a9711d2135

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com,ynovikov@google.com
Change-Id: I693cf1fef1efc5395c6c7e2f194b2bf0acee8b59
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95322
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-01 18:39:40 +00:00
Zhaoming Jiang 531ce3fe53 CTS: Update expectation for non-ASCII entry point name
Remove failure expectation of entry_point_name_must_match CTS tests that
test non-ASCII entry point name. The fix CL is landed at
https://chromium-review.googlesource.com/c/chromium/src/+/3732308.

Bug: dawn:1474
Change-Id: Ib3379083696040aa3e6e8eb11fd12b9e0b26cc93
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95321
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
2022-07-01 15:58:40 +00:00
Dawn Autoroller c2f260aca3 Roll ANGLE from 4b745c2bfa6b to 4a5fe6fb56e5 (3 revisions)
4b745c2bfa..4a5fe6fb56

2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 90fdde382489 to d1116fa9e9dc (13 revisions)
2022-07-01 lexa.knyazev@gmail.com BlitGL: Fix LUMAWorkaround for half-float copies
2022-07-01 mikes@lunarg.com Update MSRTSS vulkan struct to final version

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I5963b8426d11bc5a64fa2a0577d43c4434cb865b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95361
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-01 15:29:40 +00:00
Dawn Autoroller 776f6d1762 Roll SwiftShader from 43183d8b4d0c to d1116fa9e9dc (7 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/43183d8b4d0c..d1116fa9e9dc

2022-07-01 capn@google.com Replace sw::SIMD aliases of 4-wide vectors with rr::SIMD types
2022-07-01 capn@google.com Temporarily support xyzw component swizzling for SIMD types
2022-07-01 capn@google.com Implement SIMD helper functions using 128-bit operations
2022-07-01 capn@google.com Implement 128-bit insert/extract
2022-07-01 capn@google.com Use SIMD types throughout graphics and compute pipelines
2022-07-01 capn@google.com Replace static SIMD::Width asserts with dynamic ones
2022-06-30 capn@google.com Make shader math functions SIMD width agnostic

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC shrekshao@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 Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Iaa95254e9502424685387afe3644d20c8de4f5a2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95360
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-01 10:01:50 +00:00
Dawn Autoroller 24239fcc47 Roll ANGLE from 1e96beb9ff89 to 4b745c2bfa6b (6 revisions)
1e96beb9ff..4b745c2bfa

2022-07-01 ianelliott@google.com Revert "Reland "Vulkan: Destroy DescriptorSet cache when it becomes invalid""
2022-07-01 syoussefi@chromium.org Vulkan: Don't optimize away flush after clear for single buffer
2022-06-30 eddiehatfield@google.com Add presubmit check for .gclient file
2022-06-30 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 1fe7a0ab555e to 863435cf0898 (7 revisions)
2022-06-30 geofflang@google.com Metal: Support GL_ANGLE_provoking_vertex
2022-06-30 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 470172656108 to 1fe7a0ab555e (1 revision)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Id82e841ba6f30253e461f4346109257d4f35f19b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95320
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-01 02:34:54 +00:00
Brian Sheedy cea7ce35be Move WebGPU worker globs
Creates worker_test_globs.txt, which is a newline-delimited list
of globs specifying which tests should be run in workers in
addition to the usual test run. By moving the list here instead of
having it in the Chromium-side test harness, Dawn contributors can
make changes without needing a full Chromium checkout.

Chromium-side change is crrev.com/c/3739461.

Change-Id: I59e305ef24d27da7702aeed723e12b3d08847d72
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95301
Auto-Submit: Brian Sheedy <bsheedy@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-07-01 01:20:14 +00:00
Dawn Autoroller c5b7ff0089 Roll SwiftShader from 90fdde382489 to 43183d8b4d0c (6 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/90fdde382489..43183d8b4d0c

2022-06-30 nicolas.capens@gmail.com Omit dynamic checks for equal or sequential pointer offsets
2022-06-30 nicolas.capens@gmail.com Construct SIMD pointers from an std::vector instead of array
2022-06-30 nicolas.capens@gmail.com Move rr::Pointer4 to SIMD source and header files
2022-06-30 nicolas.capens@gmail.com Avoid broadcasting data fields to 4-wide vectors
2022-06-30 swiftshader.regress@gmail.com Regres: Update test lists @ 90fdde38
2022-06-30 sugoi@google.com Prevent recompiling programs on changes to compareMask or writeMask

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC shrekshao@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 Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Ic54e42c92b204b2c8a27b3cc6765a4646f9de038
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95182
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 20:20:44 +00:00
Austin Eng 959a7696d9 Roll third_party/webgpu-cts/ cef4c7678..7334f06d2 (18 commits)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files

https: //chromium.googlesource.com/external/github.com/gpuweb/cts/+log/cef4c7678130..7334f06d2b28
 - 7334f0 Convert `atan2` tests to use interval framework (#1586)
 - 31b648 Convert addition tests to use interval framework (#1582)
 - 4be8db Implement the writeTimestamp test to expect an exception (#1584)
 - 8276ee Convert `log2` tests to using new interval framework (#1579)
 - a1cde6 Convert `log` tests to using new interval framework (#1578)
 - 3d4386 Remove storage write tests (#1585)
 - 0d908a Update the createQuerySet test of query_types.spec.ts to expect an exception (#1571)
 - 426583 Convert `sin` tests to use interval framework (#1581)
 - 33df4b Convert negation tests to new interval framework (#1580)
 - 9c96bd Update 'zero_size' test to check 'usage' field (#1575)
 - e058d2 Convert `floor` tests to use new interval framework (#1535)
 - c9e0c0 Convert `exp2` tests to use new interval framework (#1534)
 - a7989f Convert `exp` tests to using new interval framework
 - bb12dc Add escape hatch for precisely expressing expectations
 - 610b24 Replace `;` with `,` in WGSL structs. (#1577)
 - 21e01f Use paramsSubcasesOnly()
 - 7ff215 Add tests for container type reflection attributes
 - 614d1a Move buffer_texture_copies.spec.ts from encoding/cmds to image_copy path (#1572)
Change-Id: I7ec19f87f049a06f0d24d2981ea941fa717dddf7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95281
Reviewed-by: Shrek Shao <shrekshao@google.com>
Commit-Queue: Shrek Shao <shrekshao@google.com>
Auto-Submit: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 19:42:54 +00:00
Stephen White c2d830700a Implement EGL error handling.
Implement a CheckEGL function (a la CheckVkSuccess/CheckHRESULT)
that transforms EGL errors to Dawn errors.

Use DAWN_TRY and ResultOrError and friends.

Change-Id: I51fcd6e084c2f824f7d71185e0e1ad0e0ff56e34
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94561
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-06-30 16:26:42 +00:00
Stephen White eab404cb17 Implement InstanceBase::ConsumedError taking a ResultOrError<T>.
Bug: dawn:810
Change-Id: Id84bb17940d811de1925345924e844a48b04fc18
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95261
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-06-30 15:51:42 +00:00
Jiawei Shao fd7390a587 Implement ResolveDeferredExpectationsNow() for dawn_end2end_tests
This patch adds ResolveDeferredExpectationsNow() as a helper
function of dawn_end2end_tests to let all the deferred expectations
be resolved and cleared immediately to avoid consuming too much
memory for all the deferred expectations before the exit of the test
body.

We use ResolveDeferredExpectationsNow() in the end2end test
CopyFromNonZeroMipLevelWithTexelBlockSizeLessThan4Bytes because
previously because this test will always consume too much memory to
allocate vectors and the allocation of std:vector will sometimes fail
on the bots.

Bug: chromium:1312066
Test: dawn_end2end_tests
Change-Id: I5a87338b0683a3a821eef888fb6469e6ac2dc075
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94986
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-06-30 14:57:52 +00:00
Dawn Autoroller 830e75b401 Roll ANGLE from 785353fd3501 to 1e96beb9ff89 (4 revisions)
785353fd35..1e96beb9ff

2022-06-30 yuxinhu@google.com Suppress the new BestPractice VVL Error
2022-06-30 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from ec31f547750c to 90fdde382489 (6 revisions)
2022-06-30 cclao@google.com Reland "Vulkan: Destroy DescriptorSet cache when it becomes invalid"
2022-06-30 chris@rive.app Add a pls test for maximum capacity

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I32be1fdc55e9b3adde0b8f4937c9de2d258704ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95181
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-30 13:39:12 +00:00
Dawn Autoroller 455f5eefd5 Roll SwiftShader from 1144d58f8be5 to 90fdde382489 (5 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/1144d58f8be5..90fdde382489

2022-06-29 capn@google.com Support printing of SIMD types
2022-06-29 capn@google.com Implement lane-independent SIMD operations
2022-06-29 capn@google.com Refactor scalarized vector processing
2022-06-29 capn@google.com Wrap shuffle and constant construction values
2022-06-29 nicolas.capens@gmail.com Implement minimal SIMD::Int functionality

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC shrekshao@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 Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I7fa222a6fc56e439b705c73af34cefa5375ab239
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95220
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 06:12:25 +00:00
Takahiro 831296debc Implement RenderPassDescriptor.maxDrawCount
Bug: dawn:1465
Change-Id: I6b0aab25ec7a48a6521e4e7f52e42d6890ae2013
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94821
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Takahiro <hogehoge@gachapin.jp>
2022-06-30 04:19:42 +00:00
dawn-autoroll dc3d45f278 Roll vulkan-deps from 6aff2983cd8c to 76c2f42ea652 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6aff2983cd8c..76c2f42ea652

Changed dependencies:
* spirv-tools: f2dfa53ae5..91572e769a
* vulkan-validation-layers: ea9030ad6c..b66ee057d8

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Ib48b1578bf80ef4b371fb2fcda8a77dd7db1c255
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95200
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 04:09:42 +00:00
Dawn Autoroller 8866b114af Roll ANGLE from 3224b16a4dea to 785353fd3501 (6 revisions)
3224b16a4d..785353fd35

2022-06-29 geofflang@chromium.org Support Desktop OpenGL context creation in end2end tests
2022-06-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 20ef3c4c476b to 470172656108 (3 revisions)
2022-06-29 patrto@microsoft.com Remove non-negative offsets restriction in D3D extension
2022-06-29 syoussefi@chromium.org Clean up OWNERS files
2022-06-29 gert.wollny@collabora.com Capture/Replay: Capture egl surface related calls
2022-06-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 137b026580e5 to 20ef3c4c476b (5 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I5707c08124d6060140edbc6b4f2c4c94c594638b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95180
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-30 00:47:36 +00:00
Antonio Maiorano c0d51f1cd8 tint: spirv reader: detect and replace loads and stores of atomic variables with atomicLoad/Store
Bug: tint:1441
Change-Id: Iee89cb87ca063d8a98ff8ad789ba14dee65c036a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95140
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-06-29 22:21:31 +00:00
Ben Clayton c7d6ab6c5a tint: Prevent function calls at module-scope
Bug: chromium:1339723
Bug: tint:1606
Change-Id: Ia2e10d6ac38fde0a9c851d279fe07f50f108546e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95081
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-06-29 19:19:31 +00:00
Ben Clayton aa037ac489 tint: Refactor sem::Constant to be less memory-hungry
Change sem::Constant to be an interface to the constant data. Implement
this so that zero-initialized data doesn't need to allocate the full
size of the type.

This also makes usage a lot cleaner (no more flattened-list of
elements!), and gives us a clear path for supporting constant
structures if/when we want to support them.

Bug: chromium:1339558
Bug: chromium:1339561
Bug: chromium:1339580
Bug: chromium:1339597
Change-Id: Ifcd456f69aee18d5b84befa896d7b0189d68c2dd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94942
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-06-29 19:07:30 +00:00
Corentin Wallez 7a64127a41 api_cpp.h: Fix alignas declaration following ChainedStruct.
On 32bit Windows clang warns that alignas(ChainedStruct) uint64_t
forces the uint64_t to have a smaller alignment than it naturally has.
Fix this by making the alignas decoration take the max of
alignof(ChainedStruct) and alignof(first member).

Bug: dawn:1465
Change-Id: Ia5b73fc1be1fa56f36c5c360e719ef2a1dff7dd1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94940
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Takahiro <hogehoge@gachapin.jp>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-06-29 17:37:41 +00:00
Ben Clayton cf52af7b0f tint: Have Number equality consider sign
Sign is important for equality when it comes to backend generation
of floating point numbers.

Change-Id: I1e2610fe9bae98a5c5f756a55385e092919b5aa3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95080
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-29 17:09:11 +00:00
Dawn Autoroller 4287a53bf7 Roll SwiftShader from ec31f547750c to 1144d58f8be5 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ec31f547750c..1144d58f8be5

2022-06-29 srisser@google.com Support VK_SUBGROUP_FEATURE_QUAD_BIT

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC shrekshao@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 Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I4ab2e61c551211127bbc0dec04c9e809fcbcb738
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95120
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-29 16:41:51 +00:00
Stephen White 9434949241 GL: implement EGL context creation in Dawn native.
An abstract base class (Device::Context) is used to avoid adding dependencies to Device, with ContextEGL derived from it. This also
leaves open the possibility of supporting other native GL contexts
in the future (e.g., glX). One temporary EGLContext is created by opengl::Backend during Adapter discovery, then one is created for and
owned by each Device.

Contexts for the desktop GL backend are also managed via EGL, which
works for most modern drivers. This also means that GLFW is now
always used in GLFW_NO_API mode.

Since contexts are now per-device, all of the default GL state
setting and debug output setup was moved from Adapter to Device.

Bug: dawn:810
Change-Id: Idfe30939f155d026fcad549787fc167cc43aa3cb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93981
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-29 15:29:41 +00:00
dan sinclair 3a2a279714 Fixup various warnings in Tint which were accidentally suppressed.
When enabling the SPIR-V reader or SPIR-V writer we were suppressing
-Wnewline-eof, -Wold-style-cast, -Wsign-conversion, and -Wweak-vtables
for the `libtint` cmake target and anything that depended on that
target. Because we'd build all readers/ writers by default this caused
us to never hit those warnings.

A recent change to the cmake build sets the Tint backend based on
the Dawn backend. So, there is a much higher chance of not building
the SPIR-V support if you're on a Mac or Windows machine.

This CL removes the suppression of the warnings, adds specific pragmas
into the SPIR-V reader code which imports the SPIRV-Tools headers
and fixes up the warnings which were then firing due to checking
for the new warnings.

Change-Id: I0d0be6aa3d0b692e939ce8ff924dfb82c82792fc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94901
Reviewed-by: Ben Clayton <bclayton@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-06-29 14:38:15 +00:00
dawn-autoroll ad10eb59d1 Roll vulkan-deps from 4e6188c82519 to 6aff2983cd8c (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/4e6188c82519..6aff2983cd8c

Changed dependencies:
* spirv-tools: 37d2396cab..f2dfa53ae5

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Ifa4c6539d9336a916e34bca77d9eb7e07ca06a61
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95100
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-29 14:14:31 +00:00
Ben Clayton 2b4df78891 tint/number: Fix CheckedConvert() logic
This function was attempting to pick a higher-precision type by using
the decltype() of FROM + TO. This doesn't work if FROM and TO are both
similar bit-widths, and of a different signness, as the picked type may
not be wide enough to hold both the signed and unsigned representation.

Just use AInt or AFloat (both 64-bit), which are the largest types
supported by WGSL.

Change-Id: Ic76475d98bad8def12a0283a1c83c62f2ed58b5d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95041
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@google.com>
2022-06-29 11:31:41 +00:00
Dawn Autoroller 368f95a078 Roll ANGLE from fd256b0d9ad1 to 3224b16a4dea (2 revisions)
fd256b0d9a..3224b16a4d

2022-06-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 1bfae54dd233 to 8bf3474ad33a (639 revisions)
2022-06-28 m.maiya@samsung.com Reland "Vulkan: Support EGL_ANDROID_front_buffer_auto_refresh"

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I4154ea713fb376a7369003be5b3a203d2ade0ca7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95060
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-29 11:24:01 +00:00
Ben Clayton 72876c14c3 tint/sem/constant.h: Remove #include to program_builder.h
This pulls in the entire world, and isn't needed from this header.
Remove it. Fix all the places that were transtively depending on
program_builder.h's includes.

Change-Id: I5209dcd387fb47dd6744a3d676997338b8f45473
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95040
Reviewed-by: dan sinclair <dsinclair@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-06-29 10:58:41 +00:00
Fumitoshi Ukai f1060adbca set $build/goma["use_luci_auth"] = True
without use_luci_auth=true, goma will use global service account,
which uses exported service account key.

use task service account by use_luci_auth=true instead.
dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com
dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com
are added to goma-rbe-chromium c-i-a group
https://chrome-infra-auth.appspot.com/auth/groups/goma-rbe-chromium

Bug: chromium:1105814
Change-Id: Ibb510144e36a1b1ae31a97d0c8be1e4424d72b24
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94902
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-06-29 10:30:06 +00:00
Ben Clayton c64ca23d94 tint: Deprecated module-scope 'let' for 'const'
Enable the parsing of 'const'.
Warn on use of module-scope 'let', and automatically replace with 'const'.

Fixed: tint:1580
Change-Id: I214aabca80686dc6b60ae21a7a57fbfb4898ea83
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93786
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-29 00:55:36 +00:00
Ben Clayton 03f88e6f49 test/tint/expressions/type_ctor: Use 'var' instead of 'let'
Module-scope 'let' is getting replaced by 'const'. For all backends,
'const' will be inlined into the place of usage, making most of these
tests produce no output (if replaced with 'const'). Instead switch to
emitting with 'var'.

Bug: tint:1580
Change-Id: Ied5ddf9cdb7fbd3cef8e7b0c6f4983748aaa3d07
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94688
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-06-29 00:51:46 +00:00
Jiawei Shao 86a8d76877 D3D12: Re-enable the workaround for T2T copy issue on Intel GPUs
This patch re-enables the workaround for T2T copy issue on Intel
GPUs as we have found there are still other issues about T2T copies
on latest Intel D3D12 driver when we investigate the WebGPU CTS
failures on Intel Gen9 and Gen9.5 GPUs.

Bug: chromium:1161355
Change-Id: Ibd8a8c299453dff6a5432b3c4ab5350558c5313f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94980
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2022-06-29 00:21:36 +00:00
Dawn Autoroller b4eaca2cf6 Roll ANGLE from 2a5193f6ceca to fd256b0d9ad1 (8 revisions)
2a5193f6ce..fd256b0d9a

2022-06-28 ffz@google.com Tests: Add Uber trace
2022-06-28 syoussefi@chromium.org Vulkan: Don't sync pipeline cache if warm up is effective
2022-06-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 11ad77222bfe to 137b026580e5 (1 revision)
2022-06-28 syoussefi@chromium.org Document angle_restricted_traces
2022-06-28 lexa.knyazev@gmail.com Fix typos in multi-draw extension specs
2022-06-28 jdapena@igalia.com libstdc++: move FramebufferHelper to cache utils
2022-06-28 b.schade@samsung.com Fix ValidateES3TexImageParametersBase for glTexImage*D
2022-06-28 gert.wollny@collabora.com libANGLE: Add a unique ID to the Surface

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Id8a31cacf8a5cf7c7f64348a3d4d457b747d7c73
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95000
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-28 22:28:30 +00:00
Corentin Wallez 3fa3e5667b dawn::wire::client: ReserveTexture: remove defaulting of descriptor
The usages in Chromium have been updated to pass a descriptor.

Bug: dawn:1451
Change-Id: I1f08141759dc7b8e0e805aa8efc9a8db51162876
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94941
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-06-28 15:55:16 +00:00
dan sinclair d23f296a9a tint: Implement acosh, asinh, atanh
Polyfill them completely for HLSL.

For the other backends, just add range checks for acosh and atanh.

Fixed: tint:1465
Change-Id: I3abda99b474d9f5ba09abf400381467dc28ea0bd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94380
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Auto-Submit: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-28 15:27:44 +00:00
Zhaoming Jiang 6058882d4b tint/resolver: Add f16 types, constructor, and conversions
This patch add f16 types and their constructors and conversions in
resolver and intrinsic table. Also implement relating unit tests.

Bug: tint:1473, tint:1502
Change-Id: Ida1336193a72a73959e50e6a3eb12be44c0396b5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94642
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-28 14:03:36 +00:00
Ben Clayton 53af158366 tint/reader: Allow module-scope 'var' type inferencing
Fixed: tint:1584
Change-Id: I193ad2c00faa4ae2001d981bb38a55d4d6a4c269
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94687
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-06-28 12:53:56 +00:00
Ben Clayton 19576e9015 tint/writer: Handle and emit 'const' variables
Bug: tint:1580
Change-Id: Ib3a5ff5c567e19eca1ba8fb3c2f7e83dee68e2a0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94686
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-06-28 12:44:16 +00:00
Dawn Autoroller b3b324c0d1 Roll ANGLE from 8f6889a111eb to 2a5193f6ceca (9 revisions)
8f6889a111..2a5193f6ce

2022-06-28 cnorthrop@google.com Textures: Allow compressed texture from PBO
2022-06-28 cnorthrop@google.com Textures: Centralize texture format emulation check
2022-06-28 syoussefi@chromium.org Allow list of restricted traces to be overriden in gn args
2022-06-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 8fdbb85c2176 to 1bfae54dd233 (738 revisions)
2022-06-27 chris@rive.app Add a pls test for memoryless storage
2022-06-27 ynovikov@chromium.org Revert "Vulkan: Destroy DescriptorSet cache when it becomes invalid"
2022-06-27 ynovikov@chromium.org Skip CreateFramebufferFetchMidRenderPass on Win SwANGLE
2022-06-27 ynovikov@chromium.org Revert "Vulkan: Support EGL_ANDROID_front_buffer_auto_refresh"
2022-06-27 steven@valvesoftware.com Vulkan: support QCOM_shading_rate on Intel graphics

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: I68a15ed91a2d3149f8e61122c187ae2e342691ca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94960
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-28 08:36:56 +00:00
Austin Eng e093819064 Mark another flaky f32_logical inputSource="const" as Failure on Linux
This was missed in a previous roll.

Bug: none
Change-Id: If1be03751b99152d4f63324a298dc13ebb3067be
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94920
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-06-28 06:43:56 +00:00
dan sinclair 6c167a0dc7 msl: Promote local private vars to function scope
If a module-scope private variable is only referenced within a single
function, promote it to a function scope declaration instead of
passing it as a parameter. This reduces the number of a function
parameters that are needed in some cases.

Bug: tint:1509
Change-Id: I8951f6216bc7e4cf5abfda314bea1e9ed3ded560
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94002
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-28 02:06:05 +00:00
Jiawei Shao 1a758d8ceb D3D12: Remove tempBuffers in ExecuteCommandList()
This patch clears mTempBuffers everytime after d3d12CommandList
is executed in CommandRecordingContext. Previously mTempBuffers
won't be cleaned up until device is destroyed, which will
consume lots of unnecessary GPU memory.

Bug: chromium:1161355
Change-Id: Ie03d43847ed56e7f2b4bfc5b0f8244dfd7012625
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94820
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-28 00:28:35 +00:00
Austin Eng 65d35f8e7d Report javascript duration in CTS tooling
Always report the Javascript duration from the page instead of
the total duration from ResultDB. Reporting of the total duration
could be added back in the future, but usages of the tooling are
currently interested in the Javascript duration.

Bug: chromium:1336333
Change-Id: I74e91e7a9c29f3a4c45ed67898cc6f2de62e19a4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94762
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-06-28 00:15:05 +00:00
Brandon Jones 14e6dfbd95 Remove failing depth32float-stencil8 expectations
The issue causing these tests to fail was resolved in
https://chromium-review.googlesource.com/c/chromium/src/+/3716961

Bug: 1069302
Change-Id: Iacf06539a0415431b3355bc4b2345c2eb7cab61a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94761
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Brandon Jones <bajones@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2022-06-28 00:11:10 +00:00
Ben Clayton 7ebcfc7e0e tint/transform: PromoteInitializersToLet
Rename PromoteInitializersToConstVar to PromoteInitializersToLet, and
implement promotion of 'const' variables that resolve to array types.

This is required, as the backends will inline variables that resolve to
'const' variables, and so we need to promote any 'const' values that
would emit an array constructor.

Bug: tint:1580
Change-Id: I1b7f5459512b0043385ba741d644ec776c912899
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94684
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-27 20:20:25 +00:00
Antonio Maiorano ce466c0df3 tint: spir-v writer: Fix matrix constructor from matrix variable
Bug: tint:1603
Change-Id: I580a450daa9392316cb628ceeb16490ec591deba
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94860
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: dan sinclair <dsinclair@google.com>
2022-06-27 20:07:45 +00:00
Dawn Autoroller 7c5255a197 Roll ANGLE from 89e38b5799cc to 8f6889a111eb (2 revisions)
89e38b5799..8f6889a111

2022-06-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 7f32e27c6969 to 8fdbb85c2176 (321 revisions)
2022-06-27 ynovikov@chromium.org Skip TextureSampleShadingTest.Basic on Win Intel Vulkan

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@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 file a bug in Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Id69fa33c084df5faf380f8fac21629327f7672e6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94880
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-27 19:40:55 +00:00
Dawn Autoroller 2f1b0dc47d Roll SwiftShader from 26243894edb8 to ec31f547750c (35 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/26243894edb8..ec31f547750c

2022-06-23 sugoi@google.com Fix stale SPIRV_SHADER_DBG statements
2022-06-23 sugoi@google.com Fix warning on Linux
2022-06-22 swiftshader.regress@gmail.com Regres: Update test lists @ 5cb6a639
2022-06-21 srisser@google.com Add StorageTexelBufferArrayDynamicIndexing
2022-06-21 swiftshader.regress@gmail.com Regres: Update test lists @ ff535623
2022-06-20 sugoi@google.com Expose Vulkan 1.3
2022-06-20 capn@google.com Fix workgroup builtins size
2022-06-20 nicolascapens@google.com Revert "Patch regression in FSR tests"
2022-06-20 capn@google.com Expose Wayland only when enabled
2022-06-20 swiftshader.regress@gmail.com Regres: Update test lists @ f833544f
2022-06-17 sugoi@google.com Expose bufferDeviceAddress support
2022-06-17 sugoi@google.com Handle spv::StorageClassPhysicalStorageBuffer
2022-06-17 srisser@google.com Implement descriptor indexing for texel buffers
2022-06-17 sugoi@google.com Allow subzero to cast pointers to integer types
2022-06-17 capn@google.com Adapt for LLVM 15 coroutine change
2022-06-17 sugoi@google.com Load and Store functions for pointers
2022-06-17 sugoi@google.com Implement SPIR-V OpBitcast for pointers
2022-06-17 sugoi@google.com Allow Operand objects to contain pointers
2022-06-16 sugoi@google.com Avoid clamping uninitialized values when clearing depth images
2022-06-15 antto.makinen@siru.fi Fix the linear-to-sRGB conversion on SRGB storage image writes
2022-06-15 capn@google.com Patch regression in FSR tests
2022-06-15 sugoi@google.com OpTypeForwardPointer support
2022-06-15 sugoi@google.com bufferDeviceAddress: opaqueCaptureAddress support
2022-06-14 antonio.caggiano@collabora.com GN: Wayland build overrides
2022-06-13 dnfield@google.com Missing libs for win32 builds
2022-06-13 nicolas.capens@gmail.com Eliminate multiplication operators on SIMD::Pointer
2022-06-13 capn@google.com Roll dEQP to version 1.3.2 merged into main
2022-06-09 swiftshader.regress@gmail.com Regres: Update test lists @ f1a62bb4
2022-06-08 sugoi@google.com OpSelect implementation for pointers
2022-06-08 srisser@google.com Implement descriptor indexing for storage buffers
2022-06-08 antonio.caggiano@collabora.com GN: Fix wayland import check
2022-06-08 ericcurtin17@gmail.com Do not assume drm card is card0
2022-06-07 sugoi@google.com OpPtrAccessChain implementation
2022-06-06 antonio.caggiano@collabora.com GN: Expose Wayland surface extension on Linux
2022-06-06 antonio.caggiano@collabora.com Dynamically detect libwayland-client

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC shrekshao@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 Dawn: https://bugs.chromium.org/p/dawn/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: shrekshao@google.com
Change-Id: Ia9bb6049dff618bae53b2cd74bfe4d84f773242a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94840
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-27 16:45:17 +00:00