Skip to content

Commit 500e2ba

Browse files
Enable CTS suite api,validation,encoding,cmds,compute_pass (#8698)
1 parent 422d539 commit 500e2ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cts_runner/test.lst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ webgpu:api,validation,createBindGroup:buffer,effective_buffer_binding_size:*
3838
webgpu:api,validation,encoding,beginComputePass:*
3939
webgpu:api,validation,encoding,beginRenderPass:*
4040
webgpu:api,validation,encoding,cmds,clearBuffer:*
41-
webgpu:api,validation,encoding,cmds,compute_pass:set_pipeline:*
42-
webgpu:api,validation,encoding,cmds,compute_pass:dispatch_sizes:*
41+
webgpu:api,validation,encoding,cmds,compute_pass:*
4342
webgpu:api,validation,encoding,cmds,copyTextureToTexture:copy_with_invalid_or_destroyed_texture:*
4443
webgpu:api,validation,encoding,cmds,copyTextureToTexture:texture,device_mismatch:*
4544
webgpu:api,validation,encoding,cmds,copyTextureToTexture:mipmap_level:*

wgpu-core/src/command/compute.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,6 @@ fn dispatch_indirect(
894894
.require_downlevel_flags(wgt::DownlevelFlags::INDIRECT_EXECUTION)?;
895895

896896
buffer.check_usage(wgt::BufferUsages::INDIRECT)?;
897-
buffer.check_destroyed(state.pass.base.snatch_guard)?;
898897

899898
if offset % 4 != 0 {
900899
return Err(ComputePassErrorInner::UnalignedIndirectBufferOffset(offset));
@@ -909,6 +908,8 @@ fn dispatch_indirect(
909908
});
910909
}
911910

911+
buffer.check_destroyed(state.pass.base.snatch_guard)?;
912+
912913
let stride = 3 * 4; // 3 integers, x/y/z group size
913914
state.pass.base.buffer_memory_init_actions.extend(
914915
buffer.initialization_status.read().create_action(

0 commit comments

Comments
 (0)