Skip to content

Commit f10e9bc

Browse files
jatimixmockersf
authored andcommitted
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"
1 parent 3df7f89 commit f10e9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_pbr/src/render/mesh_view_bindings.wgsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ const VISIBILITY_RANGE_UNIFORM_BUFFER_SIZE: u32 = 64u;
110110
@group(0) @binding(31) var<storage, read_write> oit_layers: array<vec2<u32>>;
111111
@group(0) @binding(32) var<storage, read_write> oit_layer_ids: array<atomic<i32>>;
112112
@group(0) @binding(33) var<uniform> oit_settings: types::OrderIndependentTransparencySettings;
113-
#endif OIT_ENABLED
113+
#endif // OIT_ENABLED

0 commit comments

Comments
 (0)