From b53ec4c35c42baa45dfd2cc8a1b7527f03746976 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 4 Nov 2024 16:32:38 +0100 Subject: [PATCH] Fix WGSL formatting inconsistency on mesh_view_binding (#16202) # Objective - fix formatting issue in "mesh_view_binding.wgsl" _note: As naga-oil preprocessor match the whole line when finding an "#endif", It's just for external formatting tool and consistency._ ## Solution Trivial change. Add '//' before the closing comment of the "#endif" --- crates/bevy_pbr/src/render/mesh_view_bindings.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_pbr/src/render/mesh_view_bindings.wgsl b/crates/bevy_pbr/src/render/mesh_view_bindings.wgsl index ef5292d17b..a5de8bd873 100644 --- a/crates/bevy_pbr/src/render/mesh_view_bindings.wgsl +++ b/crates/bevy_pbr/src/render/mesh_view_bindings.wgsl @@ -110,4 +110,4 @@ const VISIBILITY_RANGE_UNIFORM_BUFFER_SIZE: u32 = 64u; @group(0) @binding(31) var oit_layers: array>; @group(0) @binding(32) var oit_layer_ids: array>; @group(0) @binding(33) var oit_settings: types::OrderIndependentTransparencySettings; -#endif OIT_ENABLED +#endif // OIT_ENABLED