mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-01 08:13:16 +00:00
vulkan: Respect maximum sampler LOD bias. (#1254)
This commit is contained in:
parent
8576d5e72c
commit
5bb45dc7ba
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue