mirror of https://github.com/PCSX2/pcsx2.git
GS:OGL:Shaders: Formatting
This commit is contained in:
parent
dfbdaa651c
commit
e221d31b45
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue