diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp index 16ab3f0a5..efe3dda78 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -199,7 +199,7 @@ static void AppendColorCombiner(std::string& out, TevStageConfig::Operation oper out += "min(" + variable_name + "[0] + " + variable_name + "[1], vec3(1.0)) * " + variable_name + "[2]"; break; case Operation::Dot3_RGB: - out += "dot(" + variable_name + "[0], " + variable_name + "[1])"; + out += "vec3(dot(" + variable_name + "[0], " + variable_name + "[1]))"; break; default: out += "vec3(0.0)";