Skip to content

Conversation

@AlbinBernhardssonARM
Copy link
Contributor

Read-only depth/stencil attachments must have load/store ops None (or _Undefined enum value in C API). However, when converting WGPURenderPassDepthStencilAttachment, WGPULoadOp_Undefined was being mapped to Some(wgc::command::LoadOp::Load) rather than None. Same for store op.

Read-only depth/stencil attachments must have load/store ops None (or
_Undefined enum value in C API). However, when converting
WGPURenderPassDepthStencilAttachment, WGPULoadOp_Undefined was being
mapped to Some(wgc::command::LoadOp::Load) rather than None. Same for
store op.
@lisyarus
Copy link
Contributor

lisyarus commented Aug 8, 2025

Bumping this. The current code makes it impossible to use depth_read_only and stencil_read_only. This review fixes that.

@almarklein almarklein merged commit a2f5109 into gfx-rs:trunk Aug 26, 2025
17 checks passed
@almarklein
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants