From f3d92dd3b82c921665b6071e1057cf7842080096 Mon Sep 17 00:00:00 2001 From: Vitor K Date: Thu, 17 Aug 2023 17:17:24 -0300 Subject: [PATCH] Fix post processing shaders crashing on Intel GPUs (#6890) --- src/video_core/renderer_opengl/post_processing_opengl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/renderer_opengl/post_processing_opengl.cpp b/src/video_core/renderer_opengl/post_processing_opengl.cpp index 1e479b65fc..3f26ee3cbb 100644 --- a/src/video_core/renderer_opengl/post_processing_opengl.cpp +++ b/src/video_core/renderer_opengl/post_processing_opengl.cpp @@ -41,9 +41,9 @@ constexpr char dolphin_shader_header[] = R"( #define lerp mix // Output variable -out float4 color; +layout (location = 0) out float4 color; // Input coordinates -in float2 frag_tex_coord; +layout (location = 0) in float2 frag_tex_coord; // Resolution uniform float4 i_resolution; uniform float4 o_resolution;