From 82edef5d3c8c884590f637ac2da2ee05e4014f95 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Sat, 27 Apr 2024 16:55:22 +0200 Subject: [PATCH] shark: Remove duplicate image copy --- title/shark/src/main.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/title/shark/src/main.rs b/title/shark/src/main.rs index cbd6386..ad8cddc 100644 --- a/title/shark/src/main.rs +++ b/title/shark/src/main.rs @@ -456,25 +456,6 @@ pub fn main() { }], ); - device.cmd_copy_buffer_to_image( - &mut cmd_buffer, - buffer.to_arg(), - image, - ImageLayout::Optimal, - &[BufferImageCopy { - buffer_offset: 0, - buffer_row_length: 0, - buffer_image_height: 0, - image_subresource: default(), - image_offset: Offset3d { x: 0, y: 0, z: 0 }, - image_extent: Extent3d { - width, - height, - depth: 1, - }, - }], - ); - device.cmd_barrier( &mut cmd_buffer, None, -- 2.49.0