diff --git a/DEPS b/DEPS index 00c161c2b5..a80719c96d 100644 --- a/DEPS +++ b/DEPS @@ -158,7 +158,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@0439f3ed86ebc7ca85fa2081d50c0ce84a19fdb9', + 'url': '{chromium_git}/external/github.com/gpuweb/cts@074471be8391ee860b069b5bb032435c6077ff56', 'condition': 'build_with_chromium', }, diff --git a/third_party/gn/webgpu-cts/test_list.txt b/third_party/gn/webgpu-cts/test_list.txt index 4114463e68..6957e3c1a4 100644 --- a/third_party/gn/webgpu-cts/test_list.txt +++ b/third_party/gn/webgpu-cts/test_list.txt @@ -15680,11 +15680,50 @@ webgpu:api,validation,encoding,createRenderBundleEncoder:depth_stencil_readonly: webgpu:api,validation,encoding,createRenderBundleEncoder:depth_stencil_readonly:depthStencilFormat="depth24plus-stencil8" webgpu:api,validation,encoding,createRenderBundleEncoder:depth_stencil_readonly:depthStencilFormat="depth32float-stencil8" webgpu:api,validation,encoding,createRenderBundleEncoder:depth_stencil_readonly_with_undefined_depth: +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="beginComputePass" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="beginRenderPass" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="clearBuffer" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="copyBufferToBuffer" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="copyBufferToTexture" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="copyTextureToBuffer" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="copyTextureToTexture" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="insertDebugMarker" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="popDebugGroup" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="pushDebugGroup" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="writeTimestamp" +webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:command="resolveQuerySet" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="draw" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="drawIndexed" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="drawIndexedIndirect" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="drawIndirect" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setIndexBuffer" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setBindGroup" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setVertexBuffer" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setPipeline" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setViewport" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setScissorRect" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setBlendConstant" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="setStencilReference" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="beginOcclusionQuery" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="endOcclusionQuery" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="executeBundles" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="pushDebugGroup" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="popDebugGroup" +webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:command="insertDebugMarker" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="setBindGroup" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="setPipeline" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="dispatchWorkgroups" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="dispatchWorkgroupsIndirect" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="pushDebugGroup" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="popDebugGroup" +webgpu:api,validation,encoding,encoder_open_state:compute_pass_commands:command="insertDebugMarker" webgpu:api,validation,encoding,encoder_state:pass_end_invalid_order:pass0Type="compute";pass1Type="compute" webgpu:api,validation,encoding,encoder_state:pass_end_invalid_order:pass0Type="compute";pass1Type="render" webgpu:api,validation,encoding,encoder_state:pass_end_invalid_order:pass0Type="render";pass1Type="compute" webgpu:api,validation,encoding,encoder_state:pass_end_invalid_order:pass0Type="render";pass1Type="render" webgpu:api,validation,encoding,encoder_state:call_after_successful_finish: +webgpu:api,validation,encoding,encoder_state:pass_end_none: +webgpu:api,validation,encoding,encoder_state:pass_end_twice: webgpu:api,validation,encoding,programmable,pipeline_bind_group_compat:bind_groups_and_pipeline_layout_mismatch:encoderType="compute%20pass";call="dispatch";callWithZero=true webgpu:api,validation,encoding,programmable,pipeline_bind_group_compat:bind_groups_and_pipeline_layout_mismatch:encoderType="compute%20pass";call="dispatch";callWithZero=false webgpu:api,validation,encoding,programmable,pipeline_bind_group_compat:bind_groups_and_pipeline_layout_mismatch:encoderType="compute%20pass";call="dispatchIndirect";callWithZero=true diff --git a/third_party/gn/webgpu-cts/ts_sources.txt b/third_party/gn/webgpu-cts/ts_sources.txt index 64e8de92ff..364f253cc5 100644 --- a/third_party/gn/webgpu-cts/ts_sources.txt +++ b/third_party/gn/webgpu-cts/ts_sources.txt @@ -212,6 +212,8 @@ src/webgpu/api/validation/capability_checks/features/texture_formats.spec.ts src/webgpu/api/validation/encoding/beginComputePass.spec.ts src/webgpu/api/validation/encoding/beginRenderPass.spec.ts src/webgpu/api/validation/encoding/createRenderBundleEncoder.spec.ts +src/webgpu/api/validation/encoding/queries/common.ts +src/webgpu/api/validation/encoding/encoder_open_state.spec.ts src/webgpu/api/validation/encoding/encoder_state.spec.ts src/webgpu/api/validation/encoding/render_bundle.spec.ts src/webgpu/api/validation/encoding/cmds/clearBuffer.spec.ts @@ -231,7 +233,6 @@ src/webgpu/api/validation/encoding/cmds/render/setPipeline.spec.ts src/webgpu/api/validation/encoding/cmds/render/setVertexBuffer.spec.ts src/webgpu/api/validation/encoding/cmds/render/state_tracking.spec.ts src/webgpu/api/validation/encoding/programmable/pipeline_bind_group_compat.spec.ts -src/webgpu/api/validation/encoding/queries/common.ts src/webgpu/api/validation/encoding/queries/begin_end.spec.ts src/webgpu/api/validation/encoding/queries/general.spec.ts src/webgpu/api/validation/encoding/queries/pipeline_statistics.spec.ts diff --git a/webgpu-cts/expectations.txt b/webgpu-cts/expectations.txt index 34d2e539b3..934866d2f2 100644 --- a/webgpu-cts/expectations.txt +++ b/webgpu-cts/expectations.txt @@ -61,7 +61,7 @@ # results: [ Failure RetryOnFailure Skip Slow ] # END TAG HEADER -# Last rolled: 2022-11-01 10:03:20PM +# Last rolled: 2022-11-03 08:48:43AM ################################################################################ # webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero @@ -533,7 +533,6 @@ crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,sqrt:f32:inp crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,sqrt:f32:inputSource="const";vectorize=3 [ Failure ] crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,sqrt:f32:inputSource="const";vectorize=4 [ Failure ] crbug.com/tint/1613 [ dawn-backend-validation monterey ] webgpu:shader,execution,expression,call,builtin,step:f32:inputSource="const";vectorize=3 [ Slow ] -crbug.com/tint/1613 [ dawn-no-backend-validation monterey ] webgpu:shader,execution,expression,call,builtin,step:f32:inputSource="const";vectorize=3 [ Failure ] crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,tan:f32:inputSource="const";vectorize="_undef_" [ Failure ] crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,tan:f32:inputSource="const";vectorize=2 [ Failure ] crbug.com/tint/1613 webgpu:shader,execution,expression,call,builtin,tan:f32:inputSource="const";vectorize=3 [ Failure ] @@ -635,6 +634,7 @@ crbug.com/dawn/0000 webgpu:api,validation,buffer,mapping:unmap,state,unmapped: [ crbug.com/dawn/0000 webgpu:api,validation,compute_pipeline:overrides,workgroup_size,limits,* [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,createBindGroupLayout:multisampled_validation:viewDimension="2d" [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,createBindGroupLayout:multisampled_validation:viewDimension="_undef_" [ Failure ] +crbug.com/dawn/0000 webgpu:api,validation,encoding,encoder_state:pass_end_twice: [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,error_scope:current_scope:errorFilter="internal";stackDepth=1 [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,error_scope:current_scope:errorFilter="internal";stackDepth=10 [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,error_scope:current_scope:errorFilter="internal";stackDepth=100 [ Failure ] @@ -647,6 +647,8 @@ crbug.com/dawn/0000 webgpu:api,validation,error_scope:parent_scope:errorFilter=" crbug.com/dawn/0000 webgpu:api,validation,error_scope:simple:errorType="internal";errorFilter="internal" [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,error_scope:simple:errorType="internal";errorFilter="out-of-memory" [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,error_scope:simple:errorType="internal";errorFilter="validation" [ Failure ] +crbug.com/dawn/0000 [ dawn-backend-validation intel-gen-9 monterey target-cpu-64 webgpu-adapter-default ] webgpu:shader,execution,expression,binary,bitwise:bitwise_and:type="u32";inputSource="const";vectorize=3 [ Slow ] +crbug.com/dawn/0000 [ dawn-backend-validation intel-gen-9 monterey target-cpu-64 webgpu-adapter-default ] webgpu:shader,execution,expression,binary,bitwise:bitwise_or:type="u32";inputSource="const";vectorize=3 [ Slow ] crbug.com/dawn/0000 [ dawn-backend-validation intel-gen-9 monterey target-cpu-64 webgpu-adapter-default ] webgpu:shader,execution,expression,binary,bool_logical:and_short_circuit:inputSource="const" [ Failure ] crbug.com/dawn/0000 [ dawn-backend-validation intel-gen-9 target-cpu-64 ubuntu webgpu-adapter-default ] webgpu:shader,execution,expression,binary,bool_logical:and_short_circuit:inputSource="const" [ Failure ] crbug.com/dawn/0000 [ dawn-backend-validation nvidia-0x2184 target-cpu-32 webgpu-adapter-default win10 ] webgpu:shader,execution,expression,binary,bool_logical:and_short_circuit:inputSource="const" [ Failure ] @@ -997,6 +999,7 @@ crbug.com/dawn/0000 [ dawn-no-backend-validation intel-gen-9 target-cpu-64 webgp crbug.com/dawn/0000 [ dawn-no-backend-validation nvidia-0x2184 target-cpu-32 webgpu-adapter-default win10 ] webgpu:shader,execution,expression,call,builtin,unpack4x8unorm:unpack:inputSource="const" [ Failure ] crbug.com/dawn/0000 [ dawn-no-backend-validation nvidia-0x2184 target-cpu-64 ubuntu webgpu-adapter-default ] webgpu:shader,execution,expression,call,builtin,unpack4x8unorm:unpack:inputSource="const" [ Failure ] crbug.com/dawn/0000 [ dawn-no-backend-validation nvidia-0x2184 target-cpu-64 webgpu-adapter-default win10 ] webgpu:shader,execution,expression,call,builtin,unpack4x8unorm:unpack:inputSource="const" [ Failure ] +crbug.com/dawn/0000 [ dawn-backend-validation intel-gen-9 monterey target-cpu-64 webgpu-adapter-default ] webgpu:shader,execution,expression,unary,f32_arithmetic:negation:inputSource="const";vectorize=3 [ Slow ] crbug.com/dawn/0000 [ dawn-backend-validation nvidia-0x2184 target-cpu-32 webgpu-adapter-default win10 ] webgpu:shader,execution,shader_io,compute_builtins:inputs:method="mixed";dispatch="indirect";groupSize={"x":1,"y":1,"z":1};numGroups={"x":1,"y":1,"z":1} [ Failure ] crbug.com/dawn/0000 [ dawn-no-backend-validation nvidia-0x2184 target-cpu-32 webgpu-adapter-default win10 ] webgpu:shader,execution,shader_io,compute_builtins:inputs:method="mixed";dispatch="indirect";groupSize={"x":1,"y":1,"z":1};numGroups={"x":1,"y":1,"z":1} [ Failure ] crbug.com/dawn/0000 [ dawn-backend-validation nvidia-0x2184 target-cpu-32 webgpu-adapter-default win10 ] webgpu:shader,execution,shader_io,compute_builtins:inputs:method="mixed";dispatch="indirect";groupSize={"x":1,"y":1,"z":1};numGroups={"x":8,"y":4,"z":2} [ Failure ] @@ -1030,6 +1033,5 @@ crbug.com/dawn/0000 [ monterey webgpu-adapter-default ] webgpu:web_platform,canv crbug.com/dawn/0000 [ monterey webgpu-adapter-swiftshader ] webgpu:web_platform,canvas,configure:usage:* [ Failure ] crbug.com/dawn/0000 [ ubuntu webgpu-adapter-default ] webgpu:web_platform,canvas,configure:usage:* [ Failure ] crbug.com/dawn/0000 [ monterey ] webgpu:web_platform,canvas,getCurrentTexture:* [ Failure ] -crbug.com/dawn/0000 [ dawn-no-backend-validation nvidia-0x2184 target-cpu-64 win10 ] worker_webgpu:api,validation,buffer,mapping:mapAsync,offsetAndSizeOOB: [ Failure ] crbug.com/dawn/0000 worker_webgpu:api,validation,buffer,mapping:unmap,state,destroyed: [ Failure ] crbug.com/dawn/0000 worker_webgpu:api,validation,buffer,mapping:unmap,state,unmapped: [ Failure ]