Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceShaderIntegerDotProductProperties

extends Struct<VkPhysicalDeviceShaderIntegerDotProductProperties>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkPhysicalDeviceShaderIntegerDotProductPropertiesKHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure containing information about integer dot product support for a physical device.
Description

If the VkPhysicalDeviceShaderIntegerDotProductProperties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

These are properties of the integer dot product acceleration information of a physical device.

Note

A dot product operation is deemed accelerated if its implementation provides a performance advantage over application-provided code composed from elementary instructions and/or other dot product instructions, either because the implementation uses optimized machine code sequences whose generation from application-provided code cannot be guaranteed or because it uses hardware features that cannot otherwise be targeted from application-provided code.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceShaderIntegerDotProductProperties {
    VkStructureType sType;
    void * pNext;
    VkBool32 integerDotProduct8BitUnsignedAccelerated;
    VkBool32 integerDotProduct8BitSignedAccelerated;
    VkBool32 integerDotProduct8BitMixedSignednessAccelerated;
    VkBool32 integerDotProduct4x8BitPackedUnsignedAccelerated;
    VkBool32 integerDotProduct4x8BitPackedSignedAccelerated;
    VkBool32 integerDotProduct4x8BitPackedMixedSignednessAccelerated;
    VkBool32 integerDotProduct16BitUnsignedAccelerated;
    VkBool32 integerDotProduct16BitSignedAccelerated;
    VkBool32 integerDotProduct16BitMixedSignednessAccelerated;
    VkBool32 integerDotProduct32BitUnsignedAccelerated;
    VkBool32 integerDotProduct32BitSignedAccelerated;
    VkBool32 integerDotProduct32BitMixedSignednessAccelerated;
    VkBool32 integerDotProduct64BitUnsignedAccelerated;
    VkBool32 integerDotProduct64BitSignedAccelerated;
    VkBool32 integerDotProduct64BitMixedSignednessAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating8BitUnsignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating8BitSignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating16BitUnsignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating16BitSignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating32BitUnsignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating32BitSignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating64BitUnsignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating64BitSignedAccelerated;
    VkBool32 integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
public static final int
INTEGERDOTPRODUCT16BITSIGNEDACCELERATED

The struct member offsets.

public static final int
public static final int
public static final int
INTEGERDOTPRODUCT32BITSIGNEDACCELERATED

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
INTEGERDOTPRODUCT64BITSIGNEDACCELERATED

The struct member offsets.

public static final int
public static final int
public static final int
INTEGERDOTPRODUCT8BITSIGNEDACCELERATED

The struct member offsets.

public static final int
INTEGERDOTPRODUCT8BITUNSIGNEDACCELERATED

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
PNEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceShaderIntegerDotProductProperties(ByteBuffer container)

Creates a VkPhysicalDeviceShaderIntegerDotProductProperties instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceShaderIntegerDotProductProperties
calloc()

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties instance allocated with memCalloc.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceShaderIntegerDotProductProperties
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkPhysicalDeviceShaderIntegerDotProductProperties
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceShaderIntegerDotProductProperties
create()

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties instance allocated with BufferUtils.

public static VkPhysicalDeviceShaderIntegerDotProductProperties
create(long address)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties instance for the specified memory address.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer instance at the specified memory.

public static VkPhysicalDeviceShaderIntegerDotProductProperties
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public boolean
integerDotProduct16BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 16-bit mixed signedness dot product operations using the OpSUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct16BitSignedAccelerated()

a boolean that will be TRUE if the support for 16-bit signed dot product operations using the OpSDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct16BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 16-bit unsigned dot product operations using the OpUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct32BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 32-bit mixed signedness dot product operations using the OpSUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct32BitSignedAccelerated()

a boolean that will be TRUE if the support for 32-bit signed dot product operations using the OpSDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct32BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 32-bit unsigned dot product operations using the OpUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct4x8BitPackedMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 8-bit mixed signedness dot product operations from operands packed into 32-bit integers using the OpSUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct4x8BitPackedSignedAccelerated()

a boolean that will be TRUE if the support for 8-bit signed dot product operations from operands packed into 32-bit integers using the OpSDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct4x8BitPackedUnsignedAccelerated()

a boolean that will be TRUE if the support for 8-bit unsigned dot product operations from operands packed into 32-bit integers using the OpUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct64BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 64-bit mixed signedness dot product operations using the OpSUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct64BitSignedAccelerated()

a boolean that will be TRUE if the support for 64-bit signed dot product operations using the OpSDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct64BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 64-bit unsigned dot product operations using the OpUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct8BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 8-bit mixed signedness dot product operations using the OpSUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct8BitSignedAccelerated()

a boolean that will be TRUE if the support for 8-bit signed dot product operations using the OpSDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProduct8BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 8-bit unsigned dot product operations using the OpUDotKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 16-bit mixed signedness accumulating saturating dot product operations using the OpSUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating16BitSignedAccelerated()

a boolean that will be TRUE if the support for 16-bit signed accumulating saturating dot product operations using the OpSDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating16BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 16-bit unsigned accumulating saturating dot product operations using the OpUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 32-bit mixed signedness accumulating saturating dot product operations using the OpSUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating32BitSignedAccelerated()

a boolean that will be TRUE if the support for 32-bit signed accumulating saturating dot product operations using the OpSDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating32BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 32-bit unsigned accumulating saturating dot product operations using the OpUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 8-bit mixed signedness accumulating saturating dot product operations from operands packed into 32-bit integers using the OpSUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated()

a boolean that will be TRUE if the support for 8-bit signed accumulating saturating dot product operations from operands packed into 32-bit integers using the OpSDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated()

a boolean that will be TRUE if the support for 8-bit unsigned accumulating saturating dot product operations from operands packed into 32-bit integers using the OpUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 64-bit mixed signedness accumulating saturating dot product operations using the OpSUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating64BitSignedAccelerated()

a boolean that will be TRUE if the support for 64-bit signed accumulating saturating dot product operations using the OpSDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating64BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 64-bit unsigned accumulating saturating dot product operations using the OpUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated()

a boolean that will be TRUE if the support for 8-bit mixed signedness accumulating saturating dot product operations using the OpSUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating8BitSignedAccelerated()

a boolean that will be TRUE if the support for 8-bit signed accumulating saturating dot product operations using the OpSDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public boolean
integerDotProductAccumulatingSaturating8BitUnsignedAccelerated()

a boolean that will be TRUE if the support for 8-bit unsigned accumulating saturating dot product operations using the OpUDotAccSatKHR SPIR-V instruction is accelerated as defined below.

public static VkPhysicalDeviceShaderIntegerDotProductProperties
malloc()

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties instance allocated with memAlloc.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceShaderIntegerDotProductProperties
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderIntegerDotProductProperties.Buffer instance allocated on the specified MemoryStack.

public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceShaderIntegerDotProductProperties
pNext(long value)

Sets the specified value to the pNext field.

public VkPhysicalDeviceShaderIntegerDotProductProperties
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceShaderIntegerDotProductProperties

Returns:

this struct
set
(VkPhysicalDeviceShaderIntegerDotProductProperties
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceShaderIntegerDotProductProperties
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceShaderIntegerDotProductProperties
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate