Vulkan: Format tfx.glsl

This commit is contained in:
TellowKrinkle 2023-02-24 21:42:13 -06:00 committed by lightningterror
parent 2bf74622a5
commit a7e2b98dc7
1 changed files with 127 additions and 127 deletions

View File

@ -1251,29 +1251,29 @@ void main()
ps_fbmask(C);
#if !PS_NO_COLOR
#if PS_HDR == 1
#if !PS_NO_COLOR
#if PS_HDR == 1
o_col0 = vec4(C.rgb / 65535.0f, C.a / 255.0f);
#else
#else
o_col0 = C / 255.0f;
#endif
#if !defined(DISABLE_DUAL_SOURCE) && !PS_NO_COLOR1
#endif
#if !defined(DISABLE_DUAL_SOURCE) && !PS_NO_COLOR1
o_col1 = alpha_blend;
#endif
#endif
#if PS_NO_ABLEND
#if PS_NO_ABLEND
// write alpha blend factor into col0
o_col0.a = alpha_blend.a;
#endif
#if PS_ONLY_ALPHA
#endif
#if PS_ONLY_ALPHA
// rgb isn't used
o_col0.rgb = vec3(0.0f);
#endif
#endif
#endif
#endif
#if PS_ZCLAMP
#if PS_ZCLAMP
gl_FragDepth = min(gl_FragCoord.z, MaxDepthPS);
#endif
#endif
#endif // PS_DATE
}