@@ -165,7 +165,7 @@ void main()
165165
166166 vtx = load_vertex(vid >> 2 );
167167
168- vtx.p.x += ((vid & 1u) != 0u) ? PointSize.x : 0 .0f;
168+ vtx.p.x += ((vid & 1u) != 0u) ? PointSize.x : 0 .0f;
169169 vtx.p.y += ((vid & 2u) != 0u) ? PointSize.y : 0 .0f;
170170
171171#elif VS_EXPAND == 2 // Line
@@ -175,7 +175,7 @@ void main()
175175 bool is_bottom = (vid & 2u) != 0u;
176176 bool is_right = (vid & 1u) != 0u;
177177 uint vid_other = is_bottom ? vid_base - 1 : vid_base + 1 ;
178-
178+
179179 vtx = load_vertex(vid_base);
180180 ProcessedVertex other = load_vertex(vid_other);
181181
@@ -575,7 +575,7 @@ uvec4 sample_4_index(vec4 uv)
575575 c.w = sample_c(uv.zw).a;
576576
577577 // Denormalize value
578-
578+
579579#if PS_RTA_SRC_CORRECTION
580580 uvec4 i = uvec4 (round(c * 128 .25f));
581581#else
@@ -1010,10 +1010,10 @@ vec4 ps_color()
10101010 T.b = float ((denorm_c_before.g << 1 ) & 0xF8u);
10111011 T.a = float (denorm_c_before.g & 0x80u);
10121012 #endif
1013-
1013+
10141014 T.a = ((T.a >= 127 .5f) ? TA.y : ((PS_AEM == 0 || any (bvec3 (ivec3 (T.rgb) & ivec3 (0xF8)))) ? TA.x : 0 .0f)) * 255 .0f;
10151015 #endif
1016-
1016+
10171017 vec4 C = tfx(T, vsIn.c);
10181018
10191019 C = fog(C, vsIn.t.z);
@@ -1045,7 +1045,7 @@ void ps_dither(inout vec3 C, float As)
10451045 #endif
10461046
10471047 float value = DitherMatrix[fpos.y & 3 ][fpos.x & 3 ];
1048-
1048+
10491049 // The idea here is we add on the dither amount adjusted by the alpha before it goes to the hw blend
10501050 // so after the alpha blend the resulting value should be the same as (Cs - Cd) * As + Cd + Dither.
10511051 #if PS_DITHER_ADJUST
@@ -1057,7 +1057,7 @@ void ps_dither(inout vec3 C, float As)
10571057
10581058 value *= Alpha > 0 .0f ? min (1 .0f / Alpha, 1 .0f) : 1 .0f;
10591059 #endif
1060-
1060+
10611061 #if PS_ROUND_INV
10621062 C -= value;
10631063 #else
@@ -1131,7 +1131,7 @@ void ps_blend(inout vec4 Color, inout vec4 As_rgba)
11311131 #else
11321132 float Ad = trunc(RT.a * 255 .0f + 0 .1f) / 128 .0f;
11331133 #endif
1134-
1134+
11351135 #if PS_SHUFFLE && PS_FEEDBACK_LOOP_IS_NEEDED_RT
11361136 uvec4 denorm_rt = uvec4 (RT);
11371137 #if (PS_PROCESS_BA & SHUFFLE_WRITE)
@@ -1472,7 +1472,7 @@ void main()
14721472 #elif (PS_AFAIL == AFAIL_ZB_ONLY) && PS_FEEDBACK_LOOP_IS_NEEDED_RT
14731473 if (! atst_pass)
14741474 o_col0 = sample_from_rt();
1475- #elif (PS_AFAIL == AFAIL_RGB_ONLY)
1475+ #elif (PS_AFAIL == AFAIL_RGB_ONLY)
14761476 if (! atst_pass)
14771477 {
14781478 #if PS_FEEDBACK_LOOP_IS_NEEDED_RT
@@ -1488,7 +1488,7 @@ void main()
14881488 #if PS_ZCLAMP
14891489 input_z = min (input_z, MaxDepthPS);
14901490 #endif
1491-
1491+
14921492 #if PS_ZWRITE
14931493 gl_FragDepth = input_z;
14941494 #endif
0 commit comments