1
1
Fork 0
forked from suyu/suyu

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

This commit is contained in:
wwylele 2017-04-20 22:56:07 +03:00
parent b624a95205
commit 2c2e872b31

View file

@ -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;