rsx: Implement interpolation using barycentrics

This commit is contained in:
kd-11 2022-12-05 22:28:43 +03:00 committed by kd-11
parent 1fd265d316
commit a0ef1a672c
13 changed files with 199 additions and 90 deletions

View file

@ -313,5 +313,15 @@ namespace rsx
}
}
}
void sort(std::predicate<const Ty&, const Ty&> auto predicate)
{
if (_size < 2)
{
return;
}
std::sort(begin(), end(), predicate);
}
};
}