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>
This commit is contained in:
Austin Eng 2022-08-26 19:48:25 +00:00 committed by Dawn LUCI CQ
parent ae03803e04
commit a993e1913e
4 changed files with 127 additions and 4 deletions

2
DEPS
View File

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

View File

@ -6585,6 +6585,7 @@ webgpu:api,validation,createBindGroup:binding_resources,device_mismatch:entry={"
webgpu:api,validation,createBindGroup:binding_resources,device_mismatch:entry={"texture":{"multisampled":false}}
webgpu:api,validation,createBindGroup:binding_resources,device_mismatch:entry={"storageTexture":{"access":"write-only","format":"rgba8unorm"}}
webgpu:api,validation,createBindGroupLayout:duplicate_bindings:
webgpu:api,validation,createBindGroupLayout:maximum_binding_limit:
webgpu:api,validation,createBindGroupLayout:visibility:visibility=0
webgpu:api,validation,createBindGroupLayout:visibility:visibility=1
webgpu:api,validation,createBindGroupLayout:visibility:visibility=2
@ -6638,6 +6639,100 @@ webgpu:api,validation,createBindGroupLayout:storage_texture,layout_dimension:vie
webgpu:api,validation,createBindGroupLayout:storage_texture,layout_dimension:viewDimension="cube"
webgpu:api,validation,createBindGroupLayout:storage_texture,layout_dimension:viewDimension="cube-array"
webgpu:api,validation,createBindGroupLayout:storage_texture,layout_dimension:viewDimension="3d"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r8unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r8snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r8uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r8sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r16uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r16sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r16float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg8unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg8snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg8uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg8sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r32uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r32sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="r32float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg16uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg16sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg16float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba8unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba8unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba8snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba8uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba8sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bgra8unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bgra8unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgb10a2unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg11b10ufloat"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgb9e5ufloat"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg32uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg32sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rg32float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba16uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba16sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba16float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba32uint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba32sint"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="rgba32float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="depth32float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="depth16unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="stencil8"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="depth24plus"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="depth24plus-stencil8"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="depth32float-stencil8"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc1-rgba-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc1-rgba-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc2-rgba-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc2-rgba-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc3-rgba-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc3-rgba-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc4-r-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc4-r-snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc5-rg-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc5-rg-snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc6h-rgb-ufloat"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc6h-rgb-float"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc7-rgba-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="bc7-rgba-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="etc2-rgb8unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="etc2-rgb8unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="etc2-rgb8a1unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="etc2-rgb8a1unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="etc2-rgba8unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="etc2-rgba8unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="eac-r11unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="eac-r11snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="eac-rg11unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="eac-rg11snorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-4x4-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-4x4-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-5x4-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-5x4-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-5x5-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-5x5-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-6x5-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-6x5-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-6x6-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-6x6-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-8x5-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-8x5-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-8x6-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-8x6-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-8x8-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-8x8-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x5-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x5-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x6-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x6-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x8-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x8-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x10-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-10x10-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-12x10-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-12x10-unorm-srgb"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-12x12-unorm"
webgpu:api,validation,createBindGroupLayout:storage_texture,formats:format="astc-12x12-unorm-srgb"
webgpu:api,validation,createPipelineLayout:number_of_dynamic_buffers_exceeds_the_maximum_value:
webgpu:api,validation,createPipelineLayout:number_of_bind_group_layouts_exceeds_the_maximum_value:
webgpu:api,validation,createPipelineLayout:bind_group_layouts,device_mismatch:
@ -15588,6 +15683,8 @@ webgpu:api,validation,image_copy,buffer_texture_copies:depth_stencil_format,copy
webgpu:api,validation,image_copy,buffer_texture_copies:depth_stencil_format,copy_buffer_offset:format="depth32float-stencil8";aspect="stencil-only";copyType="CopyB2T"
webgpu:api,validation,image_copy,buffer_texture_copies:depth_stencil_format,copy_buffer_offset:format="depth32float-stencil8";aspect="stencil-only";copyType="CopyT2B"
webgpu:api,validation,image_copy,buffer_texture_copies:depth_stencil_format,copy_buffer_offset:format="depth32float-stencil8";aspect="stencil-only";copyType="WriteTexture"
webgpu:api,validation,image_copy,buffer_texture_copies:sample_count:copyType="CopyB2T"
webgpu:api,validation,image_copy,buffer_texture_copies:sample_count:copyType="CopyT2B"
webgpu:api,validation,image_copy,layout_related:bound_on_rows_per_image:method="WriteTexture";dimension="1d";size=[4,1,1]
webgpu:api,validation,image_copy,layout_related:bound_on_rows_per_image:method="WriteTexture";dimension="2d";size=[4,4,1]
webgpu:api,validation,image_copy,layout_related:bound_on_rows_per_image:method="WriteTexture";dimension="2d";size=[4,4,3]
@ -19775,6 +19872,8 @@ webgpu:api,validation,queue,writeTexture:texture_state:textureState="destroyed"
webgpu:api,validation,queue,writeTexture:usages:
webgpu:api,validation,queue,writeTexture:sample_count:sampleCount=1
webgpu:api,validation,queue,writeTexture:sample_count:sampleCount=4
webgpu:api,validation,queue,writeTexture:texture,device_mismatch:mismatched=true
webgpu:api,validation,queue,writeTexture:texture,device_mismatch:mismatched=false
webgpu:api,validation,render_pass,attachment_compatibility:render_pass_and_bundle,color_format:
webgpu:api,validation,render_pass,attachment_compatibility:render_pass_and_bundle,color_count:
webgpu:api,validation,render_pass,attachment_compatibility:render_pass_and_bundle,color_sparse:attachmentCount=1
@ -25204,8 +25303,22 @@ webgpu:shader,execution,expression,binary,f32_arithmetic:division:inputSource="s
webgpu:shader,execution,expression,binary,f32_arithmetic:division:inputSource="storage_rw";vectorize=2
webgpu:shader,execution,expression,binary,f32_arithmetic:division:inputSource="storage_rw";vectorize=3
webgpu:shader,execution,expression,binary,f32_arithmetic:division:inputSource="storage_rw";vectorize=4
webgpu:shader,execution,expression,binary,f32_arithmetic:modulus:placeHolder1="placeHolder2"
webgpu:shader,execution,expression,binary,f32_arithmetic:modulus:placeHolder1="placeHolder3"
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="const";vectorize="_undef_"
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="const";vectorize=2
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="const";vectorize=3
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="const";vectorize=4
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="uniform";vectorize="_undef_"
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="uniform";vectorize=2
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="uniform";vectorize=3
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="uniform";vectorize=4
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_r";vectorize="_undef_"
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_r";vectorize=2
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_r";vectorize=3
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_r";vectorize=4
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_rw";vectorize="_undef_"
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_rw";vectorize=2
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_rw";vectorize=3
webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_rw";vectorize=4
webgpu:shader,execution,expression,binary,f32_logical:equals:inputSource="const";vectorize="_undef_"
webgpu:shader,execution,expression,binary,f32_logical:equals:inputSource="const";vectorize=2
webgpu:shader,execution,expression,binary,f32_logical:equals:inputSource="const";vectorize=3
@ -35580,4 +35693,4 @@ webgpu:web_platform,external_texture,video:importExternalTexture,compute:sourceT
webgpu:web_platform,external_texture,video:importExternalTexture,compute:sourceType="VideoFrame";videoName="red-green.bt601.vp9.webm"
webgpu:web_platform,external_texture,video:importExternalTexture,compute:sourceType="VideoFrame";videoName="red-green.bt709.vp9.webm"
webgpu:web_platform,external_texture,video:importExternalTexture,compute:sourceType="VideoFrame";videoName="red-green.bt2020.vp9.webm"
webgpu:web_platform,worker,worker:worker:
webgpu:web_platform,worker,worker:worker:

View File

@ -1,3 +1,4 @@
src/common/framework/test_config.ts
src/common/internal/version.ts
src/common/internal/stack.ts
src/common/internal/logging/log_message.ts
@ -135,6 +136,7 @@ src/webgpu/api/operation/buffers/threading.spec.ts
src/webgpu/api/operation/command_buffer/basic.spec.ts
src/webgpu/api/operation/command_buffer/clearBuffer.spec.ts
src/webgpu/api/operation/command_buffer/copyBufferToBuffer.spec.ts
src/webgpu/util/texture/data_generation.ts
src/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.ts
src/webgpu/api/operation/command_buffer/image_copy.spec.ts
src/webgpu/api/operation/command_buffer/programmable/programmable_state_test.ts

View File

@ -357,6 +357,8 @@ crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,tanh:f16:inp
crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,transpose:f16:inputSource="const";* [ Skip ]
crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,trunc:abstract_float:inputSource="const";* [ Skip ]
crbug.com/tint/1613 webgpu:shader,execution,expression,unary,f32_arithmetic:negation:inputSource="const";* [ Skip ]
crbug.com/tint/1613 webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="const";* [ Skip ]
################################################################################
# shader execution failures
@ -387,6 +389,9 @@ crbug.com/dawn/0000 [ intel-gen-9 ubuntu ] webgpu:shader,execution,expression,ca
crbug.com/dawn/0000 [ intel-gen-9 ubuntu ] webgpu:shader,execution,expression,call,builtin,countTrailingZeros:u32:inputSource="uniform";vectorize=2 [ Failure ]
crbug.com/dawn/0000 [ intel-gen-9 ubuntu ] webgpu:shader,execution,expression,call,builtin,countTrailingZeros:u32:inputSource="uniform";vectorize=3 [ Failure ]
crbug.com/dawn/0000 [ intel-gen-9 ubuntu ] webgpu:shader,execution,expression,call,builtin,countTrailingZeros:u32:inputSource="uniform";vectorize=4 [ Failure ]
crbug.com/dawn/0000 [ win10 ] webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_r";* [ Failure ]
crbug.com/dawn/0000 [ win10 ] webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="storage_rw";* [ Failure ]
crbug.com/dawn/0000 [ win10 ] webgpu:shader,execution,expression,binary,f32_arithmetic:remainder:inputSource="uniform";* [ Failure ]
crbug.com/dawn/0000 [ win10 ] webgpu:shader,execution,expression,call,builtin,extractBits:i32:inputSource="storage_r";width=1 [ Failure ]
crbug.com/dawn/0000 [ win10 ] webgpu:shader,execution,expression,call,builtin,extractBits:i32:inputSource="storage_r";width=2 [ Failure ]
crbug.com/dawn/0000 [ win10 ] webgpu:shader,execution,expression,call,builtin,extractBits:i32:inputSource="storage_r";width=3 [ Failure ]
@ -496,6 +501,9 @@ crbug.com/tint/0000 webgpu:shader,validation,parse,identifiers:identifiers:* [ F
################################################################################
# API validation failures
################################################################################
crbug.com/dawn/1523 webgpu:api,validation,createBindGroupLayout:maximum_binding_limit:* [ Failure ]
crbug.com/dawn/1524 webgpu:api,validation,image_copy,buffer_texture_copies:sample_count:copyType="CopyB2T" [ Failure ]
crbug.com/dawn/1524 webgpu:api,validation,image_copy,buffer_texture_copies:sample_count:copyType="CopyT2B" [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,render_pipeline,inter_stage:max_components_count,input:isAsync=false;numScalarDelta=-3;useExtraBuiltinInputs=true [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,render_pipeline,inter_stage:max_components_count,input:isAsync=false;numScalarDelta=0;useExtraBuiltinInputs=false [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,render_pipeline,inter_stage:max_components_count,input:isAsync=true;numScalarDelta=-3;useExtraBuiltinInputs=true [ Failure ]