If the VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.
struct VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 shaderBufferFloat16Atomics;
VkBool32 shaderBufferFloat16AtomicAdd;
VkBool32 shaderBufferFloat16AtomicMinMax;
VkBool32 shaderBufferFloat32AtomicMinMax;
VkBool32 shaderBufferFloat64AtomicMinMax;
VkBool32 shaderSharedFloat16Atomics;
VkBool32 shaderSharedFloat16AtomicAdd;
VkBool32 shaderSharedFloat16AtomicMinMax;
VkBool32 shaderSharedFloat32AtomicMinMax;
VkBool32 shaderSharedFloat64AtomicMinMax;
VkBool32 shaderImageFloat32AtomicMinMax;
VkBool32 sparseImageFloat32AtomicMinMax;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT16ATOMICADD
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT16ATOMICMINMAX
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT16ATOMICS
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT32ATOMICMINMAX
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT64ATOMICMINMAX
The struct member offsets. |
| public static final int | SHADERIMAGEFLOAT32ATOMICMINMAX
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT16ATOMICADD
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT16ATOMICMINMAX
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT16ATOMICS
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT32ATOMICMINMAX
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT64ATOMICMINMAX
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPARSEIMAGEFLOAT32ATOMICMINMAX
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | create()
Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static int | |
| public static void | nshaderBufferFloat16AtomicAdd(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderBufferFloat16AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | nshaderBufferFloat32AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderBufferFloat64AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderImageFloat32AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderSharedFloat16AtomicAdd(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderSharedFloat16AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | nshaderSharedFloat32AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderSharedFloat64AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nsparseImageFloat32AtomicMinMax(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | set(int sType, long pNext, boolean shaderBufferFloat16Atomics, boolean shaderBufferFloat16AtomicAdd, boolean shaderBufferFloat16AtomicMinMax, boolean shaderBufferFloat32AtomicMinMax, boolean shaderBufferFloat64AtomicMinMax, boolean shaderSharedFloat16Atomics, boolean shaderSharedFloat16AtomicAdd, boolean shaderSharedFloat16AtomicMinMax, boolean shaderSharedFloat32AtomicMinMax, boolean shaderSharedFloat64AtomicMinMax, boolean shaderImageFloat32AtomicMinMax, boolean sparseImageFloat32AtomicMinMax)
Initializes this struct with the specified values. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public boolean | shaderBufferFloat16AtomicAdd()
indicates whether shaders can perform 16-bit floating-point add atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderBufferFloat16AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat16AtomicMinMax()
indicates whether shaders can perform 16-bit floating-point min and max atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderBufferFloat16AtomicMinMax(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat16Atomics()
indicates whether shaders can perform 16-bit floating-point load, store, and exchange atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderBufferFloat16Atomics(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat32AtomicMinMax()
indicates whether shaders can perform 32-bit floating-point min and max atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderBufferFloat32AtomicMinMax(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat64AtomicMinMax()
indicates whether shaders can perform 64-bit floating-point min and max atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderBufferFloat64AtomicMinMax(boolean value)
Sets the specified value to the |
| public boolean | shaderImageFloat32AtomicMinMax()
indicates whether shaders can perform 32-bit floating-point min and max atomic image operations. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderImageFloat32AtomicMinMax(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat16AtomicAdd()
indicates whether shaders can perform 16-bit floating-point add atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderSharedFloat16AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat16AtomicMinMax()
indicates whether shaders can perform 16-bit floating-point min and max atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderSharedFloat16AtomicMinMax(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat16Atomics()
indicates whether shaders can perform 16-bit floating-point load, store and exchange atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderSharedFloat16Atomics(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat32AtomicMinMax()
indicates whether shaders can perform 32-bit floating-point min and max atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderSharedFloat32AtomicMinMax(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat64AtomicMinMax()
indicates whether shaders can perform 64-bit floating-point min and max atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | shaderSharedFloat64AtomicMinMax(boolean value)
Sets the specified value to the |
| public int | |
| public boolean | sparseImageFloat32AtomicMinMax()
indicates whether 32-bit floating-point min and max atomic operations can be used on sparse images. |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | sparseImageFloat32AtomicMinMax(boolean value)
Sets the specified value to the |
| public int | |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | |
| public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT | sType$Default()
Sets the |