From 8534aaa6d712303b6e726ba698e8f17817f09a98 Mon Sep 17 00:00:00 2001 From: Elias Stepanik <40958815+eliasstepanik@users.noreply.github.com> Date: Wed, 11 Jun 2025 13:28:27 +0200 Subject: [PATCH] fix compute chunk result shader type --- .../environment/systems/voxels/visible_chunks_compute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/plugins/environment/systems/voxels/visible_chunks_compute.rs b/client/src/plugins/environment/systems/voxels/visible_chunks_compute.rs index dacea0b..e441339 100644 --- a/client/src/plugins/environment/systems/voxels/visible_chunks_compute.rs +++ b/client/src/plugins/environment/systems/voxels/visible_chunks_compute.rs @@ -23,7 +23,7 @@ pub struct VisibleParams { } #[repr(C)] -#[derive(Clone, Copy, Pod, Zeroable)] +#[derive(Clone, Copy, Pod, Zeroable, ShaderType)] pub struct ChunkResult { pub key: IVec3Pod, pub dist2: i32,