Top Description Fields Constructors Methods
org.lwjgl.vulkan

public final Class EXTBorderColorSwizzle

extends Object
Class Inheritance

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.

VK_EXT_border_color_swizzle
Name String
VK_EXT_border_color_swizzle
Extension Type
Device extension
Registered Extension Number
412
Revision
1
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

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
VK_EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION

The extension specification version.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAMEback to summary
public static final String VK_EXT_BORDER_COLOR_SWIZZLE_EXTENSION_NAME

The extension name.

VK_EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSIONback to summary
public static final int VK_EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXTback to summary
public static final int VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT

Extends VkStructureType.

Enum values:

Constructor Detail

EXTBorderColorSwizzleback to summary
private EXTBorderColorSwizzle()