]> git.nega.tv - josh/narcissus/commitdiff
shark: Remove test work amplification
authorJosh Simmons <josh@nega.tv>
Mon, 4 Nov 2024 21:26:25 +0000 (22:26 +0100)
committerJosh Simmons <josh@nega.tv>
Mon, 4 Nov 2024 21:26:25 +0000 (22:26 +0100)
title/shark/src/main.rs

index 5441cb5460574d35127214aca1af39139b8d16ea..f1a368fb34bcc6ddb976bf3b36cc8e1b80fa1249 100644 (file)
@@ -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,