You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[error("Texture view format `{0:?}` is not renderable")]
1717
+
#[error("Texture view format `{0:?}` cannot be used as a render attachment. Make sure the format supports RENDER_ATTACHMENT usage and required device features are enabled.")]
#[error("Texture view format `{0:?}` is not storage bindable")]
1719
+
#[error("Texture view format `{0:?}` cannot be used as a storage binding. Make sure the format supports STORAGE usage and required device features are enabled.")]
1720
1720
TextureViewFormatNotStorage(wgt::TextureFormat),
1721
-
#[error("Invalid texture view usage `{view:?}` with texture of usage `{texture:?}`")]
1721
+
#[error("Texture view usages (`{view:?}`) must be a subset of the texture's original usages (`{texture:?}`)")]
1722
1722
InvalidTextureViewUsage{
1723
1723
view: wgt::TextureUsages,
1724
1724
texture: wgt::TextureUsages,
1725
1725
},
1726
-
#[error("Invalid texture view dimension `{0:?}` of a multisampled texture")]
1726
+
#[error("Texture view dimension `{0:?}` cannot be used with a multisampled texture")]
#[error("Invalid texture depth `{depth}` for texture view of dimension `Cubemap`. Cubemap views must use images of size 6.")]
1728
+
#[error(
1729
+
"TextureView has an arrayLayerCount of {depth}. Views of type `Cube` must have arrayLayerCount of 6."
1730
+
)]
1729
1731
InvalidCubemapTextureDepth{depth:u32},
1730
-
#[error("Invalid texture depth `{depth}` for texture view of dimension `CubemapArray`. Cubemap views must use images with sizes which are a multiple of 6.")]
1732
+
#[error("TextureView has an arrayLayerCount of {depth}. Views of type `CubeArray` must have an arrayLayerCount that is a multiple of 6.")]
1731
1733
InvalidCubemapArrayTextureDepth{depth:u32},
1732
1734
#[error("Source texture width and height must be equal for a texture view of dimension `Cube`/`CubeArray`")]
0 commit comments