mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Make inner errors pub
This commit is contained in:
1 parent
19b4ec58ae
commit
a41f7ea78f
2 files changed
+2
-2
No files matched your search
@@ -119,7 +119,7 @@ pub enum DispatchError {
|
||||
|
||||
/// Error encountered when performing a compute pass.
|
||||
#[derive(Clone, Debug, Error)]
|
||||
pub(super) enum ComputePassErrorInner {
|
||||
pub enum ComputePassErrorInner {
|
||||
#[error(transparent)]
|
||||
Encoder(#[from] CommandEncoderError),
|
||||
#[error("bind group {0:?} is invalid")]
|
||||
|
||||
@@ -318,7 +318,7 @@ impl State {
|
||||
|
||||
/// Error encountered when performing a render pass.
|
||||
#[derive(Clone, Debug, Error)]
|
||||
pub(super) enum RenderPassErrorInner {
|
||||
pub enum RenderPassErrorInner {
|
||||
#[error(transparent)]
|
||||
Encoder(#[from] CommandEncoderError),
|
||||
#[error("attachment texture view {0:?} is invalid")]
|
||||
|
||||
Reference in new issue
Block a user