cemu_graphic_packs/Enhancements
Crementif 077f4f8f27
Fix shader errors and shader cleanup
Since I wanted to make sure that I didn't broke the shaders after converting the shaders to Vulkan, we need to check if all the shaders weren't broken. Since we're talking about like 400 shaders checking all of them is pretty much impossible and even then, 

So, the obvious solution was to automate the checking. Not as simple as you'd think, because in 300 of our shaders we use preset variables which without replacing the value like Cemu does, will make the shader error regardless. So I also implemented some functionality that would read the preset values and types out of the rules.txt file and replace them in the shaders using that information. And then we use Khronos' glslang to compile the shaders, using both OpenGL and Vulkan.

The result was that glslang found quite a few errors in some of the shaders, which I fixed in this commit. I'm considering adding this rules.txt parsing and automated shader compilation testing to the build process.

Also, I fixed Clarity's name and description since Monochromia isn't available anymore and Xenoblade's resolution pack had a lot of weird blank lines before their #version declaration, which my converter didn't like.
2019-11-29 00:51:00 +01:00
..
Bayonetta2_Contrasty Fix shader errors and shader cleanup 2019-11-29 00:51:00 +01:00
Bayonetta2_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
Bayonetta_Contrasty Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
BreathOfTheWild_!NoAO BotW no AO pack 2019-06-01 20:23:01 -07:00
BreathOfTheWild_!NoDoF Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
BreathOfTheWild_AntiAliasing Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
BreathOfTheWild_Clarity Fix shader errors and shader cleanup 2019-11-29 00:51:00 +01:00
BreathOfTheWild_LODBias Update some graphic packs to version 4 2019-11-16 04:54:26 +01:00
BreathOfTheWild_ReflExtra Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
BreathOfTheWild_Shadows Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
DonkeyKongTropicalFreeze_!AARemoval Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
DrLuigi_!AntiAliasing Fix shader errors and shader cleanup 2019-11-29 00:51:00 +01:00
FatalFrameProjectZero_FilmGrain Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
FatalFrameProjectZero_LODBias Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
HyruleWarriors_Contrasty [Hyrule Warriors] Add new preset to Contrasty 2019-09-02 21:54:48 +02:00
M&SRio2016_NoHUD Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
MarioKart8_Bloom fix default bloom preset names 2018-11-03 21:50:53 -07:00
MarioKart8_Contrasty BotwFxaa Improvement and Mario Kart 8 Contrasty Error Fix (#289) 2018-12-04 01:27:49 -07:00
MarioKart8_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
MarioTennis_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
NewSuperMarioBrosU_FancyFX Fix shader errors and shader cleanup 2019-11-29 00:51:00 +01:00
NinjaGaiden3_Contrasty Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
NintendoLand_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
Pikmin3_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
PokkenTournament_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
RiseOfLyric_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
SkylandersImaginators_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
Splatoon_Bloom fix default bloom preset names 2018-11-03 21:50:53 -07:00
Splatoon_Shadows Replace with 1.14.0 repository 2018-10-31 11:03:04 +01:00
SuperMario3DWorld_Contrasty Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
SuperMario3DWorld_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
SuperSmashBros_Contrasty Revert "[TP] Ultrawide in scale with res [Contrasty] less default sharpness mix" 2018-11-02 21:17:56 +01:00
SuperSmashBros_NoBoxingRingScreen Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
SuperSmashBros_Shadows Replace with 1.14.0 repository 2018-10-31 11:03:04 +01:00
TokyoMirage_!AARemoval Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
TokyoMirage_!VideoPanNScan Fix shader errors and shader cleanup 2019-11-29 00:51:00 +01:00
TokyoMirage_AdjustBlur Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
TokyoMirage_Contrasty Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
TokyoMirage_NegLod Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
TwilightPrincessHD_Bicubic [TPHD] Fix error 2019-10-23 21:14:48 +02:00
TwilightPrincessHD_Contrasty Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
TwilightPrincessHD_FancyFX [TPHD] Fx fix menu bg 2019-09-03 23:07:26 +02:00
TwilightPrincessHD_NegativeLOD Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
VCGBA_Undarken Move GBA undarken to a separate pack 2019-06-09 20:19:17 -07:00
VCN64_Undarken [BotW] Group GPU workarounds to tidy stuff up 2019-06-13 17:58:41 +02:00
VCNES_Undarken [BotW] Group GPU workarounds to tidy stuff up 2019-06-13 17:58:41 +02:00
WindWakerHD_Contrasty [Bayonetta 2] Add portal workaround pack 2019-05-26 17:12:48 +02:00
WindWakerHD_LODBias Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
WindWakerHD_NoSSAO Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
WindWakerHD_Resolution_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
XenobladeX_AntiAliasing Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
XenobladeX_Contrasty Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
XenobladeX_FancyFX Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
XenobladeX_NegativeLOD Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
YoshisWoollyWorld_Shadows Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
ZombiU_ChromaticAberration Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
ZombiU_LessLensDirt Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00