Skip to content
Snippets Groups Projects
Commit 539036a9 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Marge Bot
Browse files

zink: fix emulation of no mipfilter

This approach is taken from the Vulkan spec[1], where a robust maxLod
of 0.25 is proposed instead of 0.0.

This has the effect of allowing room for both minification and
magnification filters, yet still rounding down to the right miplevel in
the end.

[1]: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerCreateInfo.html#_description



Fixes: 8d46e35d ("zink: introduce opengl over vulkan")
Reviewed-By: default avatarMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <!9649>
parent ed7c6e46
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment