Skip to content

Commit

Permalink
Bump GLSL version to 430 (and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
goeiecool9999 committed Oct 29, 2024
1 parent 826bb92 commit e2e9e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cafe/HW/Latte/Renderer/RendererOuputShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit e2e9e81

Please sign in to comment.