mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12: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.addressModeU = clamp_u;
|
||||||
info.addressModeV = clamp_v;
|
info.addressModeV = clamp_v;
|
||||||
info.addressModeW = clamp_w;
|
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.compareEnable = depth_compare;
|
||||||
info.unnormalizedCoordinates = unnormalized_coordinates;
|
info.unnormalizedCoordinates = unnormalized_coordinates;
|
||||||
info.mipLodBias = mipLodBias;
|
info.mipLodBias = mipLodBias;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue