mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
[core] Make ComputePassDescriptor and RenderPassDescriptor ser/de (#9666)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
4 files changed
+10
-7
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user