mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 17:49:17 +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. |
||
---|---|---|
.. | ||
0b8b33c2f133a514_0000000000000000_vs.txt | ||
0dbac1e3ebdc5c02_0000000000000000_vs.txt | ||
1f915b133a255dab_0000000000000000_vs.txt | ||
3fae14064195391b_0000000000000000_vs.txt | ||
4c66e611ad14aabe_0000000000000000_vs.txt | ||
5a41baf724c1cff3_0000000000000000_vs.txt | ||
7d2d26ba00a66735_0000000000000000_vs.txt | ||
7ec11ebc6ad99936_0000000000000000_vs.txt | ||
9bc5e526132c9534_0000000000000000_vs.txt | ||
9dc2d340255dee89_0000000000000000_vs.txt | ||
14f760ff4d6b05f5_0000000000000000_vs.txt | ||
21eafb6c514a4b35_0000000000000000_vs.txt | ||
90bdbafc1c764ae6_0000000000000000_vs.txt | ||
330acac562ddee2b_0000000000000000_vs.txt | ||
610a9c4cb60b0bdf_0000000000000000_vs.txt | ||
738c509776f2c113_0000000000000000_vs.txt | ||
8236d4df96d36e25_0000000000000000_vs.txt | ||
20075cc6cf058a84_0000000000000000_vs.txt | ||
007148d1db7f78e7_0000000000000000_vs.txt | ||
948500d0191d1ed8_0000000000000000_vs.txt | ||
2716141e287247da_0000000000000000_vs.txt | ||
6093720c5ca6289c_0000000000000000_vs.txt | ||
622450648ddbf1b2_0000000000000000_vs.txt | ||
a225baec4db6d89e_0000000000000000_vs.txt | ||
ba529c2c3078fff0_0000000000000000_vs.txt | ||
c01cc5b7af21f689_0000000000000000_vs.txt | ||
ccc6fb8b53f5f651_0000000000000000_vs.txt | ||
ccc475eb7e537add_0000000000000000_vs.txt | ||
d7074f19f5ca3b20_0000000000000000_vs.txt | ||
d321199dc854621f_0000000000000000_vs.txt | ||
d0664898dbf28dfa_0000000000000000_vs.txt | ||
df832bc2e6d22e45_0000000000000000_vs.txt | ||
dfacd3f8f448aeaa_0000000000000000_vs.txt | ||
e99ed318f647e1cf_0000000000000000_vs.txt | ||
e082c1f638f8e81e_0000000000000000_vs.txt | ||
ec248df3384d3d18_0000000000000000_vs.txt | ||
eec2c2cee7a1d42f_0000000000000000_vs.txt | ||
fa7054d25fd49999_0000000000000000_vs.txt | ||
fdb5a87dd0368c6b_000000000000f249_ps.txt | ||
patches.txt | ||
rules.txt |