mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Merge pull request #4131 from DanyalZia/patch-20
Fix AMD crash issue in inversecolors.fsh
This commit is contained in:
commit
9fe34bbd36
@ -14,6 +14,6 @@ void main() {
|
||||
vec3 gray = vec3(luma, luma, luma) - 0.5;
|
||||
rgb -= vec3(0.5, 0.5, 0.5);
|
||||
|
||||
gl_FragColor.rgb = saturate(mix(rgb, gray, 2.0) + 0.5);
|
||||
gl_FragColor.rgb = mix(rgb, gray, 2.0) + 0.5;
|
||||
gl_FragColor.a = 1.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user