summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_sampler_cache.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vk_sampler_cache: Emulate GL_LINEAR/NEAREST minification filtersMorph2020-06-181-2/+4
| | | | Emulate GL_LINEAR/NEAREST minification filters using minLod = 0 and maxLod = 0.25 during sampler creation
* vk_sampler_cache: Use VK_EXT_custom_border_color when availableReinUsesLisp2020-05-051-2/+11
| | | | | | | | This should fix grass interactions on Breath of the Wild on Vulkan. It is currently untested against validation layers. Nvidia's Windows 443.09 beta driver or Linux 440.66.12 is required for now.
* vulkan: Remove unnecessary includesLioncash2020-04-291-3/+0
| | | | | | | Reduces some header churn and reduces rebuilds when some header internals change. While we're at it we can also resolve a missing include in buffer_cache.
* renderer_vulkan: Drop Vulkan-HppReinUsesLisp2020-04-111-38/+38
|
* fixups mistake auto commit.Nguyen Dac Nam2020-02-181-9/+0
|
* Update code structureNguyen Dac Nam2020-02-181-0/+7
| | | Co-Authored-By: Mat M. <mathew1800@gmail.com>
* renderer_vulkan: Add the rest of case for TryConvertBorderColorNguyen Dac Nam2020-02-181-3/+10
|
* maxwell_to_vk: Implement GL_CLAMP hacking Nvidia's driverReinUsesLisp2020-01-101-3/+3
| | | | | | Nvidia's driver defaults invalid enumerations to GL_CLAMP. Vulkan doesn't expose GL_CLAMP through its API, but we can hack it on Nvidia's driver using the internal driver defaults.
* maxwell_to_vk: Approach GL_CLAMP closer to the GL specReinUsesLisp2019-12-131-3/+4
| | | | | | | The OpenGL spec defines GL_CLAMP's formula similarly to CLAMP_TO_EDGE and CLAMP_TO_BORDER depending on the filter mode used. It doesn't exactly behave like this, but it's the closest we can get with what Vulkan offers without emulating it by injecting shader code.
* video_core: Abstract vk_sampler_cache into a templated classReinUsesLisp2019-04-021-28/+12
|
* vk_sampler_cache: Use operator== instead of memcmpMat M2019-03-131-1/+1
| | | Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
* vk_sampler_cache: Implement a sampler cacheReinUsesLisp2019-03-131-0/+81