mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
vk: Disable anisotropy if the anisotropic level is meaningless
This commit is contained in:
parent
d13cf0e29a
commit
10af0e8c93
@ -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…
Reference in New Issue
Block a user