From b99d69459e5cb9777e5ef189e3d6de8e740f448f Mon Sep 17 00:00:00 2001 From: "Matias N. Goldberg" Date: Sun, 17 Sep 2023 21:15:05 -0300 Subject: [PATCH] Fix inconsistent indentation --- .../Media/Hlms/Pbs/Any/Main/500.Structs_piece_vs_piece_ps.any | 2 +- Samples/Media/Hlms/Pbs/Any/Main/800.PixelShader_piece_ps.any | 4 ++-- Samples/Media/Hlms/Terra/Any/800.PixelShader_piece_ps.any | 4 ++-- Samples/Media/Hlms/Unlit/Any/500.StructsUnlit_piece_all.any | 2 +- Samples/Media/Hlms/Unlit/Any/800.PixelShader_piece_ps.any | 4 ++-- Samples/Media/Hlms/Unlit/GLSL/VertexShader_vs.glsl | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Samples/Media/Hlms/Pbs/Any/Main/500.Structs_piece_vs_piece_ps.any b/Samples/Media/Hlms/Pbs/Any/Main/500.Structs_piece_vs_piece_ps.any index f9443f3082b..c225d94afdf 100644 --- a/Samples/Media/Hlms/Pbs/Any/Main/500.Structs_piece_vs_piece_ps.any +++ b/Samples/Media/Hlms/Pbs/Any/Main/500.Structs_piece_vs_piece_ps.any @@ -460,7 +460,7 @@ struct Material @property( hlms_emulate_clip_distances && hlms_pso_clip_distances ) @foreach( hlms_pso_clip_distances, n ) INTERPOLANT( float clipDistance@n, @counter(texcoord) ); - @end + @end @end @insertpiece( custom_VStoPS ) @end diff --git a/Samples/Media/Hlms/Pbs/Any/Main/800.PixelShader_piece_ps.any b/Samples/Media/Hlms/Pbs/Any/Main/800.PixelShader_piece_ps.any index 911571bbd10..99752eb78ca 100644 --- a/Samples/Media/Hlms/Pbs/Any/Main/800.PixelShader_piece_ps.any +++ b/Samples/Media/Hlms/Pbs/Any/Main/800.PixelShader_piece_ps.any @@ -751,8 +751,8 @@ @property( hlms_emulate_clip_distances && hlms_global_clip_planes && hlms_pso_clip_distances && syntax == glslvk ) @foreach( hlms_pso_clip_distances, n ) if( inPs.clipDistance@n < 0.0 ) - discard; - @end + discard; + @end @end @property( hlms_screen_pos_uv ) diff --git a/Samples/Media/Hlms/Terra/Any/800.PixelShader_piece_ps.any b/Samples/Media/Hlms/Terra/Any/800.PixelShader_piece_ps.any index 8e8aa3b5656..fff0d10f965 100644 --- a/Samples/Media/Hlms/Terra/Any/800.PixelShader_piece_ps.any +++ b/Samples/Media/Hlms/Terra/Any/800.PixelShader_piece_ps.any @@ -214,8 +214,8 @@ @property( hlms_emulate_clip_distances && hlms_global_clip_planes && hlms_pso_clip_distances && syntax == glslvk) @foreach( hlms_pso_clip_distances, n ) if( inPs.clipDistance@n < 0.0 ) - discard; - @end + discard; + @end @end @insertpiece( LoadMaterial ) diff --git a/Samples/Media/Hlms/Unlit/Any/500.StructsUnlit_piece_all.any b/Samples/Media/Hlms/Unlit/Any/500.StructsUnlit_piece_all.any index db07171fa1b..05bca8a5847 100644 --- a/Samples/Media/Hlms/Unlit/Any/500.StructsUnlit_piece_all.any +++ b/Samples/Media/Hlms/Unlit/Any/500.StructsUnlit_piece_all.any @@ -117,7 +117,7 @@ @property( hlms_emulate_clip_distances && hlms_pso_clip_distances ) @foreach( hlms_pso_clip_distances, n ) INTERPOLANT( float clipDistance@n, @counter(texcoord) ); - @end + @end @end @insertpiece( custom_VStoPS ) @end diff --git a/Samples/Media/Hlms/Unlit/Any/800.PixelShader_piece_ps.any b/Samples/Media/Hlms/Unlit/Any/800.PixelShader_piece_ps.any index 61aa1f5e45b..5b061d9f7c1 100644 --- a/Samples/Media/Hlms/Unlit/Any/800.PixelShader_piece_ps.any +++ b/Samples/Media/Hlms/Unlit/Any/800.PixelShader_piece_ps.any @@ -57,8 +57,8 @@ @property( hlms_emulate_clip_distances && hlms_global_clip_planes && hlms_pso_clip_distances && syntax == glslvk) @foreach( hlms_pso_clip_distances, n ) if( inPs.clipDistance@n < 0.0 ) - discard; - @end + discard; + @end @end midf4 diffuseCol = midf4_c( 1.0f, 1.0f, 1.0f, 1.0f ); diff --git a/Samples/Media/Hlms/Unlit/GLSL/VertexShader_vs.glsl b/Samples/Media/Hlms/Unlit/GLSL/VertexShader_vs.glsl index 4411e686b7f..1978c8465de 100644 --- a/Samples/Media/Hlms/Unlit/GLSL/VertexShader_vs.glsl +++ b/Samples/Media/Hlms/Unlit/GLSL/VertexShader_vs.glsl @@ -4,7 +4,7 @@ out gl_PerVertex { vec4 gl_Position; -@property( hlms_pso_clip_distances && !hlms_emulate_clip_distances ) +@property( hlms_pso_clip_distances && !hlms_emulate_clip_distances ) float gl_ClipDistance[@value(hlms_pso_clip_distances)]; @end };