From: Joshua Simmons Date: Sat, 27 Apr 2024 14:55:22 +0000 (+0200) Subject: shark: Remove duplicate image copy X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=82edef5d3c8c884590f637ac2da2ee05e4014f95;p=josh%2Fnarcissus shark: Remove duplicate image copy --- 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,