VK_EXT_sampler_filter_minmax
Other Extension Metadata
Last Modified Date
2017-05-19
IP Status
No known IP claims.
Contributors
- Jeff Bolz, NVIDIA
- Piers Daniell, NVIDIA
Description
In unextended Vulkan, minification and magnification filters such as LINEAR allow sampled image lookups to return a filtered texel value produced by computing a weighted average of a collection of texels in the neighborhood of the texture coordinate provided.
This extension provides a new sampler parameter which allows applications to produce a filtered texel value by computing a component-wise minimum (MIN) or maximum (MAX) of the texels that would normally be averaged. The reduction mode is orthogonal to the minification and magnification filter parameters. The filter parameters are used to identify the set of texels used to produce a final filtered value; the reduction mode identifies how these texels are combined.
Promotion to Vulkan 1.2
All functionality in this extension is included in core Vulkan 1.2, with the EXT suffix omitted. The original type, enum, and command names are still available as aliases of the core functionality.
New Structures
- Extending VkPhysicalDeviceProperties2:
- Extending VkSamplerCreateInfo:
New Enums
New Enum Constants
VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAMEVK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION- Extending VkFormatFeatureFlagBits:
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
- Extending VkSamplerReductionMode:
VK_SAMPLER_REDUCTION_MODE_MAX_EXTVK_SAMPLER_REDUCTION_MODE_MIN_EXTVK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT
- Extending VkStructureType:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXTVK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT
Version History
- Revision 2, 2017-05-19 (Piers Daniell)
- Renamed to EXT
- Revision 1, 2017-03-25 (Jeff Bolz)
- Internal revisions