Eliminate SamplerCommon::AreBpTexMode0MipmapsEnabled
This was added in0b9a72a62dbut became irrelevant in70f9fc4e75as the check is now self-explanatory due to a rejiggering of the bitfields.
This commit is contained in:
1 parent
d2041b4c2a
commit
3096f77ba0
5 files changed
+10
-19
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user