mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
vk: Disable anisotropy if the anisotropic level is meaningless
This commit is contained in:
parent
d13cf0e29a
commit
10af0e8c93
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ namespace vk
|
|||
info.addressModeU = clamp_u;
|
||||
info.addressModeV = clamp_v;
|
||||
info.addressModeW = clamp_w;
|
||||
info.anisotropyEnable = dev.get_anisotropic_filtering_support();
|
||||
info.anisotropyEnable = max_anisotropy >= 2. && dev.get_anisotropic_filtering_support();
|
||||
info.compareEnable = depth_compare;
|
||||
info.unnormalizedCoordinates = unnormalized_coordinates;
|
||||
info.mipLodBias = mipLodBias;
|
||||
|
|
Loading…
Add table
Reference in a new issue