gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware

merge-requests/60/head
wwylele 2017-04-20 22:56:07 +07:00
parent b624a95205
commit 2c2e872b31
1 changed files with 0 additions and 2 deletions

@ -214,8 +214,6 @@ static void AppendColorCombiner(std::string& out, TevStageConfig::Operation oper
out += variable_name + "[0] + " + variable_name + "[1] - vec3(0.5)"; out += variable_name + "[0] + " + variable_name + "[1] - vec3(0.5)";
break; break;
case Operation::Lerp: 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 + out += variable_name + "[0] * " + variable_name + "[2] + " + variable_name +
"[1] * (vec3(1.0) - " + variable_name + "[2])"; "[1] * (vec3(1.0) - " + variable_name + "[2])";
break; break;