Class KHRDynamicRenderingLocalRead
- Name String
VK_KHR_dynamic_rendering_local_read- Extension Type
- Device extension
- Registered Extension Number
- 233
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_dynamic_renderingor Version 1.3- Contact
- Tobias Hector tobski
- Extension Proposal
- VK_KHR_dynamic_rendering_local_read
Other Extension Metadata
- Last Modified Date
- 2023-11-03
- Contributors
- Tobias Hector, AMD
- Hans-Kristian Arntzen, Valve
- Connor Abbott, Valve
- Pan Gao, Huawei
- Lionel Landwerlin, Intel
- Shahbaz Youssefi, Google
- Alyssa Rosenzweig, Valve
- Jan-Harald Fredriksen, Arm
- Mike Blumenkrantz, Valve
- Graeme Leese, Broadcom
- Piers Daniell, Nvidia
- Stuart Smith, AMD
- Daniel Story, Nintendo
- James Fitzpatrick, Imagination
- Piotr Byszewski, Mobica
- Spencer Fricke, LunarG
- Tom Olson, Arm
- Michal Pietrasiuk, Intel
- Matthew Netsch, Qualcomm
- Marty Johnson, Khronos
- Wyvern Wang, Huawei
- Jeff Bolz, Nvidia
- Samuel (Sheng-Wen) Huang, MediaTek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkImageLayout.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidnvkCmdSetRenderingAttachmentLocationsKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pLocationInfo) Unsafe version of:CmdSetRenderingAttachmentLocationsKHRstatic voidnvkCmdSetRenderingInputAttachmentIndicesKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pInputAttachmentIndexInfo) Unsafe version of:CmdSetRenderingInputAttachmentIndicesKHRstatic voidvkCmdSetRenderingAttachmentLocationsKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingAttachmentLocationInfoKHR pLocationInfo) Set color attachment location mappings for a command buffer.static voidvkCmdSetRenderingInputAttachmentIndicesKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingInputAttachmentIndexInfoKHR pInputAttachmentIndexInfo) Set input attachment index mappings for a command buffer.
-
Field Details
-
VK_KHR_DYNAMIC_RENDERING_LOCAL_READ_SPEC_VERSION
public static final int VK_KHR_DYNAMIC_RENDERING_LOCAL_READ_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_DYNAMIC_RENDERING_LOCAL_READ_EXTENSION_NAME
The extension name.- See Also:
-
VK_IMAGE_LAYOUT_RENDERING_LOCAL_READ_KHR
public static final int VK_IMAGE_LAYOUT_RENDERING_LOCAL_READ_KHRExtendsVkImageLayout.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO_KHR
public static final int VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR
public static final int VK_STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHRExtendsVkStructureType.Enum values:
- See Also:
-
-
Method Details
-
nvkCmdSetRenderingAttachmentLocationsKHR
public static void nvkCmdSetRenderingAttachmentLocationsKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pLocationInfo) Unsafe version of:CmdSetRenderingAttachmentLocationsKHR -
vkCmdSetRenderingAttachmentLocationsKHR
public static void vkCmdSetRenderingAttachmentLocationsKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingAttachmentLocationInfoKHR pLocationInfo) Set color attachment location mappings for a command buffer.C Specification
To set the fragment output location mappings during rendering, call:
void vkCmdSetRenderingAttachmentLocationsKHR( VkCommandBuffer commandBuffer, const VkRenderingAttachmentLocationInfoKHR* pLocationInfo);Description
This command sets the attachment location mappings for subsequent drawing commands, and must match the mappings provided to the currently bound pipeline, if one is bound, which can be set by chaining
VkRenderingAttachmentLocationInfoKHRtoVkGraphicsPipelineCreateInfo.Until this command is called, mappings in the command buffer state are treated as each color attachment specified in
CmdBeginRenderinghaving a location equal to its index inVkRenderingInfo::pColorAttachments. This state is reset wheneverCmdBeginRenderingis called.Valid Usage
dynamicRenderingLocalReadmust be enabledpLocationInfo→colorAttachmentCountmust be equal to the value ofVkRenderingInfo::colorAttachmentCountused to begin the current render pass instance- The current render pass instance must have been started or resumed by
CmdBeginRenderingin thiscommandBuffer
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepLocationInfomust be a valid pointer to a validVkRenderingAttachmentLocationInfoKHRstructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called inside of a render pass instance
- This command must only be called outside of a video coding scope
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Video Coding Scope Supported Queue Types Command Type Primary Secondary Inside Outside Graphics State See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pLocationInfo- aVkRenderingAttachmentLocationInfoKHRstructure indicating the new mappings.
-
nvkCmdSetRenderingInputAttachmentIndicesKHR
public static void nvkCmdSetRenderingInputAttachmentIndicesKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pInputAttachmentIndexInfo) Unsafe version of:CmdSetRenderingInputAttachmentIndicesKHR -
vkCmdSetRenderingInputAttachmentIndicesKHR
public static void vkCmdSetRenderingInputAttachmentIndicesKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingInputAttachmentIndexInfoKHR pInputAttachmentIndexInfo) Set input attachment index mappings for a command buffer.C Specification
To set the input attachment index mappings during dynamic rendering, call:
void vkCmdSetRenderingInputAttachmentIndicesKHR( VkCommandBuffer commandBuffer, const VkRenderingInputAttachmentIndexInfoKHR* pInputAttachmentIndexInfo);Description
This command sets the input attachment index mappings for subsequent drawing commands, and must match the mappings provided to the currently bound pipeline, if one is bound, which can be set by chaining
VkRenderingInputAttachmentIndexInfoKHRtoVkGraphicsPipelineCreateInfo.Until this command is called, mappings in the command buffer state are treated as each color attachment specified in
CmdBeginRenderingmapping to subpass inputs with aInputAttachmentIndexequal to its index inVkRenderingInfo::pColorAttachments, and depth/stencil attachments mapping to input attachments without these decorations. This state is reset wheneverCmdBeginRenderingis called.Valid Usage
dynamicRenderingLocalReadmust be enabledpInputAttachmentIndexInfo→colorAttachmentCountmust be equal to the value ofVkRenderingInfo::colorAttachmentCountused to begin the current render pass instance- The current render pass instance must have been started or resumed by
CmdBeginRenderingin thiscommandBuffer
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepInputAttachmentIndexInfomust be a valid pointer to a validVkRenderingInputAttachmentIndexInfoKHRstructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called inside of a render pass instance
- This command must only be called outside of a video coding scope
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Video Coding Scope Supported Queue Types Command Type Primary Secondary Inside Outside Graphics State See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pInputAttachmentIndexInfo- aVkRenderingInputAttachmentIndexInfoKHRstructure indicating the new mappings.
-