Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_EXT_border_color_swizzle - device extension
VK_EXT_border_color_swizzle
- Name String
VK_EXT_border_color_swizzle
- Extension Type
- Device extension
- Registered Extension Number
- 412
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_EXT_custom_border_color
- Special Uses
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-10-12
- IP Status
- No known IP claims.
- Contributors
- Graeme Leese, Broadcom
- Jan-Harald Fredriksen, Arm
- Ricardo Garcia, Igalia
- Shahbaz Youssefi, Google
- Stu Smith, AMD
Description
After the publication of VK_EXT_custom_border_color, it was discovered that some implementations had undefined behavior when combining a sampler that uses a custom border color with image views whose component mapping is not the identity mapping.
Since VK_EXT_custom_border_color has already shipped, this new extension VK_EXT_border_color_swizzle was created to define the interaction between custom border colors and non-identity image view swizzles, and provide a work-around for implementations that must pre-swizzle the sampler border color to match the image view component mapping it is combined with.
This extension also defines the behavior between samplers with an opaque black border color and image views with a non-identity component swizzle, which was previously left undefined.
New Structures
New Enum Constants
Issues
None.
Version History
Revision 1, 2021-10-12 (Piers Daniell)
- Internal revisions.
See Also
PhysicalDeviceBorderColorSwizzleFeaturesEXT
,
SamplerBorderColorComponentMappingCreateInfoEXT
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 SamplerBorderColorComponentMappingCreateInfoEXT = SamplerBorderColorComponentMappingCreateInfoEXT {}
- data PhysicalDeviceBorderColorSwizzleFeaturesEXT = PhysicalDeviceBorderColorSwizzleFeaturesEXT {}
- type EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION = 1
- pattern EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION :: forall a. Integral a => a
- type EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME = "VK_EXT_border_color_swizzle"
- pattern EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data SamplerBorderColorComponentMappingCreateInfoEXT Source #
VkSamplerBorderColorComponentMappingCreateInfoEXT - Structure specifying the component mapping of the border color
Description
The ComponentMapping
components
member
describes a remapping from components of the border color to components
of the vector returned by shader image instructions when the border
color is used.
Valid Usage
- The borderColorSwizzle feature must be enabled
Valid Usage (Implicit)
-
components
must be a validComponentMapping
structure
See Also
VK_EXT_border_color_swizzle,
Bool32
,
ComponentMapping
,
StructureType
SamplerBorderColorComponentMappingCreateInfoEXT | |
|
Instances
data PhysicalDeviceBorderColorSwizzleFeaturesEXT Source #
VkPhysicalDeviceBorderColorSwizzleFeaturesEXT - Structure describing whether samplers with custom border colors require the component swizzle specified in order to have defined behavior
Members
This structure describes the following features:
Description
If the PhysicalDeviceBorderColorSwizzleFeaturesEXT
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. PhysicalDeviceBorderColorSwizzleFeaturesEXT
can also be
used in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
PhysicalDeviceBorderColorSwizzleFeaturesEXT | |
|
Instances
type EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION = 1 Source #
pattern EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME = "VK_EXT_border_color_swizzle" Source #
pattern EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #