Skip to content

Commit be768fa

Browse files
committed
Fix shadow layer uniform binding range
1 parent 2ab1711 commit be768fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/renderide/src/backend/frame_gpu/shadows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ fn create_shadow_layer_uniforms(
498498
resource: wgpu::BindingResource::Buffer(wgpu::BufferBinding {
499499
buffer: buffer.as_ref(),
500500
offset: 0,
501-
size: None,
501+
size: wgpu::BufferSize::new(PER_DRAW_UNIFORM_STRIDE as u64),
502502
}),
503503
}],
504504
}));

0 commit comments

Comments
 (0)