remove unused TempResource::Texture

This commit is contained in:
teoxoy 2024-07-04 12:12:57 +02:00 committed by Teodor Tanasoaia
parent 7c51bb4a13
commit bd2b284a26
2 changed files with 0 additions and 7 deletions

View File

@ -326,9 +326,6 @@ impl<A: HalApi> LifetimeTracker<A> {
.destroyed_buffers
.insert(destroyed.tracker_index, destroyed);
}
TempResource::Texture(raw) => {
last_resources.textures.insert(raw.tracker_index(), raw);
}
TempResource::DestroyedTexture(destroyed) => {
last_resources
.destroyed_textures
@ -433,9 +430,6 @@ impl<A: HalApi> LifetimeTracker<A> {
.destroyed_buffers
.insert(destroyed.tracker_index, destroyed);
}
TempResource::Texture(raw) => {
resources.textures.insert(raw.tracker_index(), raw);
}
TempResource::DestroyedTexture(destroyed) => {
resources
.destroyed_textures

View File

@ -148,7 +148,6 @@ pub enum TempResource<A: HalApi> {
StagingBuffer(Arc<StagingBuffer<A>>),
DestroyedBuffer(Arc<DestroyedBuffer<A>>),
DestroyedTexture(Arc<DestroyedTexture<A>>),
Texture(Arc<Texture<A>>),
}
/// A series of raw [`CommandBuffer`]s that have been submitted to a