The added `#` prevents clang-format from misinterpreting the meaning of this statement and thus messing up the formatting of the next lines up until the first `layout` statement. Similarly, a semicolon is now enforced on `versions` defines to prevent clang-format from messing up formatting and putting them all on a single line. Note: In its current state the code will ignore chained statements on a single line separated by a semicolon. Also removed some extraneous lines missed in previous style changes or added by mistake with said changes (e.g. after uniform definitions that clang-format messes up somewhat too, but we live with it).
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
shaders | Loading commit data... | |
SCsub | Loading commit data... | |
light_cluster_builder.cpp | Loading commit data... | |
light_cluster_builder.h | Loading commit data... | |
rasterizer_canvas_rd.cpp | Loading commit data... | |
rasterizer_canvas_rd.h | Loading commit data... | |
rasterizer_effects_rd.cpp | Loading commit data... | |
rasterizer_effects_rd.h | Loading commit data... | |
rasterizer_rd.cpp | Loading commit data... | |
rasterizer_rd.h | Loading commit data... | |
rasterizer_scene_high_end_rd.cpp | Loading commit data... | |
rasterizer_scene_high_end_rd.h | Loading commit data... | |
rasterizer_scene_rd.cpp | Loading commit data... | |
rasterizer_scene_rd.h | Loading commit data... | |
rasterizer_storage_rd.cpp | Loading commit data... | |
rasterizer_storage_rd.h | Loading commit data... | |
render_pipeline_vertex_format_cache_rd.cpp | Loading commit data... | |
render_pipeline_vertex_format_cache_rd.h | Loading commit data... | |
shader_compiler_rd.cpp | Loading commit data... | |
shader_compiler_rd.h | Loading commit data... | |
shader_rd.cpp | Loading commit data... | |
shader_rd.h | Loading commit data... |