convert indentation to spaces
This commit is contained in:
@@ -17,7 +17,7 @@ struct VertexShaderOutput {
|
||||
};
|
||||
|
||||
struct PixelShaderOutput {
|
||||
float4 color : SV_TARGET;
|
||||
float4 color : SV_TARGET;
|
||||
};
|
||||
|
||||
[shader("vertex")]
|
||||
@@ -45,9 +45,9 @@ Sampler2D<float4> tex1;
|
||||
|
||||
[shader("pixel")]
|
||||
PixelShaderOutput main_fragment(VertexShaderOutput input) {
|
||||
PixelShaderOutput output;
|
||||
PixelShaderOutput output;
|
||||
|
||||
output.color = tex1.Sample(float2(input.uv));
|
||||
|
||||
return output;
|
||||
output.color = tex1.Sample(float2(input.uv));
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ struct VertexShaderOutput {
|
||||
};
|
||||
|
||||
struct PixelShaderOutput {
|
||||
float4 color : SV_TARGET;
|
||||
float4 color : SV_TARGET;
|
||||
};
|
||||
|
||||
[[vk::binding(0, 0)]]
|
||||
@@ -77,9 +77,9 @@ Sampler2D<float4> tex1;
|
||||
|
||||
[shader("fragment")]
|
||||
PixelShaderOutput main_fragment(VertexShaderOutput input) {
|
||||
PixelShaderOutput output;
|
||||
PixelShaderOutput output;
|
||||
|
||||
output.color = tex1.Sample(float2(input.uv));
|
||||
|
||||
return output;
|
||||
output.color = tex1.Sample(float2(input.uv));
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user