From: Josh Simmons Date: Mon, 4 Nov 2024 21:26:25 +0000 (+0100) Subject: shark: Remove test work amplification X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=da608d2b33787d72165617ba2f59dc16f49ec29c;p=josh%2Fnarcissus shark: Remove test work amplification --- diff --git a/title/shark/src/main.rs b/title/shark/src/main.rs index 5441cb5..f1a368f 100644 --- a/title/shark/src/main.rs +++ b/title/shark/src/main.rs @@ -1371,16 +1371,14 @@ impl<'gpu> DrawState<'gpu> { }, ); - for _ in 0..4 { - gpu.cmd_dispatch( - cmd_encoder, - (draw_buffer_len - + (self.pipelines.draw_2d_bin_1_scatter_pipeline_workgroup_size - 1)) - / self.pipelines.draw_2d_bin_1_scatter_pipeline_workgroup_size, - 1, - 1, - ); - } + gpu.cmd_dispatch( + cmd_encoder, + (draw_buffer_len + + (self.pipelines.draw_2d_bin_1_scatter_pipeline_workgroup_size - 1)) + / self.pipelines.draw_2d_bin_1_scatter_pipeline_workgroup_size, + 1, + 1, + ); gpu.cmd_barrier( cmd_encoder,