mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Typo fix: comparaison->comparison
This commit is contained in:
parent
fc9fdca3f6
commit
ceb4cb59ac
16 changed files with 114 additions and 114 deletions
|
|
@ -233,22 +233,22 @@ void GLFragmentDecompilerThread::insertMainEnd(std::stringstream & OS)
|
|||
{
|
||||
switch (m_prog.alpha_func)
|
||||
{
|
||||
case rsx::comparaison_function::equal:
|
||||
case rsx::comparison_function::equal:
|
||||
OS << " if (bool(alpha_test) && " << first_output_name << ".a != alpha_ref) discard;\n";
|
||||
break;
|
||||
case rsx::comparaison_function::not_equal:
|
||||
case rsx::comparison_function::not_equal:
|
||||
OS << " if (bool(alpha_test) && " << first_output_name << ".a == alpha_ref) discard;\n";
|
||||
break;
|
||||
case rsx::comparaison_function::less_or_equal:
|
||||
case rsx::comparison_function::less_or_equal:
|
||||
OS << " if (bool(alpha_test) && " << first_output_name << ".a > alpha_ref) discard;\n";
|
||||
break;
|
||||
case rsx::comparaison_function::less:
|
||||
case rsx::comparison_function::less:
|
||||
OS << " if (bool(alpha_test) && " << first_output_name << ".a >= alpha_ref) discard;\n";
|
||||
break;
|
||||
case rsx::comparaison_function::greater:
|
||||
case rsx::comparison_function::greater:
|
||||
OS << " if (bool(alpha_test) && " << first_output_name << ".a <= alpha_ref) discard;\n";
|
||||
break;
|
||||
case rsx::comparaison_function::greater_or_equal:
|
||||
case rsx::comparison_function::greater_or_equal:
|
||||
OS << " if (bool(alpha_test) && " << first_output_name << ".a < alpha_ref) discard;\n";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue