Inline PassChannel into ColorAttachment (#6704)

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Samson authored and GitHub committed 2024-12-12 15:57:05 +01:00
1 parent 3d3937e720
commit 8f82992b9f
5 files changed
+99 -71

No files matched your search

+3 -6
View File
@@ -133,12 +133,9 @@ pub fn op_webgpu_command_encoder_begin_render_pass(
Some(wgpu_core::command::RenderPassColorAttachment {
view: texture_view_resource.1,
resolve_target,
channel: wgpu_core::command::PassChannel {
load_op: at.load_op,
store_op: at.store_op,
clear_value: at.clear_value.unwrap_or_default(),
read_only: false,
},
load_op: at.load_op,
store_op: at.store_op,
clear_value: at.clear_value.unwrap_or_default(),
})
} else {
None