vulkan: Respect maximum sampler LOD bias. (#1254)

This commit is contained in:
squidbus 2024-10-05 15:05:24 -07:00 committed by GitHub
parent 8576d5e72c
commit 5bb45dc7ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -222,6 +222,11 @@ public:
return properties.limits.maxTexelBufferElements;
}
/// Returns the maximum sampler LOD bias.
float MaxSamplerLodBias() const {
return properties.limits.maxSamplerLodBias;
}
/// Returns the maximum number of push descriptors.
u32 MaxPushDescriptors() const {
return push_descriptor_props.maxPushDescriptors;