mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-25 11:06:54 +01:00
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:
parent
3518768ff6
commit
b5260c80f3
@ -22,12 +22,12 @@
|
|||||||
#ifdef VULKAN
|
#ifdef VULKAN
|
||||||
layout(set = 1, binding = 3) uniform ufBlock
|
layout(set = 1, binding = 3) uniform ufBlock
|
||||||
{
|
{
|
||||||
uniform vec4 uf_fragCoordScale;
|
|
||||||
uniform ivec4 uf_remappedPS[1];
|
uniform ivec4 uf_remappedPS[1];
|
||||||
|
uniform vec4 uf_fragCoordScale;
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
uniform vec2 uf_fragCoordScale;
|
|
||||||
uniform ivec4 uf_remappedPS[1];
|
uniform ivec4 uf_remappedPS[1];
|
||||||
|
uniform vec2 uf_fragCoordScale;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const float hazeFactor = 0.1;
|
const float hazeFactor = 0.1;
|
||||||
|
Loading…
Reference in New Issue
Block a user