cemu_graphic_packs/Workarounds
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_Portal [Bayonetta 2] Add portal workaround pack 2019-05-26 17:12:48 +02:00
BreathOfTheWild_!ShadowFix [BotW] Group GPU workarounds to tidy stuff up 2019-06-13 17:58:41 +02:00
BreathOfTheWild_AMD_ShaderCrash [BotW] Add another shader to AMD crash pack 2019-06-20 11:59:46 +02:00
BreathOfTheWild_Intel_FlippedLights [BotW] Group GPU workarounds to tidy stuff up 2019-06-13 17:58:41 +02:00
BreathOfTheWild_Intel_RemoveBloom [BotW] Group GPU workarounds to tidy stuff up 2019-06-13 17:58:41 +02:00
BreathOfTheWild_KakarikoShadows Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
BreathOfTheWild_LwzxNullCheck Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
BreathOfTheWild_NVIDIASmoke [BotW] Group GPU workarounds to tidy stuff up 2019-06-13 17:58:41 +02:00
BreathOfTheWild_removeStretchedClouds Add Exzap's remove stretched clouds workaround 2019-05-09 22:33:43 -07:00
ColorSplash_GreenCharactersTint Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
eShop_RemoveGrayOverlay Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
HyruleWarriors_DLCFix Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
HyruleWarriors_EnemyDeathFix Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
MarioKart8_OnlineDesync Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
NewSuperMarioBrosU_CrashFix Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
SonicLostWorld_Brightness Update SLW Brightness workaround to v4 2019-11-18 12:18:58 -08:00
SuperMarioMaker_BorderFix Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
SuperMarioMaker_GridFix Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00
SuperSmashBros_NoPixelMess Super Smash Bros Pixel-Mess Revert (#266) 2018-11-12 18:20:29 -07:00
WindWakerHD_FPSSlowdownFix Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
WindWakerHD_IntelFixes Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
WindWakerHD_PictoBox Update all non-shader graphic packs to version 4 2019-11-16 23:56:07 -08:00
Wonderful101_ShadowRemoval Fix shader errors and shader cleanup 2019-11-29 00:51:00 +01:00
XenobladeX_Brightness Revert "Improve performance with (almost) every game" 2019-04-01 19:54:41 -07:00