blob: d0f5e02dcd6a2f68add944075878ed97a986e280 [file] [log] [blame]
include::meta/VK_EXT_sampler_filter_minmax.txt[]
*Last Modified Date*::
2017-05-19
*IP Status*::
No known IP claims.
*Contributors*::
- Jeff Bolz, NVIDIA
- Piers Daniell, NVIDIA
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.
=== New Object Types
None.
=== New Enum Constants
* Extending elink:VkStructureType:
** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT
** ename:VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT
* Extending elink:VkFormatFeatureFlagBits
** ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
=== New Enums
* elink:VkSamplerReductionModeEXT
=== New Structures
* slink:VkSamplerReductionModeCreateInfoEXT
* slink:VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
=== New Functions
None.
=== New Built-In Variables
None.
=== New SPIR-V Capabilities
None.
=== Issues
None.
=== Examples
None.
=== Version History
* Revision 2, 2017-05-19 (Piers Daniell)
- Renamed to EXT
* Revision 1, 2017-03-25 (Jeff Bolz)
- Internal revisions