Commit Graph

9357 Commits

Author SHA1 Message Date
Ben Clayton d5f53ab580 tint/resolver: Optimize constant evaluation methods
Materialize() was re-evaluating the constant values for the incoming
semantic expression, despite this already being evaluated. Just use the
sem::Expression::ConstantValue().

resolver.cc already has all the semantic pointers, so pass them in
instead of pointlessly hitting the ast -> sem map.

Change-Id: If2bc7cd10f79079fb811e9d83c5150dd3c0c244c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95764
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-07-07 17:30:11 +00:00
Ben Clayton 51265542e9 tint/sem: Remove TypeMappings for derived expressions
Any AST expression may map to a sem::Materialize, so the inferred
mapping is bug-prone (the implicit sem type may mismatch and Get() may
return nullptr).

Change-Id: I34485a4a067635df930a407316fae8b2e9628c3d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95763
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-07-07 17:15:01 +00:00
Ben Clayton b6c8ea9624 tint/resolver: Fix calling of builtins at module-scope
No builtins are implemented as `@const` yet, but validation handles this already.

Bug: chromium:1341472
Change-Id: Id85893345299ba3414e2d15b85dd071c326f481d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95762
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-07-07 17:04:21 +00:00
Ben Clayton 89bdea0f77 tint/resolver: Fix null-deref
Materialize() can return nullptr, if there's an error.
Check the returned pointer for nullptr, before continuing on to using the pointer.

Bug: chromium:1341313
Change-Id: Ib7c9e593fbf2bb4374305c341c2b04e34e7487e9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95761
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-07-07 16:56:21 +00:00
Ben Clayton 808f616762 gn: Add empty ubsan ignore list
Required to build Dawn with GN flag `is_ubsan = true`

Change-Id: I80b49b81377f0a9c8bd2c1310e12786427947c38
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95760
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-07-07 16:34:01 +00:00
Dawn Autoroller e427a9ba5e Roll SwiftShader from 1d6a1036bdb3 to 16e026a959f1 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/1d6a1036bdb3..16e026a959f1

2022-07-07 swiftshader.regress@gmail.com Regres: Update test lists @ 1d6a1036

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 dsinclair@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: dsinclair@google.com
Change-Id: I3d7d7682edc5dc9dff2e3077301e57e57dce5376
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95780
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 14:17:01 +00:00
dawn-autoroll fcceb0ee80 Roll vulkan-deps from 6745d5386850 to c119749eff1f (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6745d5386850..c119749eff1f

Changed dependencies:
* spirv-tools: dcee3a5de0..05de650371
* vulkan-validation-layers: a83fbb9594..c9ceaf94e8

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 dsinclair@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: dsinclair@google.com
Change-Id: I870e21dc2c1c4f89fdfd7435b9620255ecf5478b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95683
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-07-07 10:22:51 +00:00
Alexis Hetu 09a98b64be Remove Dawn Depth16Unorm test suppressions for SwiftShader Vulkan
The Depth16Unorm specific issue should now be fixed:
https://swiftshader-review.googlesource.com/c/SwiftShader/+/66888
so the test suppressions can be removed.

Bug: b/204919030
Change-Id: Ib221d2e11712995237da506ecc6de1f292bfa0bb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95700
Auto-Submit: Alexis Hétu <sugoi@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-07-07 09:38:31 +00:00
Dawn Autoroller 17eb23d198 Roll ANGLE from 3e5de4acc1fa to afcca86c6da3 (8 revisions)
3e5de4acc1..afcca86c6d

2022-07-07 b.schade@samsung.com Fix ValidateCompressedTexSubImage3D compressed format check
2022-07-07 lehoangquyen@google.com Metal: Allow Surfaces to be created without depth & stencil
2022-07-07 syoussefi@chromium.org Vulkan: Resolve GoogleX MSRTSS conflict with EXT
2022-07-06 m.maiya@samsung.com Vulkan: min/mag filters follow chroma filter value
2022-07-06 eddiehatfield@google.com Merge getTempPath and CreateTemporaryFile
2022-07-06 rafael.cintron@microsoft.com Handle OOM in SwapChain11::getRenderTargetShaderResource
2022-07-06 syoussefi@chromium.org Fix samples' arguments to SampleApplication
2022-07-06 antonio.caggiano@collabora.com Vulkan: Wayland resize callback

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 dsinclair@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: dsinclair@google.com
Change-Id: I389fe4422ef2d27f9883811b5ab6077b0572ede9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95721
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-07-07 05:48:01 +00:00
Zhaoming Jiang 2c7440a13f tint: Implement f16 value binary representation
This CL add methods that return the binary16 bit pattern for a
constructed Number<detail::NumberKindF16>. This is required for
generating SIPR-V oprand.

Bug: tint:1473, tint:1502
Change-Id: Ia3680cdb5a0e64d31bfe2f48432cda3850c1f5a7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95240
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
2022-07-07 03:29:11 +00:00
Dawn Autoroller 590040cfb4 Roll SwiftShader from 488cb63b5b4d to 1d6a1036bdb3 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/488cb63b5b4d..1d6a1036bdb3

2022-07-06 sugoi@google.com Always perform depth test using floating point 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 dsinclair@google.com,sugoi@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: dsinclair@google.com,sugoi@google.com
Change-Id: Ib44d2d63bad17a9cf0138635f38b2bf3a568d577
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95720
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-06 23:34:30 +00:00
dawn-autoroll 8cc040fb31 Roll vulkan-deps from 34e0281e9664 to 6745d5386850 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/34e0281e9664..6745d5386850

Changed dependencies:
* spirv-tools: 5f4284aa78..dcee3a5de0

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 dsinclair@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: dsinclair@google.com
Change-Id: Ic537629daccc1bf5c1a7352c2508f5e9e7d0d1c3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95681
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 20:51:13 +00:00
David Neto 3f56970c2a Fix relative reference to docs/building.md
Change-Id: Id8d448d86f06f1fa69ead54c875e947690e49eaf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95380
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-07-06 19:23:51 +00:00
Dan Sinclair caead5d3a5 Roll third_party/webgpu-cts/ 5de908c54..8cfc317e2 (1 commit)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files


5de908c54a..8cfc317e23
 - 8cfc31 Seperate out interval operation definitions from builder functions (#1628)

Created with './tools/run cts roll'

Change-Id: Iddda2eebb44375a83f697b22f4969911f0944fcc
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/+/95661
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2022-07-06 18:01:40 +00:00
Dawn Autoroller b0a35cde3d Roll ANGLE from 9070e279a887 to 3e5de4acc1fa (4 revisions)
9070e279a8..3e5de4acc1

2022-07-06 chris@rive.app Add a test that passes image2D handles as function args
2022-07-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from d1116fa9e9dc to 7987bda077c8 (1 revision)
2022-07-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 24ed8b7a6bd7 to 34e0281e9664 (9 revisions)
2022-07-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 532c25a8e2ac to 0820cef93768 (270 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 dsinclair@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: dsinclair@google.com
Change-Id: I1b1be937e95f1dc569fc575da7e6d140830123a6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95662
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 16:38:40 +00:00
Dawn Autoroller 9b4b5591bf Roll SwiftShader from 7987bda077c8 to 488cb63b5b4d (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/7987bda077c8..488cb63b5b4d

2022-07-06 swiftshader.regress@gmail.com Regres: Update test lists @ 7987bda0

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 dsinclair@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: dsinclair@google.com
Change-Id: Iafb6ac07dd8f96b624704f4ebe625f47acf45085
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95660
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 14:44:30 +00:00
dawn-autoroll 561e57fcbe Roll vulkan-deps from 5d976018641e to 34e0281e9664 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/5d976018641e..34e0281e9664

Changed dependencies:
* spirv-tools: 8ec4a0772b..5f4284aa78
* vulkan-loader: 0ad591fa3c..26921924d6
* vulkan-validation-layers: 46f5d6ba1d..a83fbb9594

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 dsinclair@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: dsinclair@google.com
Change-Id: I864f804fb208d3e55677df938d2e0a9ce082e439
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95640
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-06 04:39:40 +00:00
Dawn Autoroller 871c213d1b Roll ANGLE from 1154cc46d44d to 9070e279a887 (2 revisions)
1154cc46d4..9070e279a8

2022-07-05 m.maiya@samsung.com Vulkan: Handle platforms that have imprecise float division issues
2022-07-05 ynovikov@chromium.org Roll chromium_revision b1ab0fbd60..532c25a8e2 (1020158:1020841)

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 dsinclair@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: dsinclair@google.com
Change-Id: I3c91a33bb343b18bd544689498a8fc63eac267bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95620
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-07-06 03:31:40 +00:00
David Neto 760c399cfb Delete tests with invalid SPIR-V inputs
The structured CFG rule was revised/clarified in SPIR-V 1.6 Rev2
Validation now rejects a few cases.

SpvParserTest, ValueFromBlockNotInBlockOrder
SpvParserFunctionVarTest, EmitStatement_Phi_ValueFromBlockNotInBlockOrderIgnored
SpvParserFunctionVarTest_EmitStatement_Phi_ValueFromBlockNotInBlockOrderIgnored
  - Originally from crbug.com/tint/804
    Invalid by SPIR-V 1.6 Rev2 update to validation rules:
     - Block 80 is a structurally reachable continue target
     - Block 25 is not structually reachable, and not part of the loop,
       but branches to 80.

vk-gl-cts/graphicsfuzz/cov-dead-branch-func-return-arg/0-opt.*
  -  The continue construct with the continue target 37[%37]
     is not structurally post dominated by the back-edge block 64[%64]
  - The SPIRV-Tools inliner no longer creates such cases.  It splits the
    single-block loop and pushes the continue target down.

vk-gl-cts/graphicsfuzz/nested-for-loops-with-return/0-opt.spvasm
  - The loop headed at block 46 does not structurally dominate its merge
    block 44.  There is a continue-target edge from 41 to 44.

SpvParserCFGTest_ClassifyCFGEdges_BackEdge_MultiBlockLoop_MultiBlockContinueConstruct_ContinueIsHeader.spvasm
SpvParserCFGTest_EmitBody_Loop_MultiBlockContinueIsEntireLoop.spvasm
SpvParserCFGTest_LabelControlFlowConstructs_MultiBlockLoop_HeaderIsContinue.spvasm
SpvParserCFGTest_SiblingLoopConstruct_ContinueIsWholeMultiBlockLoop.spvasm
SpvParserCFGTest, ClassifyCFGEdges_BackEdge_MultiBlockLoop_MultiBlockContinueConstruct_ContinueIsHeader
SpvParserCFGTest, EmitBody_Loop_MultiBlockContinueIsEntireLoop
SpvParserCFGTest, LabelControlFlowConstructs_MultiBlockLoop_HeaderIsContinue
SpvParserCFGTest, SiblingLoopConstruct_ContinueIsWholeMultiBlockLoop
 - Continue target 20 also its own loop header, but is not structurally
   post-dominated by the backedge block.
 - Delete the end-to-end test.
 - Keep the unit test because it's about classifying edges, but disable dumping
   into the end2end suites.

Change-Id: I9ec2504aadd2fec9ea463901af7dc1b5f47481b5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95580
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: David Neto <dneto@google.com>
2022-07-06 01:45:30 +00:00
Dan Sinclair c1f9e47a9b Roll third_party/webgpu-cts/ 7334f06d2..6c0f3bab4 (11 commits)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files


7334f06d2b..6c0f3bab40
 - 6c0f3b Update the descriptions of the tests of in_pass_encoder.spec.ts (#1598)
 - 7c96bd Fix an arithmitic error in memcpy
 - 6121d9 Address feedback from Austin
 - 145914 Optimized several expensive methods texture tests
 - dd6ecd Adjust skip criteria based on suggestion from Austin
 - a5c733 Guard against writeTimestamp() calls without the proper feature
 - 85f975 Describe each test of the validation tests in render|compute pass encoder (#1573)
 - 0bf125 Convert `min` tests to use interval framework (#1596)
 - 88a46e Convert multiplication tests to use interval framework (#1591)
 - 2379b9 Convert division tests to use interval framework (#1590)
 - 7cdef8 Convert `max` tests to use interval framework (#1595)

Created with './tools/run cts roll'

Change-Id: Ife3d6b89275ad66887d037aa4c66b385b2e1acbc
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/+/95480
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2022-07-05 21:20:42 +00:00
Dawn Autoroller 8d10b865d9 Roll SwiftShader from d1116fa9e9dc to 7987bda077c8 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/d1116fa9e9dc..7987bda077c8

2022-07-05 nicolas.capens@gmail.com Compute vertex clip flags using scalable SIMD

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 dsinclair@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: dsinclair@google.com
Change-Id: Icd9c71b513aec7916cd94330abcbacf960f39e88
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95600
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 19:54:52 +00:00
dawn-autoroll 5c561198ec Roll vulkan-deps from 24ed8b7a6bd7 to 5d976018641e (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/24ed8b7a6bd7..5d976018641e

Changed dependencies:
* spirv-headers: 36c0c15962..0bcc624926

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 dsinclair@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: dsinclair@google.com
Change-Id: Id9a24dc7ce72f217d18c5b158434baa2ff486de8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95560
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 15:29:09 +00:00
Dawn Autoroller a1d3003e16 Roll ANGLE from 44d8bf7602e2 to 1154cc46d44d (4 revisions)
44d8bf7602..1154cc46d4

2022-07-05 syoussefi@chromium.org Vulkan: Fix round-after-dither logic
2022-07-05 ukai@google.com angle: set $build/goma["use_luci_auth"] = True
2022-07-05 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 8e3184380881 to 24ed8b7a6bd7 (2 revisions)
2022-07-05 chris@rive.app pls: Rename GL_DISABLED_ANGLE -> GL_DISABLE_ANGLE

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 dsinclair@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: dsinclair@google.com
Change-Id: I9e786712c946d7808588e0a18ae2498319ebd1c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95540
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 14:40:19 +00:00
dawn-autoroll b9ab024003 Roll vulkan-deps from 2117cffa2620 to 24ed8b7a6bd7 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/2117cffa2620..24ed8b7a6bd7

Changed dependencies:
* spirv-cross: f46745095d..d8d051381f

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 dsinclair@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: dsinclair@google.com
Change-Id: I326a1510f89ffa687ddeabb7971baf3079de93b0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95520
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 01:55:00 +00:00
Dawn Autoroller bd512acad8 Roll ANGLE from 2a941833c838 to 44d8bf7602e2 (2 revisions)
2a941833c8..44d8bf7602

2022-07-04 antonio.caggiano@collabora.com Vulkan: Support EGL_EXT_platform_wayland
2022-07-04 antonio.caggiano@collabora.com Vulkan: Support DRM_FORMAT_MOD_LINEAR

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 dsinclair@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: dsinclair@google.com
Change-Id: I912cd5439a0772e2addb119da9665a9bc88b56e3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95500
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 01:37:39 +00:00
dan sinclair cfa951a662 tint: Remove semicolon as struct member delimeter
Fixup a couple of internal Dawn shaders that used this syntax.

Fixed: tint:1475
Change-Id: Ibd6b3309944bfd955e724fef5d71d1297a84ef5f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93361
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-07-04 16:58:00 +00:00
dan sinclair 5286ea9d16 tint: Disallow write-only storage buffers
These have not been in the spec for a long time. The read_write access
mode can be used instead.

Fixed: tint:1342
Change-Id: I01ffc343d2d2f9df9d7028bba4548c749616c65c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93500
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-07-04 15:17:00 +00:00
dawn-autoroll 3b800578b5 Roll vulkan-deps from 8e3184380881 to 2117cffa2620 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/8e3184380881..2117cffa2620

Changed dependencies:
* spirv-cross: e6925974d1..f46745095d

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: I50fba311cdca65e21e7fc7f7d29db6523dc8bd3d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95441
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-04 12:45:38 +00:00
Dawn Autoroller 0e414c5704 Roll ANGLE from da984303fda1 to 2a941833c838 (1 revision)
da984303fd..2a941833c8

2022-07-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from cf47f3e49a61 to 8e3184380881 (2 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: I8f7cfa9af689425c72979146c476f87ec9009478
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95460
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-04 12:41:30 +00:00
dawn-autoroll c4f0232de2 Roll vulkan-deps from ad005b700de1 to 8e3184380881 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/ad005b700de1..8e3184380881

Changed dependencies:
* vulkan-loader: 68e5bdc58f..0ad591fa3c

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: Ie841053c8eca8b7c7704280c8061c334a967fa48
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95420
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-02 09:02:40 +00:00
Dawn Autoroller c0d493ffa1 Roll ANGLE from 4a5fe6fb56e5 to da984303fda1 (6 revisions)
4a5fe6fb56..da984303fd

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: I477f2266d0f0eae93d55d55705a8ca3e48c014cc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95400
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-02 05:06:40 +00:00
dawn-autoroll bdfae6df66 Roll vulkan-deps from cf47f3e49a61 to ad005b700de1 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/cf47f3e49a61..ad005b700de1

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

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: Id52d709b499b8fa934c7184eba97ac3370c65f64
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95323
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-01 19:39:00 +00:00
dawn-autoroll 336dcaa9c4 Roll vulkan-deps from 76c2f42ea652 to cf47f3e49a61 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/76c2f42ea652..cf47f3e49a61

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

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

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

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

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

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

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: I5963b8426d11bc5a64fa2a0577d43c4434cb865b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95361
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-01 15:29:40 +00:00
Dawn Autoroller 776f6d1762 Roll SwiftShader from 43183d8b4d0c to d1116fa9e9dc (7 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/43183d8b4d0c..d1116fa9e9dc

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: Iaa95254e9502424685387afe3644d20c8de4f5a2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95360
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-01 10:01:50 +00:00
Dawn Autoroller 24239fcc47 Roll ANGLE from 1e96beb9ff89 to 4b745c2bfa6b (6 revisions)
1e96beb9ff..4b745c2bfa

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: Id82e841ba6f30253e461f4346109257d4f35f19b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95320
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-07-01 02:34:54 +00:00
Brian Sheedy cea7ce35be Move WebGPU worker globs
Creates worker_test_globs.txt, which is a newline-delimited list
of globs specifying which tests should be run in workers in
addition to the usual test run. By moving the list here instead of
having it in the Chromium-side test harness, Dawn contributors can
make changes without needing a full Chromium checkout.

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

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

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: Ic54e42c92b204b2c8a27b3cc6765a4646f9de038
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95182
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 20:20:44 +00:00
Austin Eng 959a7696d9 Roll third_party/webgpu-cts/ cef4c7678..7334f06d2 (18 commits)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files

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

Use DAWN_TRY and ResultOrError and friends.

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

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

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

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: I32be1fdc55e9b3adde0b8f4937c9de2d258704ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95181
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-30 13:39:12 +00:00
Dawn Autoroller 455f5eefd5 Roll SwiftShader from 1144d58f8be5 to 90fdde382489 (5 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/1144d58f8be5..90fdde382489

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: I7fa222a6fc56e439b705c73af34cefa5375ab239
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95220
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 06:12:25 +00:00
Takahiro 831296debc Implement RenderPassDescriptor.maxDrawCount
Bug: dawn:1465
Change-Id: I6b0aab25ec7a48a6521e4e7f52e42d6890ae2013
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94821
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Takahiro <hogehoge@gachapin.jp>
2022-06-30 04:19:42 +00:00
dawn-autoroll dc3d45f278 Roll vulkan-deps from 6aff2983cd8c to 76c2f42ea652 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6aff2983cd8c..76c2f42ea652

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

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: Ib48b1578bf80ef4b371fb2fcda8a77dd7db1c255
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95200
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-30 04:09:42 +00:00
Dawn Autoroller 8866b114af Roll ANGLE from 3224b16a4dea to 785353fd3501 (6 revisions)
3224b16a4d..785353fd35

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

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

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

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

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

Bug: None
Tbr: shrekshao@google.com
Change-Id: I5707c08124d6060140edbc6b4f2c4c94c594638b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95180
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-30 00:47:36 +00:00
Antonio Maiorano c0d51f1cd8 tint: spirv reader: detect and replace loads and stores of atomic variables with atomicLoad/Store
Bug: tint:1441
Change-Id: Iee89cb87ca063d8a98ff8ad789ba14dee65c036a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95140
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-06-29 22:21:31 +00:00
Ben Clayton c7d6ab6c5a tint: Prevent function calls at module-scope
Bug: chromium:1339723
Bug: tint:1606
Change-Id: Ia2e10d6ac38fde0a9c851d279fe07f50f108546e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95081
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-06-29 19:19:31 +00:00