Commit Graph

9826 Commits

Author SHA1 Message Date
Corentin Wallez bc93cbc2a2 Correctly print backend type in DiscoverAdapters logs.
Bug: chromium:1348664
Change-Id: Id2eaf25a9f46b1f6614d80642dc7f8e8aef09b9e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100520
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-08-29 16:38:39 +00:00
dawn-autoroll 29d0a523f2 Roll vulkan-deps from 7d94bcff7a00 to c5f01bfc31ec (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/7d94bcff7a00..c5f01bfc31ec

Changed dependencies:
* spirv-tools: a98f05d02f..66bdbacc9c

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 bajones@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: bajones@google.com
Change-Id: I6ce1a71f9a0e83791a0ac1913293d2c97e52af22
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100465
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-08-29 16:11:50 +00:00
Dawn Autoroller 6c55c128ec Roll ANGLE from ac2aeccde28d to bec40d768468 (1 revision)
ac2aeccde2..bec40d7684

2022-08-29 syoussefi@chromium.org Vulkan: Set SPIR-V Generator version to 1

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 rharrison@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: rharrison@google.com
Change-Id: I71f18b3828002143690771ccf3aa848beddf0885
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100463
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-08-29 04:13:49 +00:00
Dawn Autoroller 009404164d Roll SwiftShader from 6c0f2889c2d9 to 476165cc7c0c (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6c0f2889c2d9..476165cc7c0c

2022-08-27 swiftshader.regress@gmail.com Regres: Update test lists @ 6517262b

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 rharrison@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: rharrison@google.com
Change-Id: Ie6d702d384ca76e847d653f09230ce17aa8339b5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100621
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-08-28 00:57:48 +00:00
Dawn Autoroller d66128a198 Roll SwiftShader from db6433790af5 to 6c0f2889c2d9 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/db6433790af5..6c0f2889c2d9

2022-08-27 bclayton@google.com Reimplement GLSLstd450Ldexp

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 rharrison@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: rharrison@google.com
Change-Id: Ic2be16e29573faa35d2e643e9ef259f9acaecb21
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100620
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-08-27 07:09:28 +00:00
Loko Kung 79334fedce Manual cleanup of CTS expectations.
Change-Id: I4ce31d6cadd4506385d39b4754347fa4838ea757
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100501
Auto-Submit: Loko Kung <lokokung@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-08-27 04:27:18 +00:00
Dawn Autoroller 3dd48d906b Roll ANGLE from 40782cf568c6 to ac2aeccde28d (5 revisions)
40782cf568..ac2aeccde2

2022-08-27 yuxinhu@google.com Check GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS in test
2022-08-26 yuxinhu@google.com Vulkan: Remove useRelaxedPrecision
2022-08-26 m.maiya@samsung.com Vulkan: Support passthrough of colorspace attributes
2022-08-26 eddiehatfield@google.com Add capture functions for desktop GL entry points
2022-08-26 chris@rive.app Add a fix on all backends for images as function arguments

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 rharrison@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: rharrison@google.com
Change-Id: Ife8071b176d651ed539b2cbb1cfb8d5f6f53e236
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100600
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-08-27 03:35:37 +00:00
dawn-autoroll 6ec7324702 Roll vulkan-deps from eb46f95f20dc to 7d94bcff7a00 (8 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/eb46f95f20dc..7d94bcff7a00

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

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC rharrison@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: rharrison@google.com
Change-Id: I6fbe87771518a1988627ae91cdc85a620a033e55
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100563
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-08-26 22:36:47 +00:00
Austin Eng b00c50edc6 CTS: Hook into CTS heartbeat mechanism instead of wrapping TestCaseRecorder
Bug: chromium:1340602
Change-Id: I6272432c69c65fa45cbae9bedc02aec82ba68c8a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100561
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2022-08-26 22:34:27 +00:00
Yunchao He 81d62d7ca9 Texture corruption issue: add tests for a few rendering types
The original tests for texture corruption only contain WriteTexture
and B2TCopy, this change adds more write types like rendering a
constant color, rendering from texture sampling, and rendering
from textureLoad, all of which need a render pipeline and shaders.

The new tests manifest that:
For a given 2d-array texture dimension, if WriteTexture and B2TCopy
fail, rendering, sampling and textureLoad also fail, and vice versa.

Bug: dawn:949, dawn:1507

Change-Id: I28035fe3dd84d36c01befd7fd8ff9d78b312446a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100061
Commit-Queue: Yunchao He <yunchao.he@intel.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-26 21:23:47 +00:00
Ben Clayton 92943b2831 dawn: Fix unreachable code warning
Change-Id: I98fd18b4747365c6474dc1ca1f9003464d171ec7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100580
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-26 20:52:53 +00:00
Austin Eng a993e1913e Roll third_party/webgpu-cts/ c0c5cce30..27dc745ca (20 commits)
c0c5cce305..27dc745ca1

$ git log c0c5cce30..27dc745ca --date=short --no-merges --format='%ad %ae %s'
2022-08-26 gyuyoung Add sample_count test to buffer_texture_copies.spec.ts (#1800)
2022-08-26 gyuyoung Implement 'texture,device_mismatch' test in writeTexture.spec.ts (#1793)
2022-08-26 gyuyoung Add 'maximum_binding_limit' test to createBindGroupLayout.spec.ts (#1790)
2022-08-25 enga Add global test config (#1801)
2022-08-25 enga Mark root .eslintrc.json as "root: true" (#1802)
2022-08-25 bajones Address Kai's feedback
2022-08-24 tojiro Style fixes
2022-08-24 tojiro Refactor image_copy and unified data generator between the two test files.
2022-08-23 bajones Optimizing GetInitialData function
2022-08-25 kainino fix merge error
2022-08-25 rharrison Clarify comments in ULP code (#1795)
2022-08-23 kainino tweak to make safer against accidental awaits
2022-08-23 bclayton webgpu/shader/execution: Check validation before testing results
2022-08-24 rharrison Linearly spread `f32FullRange` values over possible f32 values (#1786)
2022-08-24 rharrison Implement `remainder (%)` f32 test (#1765)
2022-08-24 rharrison Rename `make*F32IntervalCase` to `make*ToF32IntervalCase` (#1775)
2022-08-24 zhaoming.jiang Revert "Use let declarations for literal input in shader,execution,expression tests (#1788)" (#1789)
2022-08-24 zhaoming.jiang Use let declarations for literal input in shader,execution,expression tests (#1788)
2022-08-24 gyuyoung Add storage_texture,formats test to createBindGroupLayout.spec.ts (#1776)
2022-08-23 rharrison Refactor binary arithmetic tests to use common test values (#1783)

Change-Id: I75a810698616f74d02480ccee369564030aa4a32
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100462
Auto-Submit: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
2022-08-26 19:48:25 +00:00
Dawn Autoroller ae03803e04 Roll SwiftShader from 6517262b2386 to db6433790af5 (4 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6517262b2386..db6433790af5

2022-08-26 capn@google.com Compute fragment coordinates for wider SIMD groups
2022-08-26 capn@google.com Rename pixel coordinate variables
2022-08-26 capn@google.com Compute relative fragment coordinates just once
2022-08-26 capn@google.com Compute the primitive's origin coordinates only once

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC rharrison@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: rharrison@google.com
Change-Id: I4e640435f9643126013360a046d05fa87f56754a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100540
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-08-26 18:13:47 +00:00
Dawn Autoroller d24a59ef8e Roll ANGLE from 9d41585e1408 to 40782cf568c6 (4 revisions)
9d41585e14..40782cf568

2022-08-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 32095292c129 to 21906127bee6 (499 revisions)
2022-08-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e623f608cbf3 to eb46f95f20dc (4 revisions)
2022-08-26 lubosz.sarnecki@collabora.com validation: Annotate kEnumNotSupported errors with values.
2022-08-26 lexa.knyazev@gmail.com Hide emulated ETC2/EAC formats from WebGL contexts

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 rharrison@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: rharrison@google.com
Change-Id: I35c7c133e18b4f143af880dfb086a081592a7b6f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100461
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-08-26 14:39:17 +00:00
dawn-autoroll 43689aa7d5 Roll vulkan-deps from 6dd4b0a4630b to eb46f95f20dc (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6dd4b0a4630b..eb46f95f20dc

Changed dependencies:
* vulkan-validation-layers: 87a34603c5..6086f7993d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC rharrison@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: rharrison@google.com
Change-Id: I8354ee27fb559ec75fcd9dab5c4b2be8b8cb9c36
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100482
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-08-26 08:53:37 +00:00
Austin Eng 22010bb264 Add LICENSE to third_party/khronos
Pulls license information from subfiles into a single LICENSE file
so that Chromium's tools/licenses.py can read it.

Change-Id: I3fbbca3922193eb5fec361fef833ffc3cfdc9e45
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100500
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Austin Eng <enga@chromium.org>
2022-08-26 08:14:07 +00:00
Jiawei Shao 8b99a54b26 Call ExecutePendingCommandContext() in ExternalImageDXGIImpl::Destroy()
Before destroying ExternalImageDXGI we should execute all the pending
commands before calling NextSerial(), or the device will be lost as
the CommandAllocator will be destroyed before the pending commands are
executed.

Bug: dawn:576
Test: dawn_end2end_tests
Change-Id: I6e291586cd78a7e0feaf2f8dfee87a289ec27f77
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100100
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2022-08-26 03:08:28 +00:00
Dawn Autoroller 2d239c4945 Roll ANGLE from c394adfc2ce5 to 9d41585e1408 (15 revisions)
c394adfc2c..9d41585e14

2022-08-25 chris@rive.app Make PLS coherent on D3D 11.3
2022-08-25 lubosz.sarnecki@collabora.com validation: Annotate kInvalidInternalFormat errors with values.
2022-08-25 chris@rive.app Enable PLS on D3D
2022-08-25 jmadill@chromium.org Revert override for desktop GL extensions in gl.xml.
2022-08-25 syoussefi@chromium.org Vulkan: Add a handful of features
2022-08-25 lubosz.sarnecki@collabora.com FrameCapture: Fix capturing glBindRenderbuffer on GLES1.
2022-08-25 syoussefi@chromium.org Fix translator fuzzer
2022-08-25 jmadill@chromium.org Skip several Multithreading Tests on SwiftShader.
2022-08-25 jmadill@chromium.org Use canonical Khronos registry XML files for auto-gen.
2022-08-25 gert.wollny@collabora.com Capture/Replay: save and restore UNPACK_ALIGNMENT in MEC
2022-08-25 syoussefi@chromium.org Vulkan: Move vertex stride assert
2022-08-25 lubosz.sarnecki@collabora.com FrameCapture: Add VertexArrayCaptureFuncs.
2022-08-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 67f88061d2d4 to 6517262b2386 (3 revisions)
2022-08-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 188a44aaa198 to e623f608cbf3 (2 revisions)
2022-08-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 5377f9824cad to 32095292c129 (473 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 rharrison@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: rharrison@google.com
Change-Id: Ic7b8aa0c2ef69d19eba764ba79b85c8e1cde7a07
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100460
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-08-26 01:29:46 +00:00
dawn-autoroll f0d7ce2fb1 Roll vulkan-deps from e623f608cbf3 to 6dd4b0a4630b (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/e623f608cbf3..6dd4b0a4630b

Changed dependencies:
* vulkan-validation-layers: b87209ca72..87a34603c5

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 rharrison@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: rharrison@google.com
Change-Id: I3e283a30a0d85843a0835b48a3bc034d0dc173b4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100421
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-08-25 19:56:57 +00:00
Corentin Wallez 667db19838 Build with -Wextra-semi
Bug: chromium:1355871
Change-Id: Id6c9774e7f7a86837f02cddfea0b36724e7c609e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100343
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-25 13:17:31 +00:00
Dawn Autoroller 0c2bdac445 Roll ANGLE from 91850a24e8f8 to c394adfc2ce5 (4 revisions)
91850a24e8..c394adfc2c

2022-08-25 gert.wollny@collabora.com ANGLE: reorder program and shader creation
2022-08-24 bryantchandler@chromium.org Rename README.angle to README.chromium
2022-08-24 cclao@google.com Vulkan: Always enable mVirtualBlockMutex
2022-08-24 eddiehatfield@google.com Add unimplemented GLX entry points to desktop GL

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 rharrison@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: rharrison@google.com
Change-Id: Ic58afbd8962343a434f5ede2320a5cd92dae1e1e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100400
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-25 11:59:27 +00:00
Dawn Autoroller 6a8115896a Roll SwiftShader from 16da29a6b185 to 6517262b2386 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/16da29a6b185..6517262b2386

2022-08-25 capn@google.com Clarify negativeOneToOne depth clipping comments
2022-08-24 syoussefi@google.com Implement VK_EXT_depth_clip_control

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 rharrison@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: rharrison@google.com
Change-Id: I576be4d99aaab32affcd497d0fb0950865377c14
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100380
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-08-25 04:52:45 +00:00
dawn-autoroll 4b01470020 Roll vulkan-deps from 188a44aaa198 to e623f608cbf3 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/188a44aaa198..e623f608cbf3

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

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-dawn-autoroll
Please CC rharrison@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: rharrison@google.com
Change-Id: Ic128cb2076016fe8447574c2b77f7c5c68afc586
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100342
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-08-25 01:02:28 +00:00
Dawn Autoroller 2e8416be25 Roll ANGLE from 94a23a4ed652 to 91850a24e8f8 (8 revisions)
94a23a4ed6..91850a24e8

2022-08-24 jmadill@chromium.org Add flaky reties to Mac GL dEQP-GLES 2 & 3 tests.
2022-08-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 02dbf021e1a1 to 5377f9824cad (537 revisions)
2022-08-24 cnorthrop@google.com Test: Add Antutu Refinery trace
2022-08-24 thomasanderson@chromium.org Fix build with -Wextra-semi
2022-08-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 1b46e43d5ccc to 188a44aaa198 (8 revisions)
2022-08-24 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from c21aa26e0256 to 67f88061d2d4 (1 revision)
2022-08-24 eddiehatfield@google.com Enable desktop GLSL for desktop GL frontend
2022-08-24 ynovikov@chromium.org Skip EGLMultiContextTest.ReuseUnterminatedDisplay on Pixel 4 GLES

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 rharrison@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: rharrison@google.com
Change-Id: If8294d0ac895ff1ef593684ab932607ced7fcae8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100360
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-08-24 22:33:26 +00:00
dan sinclair 7517e213cf Update `workgroup_size` to use `expression`.
This CL updates the `workgroup_size` attribute to use `expression`
values instead of `primary_expression`.

Bug: tint:1633
Change-Id: I0afbabd8ee61943469f04a55d56f85920563e2da
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99960
Reviewed-by: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-24 21:31:45 +00:00
dan sinclair 436b4a2bd0 Drop `maybe_` from method names.
With the old grammar elements removed, rename the new elements and
drop the `maybe_` prefixes.

Bug: tint:1633
Change-Id: Iafe223546f8af1ddd8a4b60572a106160a226b72
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99921
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-24 19:11:55 +00:00
dan sinclair 202362f47d Convert to new expression grammar
This CL moves all the grammar rules to use the new
`maybe_expression` rules. All of the old `expression` rules
are removed.

Bug: tint:1633
Change-Id: I29637a4c6fcd200650a2b57011b6539c66be942a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99920
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-24 18:05:26 +00:00
dan sinclair acdf6e1a53 Remove `ast::VariableBindingPoint` in favour of `sem::BindingPoint`.
This CL removes `VariableBindingPoint`. The `Variable` object has a
`has_binding_point` method added which returns true if there is
_both_ a `Group` and `Binding` attribute. Code has all been updated
to use the `sem::BindingPoint` which is populated during the resolve.

Bug: tint:1633
Change-Id: I79a0da662be61d5fb1c1b61342ab239cc4c66809
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100240
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-24 15:47:25 +00:00
Ben Clayton 98d7eb4009 Roll third_party/webgpu-cts/ e204a3c37..c0c5cce30 (7 commits)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files


e204a3c377..c0c5cce305
 - c0c5cc Remove pushing lists of numbers through Set to guarantee uniqueness (#1779)
 - 3d958d wgsl: Replace module-scope 'let' with 'const' (#1721)
 - 4827c0 Add storage_texture,layout_dimension test to createBindGroupLayout.spec.ts (#1772)
 - dcdeec Add visibility,VERTEX_shader_stage_storage_texture_access test to createBindGroupLayout.spec.ts (#1770)
 - f4db91 Make F32Interval unittests more idiomatic (#1773)
 - d82d4e Updates error scope tests and remove outdated README. (#1766)
 - f102e6 Add brackets to robust buffer access test.

Created with './tools/run cts roll'

Change-Id: Ib5ca02d41a7638c06361e8e33b23f1ceb32db884
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/+/100200
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-24 15:24:45 +00:00
Dawn Autoroller 1e21da523e Roll SwiftShader from 67f88061d2d4 to 16da29a6b185 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/67f88061d2d4..16da29a6b185

2022-08-24 nicolas.capens@gmail.com Consistently print bitmasks as hexadecimal

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC rharrison@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: rharrison@google.com
Change-Id: I070b8f6a87e32e2a27a6d967406ccd3102830faf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100300
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-24 14:12:45 +00:00
dawn-autoroll cd8f499424 Roll vulkan-deps from e1b5a3034c24 to 188a44aaa198 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/e1b5a3034c24..188a44aaa198

Changed dependencies:
* spirv-cross: 61c603f3ba..c93ee9261e

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 rharrison@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: rharrison@google.com
Change-Id: Ib7df589e8eab43609cd6c854065afe2f951adaa2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100281
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-24 11:35:25 +00:00
Dawn Autoroller b99628f520 Roll ANGLE from eab2d546ef07 to 94a23a4ed652 (8 revisions)
eab2d546ef..94a23a4ed6

2022-08-24 cnorthrop@google.com FrameCapture: Fix separable shader uniform locs
2022-08-24 cnorthrop@google.com FrameCapture: Fix cube face as framebuffer
2022-08-24 m.maiya@samsung.com Vulkan: Add support for setting timestamp surface attribute
2022-08-23 yuxinhu@google.com Enable Robustness Extension on ARM
2022-08-23 romanl@google.com Propagate device type in another eglGetPlatformDisplayEXT call.
2022-08-23 ynovikov@chromium.org Fix loading ANGLE libraries on iOS
2022-08-23 zzyiwei@chromium.org Extend the image test to verify RGBX AHB and GL_RGB upload
2022-08-23 zzyiwei@chromium.org Map RGBX AHB to GL_RGBX8_ANGLE and fix the load function

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 rharrison@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: rharrison@google.com
Change-Id: I84eaf4109941f2b4256052ae5d01e58389e45d55
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100260
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-08-24 08:33:15 +00:00
Tom Anderson a85290b909 Fix build with -Wextra-semi
Change-Id: I48b8ca89dfe90e138fb6d9c00a69353a05f19cd2
Bug: chromium:1355871
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100241
Auto-Submit: Tom Anderson <thomasanderson@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2022-08-24 00:03:35 +00:00
dawn-autoroll 3335875f2d Roll vulkan-deps from 1b46e43d5ccc to e1b5a3034c24 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/1b46e43d5ccc..e1b5a3034c24

Changed dependencies:
* spirv-tools: 3c1a14b2b6..a98f05d02f
* vulkan-validation-layers: 55f77c5de1..dd4f17a7b9

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 rharrison@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: rharrison@google.com
Change-Id: Ic4eebaeef6b6eaba0d5fc173fcf8ac9246101b22
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100242
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-23 22:37:55 +00:00
Dawn Autoroller 55185fa6d1 Roll SwiftShader from c21aa26e0256 to 67f88061d2d4 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/c21aa26e0256..67f88061d2d4

2022-08-23 nicolas.capens@gmail.com Implement VK_EXT_rasterization_order_attachment_access support

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC rharrison@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: rharrison@google.com
Change-Id: I3c8d6446bdbc7e638a3496f1a7bf67b9957d2c3a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100220
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-08-23 21:07:05 +00:00
Ben Clayton 93c2d559a1 tint/utils: Default to using Hasher instead of std::hash
STL std::hash<T*> implementations have a tendency of just reinterpreting the
pointer as a size_t. This is fast, but produces a bad hash, as most pointers
tend to be 4 or 16 byte aligned. The lack of entropy in the LSBs causes
clustering of hashmap slots. Use tint::utils::Hasher to get better hashes.

Change-Id: Ife768d573cd1875e746ca9d77a4ac19e43b06aca
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99281
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-08-23 19:09:34 +00:00
Ben Clayton 18dc315ccb tint::CloneContext: Use utils::Hashset and utils::Hashmap
For fewer heap allocations, faster lookups.

Also use a generational counter to cache `ListTransforms` map lookups between clones. Reduces repeated map lookups in super-hot code.

Change-Id: I34865bb39c756129be845b1eb6255ce436e275f7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99280
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-23 18:38:35 +00:00
Dawn Autoroller 32a1bce736 Roll ANGLE from 6fde3568a14f to eab2d546ef07 (2 revisions)
6fde3568a1..eab2d546ef

2022-08-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 186a4d4b9dea to 1b46e43d5ccc (2 revisions)
2022-08-23 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from e1b4daf2a3e7 to 02dbf021e1a1 (568 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 rharrison@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: rharrison@google.com
Change-Id: I12b6e33bb7a25a12b0c4e3c8cce82a11bd673e0c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100180
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-08-23 18:00:14 +00:00
Ben Clayton b90b6bff1d tint: Minor no-op cleanup changes
Change-Id: I91ad6044e7809ed2deab0fbd4417da90c7870d81
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99705
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-08-23 16:23:05 +00:00
Ben Clayton e3f2005b2d tint/utils: Cleanup & optimize hash utilities
Do less work for single-value hashes.
Specialize pointer hashing to improve hash quality.

Change-Id: I2f3839d15754543735728814c7f54a5e7ac81569
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99282
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-23 16:10:35 +00:00
Ben Clayton e5d337171a tint: Castable - optimize IsAnyOf()
`HashCodeOf()` sets two bits in the mask to `1`.
We can check for two bits set, after masking, to quickly eliminate impossible Is() tests.

Change-Id: I8d9c1ece87b714e83bd292d02e02274d42e143ef
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92664
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-23 15:39:15 +00:00
Ben Clayton cdcc85973b tint: Clean up AddSpirvBlockAttribute
* Walk the sem type list, instead of all AST nodes to just find the
  types.
* Walk the AST global list, instead of all declarations, then filtering
  to globals.
* Use the ast::IsHostSharable() helper where possible.
* Only lookup the sem node once instead of twice, per global.
* Use the new utils::Hashmap and utils::Hashset containers instead of
  std::unordered_map and std::unordered_set.

Change-Id: Idb47c855ae9dfd27515774a89cedb7ed06e07035
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100140
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-08-23 14:30:24 +00:00
Ben Clayton bace05e499 Roll third_party/webgpu-cts/ ed11c6ba3..e204a3c37 (24 commits)
Update:
 - expectations.txt
 - ts_sources.txt
 - resource_files.txt
 - webtest .html files


ed11c6ba35..e204a3c377
 - e204a3 Add visibility,VERTEX_shader_stage_buffer_type test to createBindGroupLayout.spec.ts (#1767)
 - 2d7291 Change sourceOrigin in GPUImageCopyTexture from 3D to 2D (#1768)
 - fef5f1 Fix f16 and u32 testcases in webgpu:shader,validation,parse,literal:* (#1769)
 - 32bacf Add timestamp_query_set,device_mismatch test to beginRenderPass tests (#1761)
 - c48887 Add _mimeType for input videos in external_texture cases (#1759)
 - 8bd50a Use common `sparseF32Range` instead of defining it multiple different places (#1754)
 - 4e8df0 Add timestamp_query_set,device_mismatch test to beginComputePass tests (#1760)
 - 168bc9 Refactor *SubnormalNumber functions to not depends on *SubnormalScalar functions (#1755)
 - 581498 Implementing dot f32 tests (#1748)
 - 30e9e0 Add indirect_dispatch_buffer,usage validation test (#1756)
 - dd0150 Update compositingAlphaMode -> alphaMode (#1667)
 - 8a9afc Add a query_set_type test to beginComputePass tests (#1751)
 - 19aecd Track all the resources with trackForCleanup in copy and resource ini… (#1753)
 - 147d16 Add more texture usages to image_copy,texture_related:usage test (#1742)
 - 78ba78 Add beginComputePass validation test (#1744)
 - 2fe73f Implement `asinh` f32 tests (#1746)
 - 727a39 Implement `atanh` f32 tests (#1741)
 - e1795b Implement `acosh` f32 tests (#1737)
 - 583eaa Implementat `tanh` f32 tests (#1736)
 - b36ce1 Use containerss for alternate interval generators (#1740)
 - 242105 Update val:CopyExternalImageToTexture:OOB,source (#1739)
 - 40e52d upgrade typescript to 4.7.4 (#1713)
 - 2c9134 Implement GPURenderPassDescriptor.maxDrawCount test (#1693)
 - 05b229 Add 'VideoFrame' in 'SourceType' for external_texture cts (#1733)

Created with './tools/run cts roll'

Change-Id: Ib8bb7e412fd597ed7d56c493b40a227223f23765
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/+/100040
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-23 13:32:24 +00:00
dan sinclair 4964d9bc20 Convert `@align` to hold an expression.
With the updated WGSL grammar the `@align` attribute takes an
expression instead of a value. This CL updates the internal data
structures to store an expression instead of an integer value.

The parser still only parses integers, they're just turned into
`IntLiteralExpressions` at the moment.

Bug: tint:1633
Change-Id: If34901798ed6ceaced354bc06ae9b6df875b700e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99980
Reviewed-by: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-23 13:28:44 +00:00
dawn-autoroll b7cf9dd263 Roll vulkan-deps from 186a4d4b9dea to 1b46e43d5ccc (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/186a4d4b9dea..1b46e43d5ccc

Changed dependencies:
* vulkan-validation-layers: 40315fa5c0..55f77c5de1

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 rharrison@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: rharrison@google.com
Change-Id: I240b24a9f536bce943c0f9c85d540ee6772fbd7f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100120
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-08-23 09:44:54 +00:00
Dawn Autoroller d403bc8874 Roll ANGLE from f30cfd180919 to 6fde3568a14f (8 revisions)
f30cfd1809..6fde3568a1

2022-08-23 chris@rive.app Spec out the PLS client API
2022-08-22 m.maiya@samsung.com Vulkan: Bug fix related to pre-rotation code
2022-08-22 syoussefi@chromium.org Vulkan: Workaround ARM driver bug with dynamic vertex strides
2022-08-22 eddiehatfield@google.com Temporarily disable shader caching feature
2022-08-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d53c356ad7d9 to 186a4d4b9dea (48 revisions)
2022-08-22 kkinnunen@apple.com Metal: Report Metal being available on iOS simulator
2022-08-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 5a93cd60f33b to 435ebaff9214 (5 revisions)
2022-08-22 lfy@google.com Vulkan: Add feature to use PASS_THROUGH for EGL_NONE color spaces

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 rharrison@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: rharrison@google.com
Change-Id: I1a0622fffb0e8a14290254a906420878d4303f1c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100080
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-08-23 04:56:44 +00:00
dawn-autoroll cf2ac51987 Roll vulkan-deps from c6c1ac59e076 to 186a4d4b9dea (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/c6c1ac59e076..186a4d4b9dea

Changed dependencies:
* vulkan-validation-layers: 73996c17fb..40315fa5c0

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 rharrison@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: rharrison@google.com
Change-Id: I39bcb9ac89131d69ef18747e7d2f329e46cd7745
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100060
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-08-22 20:20:35 +00:00
dan sinclair 64b09959f7 Update `type_decl` and `primary_expression`
This CL updates the `type_decl` and `primary_expression` rules
to the new WGSL grammar.

Bug: tint:1633
Change-Id: Ifc457e01f43fe33e083fc8f9e316fdd02bfd87c3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99881
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-22 19:42:14 +00:00
dan sinclair 08d735e6a9 Add missing relational_expression.post.unary_expression checks.
This CL adds the missing checks and tests for `==` and `!=` into
the `relational_expression.post.unary_expression` grammar elements.

Bug: tint:1633
Change-Id: Ib5fbb42994ea12af133ca531989421fddc2393f2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99940
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-22 19:23:24 +00:00
dan sinclair a838e34954 Handle peeking past placeholder elements.
Currently when peeking, if there is placeholder then anything after
the `peek(0)` will be off by 1 position as the placeholder will
end up included in the index count.

This CL updates the peek routine to correctly skip over any
placeholder element between the current index and the requested
peek token.

Bug: tint:1633
Change-Id: Idd2905cc3b9c0a0dcbbcc94c0f6dd349b569ec3e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99900
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-08-22 19:19:44 +00:00