Commit Graph

8604 Commits

Author SHA1 Message Date
Stephen White 17601930e4 GLSL: fix textureSampleLevel() on depth textures.
Multiple bugs here:

1) Like texture(), GLSL's textureLod() on depth textures returns a
   scalar, and does not need to be swizzled. So set glsl_ret_width to
   1 in that case.
2) Like texture(), GLSL's textureLod() always requires a Dref
   parameter, so append a zero if not present.
3) GLSL's "lod" parameter to textureLod() is always a float, unlike
   WGSL's textureSampleLevel() which is an i32 for depth textures,
   so cast it.

Along the way, I discovered that textureLod() is not supported on
samplerCubeShadow or sampler2DArrayShadow (even on Desktop GL). So some
tests will never pass. Logged as https://crbug.com/dawn/1313

Bug: tint:1456
Change-Id: If67d8d288704142278d7a4e52b46e8010776f381
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82300
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-03-02 14:01:00 +00:00
Dawn Autoroller d2a5d9c966 Roll SwiftShader from 383901609736 to 58d1eecc2ec8 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/383901609736..58d1eecc2ec8

2022-03-02 nicolascapens@google.com Merge changes Id4b3df16,Id12e7fe6

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 bclayton@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: bclayton@google.com
Change-Id: Ia1e7944bcc616a3e7b4ad2f24be1d7ee4a1f6465
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82420
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-02 13:59:50 +00:00
dawn-autoroll 2c281600d1 Roll vulkan-deps from 6f0521f42451 to 7f867484330b (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6f0521f42451..7f867484330b

Changed dependencies:
* glslang: 43d585d863..538231d8b4
* vulkan-validation-layers: 8726d47ca7..d57db97427

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 bclayton@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: bclayton@google.com
Change-Id: Id5f21b8a8b304f39e1af3c4a3c721ce2fab3b413
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82401
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-02 04:08:20 +00:00
Shaobo a24acf2fbc Validate destination texture states for CopyTextureForBrowser
Current implmentation of ValidateCopyTextureForBrowser has a bug
to verify destination texture states.
This CL fix the simple bug and add noop copy in unittest to catch this
issue.

Bug: dawn:1306
Change-Id: I193105ced89db5092873d604c7dbf43d7ea4fba0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82101
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2022-03-02 02:44:01 +00:00
Dawn Autoroller 02737aa6bd Roll ANGLE from 5118002e7657 to 37bfc40d1bfc (11 revisions)
5118002e76..37bfc40d1b

2022-03-01 cnorthrop@google.com Tests: Add Blade&Soul Revolution trace
2022-03-01 ianelliott@google.com Use VK_ANDROID_surfaceless_query for EGLConfig formats
2022-03-01 cnorthrop@google.com Tests: Add Castlevania: Symphony of the Night trace
2022-03-01 antonio.caggiano@collabora.com dEQP: Enable CreateSurfacePlatformEXT tests
2022-03-01 antonio.caggiano@collabora.com EGL: Add code-gen for dmabuf extensions
2022-03-01 cnorthrop@google.com Tests: Add Five Nights at Freddy's trace
2022-03-01 antonio.caggiano@collabora.com EGL: Implement isX11 for DisplayGLX
2022-03-01 lubosz.sarnecki@collabora.com Tests: Add Final Fantasy Brave Exvius trace.
2022-03-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 949ffcf55151 to 6e9eafd34639 (3 revisions)
2022-03-01 lubosz.sarnecki@collabora.com TorusBufferStorage: Regenerate buffer storage every second.
2022-03-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4d9fe6bf1f0c to 6f0521f42451 (35 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 bclayton@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: bclayton@google.com
Change-Id: I9601e26ce4a6d8be67995c82190a71da7530064e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82380
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-02 01:57:39 +00:00
Loko Kung 44f039d3c2 Adds new chained struct for device creation to specify cache options.
- Adds isolation key option, DawnNative support, and relevant unit tests.

Bug: dawn:549
Change-Id: I16344581c7956ce8576c0a4c14655fbdb4e15a54
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81920
Reviewed-by: Shrek Shao <shrekshao@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
2022-03-01 22:59:40 +00:00
Dawn Autoroller a718456707 Roll SwiftShader from 6e9eafd34639 to 383901609736 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6e9eafd34639..383901609736

2022-03-01 capn@google.com Fix image subresource offset query

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 bclayton@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: bclayton@google.com
Change-Id: I315af1ab6128586761be88912a3856d6da21d011
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82320
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 21:01:29 +00:00
Dawn Autoroller 5ba6ae779a Roll Tint from bee5fa6881 to 4acf466ff9 (1 revision)
https://dawn.googlesource.com/tint.git/+log/bee5fa6881e3..4acf466ff916

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@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: bclayton@google.com
Change-Id: I7f116354f305fd8e808da4887568450423475e69
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82262
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 16:04:59 +00:00
dawn-autoroll d01c108b05 Roll vulkan-deps from 25675ddc7bab to 6f0521f42451 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/25675ddc7bab..6f0521f42451

Changed dependencies:
* vulkan-loader: 3a1b0842a3..a4fb0b36cf

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 bclayton@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: bclayton@google.com
Change-Id: If3ddfab306e12152742182d9eba2d6184c1fcb90
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82280
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 15:02:39 +00:00
Stephen White 4acf466ff9 GLSL: fix countOneBits().
This change essentially relands 10c554ecf4,
aka https://dawn-review.googlesource.com/c/tint/+/82140.

(Somehow, I managed to revert most of that in the subsequent CL for
reverseBits. I suspect a bad upstream and/or rebase.)

Bug: tint:1430
Change-Id: Iba2688294dcd7d3008ee9da78957a7a464ca1c0f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82220
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-03-01 14:25:42 +00:00
Dawn Autoroller d45b6a3df9 Roll ANGLE from 802e0d4db24c to 5118002e7657 (9 revisions)
802e0d4db2..5118002e76

2022-03-01 gert.wollny@collabora.com Capture/Replay: test and handle texture gen-on-bind
2022-03-01 gert.wollny@collabora.com Capture/Replay: test and handle renderbuffer gen-on-bind
2022-03-01 gert.wollny@collabora.com Capture/Replay: test and handle buffer gen-on-bind
2022-03-01 gert.wollny@collabora.com Capture/Replay: enable running GLES 3.2 tests with script
2022-03-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 5feb16fcf80f to 4f52dd6c4de1 (446 revisions)
2022-03-01 gert.wollny@collabora.com Capture/Replay: atomic counter buffer limits are shader specific
2022-03-01 timvp@google.com Revert "Vulkan: Move mid-RP color clear to loadOp if content undefined"
2022-03-01 cnorthrop@google.com Capture/Replay: Merge Deletes in Reset
2022-02-28 timvp@google.com Vulkan: Move mid-RP color clear to loadOp if content undefined

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 bclayton@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: bclayton@google.com
Change-Id: Ic0ee25e06ed0e3e15b8b3e85c7e236406da50ae2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82261
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 12:23:09 +00:00
Dawn Autoroller 340a537833 Roll SwiftShader from f066b8ef930f to 6e9eafd34639 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f066b8ef930f..6e9eafd34639

2022-02-28 capn@google.com Support implicit conversion of Int4 component to Int
2022-02-28 capn@google.com Move Swizzle type definitions into a separate header

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 bclayton@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: bclayton@google.com
Change-Id: I02517ccb292051145d968bbebda9b943f30ed28b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82260
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 07:21:49 +00:00
dawn-autoroll b793bac93b Roll vulkan-deps from cc1c6225a3cb to 25675ddc7bab (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/cc1c6225a3cb..25675ddc7bab

Changed dependencies:
* spirv-cross: a569680406..d16183d1d2
* vulkan-loader: 6e7061cdab..3a1b0842a3
* vulkan-tools: 3a60ee90c1..078d44e466
* vulkan-validation-layers: a263fee6f6..8726d47ca7

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 bclayton@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: bclayton@google.com
Change-Id: If8cda2e2c4b24dac947ddad75f37c6bd52ccc2e5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82240
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 01:43:39 +00:00
Dawn Autoroller d0d60d7f1b Roll Tint from 10c554ecf4 to bee5fa6881 (7 revisions)
https://dawn.googlesource.com/tint.git/+log/10c554ecf43b..bee5fa6881e3

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@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: bclayton@google.com
Change-Id: I75b48339bcf8ed572dee8cf1cbb8b37d1217c789
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82182
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-03-01 00:56:08 +00:00
Dawn Autoroller c32c88fb8f Roll ANGLE from 56378606a34e to 802e0d4db24c (3 revisions)
56378606a3..802e0d4db2

2022-02-28 cnorthrop@google.com Document perf test metrics
2022-02-28 romanl@google.com Fix self link broken by https://crrev.com/c/3124341
2022-02-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f423bda7e8e3 to 949ffcf55151 (9 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 bclayton@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: bclayton@google.com
Change-Id: I912580a155b81f12f6b7f5908e5d4e7f77de1daf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82181
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-28 22:51:18 +00:00
Stephen White bee5fa6881 GLSL: implement pack/unpack builtins.
Bug: tint:1428
Change-Id: Ic1db31feb6c6da4a98f6a37b40c77be887662825
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82200
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 21:19:02 +00:00
Stephen White 59f1e8d06c GLSL: special-case BinaryOp::kModulo for floating point.
The '%' operator in GLSL is integer-only. Use the full OpFRem
expression: (a - b * trunc(a / b)).

Bug: tint:1270
Change-Id: I0a969983bef132e004ce456d4a738488e400a61b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68760
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 21:15:02 +00:00
Stephen White 9b152e655f GLSL: implement fma().
Bug: tint:1448
Change-Id: I7e331a2eabd507a4babce756fc79d68b0bf7d7be
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82145
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 20:03:11 +00:00
Dawn Autoroller 1b471d8abc Roll Tint from 2e6269acb0 to 10c554ecf4 (1 revision)
https://dawn.googlesource.com/tint.git/+log/2e6269acb094..10c554ecf43b

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@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: bclayton@google.com
Change-Id: I46510434cb16f3adcfe3a4af69dc6c4d77a304eb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82180
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-28 19:29:48 +00:00
Stephen White 7028077a6a GLSL: implement inverseSqrt() and update test expectations.
Bug: tint:1447
Change-Id: I521d021a9177c75badd52ad39ce4db6def48b6ab
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82144
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 18:23:17 +00:00
Stephen White 2a02b68453 GLSL: implement fract() builtin function.
Bug: tint:1446
Change-Id: Icb06bb560956372a689db33c758b3d5ad8c27225
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82143
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 18:19:47 +00:00
Stephen White ba4d6ab01d GLSL: implement derivative instructions.
While Desktop GLSL supports the Coarse and Fine flavours, GLSL ES does
not. For now, emit dFdx/dFdy in all cases for ES, but excluding the
Coarse and Fine flavours via validation is also an option.

Bug: tint:1445
Change-Id: Iaac589f72043b5547e9141a6e870c1fd49631f6f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82142
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 18:08:13 +00:00
Stephen White 3b68fcb544 GLSL: implement reverseBits().
Bug: tint:1431
Change-Id: I816ce26e98705f459e2fbc652d06d6fc97bab7fb
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82141
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 17:43:37 +00:00
Stephen White 10c554ecf4 GLSL: implement countOneBits().
Bug: tint:1430
Change-Id: I1aa886d1f68e50f0ce6fd5b55d87722742ca5f69
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82140
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-02-28 17:41:47 +00:00
Dawn Autoroller bd05188adf Roll SwiftShader from 949ffcf55151 to f066b8ef930f (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/949ffcf55151..f066b8ef930f

2022-02-28 swiftshader.regress@gmail.com Regres: Update test lists @ 949ffcf5

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 bclayton@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: bclayton@google.com
Change-Id: Ida78c336132f9f5b041afb264c21febc3dcdd754
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82160
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-28 17:24:39 +00:00
dawn-autoroll 17ea678173 Roll vulkan-deps from 430a8c72d298 to cc1c6225a3cb (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/430a8c72d298..cc1c6225a3cb

Changed dependencies:
* spirv-cross: c08ee860c8..a569680406

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 bclayton@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: bclayton@google.com
Change-Id: I212cce72cbc6de8c3df9d5b4e8934f01d7908e95
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82102
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-28 12:33:09 +00:00
Dawn Autoroller 492a2b5354 Roll ANGLE from 8390196a308b to 56378606a34e (1 revision)
8390196a30..56378606a3

2022-02-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 903941d19666 to 5feb16fcf80f (645 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 cwallez@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: cwallez@google.com
Change-Id: I883bba6f430b2ed91814dc27320885ffad502342
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82120
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-28 09:28:49 +00:00
Dawn Autoroller faa889d0b0 Roll SwiftShader from b128337ffbec to 949ffcf55151 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/b128337ffbec..949ffcf55151

2022-02-26 capn@google.com Refactor image offset methods

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 cwallez@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: cwallez@google.com
Change-Id: I56f59030ff3c3a118a2ce2c98f36f64c34e4f891
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82060
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-27 02:54:58 +00:00
Dawn Autoroller e36ceee5d4 Roll SwiftShader from 310874c922a8 to b128337ffbec (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/310874c922a8..b128337ffbec

2022-02-26 swiftshader.regress@gmail.com Regres: Update test lists @ 310874c9

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 cwallez@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: cwallez@google.com
Change-Id: Idccd2ea67ee37458b82d05b74d7dbd101838111e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82041
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-26 13:27:38 +00:00
Dawn Autoroller c9ecf6d187 Roll ANGLE from 7f03fb5d8c18 to 8390196a308b (14 revisions)
7f03fb5d8c..8390196a30

2022-02-26 syoussefi@chromium.org Revert "Remove ImageViewHelper from ResourceUseList"
2022-02-26 gman@chromium.org Add Clearifying comment about Occlusion Query Test
2022-02-25 abdolrashidi@google.com Update API version in VulkanHelper to 1.1
2022-02-25 timvp@google.com Android: Skip flaky EGL end2end tests
2022-02-25 syoussefi@chromium.org Vulkan: Add precision fix to SPIR-V transformation validation
2022-02-25 antonio.caggiano@collabora.com EGL: CreatePlatformWindowSurfaceEXT
2022-02-25 erikrose@google.com Correct a typo that was keeping Skia from compiling.
2022-02-25 b.schade@samsung.com Vulkan: Clear Recycler's mObjectFreeList on destroy
2022-02-25 kpiddington@apple.com Metal: PVRTC formats fail conformance tests on simulator
2022-02-25 ianelliott@google.com Add to ANGLE's OWNERS
2022-02-25 yuxinhu@google.com Remove ImageViewHelper from ResourceUseList
2022-02-25 m.maiya@samsung.com Vulkan: Account for Invariant in transformDecorate
2022-02-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from d321c7ec84de to 2328c3fcf88d (4 revisions)
2022-02-25 timvp@google.com Vulkan: Add ClearBenchmark.Run/vulkan_scissoredClear

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: Ida67beadc40faf48f87a6fb8571795b46eb03ef9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82040
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-26 06:08:29 +00:00
Dawn Autoroller f0544b87bc Roll Tint from dbf75bc217 to 2e6269acb0 (3 revisions)
https://dawn.googlesource.com/tint.git/+log/dbf75bc21793..2e6269acb094

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
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: dawn:1082
Tbr: shrekshao@google.com
Change-Id: Ib46b3e8064580dbdd12c713dcdfd72201e52c29d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82021
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-26 02:09:37 +00:00
Ben Clayton 2e6269acb0 Use the new Switch() inferred types
Change-Id: I48ecd18957101631caa27480e7b1937a10791118
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/81106
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-02-25 23:02:22 +00:00
Dawn Autoroller bb77cec337 Roll SwiftShader from f423bda7e8e3 to 310874c922a8 (7 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f423bda7e8e3..310874c922a8

2022-02-25 sugoi@google.com Fix dynamic rendering implicit clears with multiview
2022-02-25 capn@google.com Set the stack limit through a function attribute
2022-02-25 capn@google.com Regres: remove OpenGL ES testlists
2022-02-25 capn@google.com Assert llvm::Expected<> don't contain an error
2022-02-25 sugoi@google.com VK_KHR_maintenance4 support
2022-02-25 sugoi@google.com LocalSizeId for VK_KHR_maintenance4
2022-02-25 martin.troiber@gmail.com Add LLVM-Submodule backend option

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: I260d256a359d4be793d41946f977b0a9340f82c6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82020
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 22:25:57 +00:00
Dawn Autoroller bc3c8df15d Roll Tint from fe08ba4677 to dbf75bc217 (1 revision)
https://dawn.googlesource.com/tint.git/+log/fe08ba467747..dbf75bc21793

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
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: Id8a6cb3bdfbfa3ffe24fe3b647de06ee3b689cf2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81983
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 20:51:37 +00:00
Ben Clayton f33f1b41ff castable: Make Switch() smarter about return types
Infer the return type by finding the common type across all cases.
Types that derive from CastableBase will automatically infer to
the common base class.

Change-Id: I2112ca1abae34e55396685e9ebf2da12f8a6e3fc
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80320
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
2022-02-25 20:24:42 +00:00
Brandon Jones 6661b28d1e Delete Single-Plane External Texture Transform
The multiplanar external texture transform has been integrated into
Dawn, which means we have no use for the single plane transform - so it
should be deleted.

Bug: dawn:1082
Change-Id: Id8977d03839b76c90ae6e70400d048c13fbe85f4
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80120
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Brandon1 Jones <brandon1.jones@intel.com>
2022-02-25 20:14:52 +00:00
Ben Clayton dbf75bc217 benchmarks: Fix path to benchmark files
Bug: tint:1378
Bug: tint:1418
Change-Id: I601d344c0fe5598b5ccc50dc1fc4cecf5a8f5357
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82000
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-02-25 19:18:23 +00:00
Yang Gu 6a9f9bd1ff Skip the check of maxFragmentCombinedOutputResources for Mesa llvmpipe driver
The Mesa Gallium llvmpipe driver is a software rasterizer that uses LLVM
to do runtime code generation. It seems to put incorrect value for
maxFragmentCombinedOutputResources, like we see on desktop GPUs.

Some relative values are as below.
vkLimits.maxFragmentCombinedOutputResources: 8
kMaxColorAttachments: 8
baseLimits.v1.maxStorageTexturesPerShaderStage: 4
baseLimits.v1.maxStorageBuffersPerShaderStage: 8

This CL will skip the check of this limit on llvmpipe, like we did for
desktop GPUs.

BUG=dawn:1311
Change-Id: I1698f6e26dd62b56f3819980fa2dcc986c9c5ba3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81941
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Hao Li <hao.x.li@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-02-25 18:30:47 +00:00
dawn-autoroll 41610a83d1 Roll vulkan-deps from 7ceb0dd44a7a to 430a8c72d298 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/7ceb0dd44a7a..430a8c72d298

Changed dependencies:
* spirv-cross: 188dc8b13c..c08ee860c8

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: I9c2d415df451b2c17e99816b983e4104b763412f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81942
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 17:26:47 +00:00
Dawn Autoroller 23638bf9bc Roll ANGLE from 1e1505b53cf0 to 7f03fb5d8c18 (2 revisions)
1e1505b53c..7f03fb5d8c

2022-02-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from cd8e0282137f to f423bda7e8e3 (12 revisions)
2022-02-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from effb00c1eb6d to 903941d19666 (506 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: I67b8a8d059fc0f8efd30dea9c40a2d6269d4d8fc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81982
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 17:06:47 +00:00
Jiawei Shao ec3e4b0510 Fix use-after-free issue in Create*PipelineAsyncTasks::Run()
This patch fixes a use-after-free issue in Create*PipelineAsyncTasks
that when pipeline->Initialize() returns error, the pipeline object
will be deleted, while we still attempt to call its member function
after it is deleted.

BUG=dawn:1310
TEST=dawn_unittests

Change-Id: I57d5ca98d6c97b14df1d7c3bf2941c9cc87adeff
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81800
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-02-25 16:28:39 +00:00
Dawn Autoroller d606233833 Roll SwiftShader from 732515a031fa to f423bda7e8e3 (10 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/732515a031fa..f423bda7e8e3

2022-02-25 swiftshader.regress@gmail.com Regres: Update test lists @ 9f170f07
2022-02-25 sugoi@google.com Image memory requirements for VK_KHR_maintenance4
2022-02-25 sugoi@google.com vkGetImageMemoryRequirements2 refactor
2022-02-24 sugoi@google.com Buffer memory requirements for VK_KHR_maintenance4
2022-02-24 sugoi@google.com VK_KHR_zero_initialize_workgroup_memory support
2022-02-24 swiftshader.regress@gmail.com Regres: Update test lists @ cd8e0282
2022-02-24 capn@google.com Implement DAZ/FTZ control for non-Windows x86
2022-02-24 capn@google.com Implement separate DAZ/FTZ control for Windows
2022-02-24 capn@google.com Fix comparing lodOrBias as integer values
2022-02-24 capn@google.com Add utility functions for detecting divergent/uniform values

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: Iec98515babcae544d66d7ad2363cc3478fff567c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81981
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 09:11:57 +00:00
Dawn Autoroller 4570ab5ad8 Roll ANGLE from 43273273f12e to 1e1505b53cf0 (4 revisions)
43273273f1..1e1505b53c

2022-02-24 yuxinhu@google.com Upgrade Python scripts from Python2 to Python3
2022-02-24 antonio.caggiano@collabora.com Vulkan: Duplicate dmabuf FD on import
2022-02-24 jmadill@chromium.org Rename FastUnordered types to FlatUnordered.
2022-02-24 antonio.caggiano@collabora.com Vulkan: Wayland dependency

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: I450e34065f25619c0b555d1728191ca4b577bc1a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81980
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 03:38:57 +00:00
dawn-autoroll 9b81766e0f Roll vulkan-deps from f0e7532f806d to 7ceb0dd44a7a (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/f0e7532f806d..7ceb0dd44a7a

Changed dependencies:
* glslang: ac7f6a293e..43d585d863
* vulkan-validation-layers: 9b6f1edda1..a263fee6f6

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: I1e11a4070054b5d034f45130511b96ff80d8db71
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81960
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-25 03:16:06 +00:00
Dawn Autoroller 2335a974ef Roll SwiftShader from cd8e0282137f to 732515a031fa (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/cd8e0282137f..732515a031fa

2022-02-24 syoussefi@google.com Set advancedBlendMaxColorAttachments to max
2022-02-24 sugoi@google.com Remove unicode characters from comments

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: Id91c3271aae54c939b84bf51bcf3ee3db45bce1a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81900
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-24 19:55:06 +00:00
Jiawei Shao a84791a955 Ensure non-renderable formats don't support multisampling
This patch removes the support of multisampling on the below 4
formats as they are not renderable according to the discussions at
https://github.com/gpuweb/gpuweb/issues/2465.
- R8Snorm
- RG8Snorm
- RGBA8Snorm
- RG11B10Ufloat

BUG=chromium:1299154, dawn:1244
TEST=dawn_unittests

Change-Id: I3837f2aee322a71c90772322dc01fae410f03e57
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81801
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-02-24 17:46:46 +00:00
Dawn Autoroller 420f4c9fae Roll ANGLE from 1e773db9070e to 43273273f12e (3 revisions)
1e773db907..43273273f1

2022-02-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 7529468c7902 to cd8e0282137f (2 revisions)
2022-02-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from e092c426ee21 to effb00c1eb6d (431 revisions)
2022-02-24 syoussefi@chromium.org Vulkan: Make Overlay init lazy

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: I263365fa813094da090fe83aee3d58914e33a349
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81840
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-24 14:40:18 +00:00
dawn-autoroll 99df14b52d Roll vulkan-deps from fa0208dc5d37 to f0e7532f806d (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/fa0208dc5d37..f0e7532f806d

Changed dependencies:
* glslang: d15deba1d8..ac7f6a293e

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: I8aeea5fad7b51684b639f7dec38b1a489ffc966f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81802
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-24 14:14:56 +00:00
Dawn Autoroller 335ec4d245 Roll SwiftShader from 57d90a68ba40 to cd8e0282137f (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/57d90a68ba40..cd8e0282137f

2022-02-23 sugoi@google.com VK_KHR_shader_non_semantic_info support

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: I907ea1f76026d7bb2f9905a5bd7d30355878db04
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81820
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-24 05:48:54 +00:00
Shaobo 6084407b21 Change texture state validation in CopyTextureForBrowser() to report meaningful errors
CopyTextureForBrowser() will support all uploading paths for WebGPU
CopyExternalImageToTexture(). The validation checks for texture states
should report accurate errors to meet CopyExternalImageToTexture() validate
rules.

Bug: dawn:1306
Change-Id: Ie3b25ec82246d53e6c82968b5dc2f8a253c560c1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81240
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2022-02-24 02:26:26 +00:00