diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-13 06:38:34 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-13 07:12:28 +0100 |
commit | 15513f08011b92e5cfe12107e197547978e49c93 (patch) | |
tree | a4ed110ffbf6a70e97b8cdbf91395b42731ac235 /src/video_core/renderer_vulkan/vk_sampler_cache.cpp | |
parent | maxwell_to_vk: Use VK_EXT_index_type_uint8 when available (diff) | |
download | yuzu-15513f08011b92e5cfe12107e197547978e49c93.tar yuzu-15513f08011b92e5cfe12107e197547978e49c93.tar.gz yuzu-15513f08011b92e5cfe12107e197547978e49c93.tar.bz2 yuzu-15513f08011b92e5cfe12107e197547978e49c93.tar.lz yuzu-15513f08011b92e5cfe12107e197547978e49c93.tar.xz yuzu-15513f08011b92e5cfe12107e197547978e49c93.tar.zst yuzu-15513f08011b92e5cfe12107e197547978e49c93.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_sampler_cache.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_sampler_cache.cpp b/src/video_core/renderer_vulkan/vk_sampler_cache.cpp index 801826d3d..1ce583f75 100644 --- a/src/video_core/renderer_vulkan/vk_sampler_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_sampler_cache.cpp @@ -46,9 +46,10 @@ UniqueSampler VKSamplerCache::CreateSampler(const Tegra::Texture::TSCEntry& tsc) {}, MaxwellToVK::Sampler::Filter(tsc.mag_filter), MaxwellToVK::Sampler::Filter(tsc.min_filter), MaxwellToVK::Sampler::MipmapMode(tsc.mipmap_filter), - MaxwellToVK::Sampler::WrapMode(tsc.wrap_u), MaxwellToVK::Sampler::WrapMode(tsc.wrap_v), - MaxwellToVK::Sampler::WrapMode(tsc.wrap_p), tsc.GetLodBias(), has_anisotropy, - max_anisotropy, tsc.depth_compare_enabled, + MaxwellToVK::Sampler::WrapMode(tsc.wrap_u, tsc.mag_filter), + MaxwellToVK::Sampler::WrapMode(tsc.wrap_v, tsc.mag_filter), + MaxwellToVK::Sampler::WrapMode(tsc.wrap_p, tsc.mag_filter), tsc.GetLodBias(), + has_anisotropy, max_anisotropy, tsc.depth_compare_enabled, MaxwellToVK::Sampler::DepthCompareFunction(tsc.depth_compare_func), tsc.GetMinLod(), tsc.GetMaxLod(), vk_border_color.value_or(vk::BorderColor::eFloatTransparentBlack), unnormalized_coords); |