Typo fix: comparaison->comparison

This commit is contained in:
Nekotekina 2016-07-19 14:06:01 +03:00
parent fc9fdca3f6
commit ceb4cb59ac
16 changed files with 114 additions and 114 deletions

View file

@ -298,22 +298,22 @@ void D3D12FragmentDecompiler::insertMainEnd(std::stringstream & OS)
{
switch (m_prog.alpha_func)
{
case rsx::comparaison_function::equal:
case rsx::comparison_function::equal:
OS << " if (isAlphaTested && Out." << first_output_name << ".a != alphaRef) discard;\n";
break;
case rsx::comparaison_function::not_equal:
case rsx::comparison_function::not_equal:
OS << " if (isAlphaTested && Out." << first_output_name << ".a == alphaRef) discard;\n";
break;
case rsx::comparaison_function::less_or_equal:
case rsx::comparison_function::less_or_equal:
OS << " if (isAlphaTested && Out." << first_output_name << ".a > alphaRef) discard;\n";
break;
case rsx::comparaison_function::less:
case rsx::comparison_function::less:
OS << " if (isAlphaTested && Out." << first_output_name << ".a >= alphaRef) discard;\n";
break;
case rsx::comparaison_function::greater:
case rsx::comparison_function::greater:
OS << " if (isAlphaTested && Out." << first_output_name << ".a <= alphaRef) discard;\n";
break;
case rsx::comparaison_function::greater_or_equal:
case rsx::comparison_function::greater_or_equal:
OS << " if (isAlphaTested && Out." << first_output_name << ".a < alphaRef) discard;\n";
break;
}