Roll third_party/webgpu-cts/ e8109c7ca..fdf9e7c12 (4 commits)

Regenerated:
 - expectations.txt
 - ts_sources.txt
 - test_list.txt
 - cache_list.txt
 - resource_files.txt
 - webtest .html files


e8109c7cac..fdf9e7c129
 - fdf9e7 shader/expression: Reduce 'const' shader size (#2129)
 - 1c9bc7 Add HTML5 DOCTYPE to all reftests (#2127)
 - 3c6768 op: Add 'index_format,setIndexBuffer_before_setPipeline' test in index_format.spec.ts (#2125)
 - 9e0480 Add a canvas image-rendering wpt ref test (#2119)

Created with './tools/run cts roll'

Change-Id: Iafca73eb1f88b1efd403706db503f0ca191e2069
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116621
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Ben Clayton 2023-01-07 23:10:08 +00:00 committed by Dawn LUCI CQ
parent cf2456babf
commit 55aa801705
33 changed files with 67 additions and 14 deletions

2
DEPS
View File

@ -158,7 +158,7 @@ deps = {
# WebGPU CTS - not used directly by Dawn, only transitively by Chromium. # WebGPU CTS - not used directly by Dawn, only transitively by Chromium.
'third_party/webgpu-cts': { 'third_party/webgpu-cts': {
'url': '{chromium_git}/external/github.com/gpuweb/cts@e8109c7cac5b96ca739f484ea11579ca902db13d', 'url': '{chromium_git}/external/github.com/gpuweb/cts@fdf9e7c12924523eb2784405796646a759e340e7',
'condition': 'build_with_chromium', 'condition': 'build_with_chromium',
}, },

View File

@ -6149,6 +6149,8 @@ webgpu:api,operation,vertex_state,index_format:index_format,uint16:
webgpu:api,operation,vertex_state,index_format:index_format,uint32: webgpu:api,operation,vertex_state,index_format:index_format,uint32:
webgpu:api,operation,vertex_state,index_format:index_format,change_pipeline_after_setIndexBuffer:setPipelineBeforeSetIndexBuffer=false webgpu:api,operation,vertex_state,index_format:index_format,change_pipeline_after_setIndexBuffer:setPipelineBeforeSetIndexBuffer=false
webgpu:api,operation,vertex_state,index_format:index_format,change_pipeline_after_setIndexBuffer:setPipelineBeforeSetIndexBuffer=true webgpu:api,operation,vertex_state,index_format:index_format,change_pipeline_after_setIndexBuffer:setPipelineBeforeSetIndexBuffer=true
webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_before_setPipeline:setIndexBufferBeforeSetPipeline=false
webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_before_setPipeline:setIndexBufferBeforeSetPipeline=true
webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_different_formats: webgpu:api,operation,vertex_state,index_format:index_format,setIndexBuffer_different_formats:
webgpu:api,operation,vertex_state,index_format:primitive_restart:indexFormat="uint16";primitiveTopology="point-list" webgpu:api,operation,vertex_state,index_format:primitive_restart:indexFormat="uint16";primitiveTopology="point-list"
webgpu:api,operation,vertex_state,index_format:primitive_restart:indexFormat="uint16";primitiveTopology="line-list" webgpu:api,operation,vertex_state,index_format:primitive_restart:indexFormat="uint16";primitiveTopology="line-list"

View File

@ -454,6 +454,7 @@ src/webgpu/web_platform/reftests/gpu_ref_test.ts
src/webgpu/web_platform/reftests/canvas_clear.html.ts src/webgpu/web_platform/reftests/canvas_clear.html.ts
src/webgpu/web_platform/reftests/canvas_complex.html.ts src/webgpu/web_platform/reftests/canvas_complex.html.ts
src/webgpu/web_platform/reftests/canvas_composite_alpha.html.ts src/webgpu/web_platform/reftests/canvas_composite_alpha.html.ts
src/webgpu/web_platform/reftests/canvas_image_rendering.html.ts
src/webgpu/web_platform/reftests/canvas_size_different_with_back_buffer_size.html.ts src/webgpu/web_platform/reftests/canvas_size_different_with_back_buffer_size.html.ts
src/webgpu/web_platform/worker/worker.spec.ts src/webgpu/web_platform/worker/worker.spec.ts
src/webgpu/web_platform/worker/worker.ts src/webgpu/web_platform/worker/worker.ts

View File

@ -60,7 +60,7 @@
# results: [ Failure RetryOnFailure Skip Slow ] # results: [ Failure RetryOnFailure Skip Slow ]
# END TAG HEADER # END TAG HEADER
# Last rolled: 2023-01-06 11:15:37AM # Last rolled: 2023-01-07 08:07:32PM
################################################################################ ################################################################################
# copyToTexture failures on Linux # copyToTexture failures on Linux
@ -318,24 +318,12 @@ crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,textur
crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero:dimension="2d";readMethod="DepthTest";format="depth16unorm" [ Failure ] crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero:dimension="2d";readMethod="DepthTest";format="depth16unorm" [ Failure ]
crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero:dimension="2d";readMethod="StencilTest";format="stencil8" [ Failure ] crbug.com/dawn/1389 [ intel monterey ] webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero:dimension="2d";readMethod="StencilTest";format="stencil8" [ Failure ]
################################################################################
# Const-eval functions that fail on inf/nan inputs
# KEEP
################################################################################
crbug.com/tint/1581 webgpu:shader,execution,expression,binary,f32_arithmetic:division:inputSource="const";* [ Failure ]
################################################################################ ################################################################################
# copyToTexture,canvas:color_space_conversion:* fail with swiftshader # copyToTexture,canvas:color_space_conversion:* fail with swiftshader
# The other tests about canvas and image bitmap fail with swiftshader on Linux # The other tests about canvas and image bitmap fail with swiftshader on Linux
# KEEP # KEEP
################################################################################ ################################################################################
crbug.com/dawn/1599 [ webgpu-adapter-swiftshader ] webgpu:web_platform,copyToTexture,canvas:color_space_conversion:* [ Failure ] crbug.com/dawn/1599 [ webgpu-adapter-swiftshader ] webgpu:web_platform,copyToTexture,canvas:color_space_conversion:* [ Failure ]
################################################################################
################################################################################
################################################################################
################################################################################ ################################################################################
# webgpu:api,operation,render_pass,storeOp:render_pass_store_op,color_attachment_only:* fail on win10 Intel # webgpu:api,operation,render_pass,storeOp:render_pass_store_op,color_attachment_only:* fail on win10 Intel

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_clear</title> <title>WebGPU canvas_clear</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_bgra8unorm_copy</title> <title>WebGPU canvas_complex_bgra8unorm_copy</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_bgra8unorm_draw</title> <title>WebGPU canvas_complex_bgra8unorm_draw</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba16float_copy</title> <title>WebGPU canvas_complex_rgba16float_copy</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba16float_draw</title> <title>WebGPU canvas_complex_rgba16float_draw</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba16float_store</title> <title>WebGPU canvas_complex_rgba16float_store</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba8unorm_copy</title> <title>WebGPU canvas_complex_rgba8unorm_copy</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba8unorm_draw</title> <title>WebGPU canvas_complex_rgba8unorm_draw</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex_rgba8unorm_store</title> <title>WebGPU canvas_complex_rgba8unorm_store</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title> <title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title> <title>WebGPU canvas_composite_alpha_bgra8unorm_opaque</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title> <title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title> <title>WebGPU canvas_composite_alpha_bgra8unorm_premultiplied</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba16float_opaque</title> <title>WebGPU canvas_composite_alpha_rgba16float_opaque</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba16float_opaque</title> <title>WebGPU canvas_composite_alpha_rgba16float_opaque</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba16float_premultiplied</title> <title>WebGPU canvas_composite_alpha_rgba16float_premultiplied</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba16float_premultiplied</title> <title>WebGPU canvas_composite_alpha_rgba16float_premultiplied</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba8unorm_opaque</title> <title>WebGPU canvas_composite_alpha_rgba8unorm_opaque</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba8unorm_opaque</title> <title>WebGPU canvas_composite_alpha_rgba8unorm_opaque</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba8unorm_premultiplied</title> <title>WebGPU canvas_composite_alpha_rgba8unorm_premultiplied</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_rgba8unorm_premultiplied</title> <title>WebGPU canvas_composite_alpha_rgba8unorm_premultiplied</title>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_image_rendering</title>
<meta charset="utf-8" />
<link rel="help" href="https://gpuweb.github.io/gpuweb/" />
<meta name="assert" content="WebGPU canvas with image-rendering set should be rendered correctly" />
<link rel="match" href="./ref/canvas_image_rendering-ref.html" />
<canvas id="elem1" width="64" height="64" style="width: 99px; height: 99px;"></canvas>
<canvas id="elem2" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;"></canvas>
<canvas id="elem3" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges"></canvas>
<canvas id="elem4" width="64" height="64" style="width: 99px; height: 99px;"></canvas>
<canvas id="elem5" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;"></canvas>
<canvas id="elem6" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges"></canvas>
<script src="/common/reftest-wait.js"></script>
<script type="module" src="canvas_image_rendering.html.js"></script>
</html>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait"> <html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_back_buffer_different_size</title> <title>WebGPU canvas_back_buffer_different_size</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html> <html>
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_clear (ref)</title> <title>WebGPU canvas_clear (ref)</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html> <html>
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_complex (ref)</title> <title>WebGPU canvas_complex (ref)</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html> <html>
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_premultiplied (ref)</title> <title>WebGPU canvas_composite_alpha_premultiplied (ref)</title>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html> <html>
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_composite_alpha_premultiplied (ref)</title> <title>WebGPU canvas_composite_alpha_premultiplied (ref)</title>

View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html class="reftest-wait">
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_image_rendering (ref)</title>
<meta charset="utf-8" />
<link rel="help" href="https://gpuweb.github.io/gpuweb/" />
<link rel="match" href="./ref/canvas_image_rendering-ref.html" />
<img id="elem1" width="64" height="64" style="width: 99px; height: 99px;">
<img id="elem2" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;">
<img id="elem3" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges">
<img id="elem4" width="64" height="64" style="width: 99px; height: 99px;">
<img id="elem5" width="64" height="64" style="width: 99px; height: 99px; image-rendering: pixelated;">
<img id="elem6" width="64" height="64" style="width: 99px; height: 99px; image-rendering: crisp-edges">
<script>
const dataURL = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAKdJREFUeF7t28kJwDAQA0Cp/6I3hJAqNK/kazDr2atJ7u7S9v3Z+76nnz18m7oBboAYIAZMRv//1fMKcAAHkCAJLuYAXoEv8ZMLcAAHcAAHcAAHjBZEOeBSDuAADuAADuAADtjrCqsIqQh98xAkSIIkSIIkSIIkSIKrYzJ6gyRIgiRIgiRIgiRIgiRoZ2hwYcp8gKqwSVF9AXuD9gbtDdobXGWw7nCbB5+MQQlHipKKAAAAAElFTkSuQmCC';
document.querySelectorAll('img').forEach(img => img.src = dataURL);
</script>
</html>

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html> <html>
<base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" /> <base ref="/gen/third_party/dawn/webgpu-cts/src/webgpu" />
<title>WebGPU canvas_back_buffer_different_size (ref)</title> <title>WebGPU canvas_back_buffer_different_size (ref)</title>