diff --git a/src/ZombiU/Enhancements/ChromaticAberration/949069c3567f349d_0000000000000079_ps.txt b/src/ZombiU/Enhancements/ChromaticAberration/949069c3567f349d_0000000000000079_ps.txt index c725147c..678a041f 100644 --- a/src/ZombiU/Enhancements/ChromaticAberration/949069c3567f349d_0000000000000079_ps.txt +++ b/src/ZombiU/Enhancements/ChromaticAberration/949069c3567f349d_0000000000000079_ps.txt @@ -1,4 +1,4 @@ -#version 450 +#version 430 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN diff --git a/src/ZombiU/Enhancements/LessLensDirt/ee4bd70a942d3687_00000000000003c9_ps.txt b/src/ZombiU/Enhancements/LessLensDirt/ee4bd70a942d3687_00000000000003c9_ps.txt index 1d849d0f..dee53be9 100644 --- a/src/ZombiU/Enhancements/LessLensDirt/ee4bd70a942d3687_00000000000003c9_ps.txt +++ b/src/ZombiU/Enhancements/LessLensDirt/ee4bd70a942d3687_00000000000003c9_ps.txt @@ -1,4 +1,4 @@ -#version 450 +#version 430 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN diff --git a/src/ZombiU/Graphics/9993b65e9eb6bb1d_0000000000000079_ps.txt b/src/ZombiU/Graphics/9993b65e9eb6bb1d_0000000000000079_ps.txt index 009e6dec..d0bc554a 100644 --- a/src/ZombiU/Graphics/9993b65e9eb6bb1d_0000000000000079_ps.txt +++ b/src/ZombiU/Graphics/9993b65e9eb6bb1d_0000000000000079_ps.txt @@ -1,4 +1,4 @@ -#version 450 +#version 430 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN diff --git a/src/ZombiU/Graphics/d121b990e877579c_0000000000079249_ps.txt b/src/ZombiU/Graphics/d121b990e877579c_0000000000079249_ps.txt index 4888c58a..44b323f4 100644 --- a/src/ZombiU/Graphics/d121b990e877579c_0000000000079249_ps.txt +++ b/src/ZombiU/Graphics/d121b990e877579c_0000000000079249_ps.txt @@ -1,4 +1,4 @@ -#version 460 +#version 430 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN @@ -11,7 +11,7 @@ #define gl_InstanceID gl_InstanceIndex #else #define ATTR_LAYOUT(__vkSet, __location) layout(location = __location) -#define UNIFORM_BUFFER_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation, std140) +#define UNIFORM_BUFFER_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation, std140) #define TEXTURE_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation) #define SET_POSITION(_v) gl_Position = _v #define GET_FRAGCOORD() vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw) @@ -21,7 +21,7 @@ // shader d121b990e877579c //shadow penumbra const float resXScale = float($width)/float($gameWidth); -const float resYScale = float($height)/float($gameHeight); +const float resYScale = float($height)/float($gameHeight); #ifdef VULKAN layout(set = 1, binding = 5) uniform ufBlock