If the VkPhysicalDeviceShaderAtomicFloatFeaturesEXT 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. VkPhysicalDeviceShaderAtomicFloatFeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.
struct VkPhysicalDeviceShaderAtomicFloatFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 shaderBufferFloat32Atomics;
VkBool32 shaderBufferFloat32AtomicAdd;
VkBool32 shaderBufferFloat64Atomics;
VkBool32 shaderBufferFloat64AtomicAdd;
VkBool32 shaderSharedFloat32Atomics;
VkBool32 shaderSharedFloat32AtomicAdd;
VkBool32 shaderSharedFloat64Atomics;
VkBool32 shaderSharedFloat64AtomicAdd;
VkBool32 shaderImageFloat32Atomics;
VkBool32 shaderImageFloat32AtomicAdd;
VkBool32 sparseImageFloat32Atomics;
VkBool32 sparseImageFloat32AtomicAdd;
}
| 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 | SHADERBUFFERFLOAT32ATOMICADD
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT32ATOMICS
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT64ATOMICADD
The struct member offsets. |
| public static final int | SHADERBUFFERFLOAT64ATOMICS
The struct member offsets. |
| public static final int | SHADERIMAGEFLOAT32ATOMICADD
The struct member offsets. |
| public static final int | SHADERIMAGEFLOAT32ATOMICS
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT32ATOMICADD
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT32ATOMICS
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT64ATOMICADD
The struct member offsets. |
| public static final int | SHADERSHAREDFLOAT64ATOMICS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPARSEIMAGEFLOAT32ATOMICADD
The struct member offsets. |
| public static final int | SPARSEIMAGEFLOAT32ATOMICS
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceShaderAtomicFloatFeaturesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | 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 VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | create()
Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT. | 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 | nshaderBufferFloat32AtomicAdd(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | nshaderBufferFloat64AtomicAdd(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nshaderSharedFloat32AtomicAdd(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | nshaderSharedFloat64AtomicAdd(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | set(int sType, long pNext, boolean shaderBufferFloat32Atomics, boolean shaderBufferFloat32AtomicAdd, boolean shaderBufferFloat64Atomics, boolean shaderBufferFloat64AtomicAdd, boolean shaderSharedFloat32Atomics, boolean shaderSharedFloat32AtomicAdd, boolean shaderSharedFloat64Atomics, boolean shaderSharedFloat64AtomicAdd, boolean shaderImageFloat32Atomics, boolean shaderImageFloat32AtomicAdd, boolean sparseImageFloat32Atomics, boolean sparseImageFloat32AtomicAdd)
Initializes this struct with the specified values. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public boolean | shaderBufferFloat32AtomicAdd()
indicates whether shaders can perform 32-bit floating-point add atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderBufferFloat32AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat32Atomics()
indicates whether shaders can perform 32-bit floating-point load, store and exchange atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderBufferFloat32Atomics(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat64AtomicAdd()
indicates whether shaders can perform 64-bit floating-point add atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderBufferFloat64AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderBufferFloat64Atomics()
indicates whether shaders can perform 64-bit floating-point load, store and exchange atomic operations on storage buffers. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderBufferFloat64Atomics(boolean value)
Sets the specified value to the |
| public boolean | shaderImageFloat32AtomicAdd()
indicates whether shaders can perform 32-bit floating-point add atomic image operations. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderImageFloat32AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderImageFloat32Atomics()
indicates whether shaders can perform 32-bit floating-point load, store and exchange atomic image operations. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderImageFloat32Atomics(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat32AtomicAdd()
indicates whether shaders can perform 32-bit floating-point add atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderSharedFloat32AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat32Atomics()
indicates whether shaders can perform 32-bit floating-point load, store and exchange atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderSharedFloat32Atomics(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat64AtomicAdd()
indicates whether shaders can perform 64-bit floating-point add atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderSharedFloat64AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | shaderSharedFloat64Atomics()
indicates whether shaders can perform 64-bit floating-point load, store and exchange atomic operations on shared and payload memory. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | shaderSharedFloat64Atomics(boolean value)
Sets the specified value to the |
| public int | |
| public boolean | sparseImageFloat32AtomicAdd()
indicates whether 32-bit floating-point add atomic operations can be used on sparse images. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | sparseImageFloat32AtomicAdd(boolean value)
Sets the specified value to the |
| public boolean | sparseImageFloat32Atomics()
indicates whether 32-bit floating-point load, store and exchange atomic operations can be used on sparse images. |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | sparseImageFloat32Atomics(boolean value)
Sets the specified value to the |
| public int | |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | |
| public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT | sType$Default()
Sets the |