mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
Only dispatch each workgroup not pixel
This commit is contained in:
committed by
Keavon Chambers
parent
215589ff49
commit
edb33e0c82
@@ -253,7 +253,7 @@ impl gpu_executor::GpuExecutor for WgpuExecutor {
|
||||
entries: entries.as_slice(),
|
||||
});
|
||||
|
||||
let mut encoder = self.context.device.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: None });
|
||||
let mut encoder = self.context.device.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: Some("compute encoder") });
|
||||
{
|
||||
let dimensions = instances.get();
|
||||
let mut cpass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor { label: None });
|
||||
|
||||
Reference in New Issue
Block a user