texture_cache: Enable anisotropic filtering (#1872)

This commit is contained in:
Quang Ngô 2024-12-27 21:47:26 +07:00 committed by GitHub
parent a86ee7e7f5
commit 0351b864d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 41 additions and 0 deletions

View file

@ -249,6 +249,11 @@ public:
return properties.limits.maxSamplerLodBias;
}
/// Returns the maximum sampler anisotropy.
float MaxSamplerAnisotropy() const {
return properties.limits.maxSamplerAnisotropy;
}
/// Returns the maximum number of push descriptors.
u32 MaxPushDescriptors() const {
return push_descriptor_props.maxPushDescriptors;