[core] Make ComputePassDescriptor and RenderPassDescriptor ser/de (#9666)

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Sam authored and GitHub committed 2026-06-15 15:08:13 +02:00
1 parent 208ce3b458
commit f308f06443
4 files changed
+10 -7

No files matched your search

+2 -2
View File
@@ -131,8 +131,8 @@ impl GPUCommandEncoder {
let wgpu_descriptor = wgpu_core::command::RenderPassDescriptor {
label: crate::transform_label(descriptor.label.clone()),
color_attachments,
depth_stencil_attachment: depth_stencil_attachment.as_ref(),
timestamp_writes: timestamp_writes.as_ref(),
depth_stencil_attachment,
timestamp_writes,
occlusion_query_set: descriptor
.occlusion_query_set
.map(|query_set| query_set.id),