From 2c2e872b318dee94057461a24c5915e8e0ebc844 Mon Sep 17 00:00:00 2001 From: wwylele Date: Thu, 20 Apr 2017 22:56:07 +0300 Subject: gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware --- src/video_core/renderer_opengl/gl_shader_gen.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp index 8be4171fc..193cb13bd 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -214,8 +214,6 @@ static void AppendColorCombiner(std::string& out, TevStageConfig::Operation oper out += variable_name + "[0] + " + variable_name + "[1] - vec3(0.5)"; break; case Operation::Lerp: - // TODO(bunnei): Verify if HW actually does this per-component, otherwise we can just use - // builtin lerp out += variable_name + "[0] * " + variable_name + "[2] + " + variable_name + "[1] * (vec3(1.0) - " + variable_name + "[2])"; break; -- cgit v1.2.3