gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware
This commit is contained in:
parent
b624a95205
commit
2c2e872b31
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue