mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-29 04:44:15 +01:00
077f4f8f27
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.
63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
[Definition]
|
|
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
|
name = "Clarity"
|
|
path = "The Legend of Zelda: Breath of the Wild/Enhancements/Clarity"
|
|
description = Select the visual look of the game that you'll like with these hand-made presets that adjusts saturation, vibrance, colors and more. You can select a preset. Selecting "User-Defined" requires making your own preset. check the "BreathOfTheWild_Clarity/37040a485a29d54e_00000000000003c9_ps.txt" file in your graphicPacks folder to create one.
|
|
version = 4
|
|
|
|
[Preset]
|
|
name = Serfrost Preset (Default)
|
|
$preset:int = 10
|
|
|
|
[Preset]
|
|
name = Serfrost Preset (Dim Display)
|
|
$preset:int = 9
|
|
|
|
[Preset]
|
|
name = Serfrost Preset (Bright Display)
|
|
$preset:int = 8
|
|
|
|
[Preset]
|
|
name = Bruz Preset
|
|
$preset:int = 1
|
|
|
|
[Preset]
|
|
name = CellHunter Preset
|
|
$preset:int = 7
|
|
|
|
[Preset]
|
|
name = Jamie Preset
|
|
$preset:int = 3
|
|
|
|
[Preset]
|
|
name = BSoD Gaming Preset
|
|
$preset:int = 2
|
|
|
|
[Preset]
|
|
name = The Complaining Gamer Preset
|
|
$preset:int = 5
|
|
|
|
[Preset]
|
|
name = ViskClarity Preset
|
|
$preset:int = 11
|
|
|
|
[Preset]
|
|
name = Contrasty Preset
|
|
$preset:int = 4
|
|
|
|
[Preset]
|
|
name = Filmic Preset
|
|
$preset:int = 6
|
|
|
|
[Preset]
|
|
name = Survival of the Wild Preset (Warmer)
|
|
$preset:int = 12
|
|
|
|
[Preset]
|
|
name = Survival of the Wild Preset (Colder)
|
|
$preset:int = 13
|
|
|
|
[Preset]
|
|
name = User-Defined Preset
|
|
$preset:int = 0
|