mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 09:09:19 +01:00
Enable CTS suite api,validation,encoding,cmds,compute_pass (#8698)
This commit is contained in:
1 parent
422d539731
commit
500e2baedf
2 files changed
+3
-3
No files matched your search
@@ -894,7 +894,6 @@ fn dispatch_indirect(
|
||||
.require_downlevel_flags(wgt::DownlevelFlags::INDIRECT_EXECUTION)?;
|
||||
|
||||
buffer.check_usage(wgt::BufferUsages::INDIRECT)?;
|
||||
buffer.check_destroyed(state.pass.base.snatch_guard)?;
|
||||
|
||||
if offset % 4 != 0 {
|
||||
return Err(ComputePassErrorInner::UnalignedIndirectBufferOffset(offset));
|
||||
@@ -909,6 +908,8 @@ fn dispatch_indirect(
|
||||
});
|
||||
}
|
||||
|
||||
buffer.check_destroyed(state.pass.base.snatch_guard)?;
|
||||
|
||||
let stride = 3 * 4; // 3 integers, x/y/z group size
|
||||
state.pass.base.buffer_memory_init_actions.extend(
|
||||
buffer.initialization_status.read().create_action(
|
||||
|
||||
Reference in new issue
Block a user