org.lwjgl.vulkan.KHRShaderFloat16Int8 Maven / Gradle / Ivy
Show all versions of lwjgl-vulkan Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* The {@code VK_KHR_shader_float16_int8} extension allows use of 16-bit floating-point types and 8-bit integer types in shaders for arithmetic operations.
*
* It introduces two new optional features {@code shaderFloat16} and {@code shaderInt8} which directly map to the {@code Float16} and the {@code Int8} SPIR-V capabilities. The {@code VK_KHR_shader_float16_int8} extension also specifies precision requirements for half-precision floating-point SPIR-V operations. This extension does not enable use of 8-bit integer types or 16-bit floating-point types in any shader input and output interfaces and therefore does not supersede the {@link KHR8bitStorage VK_KHR_8bit_storage} or {@link KHR16bitStorage VK_KHR_16bit_storage} extensions.
*
* Promotion to Vulkan 1.2
*
* All functionality in this extension is included in core Vulkan 1.2, with the KHR suffix omitted. However, if Vulkan 1.2 is supported and this extension is not, both the {@code shaderFloat16} and {@code shaderInt8} capabilities are optional. The original type, enum and command names are still available as aliases of the core functionality.
*
* VK_KHR_shader_float16_int8
*
*
* - Name String
* - {@code VK_KHR_shader_float16_int8}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 83
* - Revision
* - 1
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
* - Requires {@link KHRGetPhysicalDeviceProperties2 VK_KHR_get_physical_device_properties2}
*
* - Deprecation state
*
* - Promoted to Vulkan 1.2
*
* - Contact
*
* - Alexander Galazin alegal-arm
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2018-03-07
* - Interactions and External Dependencies
*
* - Promoted to Vulkan 1.2 Core
* - This extension interacts with {@link KHR8bitStorage VK_KHR_8bit_storage}
* - This extension interacts with {@link KHR16bitStorage VK_KHR_16bit_storage}
* - This extension interacts with {@link KHRShaderFloatControls VK_KHR_shader_float_controls}
* - This extension provides API support for {@code GL_EXT_shader_explicit_arithmetic_types}
*
* - IP Status
* - No known IP claims.
* - Contributors
*
* - Alexander Galazin, Arm
* - Jan-Harald Fredriksen, Arm
* - Jeff Bolz, NVIDIA
* - Graeme Leese, Broadcom
* - Daniel Rakos, AMD
*
*
*/
public final class KHRShaderFloat16Int8 {
/** The extension specification version. */
public static final int VK_KHR_SHADER_FLOAT16_INT8_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME = "VK_KHR_shader_float16_int8";
/**
* Extends {@code VkStructureType}.
*
* Enum values:
*
*
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR}
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR}
*
*/
public static final int
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR = 1000082000,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR = 1000082000;
private KHRShaderFloat16Int8() {}
}