VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

[Samplers] Patch: Simplify + Optimize Sampler Management

Open thr3343 opened this issue 6 months ago • 0 comments

Simplifies sampler management by using the special hardware constant VK_LOD_CLAMP_NONE

VK_LOD_CLAMP_NONE permits the sampler to use all available miplevels on the texture, allowing one Sampler to handle all possible mipmap levels, with the additional effect of removing the need to track maxLods for each respective sampler.

Potentially may give a slight performance improvement on some hardware as a result of the reduced sampler count

thr3343 avatar Aug 13 '24 11:08 thr3343