mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Fix 'Read-only attachment with load' error message (#8068)
This commit is contained in:
parent
b1bf444b7a
commit
1b948fbf42
@ -638,9 +638,9 @@ impl WebGpuError for ColorAttachmentError {
|
||||
pub enum AttachmentError {
|
||||
#[error("The format of the depth-stencil attachment ({0:?}) is not a depth-or-stencil format")]
|
||||
InvalidDepthStencilAttachmentFormat(wgt::TextureFormat),
|
||||
#[error("Read-only attachment with load")]
|
||||
#[error("LoadOp must be None for read-only attachments")]
|
||||
ReadOnlyWithLoad,
|
||||
#[error("Read-only attachment with store")]
|
||||
#[error("StoreOp must be None for read-only attachments")]
|
||||
ReadOnlyWithStore,
|
||||
#[error("Attachment without load")]
|
||||
NoLoad,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user