Commit Graph

8809 Commits

Author SHA1 Message Date
dawn-autoroll c5931800f2 Roll vulkan-deps from 626b2fd72bde to 7de4282f2446 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/626b2fd72bde..7de4282f2446

Changed dependencies:
* spirv-tools: ffc8f2d455..ad3514b732

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 kainino@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: kainino@google.com
Change-Id: I6b7055e94a761c0e50e8a4e9bc687fcd1a57aa11
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89461
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-05-09 20:12:15 +00:00
Ben Clayton 9fb29a364e tint: Add binary-ops to the intrinsic table
• Declare all the binary ops in the intrinsics.def file.
• Reimplement Resolver::BinaryOpType() with the IntrinsicTable.

This will simplify maintenance of the operators, and will greatly
simplify the [AbstractInt -> i32|u32] [AbstractFloat -> f32|f16] logic.

Bug: tint:1504
Change-Id: Ie028602e05b59916c3f2168c92f200f10e402b96
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89027
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-09 20:00:13 +00:00
dan sinclair bcdb6e9da8 [chromium-style] Split mock constructors/destructors to cpp files.
This CL moves the constructors and desctructors for the  native
unittest mocks into separate cpp files.

Bug: dawn:1405
Change-Id: I20dccaa8114f3d7f8b61da1c1495648cb7328148
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89121
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-05-09 18:24:53 +00:00
Ben Clayton e6e96def66 tint: Add operator support to intrinsic-gen
Adapt the builtin parsing and resolving to also support operators.
Will be used to generate intrinsic table entries for operators.

This will simplify maintenance of the operators, and will greatly
simplify the [AbstractInt -> i32|u32] [AbstractFloat -> f32|f16] logic.

Bug: tint:1504
Change-Id: Id75735ea24e501877418812185796f3fba88a521
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89026
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-09 18:08:23 +00:00
dan sinclair d84daed72c [chromium-style] Fixup a few chromium-style issues.
This CL fixes a few missing overrides and updates some `auto`'s to
have a `*` on them.

Bug: dawn:1405
Change-Id: I621cd35fb10d8308a5831db11c22a3595e52e295
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89120
Reviewed-by: Ben Clayton <bclayton@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-05-09 16:26:44 +00:00
Dawn Autoroller abd1840550 Roll SwiftShader from 1dd93361b1d9 to f5cda7835ab7 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/1dd93361b1d9..f5cda7835ab7

2022-05-09 swiftshader.regress@gmail.com Regres: Update test lists @ 1dd93361

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 amaiorano@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: amaiorano@google.com
Change-Id: If30396118d110b52f5395bb6101efc7ff2fe7dcd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89420
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-05-09 14:27:23 +00:00
Dawn Autoroller be0abb611a Roll ANGLE from e316203a6a2f to 78d88796b44b (1 revision)
e316203a6a..78d88796b4

2022-05-09 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 333c8248b125 to bc117969dbb5 (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 amaiorano@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: amaiorano@google.com
Change-Id: If1a3fce9c6a99e7d19d573e304497bfde0e05b83
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89380
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-05-09 11:49:53 +00:00
Dawn Autoroller 680f513bda Roll ANGLE from 225d8f83af71 to e316203a6a2f (1 revision)
225d8f83af..e316203a6a

2022-05-08 zzyiwei@chromium.org Vulkan: add forceContinuousRefreshOnSharedPresent feature

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 amaiorano@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: amaiorano@google.com
Change-Id: I1c018959f6c8193277c83447e9b35d5f30486a68
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89321
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-08 02:11:42 +00:00
Dawn Autoroller 1bc2601884 Roll SwiftShader from 00efa1913863 to 1dd93361b1d9 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/00efa1913863..1dd93361b1d9

2022-05-07 capn@google.com Always enable MemorySanitizer instrumentation for vertex routines

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 amaiorano@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: amaiorano@google.com
Change-Id: I4e425007d61c9094b2de908cc252f534c65564a7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89360
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-07 19:35:32 +00:00
Dawn Autoroller b284205aad Roll ANGLE from cadb933fdb12 to 225d8f83af71 (2 revisions)
cadb933fdb..225d8f83af

2022-05-07 yuxinhu@google.com Tests: Add Mortal Kombat App Trace
2022-05-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4ca7acf89869 to 626b2fd72bde (22 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 amaiorano@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: amaiorano@google.com
Change-Id: I1b8bd6a9c08ee264187eb9909a448e42276187f5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89301
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-05-07 09:53:42 +00:00
dawn-autoroll 7f36c0e711 Roll vulkan-deps from e13072c54977 to 626b2fd72bde (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e13072c54977..626b2fd72bde

Changed dependencies:
* glslang: e3bca2add6..14f6e27304
* spirv-tools: c11ea09652..ffc8f2d455

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 amaiorano@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: amaiorano@google.com
Change-Id: Ib50ee5883cea1f4db68e615917c3fcf30658867d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89320
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-05-07 06:49:52 +00:00
Dawn Autoroller b79438ea6f Roll SwiftShader from 74e34ab97aeb to 00efa1913863 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/74e34ab97aeb..00efa1913863

2022-05-07 capn@google.com Don't make use of roundps in MSan builds
2022-05-07 capn@google.com Don't make use of cvtps2dq in MSan builds

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 amaiorano@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: amaiorano@google.com
Change-Id: Ib6f4f85ca609e40133615557f7eefe1faa312d57
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89300
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-05-07 05:42:12 +00:00
Dawn Autoroller d2129ebeaa Roll ANGLE from 1d5d09e4191a to cadb933fdb12 (14 revisions)
1d5d09e419..cadb933fdb

2022-05-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 3bc34dd4d819 to 333c8248b125 (124 revisions)
2022-05-06 cnorthrop@google.com Tests: Add Basemark GPU trace
2022-05-06 abdolrashidi@google.com Revert "Remove limit_max_texture_size_to_4096 workaround"
2022-05-06 ynovikov@chromium.org [Fuchsia] Download the gn sdk instead of core
2022-05-06 cnorthrop@google.com Tests: Add Puzzles and Survival trace
2022-05-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 106df4122297 to acf70aaf3fdb (12 revisions)
2022-05-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 643179694ec7 to 74e34ab97aeb (7 revisions)
2022-05-06 cnorthrop@google.com Tests: Add Monument Valley trace
2022-05-06 cnorthrop@google.com Tests: Add Dead Cells trace
2022-05-06 chonggu@google.com Migrate Fuchsia sdk checkout from using script to CIPD
2022-05-06 jmadill@chromium.org Vulkan: Simplify external format Chroma code.
2022-05-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 617cd3226543 to 3bc34dd4d819 (40 revisions)
2022-05-06 lubosz.sarnecki@collabora.com util/X11Window: Set PMinSize and PMaxSize hints.
2022-05-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 7a60295b6324 to 617cd3226543 (278 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 amaiorano@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: amaiorano@google.com
Change-Id: I5c3b9d025646950987b8f8800190a1a79ad7ca36
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89263
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-05-06 21:05:41 +00:00
dawn-autoroll d66f973460 Roll vulkan-deps from 4957ae734445 to e13072c54977 (21 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/4957ae734445..e13072c54977

Changed dependencies:
* spirv-cross: a9d23d7652..0c8a79b0b5
* spirv-headers: 46b7918218..b765c355f4
* spirv-tools: 46492aa45a..c11ea09652
* vulkan-loader: 191e261495..08cad0c015
* vulkan-validation-layers: 75a5d5459f..14155d96ed

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 amaiorano@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: amaiorano@google.com
Change-Id: Ib4322b2ddcd488ae005d5f6a73e63e8eecca8111
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89244
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-06 17:27:17 +00:00
Dawn Autoroller 118aabf4f5 Roll SwiftShader from 62c1af08ea4d to 74e34ab97aeb (5 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/62c1af08ea4d..74e34ab97aeb

2022-05-06 capn@google.com Override the SPIRV-Headers path to use local copy
2022-05-06 capn@google.com Fix SPIRV-Tools Android.bp build
2022-05-05 amaiorano@google.com Update SPIR-V Headers to b765c355f
2022-05-05 amaiorano@google.com Update SPIR-V Tools to 7014be600
2022-05-05 amaiorano@google.com update-spirvheaders: run Gerrit hook on generated CLs

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 amaiorano@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: amaiorano@google.com
Change-Id: If2de42810c88713fa166b7965c075a77f823feb7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89262
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-06 16:39:42 +00:00
Ben Clayton e132516e6f tint: Rename and move builtin_table and builtin-gen
• Rename 'builtin-gen' back to 'intrinsic-gen', as 'intrinsics' now
  include both builtins and operators.
• Move the intrinsic definitions, and IntrinsicTable to the resolver
  package, where it belongs.

Bug: tint:1504
Change-Id: I5ad5c285c1e360a224ee1235c293ccd55eb2693d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89025
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-06 15:13:01 +00:00
Ben Clayton 7f7234afad dawn: Fix clang warning treated as error
Fixes Kokoro builds

Change-Id: I9261da8988091ddc0ae9ab0edd1ccbae64f39417
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89030
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-05-06 13:42:43 +00:00
Zhaoming Jiang d6b2501be2 dawn: Add shader module validation for WGSL extension
Tint has already implemented the enable directive for using WGSL
extension in the future, and using a WGSL extension that is not allowed
for the device should result in a shader creation error.
In this patch a WGSL extension allow list is added in DeviceBase, and
a validation is added in shader module base initialization to make sure
all extensions used in the WGSL program are in the allow list. This
patch also rename the `ValidateShaderModuleDescriptor` to
`ValidateAndParseShaderModule`, which is more descriptive for what it
actually does.

Bug: tint:1472
Change-Id: I4b039a3e37c25159b4fc6cfa37488aa817004ab2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88241
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2022-05-06 08:51:12 +00:00
Dawn Autoroller 4cb75245e3 Roll ANGLE from 2ce60b52a239 to 1d5d09e4191a (10 revisions)
2ce60b52a2..1d5d09e419

2022-05-06 syoussefi@chromium.org Vulkan: Prefer MAILBOX over IMMEDIATE present mode
2022-05-05 cclao@google.com Vulkan: Reduce kMaxBufferToImageCopySize to 64M
2022-05-05 cclao@google.com Vulkan: Limit the total bytes of suballocation garbages in flight
2022-05-05 lubosz.sarnecki@collabora.com FramebufferTest: Add FramebufferChangeTest test.
2022-05-05 cnorthrop@google.com Scripts: Strip prebuilt debug APK from AOSP roll
2022-05-05 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 1c301e690de1 to 7a60295b6324 (184 revisions)
2022-05-05 cclao@google.com Vulkan: Force prune when there are lots of suballocations destroyed
2022-05-05 boliu@google.com Remove limit_max_texture_size_to_4096 workaround
2022-05-05 cclao@google.com Vulkan: Use heuristic to decide how many empty buffers to keep
2022-05-05 lubosz.sarnecki@collabora.com Tests: Add Alto's Odyssey trace.

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 amaiorano@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: amaiorano@google.com
Change-Id: Ic50c7d2aa03bb0f580bbb14893083d58fb65a361
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89221
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-06 08:11:02 +00:00
James Price 8dbe22c65a Surface Vulkan validation messages in errors
This change ensures that when errors are raised from WebGPU, including
lost context errors, they can include any associated Vulkan validation
layer messages in the message text if backend validation is enabled.
This will allow these messages to be surfaced in places like when
running CTS tests on browser build infrastructure.

Because of how Vulkan messages are raised at the instance level, some
routing of the messages to the appropriate device needed to be added.
This is based on appending message IDs to object labels and then parsing
them out of the message when it comes in.

This change also makes Vulkan validation messages cause a device loss,
which is inline with the behavior of the D3D12 backend.

Bug: dawn:1396
Change-Id: I2b309ba5475a338e7e99d4b4daaa7c3d5de61011
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88460
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2022-05-05 22:14:20 +00:00
Ben Clayton 0ce9ab042e tint: Change all ProgramBuilder literals to 'i' or 'u' suffix
Unsuffixed integer literals are currently treated as i32,
but will shortly become AbstractInteger. To keep tests behaving
identically to how they are currently, change all test literals
to using either 'i' or 'u' suffixes.

Bug: tint:1504
Change-Id: Ic373d18ce1c718a16b6905568aec89da3641d36b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88845
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-05 20:23:40 +00:00
Dawn Autoroller 8b9d1e0800 Roll ANGLE from 9865ed8b8117 to 2ce60b52a239 (4 revisions)
9865ed8b81..2ce60b52a2

2022-05-05 pkasting@chromium.org Fixes for C++20 support.
2022-05-05 abdolrashidi@google.com Vulkan: Set timeout for MultiContextDrawWithSwap*
2022-05-05 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 6db3a94387ed to 1c301e690de1 (550 revisions)
2022-05-05 ynovikov@chromium.org Decommission win7-x86-amd and win7-x64-nvidia

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 amaiorano@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: amaiorano@google.com
Change-Id: I42f8dd034c4e3e920c37a056bc66da2603f4c100
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89100
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-05 19:23:30 +00:00
Ben Clayton f7357f89a3 tint: Castable - support non-default-constructable return types
If the Switch() has a default case, then allow support for return types that do not have a default constructor.

Bug: tint:1504
Change-Id: I671ea78fe976138a786e2e0472e1e5f99afa0c5d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89022
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-05-05 19:18:00 +00:00
Dawn Autoroller 07602e8a8a Roll SwiftShader from 2e793ae08002 to 62c1af08ea4d (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/2e793ae08002..62c1af08ea4d

2022-05-05 amaiorano@google.com update-sprivtools: run Gerrit hook on generated CLs

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 amaiorano@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: amaiorano@google.com
Change-Id: I11068aba1bb4415ff64bfb7ff6c457748e8ca633
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89080
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-05-05 17:42:40 +00:00
Antonio Maiorano c188ca62ca tint: add --overrides flag to specify pipeline overrides
And use this to define constants for override vars in unit tests that
would fail for HLSL.

Bug: tint:1519
Change-Id: I4fd15c517868694d2bcd81d563399f817ed74ae6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88882
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-05-05 17:05:10 +00:00
Peter Kasting d3921b8230 Fixes for C++20 support.
Various things are deprecated or removed in C++20, including
* Various allocator member types
* std::iterator
* std::result_of

Replace these with supported versions.

Bug: chromium:1284275
Change-Id: I11a2909e3a269cdb98ada2bd6621086409878242
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89040
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Peter Kasting <pkasting@google.com>
Commit-Queue: Peter Kasting <pkasting@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-05-05 17:00:31 +00:00
Ben Clayton 7cbd8202e6 tint: Add Bitcast helper
Use this for the BlockAllocator cast.

Bug: dawn:1406
Change-Id: Ic5d1acf7f8e74037fb51fc9d5d3b5141a15bd962
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89021
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-05-05 15:34:41 +00:00
Ben Clayton 26cba1cb39 tint: Fix CFI error in BlockAllocator
Use a memcpy to avoid a bad-cast seat belt which is firing in ChomeOS.

Bug: dawn:1406
Change-Id: I3acf0e2552ef8c5267e8c5701cc2f95f6e283c7a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89020
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-05 14:19:20 +00:00
Dawn Autoroller f20a867d2f Roll ANGLE from 9053a641bf5d to 9865ed8b8117 (1 revision)
9053a641bf..9865ed8b81

2022-05-04 doughorn@google.com Check in //build files needed.

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 amaiorano@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: amaiorano@google.com
Change-Id: Ic37f44f21b62ca003dca52503429fb5b004889e5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89000
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-05 06:24:49 +00:00
Stephen White 6d33b8a1c6 OpenGLES: disable some end2end tests which require reading from depth textures.
Bug: dawn:667
Change-Id: I6a78c7f6f9a850ef9ba30d3bafde9b198bab2edc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88940
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-05-04 23:43:19 +00:00
Ben Clayton 06496d4d1a tint/reader/spirv: Generate 'i' suffixed literals
For all i32 literal values.

Reduces risk of the SPIR-V reader producing WGSL that behaves
differently, when abstract-integers are fully implemented.

Bug: tint:1504
Change-Id: Ieaf8afec5b09c7978c75a38c6ed144633ddc017e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88843
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-04 22:25:19 +00:00
Ben Clayton 8822e2966a tint: Merge [S|U]intLiteralExpression
Merge SintLiteralExpression and UintLiteralExpression with
IntLiteralExpression. IntLiteralExpression has a new Suffix field which
indicates whether the literal is either a:
• 'i' suffixed integer literal
• 'u' suffixed integer literal
• no-suffix integer literal

Have the SPIR-V reader produce no-suffixed literals for i32 types, to
keep this change small. In future changes the SPIR-V reader will
produce 'i' suffixed types for these.

Have all consumers of IntLiteralExpression treat unsuffixed integers the
same as 'i'-suffixed literals. Unsuffixed will be treated as abstract in
future changes.

Removed SemHelper::TypeOf(const ast::LiteralExpression* lit).

Fixed: tint:1510
Bug: tint:1504
Change-Id: I443f41984e637ddd948182ee756af1010c5f8226
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88842
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-05-04 22:18:49 +00:00
Dawn Autoroller 5afd422e44 Roll SwiftShader from 643179694ec7 to 2e793ae08002 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/643179694ec7..2e793ae08002

2022-05-04 pkasting@chromium.org Remove use of std::iterator, which is gone in C++20.

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 amaiorano@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: amaiorano@google.com
Change-Id: I49d91f4e5f0c66ee6036dc86190443dbdef6a1e2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88922
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-04 21:41:12 +00:00
Ben Clayton f693488bff tint: Lex three types of integer literal
Generate different tokens for:
• 'i' suffixed integer literals
• 'u' suffixed integer literals
• no-suffix integer literals

'i' and no-suffix are currently both treated as i32, but this is the
first step to supporting abstract integers.

Bug: tint:1504
Change-Id: Ib94652e0c829d7879ff594ff7efd279cb05010e6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88841
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-04 21:01:12 +00:00
dan sinclair 085fcea6b7 Enable more `gn check` results.
This PR fixes one gn include issue and widens the GN check results
to test all but one of the GN targets. The remaining target is
disabled due to our absl configuration.

Bug: dawn:1372
Change-Id: I6e92a7aa777c3508e57d1e7138c73b7a92756db1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88680
Reviewed-by: Brandon Jones <bajones@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-05-04 17:44:19 +00:00
Dawn Autoroller ccd9fc055f Roll ANGLE from 84e42c3b04da to 9053a641bf5d (12 revisions)
84e42c3b04..9053a641bf

2022-05-04 antonio.caggiano@collabora.com Vulkan: Wayland dmabuf extensions
2022-05-04 jmadill@chromium.org Re-land: "Vulkan: Cache ImageView serials on texture changes."
2022-05-04 amaiorano@google.com Fix build flags not in declare_args when angle_has_build is true
2022-05-04 syoussefi@chromium.org Presubmit: Verify comment before new tests
2022-05-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from cdf43bd816d7 to 643179694ec7 (4 revisions)
2022-05-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 55c89a3a09ac to 6db3a94387ed (508 revisions)
2022-05-03 abdolrashidi@google.com Traces: Add a device arg to restricted_trace_perf
2022-05-03 m.maiya@samsung.com Consolidate handle list before pushing to mReleasedList
2022-05-03 jmadill@chromium.org infra: Remove some slow *SAN tests.
2022-05-03 senorblanco@chromium.org D3D11: fix BufferToTexture copy when UNPACK_ROW_LENGTH is set.
2022-05-03 antonio.caggiano@collabora.com Re-land: "Vulkan: Support Wayland"
2022-05-03 yuxinhu@google.com Basis Universal Texture Experiment

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 amaiorano@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: amaiorano@google.com
Change-Id: I5b311147d9afa3cd4bef73694bc882983658c9ae
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88921
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-04 17:32:29 +00:00
Ben Clayton f214e8bdad webgpu-cts/expectations.txt: Remove expectations that now pass
Cq-Include-Trybots: luci.chromium.try:win-dawn-rel,mac-dawn-rel,linux-dawn-rel,dawn-try-win10-x86-rel
Change-Id: I9214d1333931e193cdfce10a52289255685f4150
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88844
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-04 16:44:59 +00:00
Antonio Maiorano da957d2d19 Disable angle dependency on wayland
This will allow ANGLE to roll into Dawn once this change lands:
https://chromium-review.googlesource.com/c/angle/angle/+/3627120

Change-Id: I6f8fece4138a629fb471660cbf1d22c1d2548cec
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88881
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-05-04 16:37:39 +00:00
Ben Clayton ff371efdc6 Roll third_party/webgpu-cts/ 249f2b797..ecf480422 (21 commits)
Update expectations and ts_sources

249f2b797b..ecf4804228
 - ecf480 wgsl: Add missing parameterizations (#1366)
 - febc61 wgsl: Stub tests for the fwidthFine builtin. (#1365)
 - 50261d wgsl: Stub tests for the fwidthCoarse builtin. (#1364)
 - b2f135 wgsl: Stub tests for the fwidth builtin. (#1363)
 - 1d3403 wgsl: Stub tests for the dpdyFine builtin. (#1362)
 - 1c717a wgsl: Stub tests for the dpdyCoarse builtin. (#1361)
 - ef805c wgsl: Stub tests for the dpdy builtin (#1360)
 - 8f5f61 wgsl: Stub tests for the dpdxFine builtin. (#1359)
 - 59d1c3 wgsl: Stub tests for dpdxCoarse builtin (#1358)
 - aa6096 wgsl: Stub tests for dpdx builtin (#1357)
 - 2ee8b6 wgsl: Stub tests for the dot builtin. (#1356)
 - 9646eb wgsl: Stub tests for the transpose builtin. (#1354)
 - 0415ba wgsl: Stub tests for determinant builtin. (#1353)
 - e817a5 wgsl: Stub tests for trunc builtin. (#1352)
 - 9edb35 wgsl: Stub tests for the tanh builtin. (#1351)
 - 1b109c wgsl: Stub tests for tan builtin. (#1350)
 - 92f64a wgsl: Stub tests for step builtin. (#1349)
 - ca915e wgsl: Stub tests for sqrt builtin. (#1348)
 - b1f2fb wgsl: Stub tests for smoothstep builtin. (#1347)
 - 9ea198 wgsl: Stub tests for sinh builtin. (#1346)
 - 423400 wgsl: Stub for sign builtin. (#1345)

Created with './tools/run cts roll'

Change-Id: I29b09f6d4808c8b33d39d390def05f72599965f2
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88860
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-04 16:00:39 +00:00
Ben Clayton e55877d017 tint: Chromium-style fixes
Required to roll Dawn -> Tint

Bug: dawn:1405
Change-Id: If60fe0bffe0052916ecb5e5b241f97aaaa43af46
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88840
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-05-04 13:58:49 +00:00
Author: Shiyu Liu b3aab09652 AST fuzzer: Change unary expression operator
Adds a mutation that changes the operator used in a unary expression
to some other type-compatible operator.

Fixes: tint:1486

Change-Id: Icf87652fe9ceedcded88d47daece7401a7811873
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87223
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Alastair Donaldson <afdx@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Alastair Donaldson <afdx@google.com>
2022-05-04 13:07:29 +00:00
Dawn Autoroller 03f361ba8e Roll SwiftShader from c75846ead9a0 to 643179694ec7 (3 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/c75846ead9a0..643179694ec7

2022-05-04 capn@google.com Always enable MemorySanitizer instrumentation for compute routines
2022-05-04 capn@google.com Always enable MemorySanitizer instrumentation for sampling routines
2022-05-03 capn@google.com Handle instrumentation of scalar single-precision (_ss) intrinsics

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 amaiorano@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: amaiorano@google.com
Change-Id: I24727c6ecc00afabd292f99ceaf8eb6aec5e546e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88822
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-04 08:50:48 +00:00
Austin Eng 9483b741a8 Mark requestDevice_limits:supported_limits:* RetryOnFailure
Change-Id: I38f6ddf9b39f7f98ccb5ec047341ffa1ffe49de5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88782
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-05-03 23:53:13 +00:00
Austin Eng 84958ea2f2 Roll third_party/webgpu-cts/ 547d67bc2..249f2b79 (8 commits)
Update expectations and ts_sources

547d67bc22..249f2b797b
 - 249f2b Don't block on subcases until the end of a testcase (#1335)
 - 170d7b Sparse color attachment fix (#1344)
 - 423df1 DevicePool: merge default holder into the DescriptorToHolderMap (#1343)
 - 10ce93 remove doInit/doFinalize (#1342)
 - d5cf9a Handle backends flushing inputs in `atan2` tests (#1340)
 - 318d3d Move test device selection to an optional before clause (#1333)
 - ece4eb Fix non-object-type test-parameter values (#1336)
 - 5906dc Add --colors flag for enabling color output (#1338)

Created with './tools/run cts roll'

Change-Id: I070d813ffe3017e1bd4e425247f1ea174ee63887
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88720
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-05-03 22:07:16 +00:00
Ben Clayton 2829922ab0 dawn/node: Roll to latest IDL
Bug: dawn:1123
Change-Id: I430d6b980dc34e37578fc26d3e0e126e75e11d97
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88667
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
2022-05-03 20:02:53 +00:00
Dawn Autoroller d7a15d11b4 Roll SwiftShader from cdf43bd816d7 to c75846ead9a0 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/cdf43bd816d7..c75846ead9a0

2022-05-03 nicolascapens@google.com Revert "Always enable MemorySanitizer instrumentation for vertex routines"

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 amaiorano@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: amaiorano@google.com
Change-Id: I267fdbf7b6c64e76f1a410e797884b2c54b11385
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88721
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-05-03 19:49:23 +00:00
Ben Clayton 8495affacf tools: More CTS tooling improvements
• Add the included trybots in the CL description. All of these trybots are tested by the roll, but the final CQ-submit wouldn't necessarily test all of the variants before landing. This would mean that the 'cts export' could miss some results, as it takes the last PS with any results.
• Add --force flag to cts roll to force a roll. Useful for testing.
• Emit timing diagnostics for tests labelled 'Slow' instead of unhelpfully stating they pass.
• Enable the --cl and --ps flags for cts export
• Export with the most recent data to the top of the spreadsheet

Bug: dawn:1401
Change-Id: Id926367ab805bfb9f3032fce9cce7f00daf7a5d4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88661
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-05-03 16:58:43 +00:00
Dawn Autoroller 923dd16545 Roll ANGLE from e39dfe0fe61c to 84e42c3b04da (30 revisions)
e39dfe0fe6..84e42c3b04

2022-05-03 jmadill@chromium.org Fix validation cache when deleting a Transform Feedback.
2022-05-03 ynovikov@chromium.org Skip flaky tests on Win ASAN
2022-05-03 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 1cde45b8d7aa to 4ca7acf89869 (6 revisions)
2022-05-03 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from adef92e7b4c6 to cdf43bd816d7 (8 revisions)
2022-05-03 ynovikov@chromium.org Revert "Re-land: "Vulkan: Support Wayland""
2022-05-03 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 929311ac6298 to 55c89a3a09ac (470 revisions)
2022-05-03 syoussefi@chromium.org Vulkan: Explicitly enable per-sample shading if `sample` used
2022-05-03 brianosman@google.com Reland "Make SPIRV optional for Metal backend"
2022-05-03 cclao@google.com Vulkan: Add log for buffer pool stats
2022-05-02 cclao@google.com Vulkan: Call cleanupGarbage only if mLastCompletedQueueSerial changed
2022-05-02 b.schade@samsung.com Fix ValidateFramebufferTextureLayer for cubemap arrays
2022-05-02 doughorn@google.com Re-land fixing of commit ID for Android builds.
2022-05-02 abdolrashidi@google.com Vulkan: MSAA swapchain resolve based on renderArea
2022-05-02 romanl@google.com Update Android deqp and end2end sharding
2022-05-02 romanl@google.com Fix presubmit following https://crrev.com/c/3611486
2022-05-02 senorblanco@chromium.org D3D11: recompile all shaders using 10.0.20348.0 toolchain.
2022-05-02 cnorthrop@google.com Tests: Add GFXBench Tessellation trace
2022-05-02 lexa.knyazev@gmail.com OpenGL: Add allow_astc_formats workaround
2022-05-02 syoussefi@chromium.org Remove whitespace from features json files
2022-05-02 brianosman@google.com Test both MSL translators in APPLEClipDistanceTest
2022-05-02 lexa.knyazev@gmail.com Expand Intel GPU detection
2022-05-02 antonio.caggiano@collabora.com Re-land: "Vulkan: Support Wayland"
2022-05-02 gert.wollny@collabora.com Capture/Replay: handle glGetVertexAttrib parameter value
2022-05-02 romanl@google.com Use app data dir instead of /sdcard for writing qpa file
2022-05-02 antonio.caggiano@collabora.com Fix formatting
2022-05-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 7b51f5f85aad to 1cde45b8d7aa (4 revisions)
2022-05-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 3a1ff9044aec to 929311ac6298 (541 revisions)
2022-05-01 gert.wollny@collabora.com Capture/Replay: Handle arrays with uniform block indices
2022-05-01 gert.wollny@collabora.com gl_tests: Fix formatting
2022-04-30 syoussefi@chromium.org Vulkan: Remove syncval suppressions no longer triggering

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 amaiorano@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: amaiorano@google.com
Change-Id: I019594e6a2a44af3a348e0922cb08325efc67df9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88700
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-05-03 16:29:23 +00:00
Ben Clayton 507a671e7d tint: Fix indentation in code templates
41e4d9a34 adjusted the tab indentation from 2 to 4 whitespaces.
Apply this to the templates so that regenerating these produce no diffs.

Bug: dawn:1339
Change-Id: Ib49e0d72b563558fbe2120d3db5754716eb1a4f6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88663
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-05-03 16:15:43 +00:00
Ben Clayton 74b8483ba4 run-cts: Default enable colors iff stdout is a terminal.
Don't emit colors if we're piping to a file, or the terminal does not support colors.

Always strip color escape code when writing to the --log file

Change-Id: Id15169f694563f06e950fdcab7344614b3f15e23
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88665
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-05-03 16:15:23 +00:00