mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-16 08:38:43 +00:00
vulkan: Respect maximum sampler LOD bias. (#1254)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user