One method of developing a Vulkan SC application is to author a Vulkan application and use a layer to record and serialize the pipeline state and shaders for offline compilation. Each pipeline is represented by a separate JSON file, and can be identified with a pipelineIdentifier.
Once the pipelines have been compiled by the offline pipeline cache compiler, the Vulkan SC application can then use this pipelineIdentifier for identifying the pipeline via Vulkan SC’s VkPipelineIdentifierInfo structure.
This extension allows the Vulkan application to query the pipelineIdentifier associated with each pipeline so that the application can store this with its pipeline metadata and the Vulkan SC application will then use to map the same state to an entry in the Vulkan SC pipeline cache.
It is expected that this extension will initially be implemented in the json generation layer, although we can envision that there might be future uses for it in native Vulkan drivers as well.
VK_EXT_pipeline_propertiesVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_EXT_PIPELINE_PROPERTIES_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_PIPELINE_PROPERTIES_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_PIPELINE_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_PIPELINE_PROPERTIES_IDENTIFIER_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkGetPipelinePropertiesEXT(VkDevice device, long pPipelineInfo, long pPipelineProperties)
Unsafe version of: |
| public static int | vkGetPipelinePropertiesEXT(VkDevice
the logical device that created the pipeline. device, VkPipelineInfoEXT a pointer to a pPipelineInfo, VkBaseOutStructure VkPipelineInfoEXT structure which describes the pipeline being queried.a pointer to a pPipelineProperties)VkBaseOutStructure structure in which the pipeline properties will be written.Query pipeline properties. |
| VK_EXT_PIPELINE_PROPERTIES_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_EXT_PIPELINE_PROPERTIES_EXTENSION_NAME The extension name. | |
| VK_EXT_PIPELINE_PROPERTIES_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_EXT_PIPELINE_PROPERTIES_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_PIPELINE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PIPELINE_INFO_EXT Extends Enum values: | |
| VK_STRUCTURE_TYPE_PIPELINE_PROPERTIES_IDENTIFIER_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PIPELINE_PROPERTIES_IDENTIFIER_EXT Extends Enum values: | |
| EXTPipelineProperties | back to summary |
|---|---|
| protected EXTPipelineProperties() | |
| nvkGetPipelinePropertiesEXT | back to summary |
|---|---|
| public static int nvkGetPipelinePropertiesEXT(VkDevice device, long pPipelineInfo, long pPipelineProperties) Unsafe version of: | |
| vkGetPipelinePropertiesEXT | back to summary |
|---|---|
| public static int vkGetPipelinePropertiesEXT(VkDevice device, VkPipelineInfoEXT pPipelineInfo, VkBaseOutStructure pPipelineProperties) Query pipeline properties. C SpecificationTo query the pipeline properties call:
DescriptionTo query a pipeline’s Valid Usage
Valid Usage (Implicit)
Return Codes
See Also
| |