VK_QCOM_filter_cubic_weights

Other Extension Metadata

Last Modified Date

2023-06-23

Contributors
  • Jeff Leger, Qualcomm Technologies, Inc.
  • Jonathan Wicks, Qualcomm Technologies, Inc.

Description

This extension extends cubic filtering by adding the ability to select a set of weights. Without this extension, the weights used in cubic filtering are limited to those corresponding to a Catmull-Rom spline. This extension adds support for 3 additional spline weights.

This extension adds a new structure that can be added to the pNext chain of VkSamplerCreateInfo that can be used to specify which set of cubic weights are used in cubic filtering. A similar structure can be added to the pNext chain of VkBlitImageInfo2 to specify cubic weights used in a blit operation.

With this extension weights corresponding to the following additional splines can be selected for cubic filtered sampling and blits:

  • Zero Tangent Cardinal
  • B-Spline
  • Mitchell-Netravali

New Structures

New Enums

New Enum Constants

  • VK_QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME
  • VK_QCOM_FILTER_CUBIC_WEIGHTS_SPEC_VERSION
  • Extending VkStructureType:
    • VK_STRUCTURE_TYPE_BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM
    • VK_STRUCTURE_TYPE_SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM

Version History

  • Revision 1, 2023-06-23 (jleger)
    • Initial version