Top Description Fields Constructors Methods
org.lwjgl.vulkan

public final Class KHRFragmentShaderBarycentric

extends Object
Class Inheritance

This extension is based on the VK_NV_fragment_shader_barycentric extension, and adds support for the following SPIR-V extension in Vulkan:

The extension provides access to three additional fragment shader variable decorations in SPIR-V:

When using GLSL source-based shader languages, the following variables from GL_EXT_fragment_shader_barycentric map to these SPIR-V built-in decorations:

GLSL variables declared using the pervertexEXT GLSL qualifier are expected to be decorated with PerVertexKHR in SPIR-V.

VK_KHR_fragment_shader_barycentric
Name String
VK_KHR_fragment_shader_barycentric
Extension Type
Device extension
Registered Extension Number
323
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2
Contact
  • Stu Smith
Extension Proposal
VK_KHR_fragment_shader_barycentric
Other Extension Metadata
Last Modified Date
2022-03-10
IP Status
No known IP claims.
Interactions and External Dependencies
Contributors
  • Stu Smith, AMD
  • Tobias Hector, AMD
  • Graeme Leese, Broadcom
  • Jan-Harald Fredriksen, Arm
  • Slawek Grajewski, Intel
  • Pat Brown, NVIDIA
  • Hans-Kristian Arntzen, Valve
  • Contributors to the VK_NV_fragment_shader_barycentric specification

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_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_KHR_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAMEback to summary
public static final String VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAME

The extension name.

VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_SPEC_VERSIONback to summary
public static final int VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHRback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHRback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR

Extends VkStructureType.

Enum values:

Constructor Detail

KHRFragmentShaderBarycentricback to summary
private KHRFragmentShaderBarycentric()