Eliminate SamplerCommon::AreBpTexMode0MipmapsEnabled

This was added in 0b9a72a62d but became irrelevant in 70f9fc4e75 as the check is now self-explanatory due to a rejiggering of the bitfields.
This commit is contained in:
Pokechu22
2021-08-08 11:05:32 -07:00
parent d2041b4c2a
commit 3096f77ba0
5 changed files with 10 additions and 19 deletions

View File

@ -17,11 +17,4 @@ constexpr bool IsBpTexMode0PointFiltering(const T& tm0)
{
return tm0.min_filter == FilterMode::Near && tm0.mag_filter == FilterMode::Near;
}
// Check if the minification filter has mipmap based filtering modes enabled.
template <class T>
constexpr bool AreBpTexMode0MipmapsEnabled(const T& tm0)
{
return tm0.mipmap_filter != MipMode::None;
}
} // namespace SamplerCommon