Hotfix for Mario Kart 8 Contrasty pack

Seems like something in the script isn't fixing the order of the glsl variables automatically, though the error ("This shader (with the current [preset name]) doesn't follow the uf_* variable order from Cemu itself, so it might've been messed with.") still got displayed.

Before I fix this problem with the script tomorrow (should be fine to continue to convert packs, just don't ignore the error thinking that it would be automatically fixed for now), I though that I would send this hotfix.
This commit is contained in:
Crementif 2020-01-02 06:17:27 +01:00
parent 3518768ff6
commit b5260c80f3
No known key found for this signature in database
GPG Key ID: 11A98E7DE0412B33

View File

@ -22,12 +22,12 @@
#ifdef VULKAN
layout(set = 1, binding = 3) uniform ufBlock
{
uniform vec4 uf_fragCoordScale;
uniform ivec4 uf_remappedPS[1];
uniform vec4 uf_fragCoordScale;
};
#else
uniform vec2 uf_fragCoordScale;
uniform ivec4 uf_remappedPS[1];
uniform vec2 uf_fragCoordScale;
#endif
const float hazeFactor = 0.1;