Commit Graph

75 Commits

Author SHA1 Message Date
Henrik Rydgård
0e65b86e0a Address feedback (preserve alpha-ignoring equality checks) 2021-12-12 23:21:28 +01:00
Henrik Rydgård
fb3b7f8e23 Optimize the xBRZ texture scaling shaders by 30% on Adreno, less on Mali 2021-12-12 23:21:26 +01:00
Henrik Rydgård
628363e303 fmt 2021-12-12 23:20:56 +01:00
Henrik Rydgård
10db19efc4 Add a 2x2 downsampled version of 4xBRZ as 2xBRZ (save memory bandwidth)
fmt
2021-12-12 23:19:29 +01:00
Henrik Rydgård
7e097084a6 Make a copy of tex_4xbrz 2021-12-12 23:07:11 +01:00
iota97
6d38ea31df Make CRT animation speed configurable 2021-11-27 10:53:28 +01:00
Henrik Rydgård
b152dc1b5a Remove ARM Mali blacklisting for 4xBRZ, works now 2021-11-07 16:48:56 +01:00
Henrik Rydgård
43dc54bc4a Comment fix, remove assert 2021-11-07 16:30:47 +01:00
Henrik Rydgård
5654d3c9ed Fix edge conditions in 4xXBZR 2021-11-07 15:51:58 +01:00
Henrik Rydgård
281ddc2437 Speed up the 4xBRZ upscaler with 16x and the MMPX one with 4x by not doing redundant work 2021-11-07 15:47:05 +01:00
Henrik Rydgård
6349704924 Switch texture scaling shaders to a fixed scale model, preparing for the next change. 2021-11-07 13:12:28 +01:00
Henrik Rydgård
992ad801e7 Add a crude way to blacklist post/texture shaders from certain vendors.
Use it to work around #14530 for now.
2021-09-28 23:39:52 +02:00
Unknown W. Brackets
9a812f7f0b Shaders: Set vert shaders to mediump by default.
Seeing errors in logs about precision not agreeing.
2021-04-10 13:41:41 -07:00
Henrik Rydgård
bcd7856aaf Specify MaxScale=2 for the new MMPX texture scaling shader 2021-01-28 11:17:17 +01:00
Unknown W. Brackets
c99b4b118a Vulkan: Add MMPX upscaling texture shader.
See https://casual-effects.com/research/McGuire2021PixelArt/index.html
2021-01-28 00:38:53 -08:00
iota97
16e54c6300 Clean up psp_color shader 2020-11-22 20:28:17 +01:00
Leo
5c387ce413
Removed unused texel info 2020-10-15 19:01:24 +03:30
Leo
f3514704b1
Added new vertex shader file naturalA.vsh
This fixes the trembling issue
2020-10-15 18:57:24 +03:30
Leo
370d6ef62d
Removed unnecessary vertex coords 2020-10-15 18:56:04 +03:30
Leo
6c2aa86225
Replaced shader vertex file for naturalA
Vertex shader file is different now. Not sure why I was using the old one anyway.
2020-10-15 18:54:50 +03:30
RokkumanX
0f34a7427b
Add PSP color shader
This adds the PSP color shader ported from RetroArch courtesy from @jdgleaver (https://forums.ppsspp.org/showthread.php?tid=6594&pid=130635#pid130635) to PPSSPP

Also updated with up to date changes found here (https://github.com/libretro/glsl-shaders/blob/master/handheld/shaders/color/psp-color.glsl)
2020-09-28 09:31:33 +02:00
Unknown W. Brackets
d99e67a061 Vulkan: Allow custom texture upscaling shaders.
Let's not just hardcode.
2020-08-01 22:00:04 -07:00
vnctdj
b0221a9064 Reuse some already translated strings
+ fix a typo
2020-06-20 23:48:11 +02:00
iota97
b07874cd00 Fix per game setting and pack setting in vec4 2020-05-16 09:27:53 +02:00
iota97
a666635fa2 Post shader setting uniform 2020-05-15 18:08:52 +02:00
Henrik Rydgård
42a73e4c76 Fix minor bug in natural.vsh, which caused a gl_error that I ran into when tracing another bug 2018-10-20 12:15:58 +02:00
LunaMoo
ffac542f95 Change to int to allow higher supersampling scale. 2018-04-02 13:44:28 +02:00
LunaMoo
199106cad6 Add SSAA flag for post process shaders,
enforces 2x auto resolution, to be used with blurry effects
Also includes a perf. friendly example using simplified gauss filter
2018-04-01 17:00:10 +02:00
Leo
c637023cd6 Fixed the new shader error on OpenGL ES (#10799)
* Fixed the new shader error on OpenGL ES

* Fixed Natural Color PP shader error on OpenGL ES

* Updated to match the changes.

* Delete naturalA.vsh
2018-03-26 21:28:32 +02:00
LunaMoo
296481703f Quick try on fixing new shader for mobiles that are less forgiving. 2018-03-25 16:54:41 +02:00
Leo
8e8c21fa0b Added new Natural Colors PP shader (removed blur) (#10782)
Add Natural Colors shader with removed blur.
2018-03-24 20:51:38 +01:00
LunaMoo
5b75d2af20 Add uniform to make post process aware of videos.
And an example effect ~ subtle AA in-game/heavy smoothing for videos.
2017-09-13 08:13:51 +02:00
LunaMoo
20aa1f8250 Remove obsolete workaround. 2017-05-31 15:00:30 +02:00
LunaMoo
8f16c9ded6 Revert "Fix minor glitch with 5xBR effects." 2017-03-23 08:35:17 +01:00
LunaMoo
1f1db63068 Fix minor glitch with 5xBR effects. 2017-03-22 23:56:52 +01:00
LunaMoo
f71759020d Skip 5xBR based upscaling if output < (1.6 * input) 2017-03-16 13:46:43 +01:00
LunaMoo
1b39c3cb17 Add Hyllian's xBR-lv2 Shader Accuracy (tweak by guest.r) 2017-03-16 06:59:28 +01:00
LunaMoo
2b0ab12c4d Add PostShader option to force 60fps for animated effects 2017-03-05 15:04:22 +01:00
LunaMoo
d6c2944aac Minor workaround for 5xBR,
Also screen scaling filter for upscaling filters that also happen to use postShaderAtOutputResolution_.
2017-02-23 22:54:50 +01:00
LunaMoo
f9df189cca This could be a problem on less forgiving drivers, sorry. 2016-11-05 06:08:49 +01:00
LunaMoo
c7e2d1b7c7 Make 4xHQ look good without tweaking. 2016-10-18 10:38:23 +02:00
LunaMoo
9543250863 Add new postshader setting "upscaling" 2015-10-14 18:32:13 +02:00
LunaMoo
23cfdd8110 Add 5xBR and scaling to existing 4xHQ 2015-10-03 07:20:08 +02:00
Henrik Rydgård
462c261e31 One more fix in crt.fs 2014-04-22 09:12:18 +02:00
raven02
3bd9449c77 Fix CRT shader 2014-04-22 14:57:50 +08:00
Henrik Rydgard
20d4c34ff5 Add KillaMaakis CRT post shader 2013-12-11 09:37:05 +01:00
Henrik Rydgard
7eaec209d3 Set alpha to 1.0 in all the post shaders. Not that it should be required, but definitely recommended. 2013-12-04 15:38:38 +01:00
danyalzia
0bf06010bc Fix a stupid bug in bloom 2013-10-31 21:30:24 +05:00
Henrik Rydgard
b9c908ba3f Update post-processing shaders to work again after removing u_viewproj.
Initialize some uninitialized variables.
2013-10-31 00:07:55 +01:00
danyalzia
950c961dbc Shader Improvements and cleanup
Added sharpen shader

Added support for bloom and sharpen shader

cleanup

cleanup
2013-10-30 00:33:21 +05:00