diff options
Diffstat (limited to 'third_party/rust/wgpu-hal/examples/ray-traced-triangle/main.rs')
-rw-r--r-- | third_party/rust/wgpu-hal/examples/ray-traced-triangle/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/rust/wgpu-hal/examples/ray-traced-triangle/main.rs b/third_party/rust/wgpu-hal/examples/ray-traced-triangle/main.rs index c05feae820..3985cd60af 100644 --- a/third_party/rust/wgpu-hal/examples/ray-traced-triangle/main.rs +++ b/third_party/rust/wgpu-hal/examples/ray-traced-triangle/main.rs @@ -371,6 +371,8 @@ impl<A: hal::Api> Example<A> { stage: hal::ProgrammableStage { module: &shader_module, entry_point: "main", + constants: &Default::default(), + zero_initialize_workgroup_memory: true, }, }) } |