citra-emu
/
citra-canary
Archived
1
0
Fork 0

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
1 changed files with 0 additions and 2 deletions

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;