Skip to content

Commit 5833d76

Browse files
committed
Clean up
1 parent aca9771 commit 5833d76

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

shaders/slang/computeparticles/particle.slang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ VSOutput vertexMain(VSInput input)
7373
}
7474

7575
[shader("fragment")]
76-
float4 fragmentMain(VSOutput input, float2 pointCoord: SV_PointCoord) : SV_TARGET
76+
float4 fragmentMain(VSOutput input, float2 pointCoord: SV_PointCoord)
7777
{
7878
float3 color = samplerGradientRamp.Sample(float2(input.GradientPos, 0.0)).rgb;
7979
return float4(samplerColorMap.Sample(pointCoord).rgb * color, 1.0);

shaders/slang/descriptorindexing/descriptorindexing.slang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ VSOutput vertexMain(VSInput input)
3737
}
3838

3939
[shader("fragment")]
40-
float4 fragmentMain(VSOutput input) : SV_TARGET
40+
float4 fragmentMain(VSOutput input)
4141
{
4242
return textures[NonUniformResourceIndex(input.TextureIndex)].Sample(input.UV);
4343
}

shaders/slang/pushconstants/pushconstants.slang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ VSOutput vertexMain(VSInput input, uniform float4 pushColor, uniform float4 push
3838
}
3939

4040
[shader("fragment")]
41-
float4 fragmentMain(VSOutput input) : SV_TARGET
41+
float4 fragmentMain(VSOutput input)
4242
{
4343
return float4(input.Color, 1.0);
4444
}

shaders/slang/specializationconstants/uber.slang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ VSOutput vertexMain(VSInput input)
5757
}
5858

5959
[shader("fragment")]
60-
float4 fragmentMain(VSOutput input) : SV_TARGET
60+
float4 fragmentMain(VSOutput input)
6161
{
6262
switch (LIGHTING_MODEL) {
6363
case 0: // Phong

shaders/slang/texturecubemap/reflect.slang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ VSOutput vertexMain(VSInput input)
4848
}
4949

5050
[shader("fragment")]
51-
float4 fragmentMain(VSOutput input) : SV_TARGET
51+
float4 fragmentMain(VSOutput input)
5252
{
5353
float3 cI = normalize (input.ViewVec);
5454
float3 cR = reflect (cI, normalize(input.Normal));

0 commit comments

Comments
 (0)