Bump GLSL version to 430 (and formatting

This commit is contained in:
goeiecool9999 2024-10-30 00:59:21 +01:00
parent 826bb92d56
commit e2e9e81c3e

View File

@ -284,7 +284,7 @@ void main(){
std::string RendererOutputShader::PrependFragmentPreamble(const std::string& shaderSrc)
{
return R"(#version 420
return R"(#version 430
#ifdef VULKAN
layout(push_constant) uniform pc {
vec2 textureSrcResolution;
@ -298,7 +298,7 @@ uniform vec2 outputResolution;
#endif
layout(location = 0) in vec2 passUV;
layout(binding=0) uniform sampler2D textureSrc;
layout(binding = 0) uniform sampler2D textureSrc;
layout(location = 0) out vec4 colorOut0;
)" + shaderSrc;
}