GS:OGL:Shaders: Formatting

This commit is contained in:
TellowKrinkle 2023-04-12 22:23:31 -05:00 committed by lightningterror
parent dfbdaa651c
commit e221d31b45
7 changed files with 787 additions and 787 deletions

View File

@ -1027,23 +1027,23 @@ void ps_main()
ps_fbmask(C);
#if !PS_NO_COLOR
#if PS_HDR == 1
#if PS_HDR == 1
SV_Target0 = vec4(C.rgb / 65535.0f, C.a / 255.0f);
#else
#else
SV_Target0 = C / 255.0f;
#endif
#if !defined(DISABLE_DUAL_SOURCE) && !PS_NO_COLOR1
#endif
#if !defined(DISABLE_DUAL_SOURCE) && !PS_NO_COLOR1
SV_Target1 = alpha_blend;
#endif
#endif
#if PS_NO_ABLEND
#if PS_NO_ABLEND
// write alpha blend factor into col0
SV_Target0.a = alpha_blend.a;
#endif
#if PS_ONLY_ALPHA
#endif
#if PS_ONLY_ALPHA
// rgb isn't used
SV_Target0.rgb = vec3(0.0f);
#endif
#endif
#endif
#if PS_ZCLAMP