From a1054477d01ea120c3a778e2213e64bcc95dfc96 Mon Sep 17 00:00:00 2001 From: Molive Date: Thu, 8 Oct 2026 19:51:11 +0100 Subject: [PATCH] minor fixes --- src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index fc2ba19..0552c4c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,11 @@ fn main() { | wgpu::Features::SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING | wgpu::Features::STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING | wgpu::Features::PARTIALLY_BOUND_BINDING_ARRAY, - required_limits: wgpu::Limits::downlevel_defaults(), + required_limits: wgpu::Limits { + max_binding_array_elements_per_shader_stage: 1000, + max_compute_invocations_per_workgroup: 512, + ..wgpu::Limits::downlevel_defaults() + }, experimental_features: wgpu::ExperimentalFeatures::disabled(), memory_hints: wgpu::MemoryHints::MemoryUsage, trace: wgpu::Trace::Off, @@ -83,7 +87,7 @@ fn main() { }); log::logger().flush(); - log::info!("Creating SPV module..."); + log::info!("Creating SPV pipeline..."); let spv_pipeline = device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { label: None, layout: Some(&pipeline_layout),