public class KHRPipelineExecutableProperties
extends java.lang.Object
VK_KHR_pipeline_executable_properties| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME
The extension name.
|
static int |
VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_SPEC_VERSION
The extension specification version.
|
static int |
VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR
Extends
VkPipelineCreateFlagBits. |
static int |
VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR
Extends
VkPipelineCreateFlagBits. |
static int |
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR
VkPipelineExecutableStatisticFormatKHR - Enum describing a pipeline executable statistic
|
static int |
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
VkPipelineExecutableStatisticFormatKHR - Enum describing a pipeline executable statistic
|
static int |
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR
VkPipelineExecutableStatisticFormatKHR - Enum describing a pipeline executable statistic
|
static int |
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR
VkPipelineExecutableStatisticFormatKHR - Enum describing a pipeline executable statistic
|
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetPipelineExecutableInternalRepresentationsKHR(org.lwjgl.vulkan.VkDevice device,
long pExecutableInfo,
long pInternalRepresentationCount,
long pInternalRepresentations)
Unsafe version of:
GetPipelineExecutableInternalRepresentationsKHR |
static int |
nvkGetPipelineExecutablePropertiesKHR(org.lwjgl.vulkan.VkDevice device,
long pPipelineInfo,
long pExecutableCount,
long pProperties)
Unsafe version of:
GetPipelineExecutablePropertiesKHR |
static int |
nvkGetPipelineExecutableStatisticsKHR(org.lwjgl.vulkan.VkDevice device,
long pExecutableInfo,
long pStatisticCount,
long pStatistics)
Unsafe version of:
GetPipelineExecutableStatisticsKHR |
static int |
vkGetPipelineExecutableInternalRepresentationsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
int[] pInternalRepresentationCount,
VkPipelineExecutableInternalRepresentationKHR.Buffer pInternalRepresentations)
Array version of:
GetPipelineExecutableInternalRepresentationsKHR |
static int |
vkGetPipelineExecutableInternalRepresentationsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
java.nio.IntBuffer pInternalRepresentationCount,
VkPipelineExecutableInternalRepresentationKHR.Buffer pInternalRepresentations)
Get internal representations of the pipeline executable.
|
static int |
vkGetPipelineExecutablePropertiesKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineInfoKHR pPipelineInfo,
int[] pExecutableCount,
VkPipelineExecutablePropertiesKHR.Buffer pProperties)
Array version of:
GetPipelineExecutablePropertiesKHR |
static int |
vkGetPipelineExecutablePropertiesKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineInfoKHR pPipelineInfo,
java.nio.IntBuffer pExecutableCount,
VkPipelineExecutablePropertiesKHR.Buffer pProperties)
Get the executables associated with a pipeline.
|
static int |
vkGetPipelineExecutableStatisticsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
int[] pStatisticCount,
VkPipelineExecutableStatisticKHR.Buffer pStatistics)
Array version of:
GetPipelineExecutableStatisticsKHR |
static int |
vkGetPipelineExecutableStatisticsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
java.nio.IntBuffer pStatisticCount,
VkPipelineExecutableStatisticKHR.Buffer pStatistics)
Get compile time statistics associated with a pipeline executable.
|
public static final int VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_SPEC_VERSION
public static final java.lang.String VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR
VkStructureType.
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHRSTRUCTURE_TYPE_PIPELINE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpublic static final int VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR
VkStructureType.
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHRSTRUCTURE_TYPE_PIPELINE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpublic static final int VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR
VkStructureType.
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHRSTRUCTURE_TYPE_PIPELINE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpublic static final int VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR
VkStructureType.
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHRSTRUCTURE_TYPE_PIPELINE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpublic static final int VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR
VkStructureType.
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHRSTRUCTURE_TYPE_PIPELINE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpublic static final int VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR
VkStructureType.
STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHRSTRUCTURE_TYPE_PIPELINE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpublic static final int VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR
VkPipelineCreateFlagBits.
public static final int VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR
VkPipelineCreateFlagBits.
public static final int VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR
PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR specifies that the statistic is returned as a 32-bit boolean value which must be either TRUE or FALSE and should be read from the b32 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR specifies that the statistic is returned as a signed 64-bit integer and should be read from the i64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR specifies that the statistic is returned as an unsigned 64-bit integer and should be read from the u64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR specifies that the statistic is returned as a 64-bit floating-point value and should be read from the f64 field of VkPipelineExecutableStatisticValueKHR.public static final int VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR
PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR specifies that the statistic is returned as a 32-bit boolean value which must be either TRUE or FALSE and should be read from the b32 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR specifies that the statistic is returned as a signed 64-bit integer and should be read from the i64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR specifies that the statistic is returned as an unsigned 64-bit integer and should be read from the u64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR specifies that the statistic is returned as a 64-bit floating-point value and should be read from the f64 field of VkPipelineExecutableStatisticValueKHR.public static final int VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR
PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR specifies that the statistic is returned as a 32-bit boolean value which must be either TRUE or FALSE and should be read from the b32 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR specifies that the statistic is returned as a signed 64-bit integer and should be read from the i64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR specifies that the statistic is returned as an unsigned 64-bit integer and should be read from the u64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR specifies that the statistic is returned as a 64-bit floating-point value and should be read from the f64 field of VkPipelineExecutableStatisticValueKHR.public static final int VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR specifies that the statistic is returned as a 32-bit boolean value which must be either TRUE or FALSE and should be read from the b32 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR specifies that the statistic is returned as a signed 64-bit integer and should be read from the i64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR specifies that the statistic is returned as an unsigned 64-bit integer and should be read from the u64 field of VkPipelineExecutableStatisticValueKHR.PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR specifies that the statistic is returned as a 64-bit floating-point value and should be read from the f64 field of VkPipelineExecutableStatisticValueKHR.public static int nvkGetPipelineExecutablePropertiesKHR(org.lwjgl.vulkan.VkDevice device,
long pPipelineInfo,
long pExecutableCount,
long pProperties)
GetPipelineExecutablePropertiesKHRpExecutableCount - a pointer to an integer related to the number of pipeline executables available or queried, as described below.public static int vkGetPipelineExecutablePropertiesKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineInfoKHR pPipelineInfo,
java.nio.IntBuffer pExecutableCount,
@Nullable
VkPipelineExecutablePropertiesKHR.Buffer pProperties)
When a pipeline is created, its state and shaders are compiled into zero or more device-specific executables, which are used when executing commands against that pipeline. To query the properties of these executables, call:
VkResult vkGetPipelineExecutablePropertiesKHR(
VkDevice device,
const VkPipelineInfoKHR* pPipelineInfo,
uint32_t* pExecutableCount,
VkPipelineExecutablePropertiesKHR* pProperties);
If pProperties is NULL, then the number of executables associated with the pipeline is returned in pExecutableCount. Otherwise, pExecutableCount must point to a variable set by the user to the number of elements in the pProperties array, and on return the variable is overwritten with the number of structures actually written to pProperties. If pExecutableCount is less than the number of executables associated with the pipeline, at most pExecutableCount structures will be written and vkGetPipelineExecutablePropertiesKHR will return INCOMPLETE.
pipelineExecutableInfo must be enabled.pipeline member of pPipelineInfo must have been created with device.device must be a valid VkDevice handlepPipelineInfo must be a valid pointer to a valid VkPipelineInfoKHR structurepExecutableCount must be a valid pointer to a uint32_t valuepExecutableCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pExecutableCount VkPipelineExecutablePropertiesKHR structuresdevice - the device that created the pipeline.pPipelineInfo - describes the pipeline being queried.pExecutableCount - a pointer to an integer related to the number of pipeline executables available or queried, as described below.pProperties - either NULL or a pointer to an array of VkPipelineExecutablePropertiesKHR structures.public static int nvkGetPipelineExecutableStatisticsKHR(org.lwjgl.vulkan.VkDevice device,
long pExecutableInfo,
long pStatisticCount,
long pStatistics)
GetPipelineExecutableStatisticsKHRpStatisticCount - a pointer to an integer related to the number of statistics available or queried, as described below.public static int vkGetPipelineExecutableStatisticsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
java.nio.IntBuffer pStatisticCount,
@Nullable
VkPipelineExecutableStatisticKHR.Buffer pStatistics)
Each pipeline executable may have a set of statistics associated with it that are generated by the pipeline compilation process. These statistics may include things such as instruction counts, amount of spilling (if any), maximum number of simultaneous threads, or anything else which may aid developers in evaluating the expected performance of a shader. To query the compile-time statistics associated with a pipeline executable, call:
VkResult vkGetPipelineExecutableStatisticsKHR(
VkDevice device,
const VkPipelineExecutableInfoKHR* pExecutableInfo,
uint32_t* pStatisticCount,
VkPipelineExecutableStatisticKHR* pStatistics);
If pStatistics is NULL, then the number of statistics associated with the pipeline executable is returned in pStatisticCount. Otherwise, pStatisticCount must point to a variable set by the user to the number of elements in the pStatistics array, and on return the variable is overwritten with the number of structures actually written to pStatistics. If pStatisticCount is less than the number of statistics associated with the pipeline executable, at most pStatisticCount structures will be written and vkGetPipelineExecutableStatisticsKHR will return INCOMPLETE.
pipelineExecutableInfo must be enabled.pipeline member of pExecutableInfo must have been created with device.pipeline member of pExecutableInfo must have been created with PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR set in the flags field of VkGraphicsPipelineCreateInfo or VkComputePipelineCreateInfo.device must be a valid VkDevice handlepExecutableInfo must be a valid pointer to a valid VkPipelineExecutableInfoKHR structurepStatisticCount must be a valid pointer to a uint32_t valuepStatisticCount is not 0, and pStatistics is not NULL, pStatistics must be a valid pointer to an array of pStatisticCount VkPipelineExecutableStatisticKHR structuresVkPipelineExecutableInfoKHR, VkPipelineExecutableStatisticKHR
device - the device that created the pipeline.pExecutableInfo - describes the pipeline executable being queried.pStatisticCount - a pointer to an integer related to the number of statistics available or queried, as described below.pStatistics - either NULL or a pointer to an array of VkPipelineExecutableStatisticKHR structures.public static int nvkGetPipelineExecutableInternalRepresentationsKHR(org.lwjgl.vulkan.VkDevice device,
long pExecutableInfo,
long pInternalRepresentationCount,
long pInternalRepresentations)
GetPipelineExecutableInternalRepresentationsKHRpInternalRepresentationCount - a pointer to an integer related to the number of internal representations available or queried, as described below.public static int vkGetPipelineExecutableInternalRepresentationsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
java.nio.IntBuffer pInternalRepresentationCount,
@Nullable
VkPipelineExecutableInternalRepresentationKHR.Buffer pInternalRepresentations)
Each pipeline executable may have one or more text or binary internal representations associated with it which are generated as part of the compile process. These may include the final shader assembly, a binary form of the compiled shader, or the shader compiler's internal representation at any number of intermediate compile steps. To query the internal representations associated with a pipeline executable, call:
VkResult vkGetPipelineExecutableInternalRepresentationsKHR(
VkDevice device,
const VkPipelineExecutableInfoKHR* pExecutableInfo,
uint32_t* pInternalRepresentationCount,
VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations);
If pInternalRepresentations is NULL, then the number of internal representations associated with the pipeline executable is returned in pInternalRepresentationCount. Otherwise, pInternalRepresentationCount must point to a variable set by the user to the number of elements in the pInternalRepresentations array, and on return the variable is overwritten with the number of structures actually written to pInternalRepresentations. If pInternalRepresentationCount is less than the number of internal representations associated with the pipeline executable, at most pInternalRepresentationCount structures will be written and vkGetPipelineExecutableInternalRepresentationsKHR will return INCOMPLETE.
While the details of the internal representations remain implementation dependent, the implementation should order the internal representations in the order in which they occur in the compile pipeline with the final shader assembly (if any) last.
pipelineExecutableInfo must be enabled.pipeline member of pExecutableInfo must have been created with device.pipeline member of pExecutableInfo must have been created with PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR set in the flags field of VkGraphicsPipelineCreateInfo or VkComputePipelineCreateInfo.device must be a valid VkDevice handlepExecutableInfo must be a valid pointer to a valid VkPipelineExecutableInfoKHR structurepInternalRepresentationCount must be a valid pointer to a uint32_t valuepInternalRepresentationCount is not 0, and pInternalRepresentations is not NULL, pInternalRepresentations must be a valid pointer to an array of pInternalRepresentationCount VkPipelineExecutableInternalRepresentationKHR structuresVkPipelineExecutableInfoKHR, VkPipelineExecutableInternalRepresentationKHR
device - the device that created the pipeline.pExecutableInfo - describes the pipeline executable being queried.pInternalRepresentationCount - a pointer to an integer related to the number of internal representations available or queried, as described below.pInternalRepresentations - either NULL or a pointer to an array of VkPipelineExecutableInternalRepresentationKHR structures.public static int vkGetPipelineExecutablePropertiesKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineInfoKHR pPipelineInfo,
int[] pExecutableCount,
@Nullable
VkPipelineExecutablePropertiesKHR.Buffer pProperties)
GetPipelineExecutablePropertiesKHRpublic static int vkGetPipelineExecutableStatisticsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
int[] pStatisticCount,
@Nullable
VkPipelineExecutableStatisticKHR.Buffer pStatistics)
GetPipelineExecutableStatisticsKHRpublic static int vkGetPipelineExecutableInternalRepresentationsKHR(org.lwjgl.vulkan.VkDevice device,
VkPipelineExecutableInfoKHR pExecutableInfo,
int[] pInternalRepresentationCount,
@Nullable
VkPipelineExecutableInternalRepresentationKHR.Buffer pInternalRepresentations)
GetPipelineExecutableInternalRepresentationsKHRCopyright LWJGL. All Rights Reserved. License terms.