Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_QCOM_filter_cubic_weights - device extension
VK_QCOM_filter_cubic_weights
- Name String
VK_QCOM_filter_cubic_weights
- Extension Type
- Device extension
- Registered Extension Number
- 520
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_EXT_filter_cubic
- Contact
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 SamplerCreateInfo
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
BlitImageInfo2
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
Extending
BlitImageInfo2
:
Extending
PhysicalDeviceFeatures2
,DeviceCreateInfo
:Extending
SamplerCreateInfo
:
New Enums
New Enum Constants
Version History
Revision 1, 2023-06-23 (jleger)
- Initial version
See Also
BlitImageCubicWeightsInfoQCOM
, CubicFilterWeightsQCOM
,
PhysicalDeviceCubicWeightsFeaturesQCOM
,
SamplerCubicWeightsCreateInfoQCOM
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- data PhysicalDeviceCubicWeightsFeaturesQCOM = PhysicalDeviceCubicWeightsFeaturesQCOM {}
- data SamplerCubicWeightsCreateInfoQCOM = SamplerCubicWeightsCreateInfoQCOM {}
- data BlitImageCubicWeightsInfoQCOM = BlitImageCubicWeightsInfoQCOM {}
- newtype CubicFilterWeightsQCOM where
- CubicFilterWeightsQCOM Int32
- pattern CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM :: CubicFilterWeightsQCOM
- pattern CUBIC_FILTER_WEIGHTS_ZERO_TANGENT_CARDINAL_QCOM :: CubicFilterWeightsQCOM
- pattern CUBIC_FILTER_WEIGHTS_B_SPLINE_QCOM :: CubicFilterWeightsQCOM
- pattern CUBIC_FILTER_WEIGHTS_MITCHELL_NETRAVALI_QCOM :: CubicFilterWeightsQCOM
- type QCOM_FILTER_CUBIC_WEIGHTS_SPEC_VERSION = 1
- pattern QCOM_FILTER_CUBIC_WEIGHTS_SPEC_VERSION :: forall a. Integral a => a
- type QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME = "VK_QCOM_filter_cubic_weights"
- pattern QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceCubicWeightsFeaturesQCOM Source #
VkPhysicalDeviceCubicWeightsFeaturesQCOM - Structure describing cubic weight selection features that can be supported by an implementation
Members
This structure describes the following feature:
Description
If the PhysicalDeviceCubicWeightsFeaturesQCOM
structure is included in
the pNext
chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2
,
it is filled in to indicate whether each corresponding feature is
supported. PhysicalDeviceCubicWeightsFeaturesQCOM
can also be used
in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
Instances
data SamplerCubicWeightsCreateInfoQCOM Source #
VkSamplerCubicWeightsCreateInfoQCOM - Structure specifying sampler cubic weights
Description
If the pNext
chain of SamplerCreateInfo
includes a SamplerCubicWeightsCreateInfoQCOM
structure, then that
structure specifies which cubic weights are used.
If that structure is not present, cubicWeights
is considered to be
CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM
.
Valid Usage (Implicit)
See Also
VK_QCOM_filter_cubic_weights,
CubicFilterWeightsQCOM
,
StructureType
SamplerCubicWeightsCreateInfoQCOM | |
|
Instances
data BlitImageCubicWeightsInfoQCOM Source #
VkBlitImageCubicWeightsInfoQCOM - Structure specifying image blit cubic weight info
Valid Usage (Implicit)
See Also
VK_KHR_copy_commands2,
VK_QCOM_filter_cubic_weights,
CubicFilterWeightsQCOM
,
StructureType
BlitImageCubicWeightsInfoQCOM | |
|
Instances
newtype CubicFilterWeightsQCOM Source #
VkCubicFilterWeightsQCOM - Specify cubic weights for texture filtering
See Also
VK_QCOM_filter_cubic_weights,
BlitImageCubicWeightsInfoQCOM
, SamplerCubicWeightsCreateInfoQCOM
pattern CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM :: CubicFilterWeightsQCOM |
|
pattern CUBIC_FILTER_WEIGHTS_ZERO_TANGENT_CARDINAL_QCOM :: CubicFilterWeightsQCOM |
|
pattern CUBIC_FILTER_WEIGHTS_B_SPLINE_QCOM :: CubicFilterWeightsQCOM |
|
pattern CUBIC_FILTER_WEIGHTS_MITCHELL_NETRAVALI_QCOM :: CubicFilterWeightsQCOM |
|
Instances
pattern QCOM_FILTER_CUBIC_WEIGHTS_SPEC_VERSION :: forall a. Integral a => a Source #
type QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME = "VK_QCOM_filter_cubic_weights" Source #
pattern QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #