mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Fix for destroyed resource errors
This commit is contained in:
parent
468632f207
commit
9b966bf8a3
@ -29,6 +29,8 @@ webgpu:api,validation,encoding,cmds,index_access:*
|
|||||||
//FAIL: webgpu:api,validation,encoding,cmds,render,draw:*
|
//FAIL: webgpu:api,validation,encoding,cmds,render,draw:*
|
||||||
webgpu:api,validation,encoding,cmds,render,draw:index_buffer_OOB:*
|
webgpu:api,validation,encoding,cmds,render,draw:index_buffer_OOB:*
|
||||||
webgpu:api,validation,encoding,cmds,render,draw:unused_buffer_bound:*
|
webgpu:api,validation,encoding,cmds,render,draw:unused_buffer_bound:*
|
||||||
|
webgpu:api,validation,encoding,cmds,render,setIndexBuffer:index_buffer_state:*
|
||||||
|
webgpu:api,validation,encoding,cmds,render,setVertexBuffer:vertex_buffer_state:*
|
||||||
webgpu:api,validation,encoding,encoder_state:*
|
webgpu:api,validation,encoding,encoder_state:*
|
||||||
webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:*
|
webgpu:api,validation,encoding,encoder_open_state:non_pass_commands:*
|
||||||
webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:*
|
webgpu:api,validation,encoding,encoder_open_state:render_pass_commands:*
|
||||||
|
|||||||
@ -31,6 +31,7 @@ pub use timestamp_writes::PassTimestampWrites;
|
|||||||
|
|
||||||
use self::memory_init::CommandBufferTextureMemoryActions;
|
use self::memory_init::CommandBufferTextureMemoryActions;
|
||||||
|
|
||||||
|
use crate::binding_model::BindingError;
|
||||||
use crate::command::transition_resources::TransitionResourcesError;
|
use crate::command::transition_resources::TransitionResourcesError;
|
||||||
use crate::device::queue::TempResource;
|
use crate::device::queue::TempResource;
|
||||||
use crate::device::{Device, DeviceError, MissingFeatures};
|
use crate::device::{Device, DeviceError, MissingFeatures};
|
||||||
@ -1060,6 +1061,18 @@ impl CommandEncoderError {
|
|||||||
inner: RenderPassErrorInner::DestroyedResource(_),
|
inner: RenderPassErrorInner::DestroyedResource(_),
|
||||||
..
|
..
|
||||||
})
|
})
|
||||||
|
| Self::RenderPass(RenderPassError {
|
||||||
|
inner: RenderPassErrorInner::RenderCommand(
|
||||||
|
RenderCommandError::DestroyedResource(_)
|
||||||
|
),
|
||||||
|
..
|
||||||
|
})
|
||||||
|
| Self::RenderPass(RenderPassError {
|
||||||
|
inner: RenderPassErrorInner::RenderCommand(RenderCommandError::BindingError(
|
||||||
|
BindingError::DestroyedResource(_)
|
||||||
|
)),
|
||||||
|
..
|
||||||
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user