From 16fbe974b7edaf538006158dd7cc0178faae3b11 Mon Sep 17 00:00:00 2001
From: chromium-autoroll
 <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Date: Thu, 20 Jan 2022 23:55:34 +0000
Subject: [PATCH] Roll WebGPU CTS from fc207904abbb to 8bb4ca2f5b2d (2
 revisions)

https://chromium.googlesource.com/external/github.com/gpuweb/cts.git/+log/fc207904abbb..8bb4ca2f5b2d

2022-01-20 rharrison@google.com Implement `inverseSqrt` tests (#926)
2022-01-19 jiawei.shao@intel.com Fix api,operation,rendering,blending:GPUBlendComponent:component:* (#925)

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

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/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

Cq-Include-Trybots: luci.chromium.try:dawn-linux-x64-deps-rel;luci.chromium.try:dawn-mac-x64-deps-rel;luci.chromium.try:dawn-win10-x64-deps-rel;luci.chromium.try:dawn-win10-x86-deps-rel
Bug: None
Tbr: bclayton@google.com
Change-Id: I8e5fbb73d7984d82f4b83ab46c86edad6f439104
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3405257
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#961670}
---
 DEPS                                                           | 2 +-
 third_party/blink/web_tests/wpt_internal/webgpu/cts.https.html | 1 +
 third_party/webgpu-cts/ts_sources.txt                          | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/DEPS b/DEPS
index 064893b6253b1..ab5c1111fbf49 100644
--- a/DEPS
+++ b/DEPS
@@ -1670,7 +1670,7 @@ deps = {
     Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + 'b1f3776e4913637221733a4da09f3339e783b771',
 
   'src/third_party/webgpu-cts/src':
-    Var('chromium_git') + '/external/github.com/gpuweb/cts.git' + '@' + 'fc207904abbb29864991c71c7156336455a3d892',
+    Var('chromium_git') + '/external/github.com/gpuweb/cts.git' + '@' + '8bb4ca2f5b2d8325566514e4d8c10b7eaddea37a',
 
   'src/third_party/webrtc':
     Var('webrtc_git') + '/src.git' + '@' + '6053903ab919c9eb1b4280a595b94913bb97eb8f',
diff --git a/third_party/blink/web_tests/wpt_internal/webgpu/cts.https.html b/third_party/blink/web_tests/wpt_internal/webgpu/cts.https.html
index 5b94a7e0d3f1f..daf7cfe635ba6 100644
--- a/third_party/blink/web_tests/wpt_internal/webgpu/cts.https.html
+++ b/third_party/blink/web_tests/wpt_internal/webgpu/cts.https.html
@@ -2742,6 +2742,7 @@
 <meta name=variant content='?q=webgpu:shader,execution,builtin,integer_built_in_functions:integer_builtin_functions,unsigned_max:*'>
 <meta name=variant content='?q=webgpu:shader,execution,builtin,integer_built_in_functions:integer_builtin_functions,signed_max:*'>
 <meta name=variant content='?q=webgpu:shader,execution,builtin,integer_built_in_functions:integer_builtin_functions,bit_reversal:*'>
+<meta name=variant content='?q=webgpu:shader,execution,builtin,inversesqrt:float_builtin_functions,inverseSqrt:*'>
 <meta name=variant content='?q=webgpu:shader,execution,builtin,logical_built_in_functions:logical_builtin_functions,scalar_select:*'>
 <meta name=variant content='?q=webgpu:shader,execution,builtin,logical_built_in_functions:logical_builtin_functions,vector_select:*'>
 <meta name=variant content='?q=webgpu:shader,execution,builtin,min:integer_builtin_functions,unsigned_min:*'>
diff --git a/third_party/webgpu-cts/ts_sources.txt b/third_party/webgpu-cts/ts_sources.txt
index b80fb33ca878f..abdf52c58fe7e 100644
--- a/third_party/webgpu-cts/ts_sources.txt
+++ b/third_party/webgpu-cts/ts_sources.txt
@@ -262,6 +262,7 @@ src/webgpu/shader/execution/builtin/float_built_functions.spec.ts
 src/webgpu/shader/execution/builtin/floor.spec.ts
 src/webgpu/shader/execution/builtin/fract.spec.ts
 src/webgpu/shader/execution/builtin/integer_built_in_functions.spec.ts
+src/webgpu/shader/execution/builtin/inversesqrt.spec.ts
 src/webgpu/shader/execution/builtin/logical_built_in_functions.spec.ts
 src/webgpu/shader/execution/builtin/min.spec.ts
 src/webgpu/shader/execution/builtin/select.spec.ts