fix indentation

This commit is contained in:
LAX1DUDE 2022-12-30 17:28:23 -08:00
parent 7759d27cc2
commit 5d2c95415e

View File

@ -281,18 +281,18 @@ FxaaFloat4 FxaaPixelShader(
void main(){ void main(){
vec2 screenSize05 = 0.5 * u_screenSize2f; vec2 screenSize05 = 0.5 * u_screenSize2f;
vec4 posPos; vec4 posPos;
posPos.xy = v_position2f - screenSize05; posPos.xy = v_position2f - screenSize05;
posPos.zw = v_position2f + screenSize05; posPos.zw = v_position2f + screenSize05;
vec4 rcpFrameOpt; vec4 rcpFrameOpt;
rcpFrameOpt.xy = -screenSize05; rcpFrameOpt.xy = -screenSize05;
rcpFrameOpt.zw = screenSize05; rcpFrameOpt.zw = screenSize05;
vec4 rcpFrameOpt2; vec4 rcpFrameOpt2;
rcpFrameOpt2.xy = vec2(-2.0, -2.0) * u_screenSize2f; rcpFrameOpt2.xy = vec2(-2.0, -2.0) * u_screenSize2f;
rcpFrameOpt2.zw = -rcpFrameOpt2.xy; rcpFrameOpt2.zw = -rcpFrameOpt2.xy;
output4f = vec4(FxaaPixelShader(v_position2f + screenSize05, posPos, u_screenTexture, rcpFrameOpt, rcpFrameOpt2, edgeSharpness, edgeThreshold, edgeThresholdMin).rgb, 1.0); output4f = vec4(FxaaPixelShader(v_position2f + screenSize05, posPos, u_screenTexture, rcpFrameOpt, rcpFrameOpt2, edgeSharpness, edgeThreshold, edgeThresholdMin).rgb, 1.0);
} }