Class VK13
- Direct Known Subclasses:
VK14
Vulkan Version 1.3 promoted a number of key extensions into the core API:
KHR_copy_commands2KHR_dynamic_renderingKHR_format_feature_flags2KHR_maintenance4KHR_shader_integer_dot_productKHR_shader_non_semantic_infoKHR_shader_terminate_invocationKHR_synchronization2KHR_zero_initialize_workgroup_memoryEXT_4444_formatsEXT_extended_dynamic_stateEXT_extended_dynamic_state2EXT_image_robustnessEXT_inline_uniform_blockEXT_pipeline_creation_cache_controlEXT_pipeline_creation_feedbackEXT_private_dataEXT_shader_demote_to_helper_invocationEXT_subgroup_size_controlEXT_texel_buffer_alignmentEXT_texture_compression_astc_hdrEXT_tooling_infoEXT_ycbcr_2plane_444_formats
All differences in behavior between these extensions and the corresponding Vulkan 1.3 functionality are summarized below.
Differences relative to VK_EXT_4444_formats
If the VK_EXT_4444_formats extension is not supported, support for all formats defined by it are optional in Vulkan 1.3. There are no
members in the VkPhysicalDeviceVulkan13Features structure corresponding to the VkPhysicalDevice4444FormatsFeaturesEXT structure.
Differences relative to VK_EXT_extended_dynamic_state
All dynamic state enumerants and entry points defined by VK_EXT_extended_dynamic_state are required in Vulkan 1.3. There are no members in
the VkPhysicalDeviceVulkan13Features structure corresponding to the VkPhysicalDeviceExtendedDynamicStateFeaturesEXT structure.
Differences relative to VK_EXT_extended_dynamic_state2
The optional dynamic state enumerants and entry points defined by VK_EXT_extended_dynamic_state2 for patch control points and logic op are
not promoted in Vulkan 1.3. There are no members in the VkPhysicalDeviceVulkan13Features structure corresponding to the
VkPhysicalDeviceExtendedDynamicState2FeaturesEXT structure.
Differences relative to VK_EXT_texel_buffer_alignment
The more specific alignment requirements defined by VkPhysicalDeviceTexelBufferAlignmentProperties are required in Vulkan 1.3. There are no
members in the VkPhysicalDeviceVulkan13Features structure corresponding to the VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT structure.
Differences relative to VK_EXT_texture_compression_astc_hdr
If the VK_EXT_texture_compression_astc_hdr extension is not supported, support for all formats defined by it are optional in Vulkan 1.3.
The textureCompressionASTC_HDR member of VkPhysicalDeviceVulkan13Features indicates whether a Vulkan 1.3 implementation supports these
formats.
Differences relative to VK_EXT_ycbcr_2plane_444_formats
If the VK_EXT_ycbcr_2plane_444_formats extension is not supported, support for all formats defined by it are optional in Vulkan 1.3. There
are no members in the VkPhysicalDeviceVulkan13Features structure corresponding to the VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT
structure.
Additional Vulkan 1.3 Feature Support
In addition to the promoted extensions described above, Vulkan 1.3 added required support for:
- SPIR-V version 1.6. SPIR-V 1.6 deprecates (but does not remove) the WorkgroupSize decoration.
- The
bufferDeviceAddressfeature which indicates support for accessing memory in shaders as storage buffers viaGetBufferDeviceAddress. - The
vulkanMemoryModel,vulkanMemoryModelDeviceScope, andvulkanMemoryModelAvailabilityVisibilityChainsfeatures, which indicate support for the corresponding Vulkan Memory Model capabilities. - The
maxInlineUniformTotalSizelimit is added to provide the total size of all inline uniform block bindings in a pipeline layout.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final longVkAccessFlagBits2 - Access flags for VkAccessFlags2static final intExtendsVkAccessFlagBits.static final intThe API version number for Vulkan 1.3.static final intExtendsVkAttachmentStoreOp.static final intExtendsVkDescriptorType.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkDynamicState.static final intExtendsVkEventCreateFlagBits.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final longVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferstatic final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkFormat.static final intExtendsVkImageAspectFlagBits.static final intExtendsVkImageLayout.static final intExtendsVkImageLayout.static final intExtendsVkObjectType.static final intExtendsVkPipelineCacheCreateFlagBits.static final intExtendsVkResult.static final intExtendsVkPipelineCreateFlagBits.static final intExtendsVkPipelineCreateFlagBits.static final intVkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackstatic final intVkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackstatic final intVkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackstatic final intExtendsVkPipelineShaderStageCreateFlagBits.static final intExtendsVkPipelineShaderStageCreateFlagBits.static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final longVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2static final intExtendsVkPipelineStageFlagBits.static final intVkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instancestatic final intVkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instancestatic final intVkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instancestatic final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intVkSubmitFlagBits - Bitmask specifying behavior of a submissionstatic final intVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolstatic final intVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolstatic final intVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolstatic final intVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolstatic final intVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolFields inherited from class org.lwjgl.vulkan.VK12
VK_API_VERSION_1_2, VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT, VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT, VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT, VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT, VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT, VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, VK_DRIVER_ID_AMD_OPEN_SOURCE, VK_DRIVER_ID_AMD_PROPRIETARY, VK_DRIVER_ID_ARM_PROPRIETARY, VK_DRIVER_ID_BROADCOM_PROPRIETARY, VK_DRIVER_ID_COREAVI_PROPRIETARY, VK_DRIVER_ID_GGP_PROPRIETARY, VK_DRIVER_ID_GOOGLE_SWIFTSHADER, VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA, VK_DRIVER_ID_IMAGINATION_PROPRIETARY, VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA, VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS, VK_DRIVER_ID_JUICE_PROPRIETARY, VK_DRIVER_ID_MESA_DOZEN, VK_DRIVER_ID_MESA_HONEYKRISP, VK_DRIVER_ID_MESA_LLVMPIPE, VK_DRIVER_ID_MESA_NVK, VK_DRIVER_ID_MESA_PANVK, VK_DRIVER_ID_MESA_RADV, VK_DRIVER_ID_MESA_TURNIP, VK_DRIVER_ID_MESA_V3DV, VK_DRIVER_ID_MESA_VENUS, VK_DRIVER_ID_MOLTENVK, VK_DRIVER_ID_NVIDIA_PROPRIETARY, VK_DRIVER_ID_QUALCOMM_PROPRIETARY, VK_DRIVER_ID_SAMSUNG_PROPRIETARY, VK_DRIVER_ID_VERISILICON_PROPRIETARY, VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN, VK_ERROR_FRAGMENTATION, VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT, VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT, VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, VK_RESOLVE_MODE_AVERAGE_BIT, VK_RESOLVE_MODE_MAX_BIT, VK_RESOLVE_MODE_MIN_BIT, VK_RESOLVE_MODE_NONE, VK_RESOLVE_MODE_SAMPLE_ZERO_BIT, VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE, VK_SAMPLER_REDUCTION_MODE_MAX, VK_SAMPLER_REDUCTION_MODE_MIN, VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, VK_SEMAPHORE_TYPE_BINARY, VK_SEMAPHORE_TYPE_TIMELINE, VK_SEMAPHORE_WAIT_ANY_BIT, VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY, VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL, VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE, VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2, VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT, VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2, VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT, VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO, VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT, VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO, VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO, VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO, VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES, VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2, VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO, VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO, VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2, VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2, VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE, VK_STRUCTURE_TYPE_SUBPASS_END_INFO, VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFOFields inherited from class org.lwjgl.vulkan.VK11
VK_API_VERSION_1_1, VK_BUFFER_CREATE_PROTECTED_BIT, VK_CHROMA_LOCATION_COSITED_EVEN, VK_CHROMA_LOCATION_MIDPOINT, VK_COMMAND_POOL_CREATE_PROTECTED_BIT, VK_DEPENDENCY_DEVICE_GROUP_BIT, VK_DEPENDENCY_VIEW_LOCAL_BIT, VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET, VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT, VK_ERROR_INVALID_EXTERNAL_HANDLE, VK_ERROR_OUT_OF_POOL_MEMORY, VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT, VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT, VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT, VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT, VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT, VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT, VK_FENCE_IMPORT_TEMPORARY_BIT, VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16, VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16, VK_FORMAT_B16G16R16G16_422_UNORM, VK_FORMAT_B8G8R8G8_422_UNORM, VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT, VK_FORMAT_FEATURE_DISJOINT_BIT, VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT, VK_FORMAT_FEATURE_TRANSFER_DST_BIT, VK_FORMAT_FEATURE_TRANSFER_SRC_BIT, VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16, VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16, VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16, VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16, VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16, VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM, VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM, VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM, VK_FORMAT_G16_B16R16_2PLANE_420_UNORM, VK_FORMAT_G16_B16R16_2PLANE_422_UNORM, VK_FORMAT_G16B16G16R16_422_UNORM, VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM, VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM, VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM, VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, VK_FORMAT_G8_B8R8_2PLANE_422_UNORM, VK_FORMAT_G8B8G8R8_422_UNORM, VK_FORMAT_R10X6_UNORM_PACK16, VK_FORMAT_R10X6G10X6_UNORM_2PACK16, VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16, VK_FORMAT_R12X4_UNORM_PACK16, VK_FORMAT_R12X4G12X4_UNORM_2PACK16, VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16, VK_IMAGE_ASPECT_PLANE_0_BIT, VK_IMAGE_ASPECT_PLANE_1_BIT, VK_IMAGE_ASPECT_PLANE_2_BIT, VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT, VK_IMAGE_CREATE_ALIAS_BIT, VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT, VK_IMAGE_CREATE_DISJOINT_BIT, VK_IMAGE_CREATE_EXTENDED_USAGE_BIT, VK_IMAGE_CREATE_PROTECTED_BIT, VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT, VK_MEMORY_HEAP_MULTI_INSTANCE_BIT, VK_MEMORY_PROPERTY_PROTECTED_BIT, VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE, VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION, VK_PEER_MEMORY_FEATURE_COPY_DST_BIT, VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT, VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT, VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT, VK_PIPELINE_CREATE_DISPATCH_BASE, VK_PIPELINE_CREATE_DISPATCH_BASE_BIT, VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT, VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES, VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY, VK_QUEUE_PROTECTED_BIT, VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709, VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY, VK_SAMPLER_YCBCR_RANGE_ITU_FULL, VK_SAMPLER_YCBCR_RANGE_ITU_NARROW, VK_SEMAPHORE_IMPORT_TEMPORARY_BIT, VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO, VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO, VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO, VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO, VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO, VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT, VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO, VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO, VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2, VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO, VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO, VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO, VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES, VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES, VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES, VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO, VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO, VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES, VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2, VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2, VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2, VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO, VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2, VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO, VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO, VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO, VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS, VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES, VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO, VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2, VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO, VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO, VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES, VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO, VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2, VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2, VK_SUBGROUP_FEATURE_ARITHMETIC_BIT, VK_SUBGROUP_FEATURE_BALLOT_BIT, VK_SUBGROUP_FEATURE_BASIC_BIT, VK_SUBGROUP_FEATURE_CLUSTERED_BIT, VK_SUBGROUP_FEATURE_QUAD_BIT, VK_SUBGROUP_FEATURE_SHUFFLE_BIT, VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT, VK_SUBGROUP_FEATURE_VOTE_BIT, VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT, VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFTFields inherited from class org.lwjgl.vulkan.VK10
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_INDEX_READ_BIT, VK_ACCESS_INDIRECT_COMMAND_READ_BIT, VK_ACCESS_INPUT_ATTACHMENT_READ_BIT, VK_ACCESS_MEMORY_READ_BIT, VK_ACCESS_MEMORY_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT, VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_TRANSFER_READ_BIT, VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_UNIFORM_READ_BIT, VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, VK_API_VERSION_1_0, VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT, VK_ATTACHMENT_LOAD_OP_CLEAR, VK_ATTACHMENT_LOAD_OP_DONT_CARE, VK_ATTACHMENT_LOAD_OP_LOAD, VK_ATTACHMENT_STORE_OP_DONT_CARE, VK_ATTACHMENT_STORE_OP_STORE, VK_ATTACHMENT_UNUSED, VK_BLEND_FACTOR_CONSTANT_ALPHA, VK_BLEND_FACTOR_CONSTANT_COLOR, VK_BLEND_FACTOR_DST_ALPHA, VK_BLEND_FACTOR_DST_COLOR, VK_BLEND_FACTOR_ONE, VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR, VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR, VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, VK_BLEND_FACTOR_SRC_ALPHA, VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, VK_BLEND_FACTOR_SRC_COLOR, VK_BLEND_FACTOR_SRC1_ALPHA, VK_BLEND_FACTOR_SRC1_COLOR, VK_BLEND_FACTOR_ZERO, VK_BLEND_OP_ADD, VK_BLEND_OP_MAX, VK_BLEND_OP_MIN, VK_BLEND_OP_REVERSE_SUBTRACT, VK_BLEND_OP_SUBTRACT, VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK, VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE, VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK, VK_BORDER_COLOR_INT_OPAQUE_BLACK, VK_BORDER_COLOR_INT_OPAQUE_WHITE, VK_BORDER_COLOR_INT_TRANSPARENT_BLACK, VK_BUFFER_CREATE_SPARSE_ALIASED_BIT, VK_BUFFER_CREATE_SPARSE_BINDING_BIT, VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT, VK_BUFFER_USAGE_INDEX_BUFFER_BIT, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT, VK_BUFFER_USAGE_TRANSFER_DST_BIT, VK_BUFFER_USAGE_TRANSFER_SRC_BIT, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, VK_COLOR_COMPONENT_A_BIT, VK_COLOR_COMPONENT_B_BIT, VK_COLOR_COMPONENT_G_BIT, VK_COLOR_COMPONENT_R_BIT, VK_COMMAND_BUFFER_LEVEL_PRIMARY, VK_COMMAND_BUFFER_LEVEL_SECONDARY, VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT, VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT, VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT, VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT, VK_COMPARE_OP_ALWAYS, VK_COMPARE_OP_EQUAL, VK_COMPARE_OP_GREATER, VK_COMPARE_OP_GREATER_OR_EQUAL, VK_COMPARE_OP_LESS, VK_COMPARE_OP_LESS_OR_EQUAL, VK_COMPARE_OP_NEVER, VK_COMPARE_OP_NOT_EQUAL, VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_CULL_MODE_BACK_BIT, VK_CULL_MODE_FRONT_AND_BACK, VK_CULL_MODE_FRONT_BIT, VK_CULL_MODE_NONE, VK_DEPENDENCY_BY_REGION_BIT, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_SAMPLER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_DYNAMIC_STATE_BLEND_CONSTANTS, VK_DYNAMIC_STATE_DEPTH_BIAS, VK_DYNAMIC_STATE_DEPTH_BOUNDS, VK_DYNAMIC_STATE_LINE_WIDTH, VK_DYNAMIC_STATE_SCISSOR, VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK, VK_DYNAMIC_STATE_STENCIL_REFERENCE, VK_DYNAMIC_STATE_STENCIL_WRITE_MASK, VK_DYNAMIC_STATE_VIEWPORT, VK_ERROR_DEVICE_LOST, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_FORMAT_NOT_SUPPORTED, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_INCOMPATIBLE_DRIVER, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_MEMORY_MAP_FAILED, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_UNKNOWN, VK_EVENT_RESET, VK_EVENT_SET, VK_FALSE, VK_FENCE_CREATE_SIGNALED_BIT, VK_FILTER_LINEAR, VK_FILTER_NEAREST, VK_FORMAT_A1R5G5B5_UNORM_PACK16, VK_FORMAT_A2B10G10R10_SINT_PACK32, VK_FORMAT_A2B10G10R10_SNORM_PACK32, VK_FORMAT_A2B10G10R10_SSCALED_PACK32, VK_FORMAT_A2B10G10R10_UINT_PACK32, VK_FORMAT_A2B10G10R10_UNORM_PACK32, VK_FORMAT_A2B10G10R10_USCALED_PACK32, VK_FORMAT_A2R10G10B10_SINT_PACK32, VK_FORMAT_A2R10G10B10_SNORM_PACK32, VK_FORMAT_A2R10G10B10_SSCALED_PACK32, VK_FORMAT_A2R10G10B10_UINT_PACK32, VK_FORMAT_A2R10G10B10_UNORM_PACK32, VK_FORMAT_A2R10G10B10_USCALED_PACK32, VK_FORMAT_A8B8G8R8_SINT_PACK32, VK_FORMAT_A8B8G8R8_SNORM_PACK32, VK_FORMAT_A8B8G8R8_SRGB_PACK32, VK_FORMAT_A8B8G8R8_SSCALED_PACK32, VK_FORMAT_A8B8G8R8_UINT_PACK32, VK_FORMAT_A8B8G8R8_UNORM_PACK32, VK_FORMAT_A8B8G8R8_USCALED_PACK32, VK_FORMAT_ASTC_10x10_SRGB_BLOCK, VK_FORMAT_ASTC_10x10_UNORM_BLOCK, VK_FORMAT_ASTC_10x5_SRGB_BLOCK, VK_FORMAT_ASTC_10x5_UNORM_BLOCK, VK_FORMAT_ASTC_10x6_SRGB_BLOCK, VK_FORMAT_ASTC_10x6_UNORM_BLOCK, VK_FORMAT_ASTC_10x8_SRGB_BLOCK, VK_FORMAT_ASTC_10x8_UNORM_BLOCK, VK_FORMAT_ASTC_12x10_SRGB_BLOCK, VK_FORMAT_ASTC_12x10_UNORM_BLOCK, VK_FORMAT_ASTC_12x12_SRGB_BLOCK, VK_FORMAT_ASTC_12x12_UNORM_BLOCK, VK_FORMAT_ASTC_4x4_SRGB_BLOCK, VK_FORMAT_ASTC_4x4_UNORM_BLOCK, VK_FORMAT_ASTC_5x4_SRGB_BLOCK, VK_FORMAT_ASTC_5x4_UNORM_BLOCK, VK_FORMAT_ASTC_5x5_SRGB_BLOCK, VK_FORMAT_ASTC_5x5_UNORM_BLOCK, VK_FORMAT_ASTC_6x5_SRGB_BLOCK, VK_FORMAT_ASTC_6x5_UNORM_BLOCK, VK_FORMAT_ASTC_6x6_SRGB_BLOCK, VK_FORMAT_ASTC_6x6_UNORM_BLOCK, VK_FORMAT_ASTC_8x5_SRGB_BLOCK, VK_FORMAT_ASTC_8x5_UNORM_BLOCK, VK_FORMAT_ASTC_8x6_SRGB_BLOCK, VK_FORMAT_ASTC_8x6_UNORM_BLOCK, VK_FORMAT_ASTC_8x8_SRGB_BLOCK, VK_FORMAT_ASTC_8x8_UNORM_BLOCK, VK_FORMAT_B10G11R11_UFLOAT_PACK32, VK_FORMAT_B4G4R4A4_UNORM_PACK16, VK_FORMAT_B5G5R5A1_UNORM_PACK16, VK_FORMAT_B5G6R5_UNORM_PACK16, VK_FORMAT_B8G8R8_SINT, VK_FORMAT_B8G8R8_SNORM, VK_FORMAT_B8G8R8_SRGB, VK_FORMAT_B8G8R8_SSCALED, VK_FORMAT_B8G8R8_UINT, VK_FORMAT_B8G8R8_UNORM, VK_FORMAT_B8G8R8_USCALED, VK_FORMAT_B8G8R8A8_SINT, VK_FORMAT_B8G8R8A8_SNORM, VK_FORMAT_B8G8R8A8_SRGB, VK_FORMAT_B8G8R8A8_SSCALED, VK_FORMAT_B8G8R8A8_UINT, VK_FORMAT_B8G8R8A8_UNORM, VK_FORMAT_B8G8R8A8_USCALED, VK_FORMAT_BC1_RGB_SRGB_BLOCK, VK_FORMAT_BC1_RGB_UNORM_BLOCK, VK_FORMAT_BC1_RGBA_SRGB_BLOCK, VK_FORMAT_BC1_RGBA_UNORM_BLOCK, VK_FORMAT_BC2_SRGB_BLOCK, VK_FORMAT_BC2_UNORM_BLOCK, VK_FORMAT_BC3_SRGB_BLOCK, VK_FORMAT_BC3_UNORM_BLOCK, VK_FORMAT_BC4_SNORM_BLOCK, VK_FORMAT_BC4_UNORM_BLOCK, VK_FORMAT_BC5_SNORM_BLOCK, VK_FORMAT_BC5_UNORM_BLOCK, VK_FORMAT_BC6H_SFLOAT_BLOCK, VK_FORMAT_BC6H_UFLOAT_BLOCK, VK_FORMAT_BC7_SRGB_BLOCK, VK_FORMAT_BC7_UNORM_BLOCK, VK_FORMAT_D16_UNORM, VK_FORMAT_D16_UNORM_S8_UINT, VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D32_SFLOAT, VK_FORMAT_D32_SFLOAT_S8_UINT, VK_FORMAT_E5B9G9R9_UFLOAT_PACK32, VK_FORMAT_EAC_R11_SNORM_BLOCK, VK_FORMAT_EAC_R11_UNORM_BLOCK, VK_FORMAT_EAC_R11G11_SNORM_BLOCK, VK_FORMAT_EAC_R11G11_UNORM_BLOCK, VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK, VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK, VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK, VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK, VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK, VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK, VK_FORMAT_FEATURE_BLIT_DST_BIT, VK_FORMAT_FEATURE_BLIT_SRC_BIT, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT, VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT, VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT, VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT, VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT, VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT, VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT, VK_FORMAT_R16_SFLOAT, VK_FORMAT_R16_SINT, VK_FORMAT_R16_SNORM, VK_FORMAT_R16_SSCALED, VK_FORMAT_R16_UINT, VK_FORMAT_R16_UNORM, VK_FORMAT_R16_USCALED, VK_FORMAT_R16G16_SFLOAT, VK_FORMAT_R16G16_SINT, VK_FORMAT_R16G16_SNORM, VK_FORMAT_R16G16_SSCALED, VK_FORMAT_R16G16_UINT, VK_FORMAT_R16G16_UNORM, VK_FORMAT_R16G16_USCALED, VK_FORMAT_R16G16B16_SFLOAT, VK_FORMAT_R16G16B16_SINT, VK_FORMAT_R16G16B16_SNORM, VK_FORMAT_R16G16B16_SSCALED, VK_FORMAT_R16G16B16_UINT, VK_FORMAT_R16G16B16_UNORM, VK_FORMAT_R16G16B16_USCALED, VK_FORMAT_R16G16B16A16_SFLOAT, VK_FORMAT_R16G16B16A16_SINT, VK_FORMAT_R16G16B16A16_SNORM, VK_FORMAT_R16G16B16A16_SSCALED, VK_FORMAT_R16G16B16A16_UINT, VK_FORMAT_R16G16B16A16_UNORM, VK_FORMAT_R16G16B16A16_USCALED, VK_FORMAT_R32_SFLOAT, VK_FORMAT_R32_SINT, VK_FORMAT_R32_UINT, VK_FORMAT_R32G32_SFLOAT, VK_FORMAT_R32G32_SINT, VK_FORMAT_R32G32_UINT, VK_FORMAT_R32G32B32_SFLOAT, VK_FORMAT_R32G32B32_SINT, VK_FORMAT_R32G32B32_UINT, VK_FORMAT_R32G32B32A32_SFLOAT, VK_FORMAT_R32G32B32A32_SINT, VK_FORMAT_R32G32B32A32_UINT, VK_FORMAT_R4G4_UNORM_PACK8, VK_FORMAT_R4G4B4A4_UNORM_PACK16, VK_FORMAT_R5G5B5A1_UNORM_PACK16, VK_FORMAT_R5G6B5_UNORM_PACK16, VK_FORMAT_R64_SFLOAT, VK_FORMAT_R64_SINT, VK_FORMAT_R64_UINT, VK_FORMAT_R64G64_SFLOAT, VK_FORMAT_R64G64_SINT, VK_FORMAT_R64G64_UINT, VK_FORMAT_R64G64B64_SFLOAT, VK_FORMAT_R64G64B64_SINT, VK_FORMAT_R64G64B64_UINT, VK_FORMAT_R64G64B64A64_SFLOAT, VK_FORMAT_R64G64B64A64_SINT, VK_FORMAT_R64G64B64A64_UINT, VK_FORMAT_R8_SINT, VK_FORMAT_R8_SNORM, VK_FORMAT_R8_SRGB, VK_FORMAT_R8_SSCALED, VK_FORMAT_R8_UINT, VK_FORMAT_R8_UNORM, VK_FORMAT_R8_USCALED, VK_FORMAT_R8G8_SINT, VK_FORMAT_R8G8_SNORM, VK_FORMAT_R8G8_SRGB, VK_FORMAT_R8G8_SSCALED, VK_FORMAT_R8G8_UINT, VK_FORMAT_R8G8_UNORM, VK_FORMAT_R8G8_USCALED, VK_FORMAT_R8G8B8_SINT, VK_FORMAT_R8G8B8_SNORM, VK_FORMAT_R8G8B8_SRGB, VK_FORMAT_R8G8B8_SSCALED, VK_FORMAT_R8G8B8_UINT, VK_FORMAT_R8G8B8_UNORM, VK_FORMAT_R8G8B8_USCALED, VK_FORMAT_R8G8B8A8_SINT, VK_FORMAT_R8G8B8A8_SNORM, VK_FORMAT_R8G8B8A8_SRGB, VK_FORMAT_R8G8B8A8_SSCALED, VK_FORMAT_R8G8B8A8_UINT, VK_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_USCALED, VK_FORMAT_S8_UINT, VK_FORMAT_UNDEFINED, VK_FORMAT_X8_D24_UNORM_PACK32, VK_FRONT_FACE_CLOCKWISE, VK_FRONT_FACE_COUNTER_CLOCKWISE, VK_HEADER_VERSION, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_ASPECT_DEPTH_BIT, VK_IMAGE_ASPECT_METADATA_BIT, VK_IMAGE_ASPECT_STENCIL_BIT, VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT, VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, VK_IMAGE_CREATE_SPARSE_BINDING_BIT, VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_PREINITIALIZED, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_TILING_LINEAR, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_TYPE_1D, VK_IMAGE_TYPE_2D, VK_IMAGE_TYPE_3D, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, VK_IMAGE_USAGE_SAMPLED_BIT, VK_IMAGE_USAGE_STORAGE_BIT, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_USAGE_TRANSFER_SRC_BIT, VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT, VK_IMAGE_VIEW_TYPE_1D, VK_IMAGE_VIEW_TYPE_1D_ARRAY, VK_IMAGE_VIEW_TYPE_2D, VK_IMAGE_VIEW_TYPE_2D_ARRAY, VK_IMAGE_VIEW_TYPE_3D, VK_IMAGE_VIEW_TYPE_CUBE, VK_IMAGE_VIEW_TYPE_CUBE_ARRAY, VK_INCOMPLETE, VK_INDEX_TYPE_UINT16, VK_INDEX_TYPE_UINT32, VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE, VK_LOD_CLAMP_NONE, VK_LOGIC_OP_AND, VK_LOGIC_OP_AND_INVERTED, VK_LOGIC_OP_AND_REVERSE, VK_LOGIC_OP_CLEAR, VK_LOGIC_OP_COPY, VK_LOGIC_OP_COPY_INVERTED, VK_LOGIC_OP_EQUIVALENT, VK_LOGIC_OP_INVERT, VK_LOGIC_OP_NAND, VK_LOGIC_OP_NO_OP, VK_LOGIC_OP_NOR, VK_LOGIC_OP_OR, VK_LOGIC_OP_OR_INVERTED, VK_LOGIC_OP_OR_REVERSE, VK_LOGIC_OP_SET, VK_LOGIC_OP_XOR, VK_LUID_SIZE, VK_MAX_DESCRIPTION_SIZE, VK_MAX_DEVICE_GROUP_SIZE, VK_MAX_DRIVER_INFO_SIZE, VK_MAX_DRIVER_NAME_SIZE, VK_MAX_EXTENSION_NAME_SIZE, VK_MAX_GLOBAL_PRIORITY_SIZE, VK_MAX_MEMORY_HEAPS, VK_MAX_MEMORY_TYPES, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, VK_MEMORY_HEAP_DEVICE_LOCAL_BIT, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, VK_MEMORY_PROPERTY_HOST_CACHED_BIT, VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT, VK_NOT_READY, VK_NULL_HANDLE, VK_OBJECT_TYPE_BUFFER, VK_OBJECT_TYPE_BUFFER_VIEW, VK_OBJECT_TYPE_COMMAND_BUFFER, VK_OBJECT_TYPE_COMMAND_POOL, VK_OBJECT_TYPE_DESCRIPTOR_POOL, VK_OBJECT_TYPE_DESCRIPTOR_SET, VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT, VK_OBJECT_TYPE_DEVICE, VK_OBJECT_TYPE_DEVICE_MEMORY, VK_OBJECT_TYPE_EVENT, VK_OBJECT_TYPE_FENCE, VK_OBJECT_TYPE_FRAMEBUFFER, VK_OBJECT_TYPE_IMAGE, VK_OBJECT_TYPE_IMAGE_VIEW, VK_OBJECT_TYPE_INSTANCE, VK_OBJECT_TYPE_PHYSICAL_DEVICE, VK_OBJECT_TYPE_PIPELINE, VK_OBJECT_TYPE_PIPELINE_CACHE, VK_OBJECT_TYPE_PIPELINE_LAYOUT, VK_OBJECT_TYPE_QUERY_POOL, VK_OBJECT_TYPE_QUEUE, VK_OBJECT_TYPE_RENDER_PASS, VK_OBJECT_TYPE_SAMPLER, VK_OBJECT_TYPE_SEMAPHORE, VK_OBJECT_TYPE_SHADER_MODULE, VK_OBJECT_TYPE_UNKNOWN, VK_PHYSICAL_DEVICE_TYPE_CPU, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, VK_PHYSICAL_DEVICE_TYPE_OTHER, VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU, VK_PIPELINE_BIND_POINT_COMPUTE, VK_PIPELINE_BIND_POINT_GRAPHICS, VK_PIPELINE_CACHE_HEADER_VERSION_ONE, VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT, VK_PIPELINE_CREATE_DERIVATIVE_BIT, VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, VK_POLYGON_MODE_FILL, VK_POLYGON_MODE_LINE, VK_POLYGON_MODE_POINT, VK_PRIMITIVE_TOPOLOGY_LINE_LIST, VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_PATCH_LIST, VK_PRIMITIVE_TOPOLOGY_POINT_LIST, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, VK_QUERY_CONTROL_PRECISE_BIT, VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT, VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT, VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT, VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT, VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT, VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT, VK_QUERY_RESULT_64_BIT, VK_QUERY_RESULT_PARTIAL_BIT, VK_QUERY_RESULT_WAIT_BIT, VK_QUERY_RESULT_WITH_AVAILABILITY_BIT, VK_QUERY_TYPE_OCCLUSION, VK_QUERY_TYPE_PIPELINE_STATISTICS, VK_QUERY_TYPE_TIMESTAMP, VK_QUEUE_COMPUTE_BIT, VK_QUEUE_FAMILY_EXTERNAL, VK_QUEUE_FAMILY_IGNORED, VK_QUEUE_GRAPHICS_BIT, VK_QUEUE_SPARSE_BINDING_BIT, VK_QUEUE_TRANSFER_BIT, VK_REMAINING_ARRAY_LAYERS, VK_REMAINING_MIP_LEVELS, VK_SAMPLE_COUNT_1_BIT, VK_SAMPLE_COUNT_16_BIT, VK_SAMPLE_COUNT_2_BIT, VK_SAMPLE_COUNT_32_BIT, VK_SAMPLE_COUNT_4_BIT, VK_SAMPLE_COUNT_64_BIT, VK_SAMPLE_COUNT_8_BIT, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT, VK_SAMPLER_ADDRESS_MODE_REPEAT, VK_SAMPLER_MIPMAP_MODE_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, VK_SHADER_STAGE_ALL, VK_SHADER_STAGE_ALL_GRAPHICS, VK_SHADER_STAGE_COMPUTE_BIT, VK_SHADER_STAGE_FRAGMENT_BIT, VK_SHADER_STAGE_GEOMETRY_BIT, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, VK_SHADER_STAGE_VERTEX_BIT, VK_SHARING_MODE_CONCURRENT, VK_SHARING_MODE_EXCLUSIVE, VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT, VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT, VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, VK_SPARSE_MEMORY_BIND_METADATA_BIT, VK_STENCIL_FACE_BACK_BIT, VK_STENCIL_FACE_FRONT_AND_BACK, VK_STENCIL_FACE_FRONT_BIT, VK_STENCIL_FRONT_AND_BACK, VK_STENCIL_OP_DECREMENT_AND_CLAMP, VK_STENCIL_OP_DECREMENT_AND_WRAP, VK_STENCIL_OP_INCREMENT_AND_CLAMP, VK_STENCIL_OP_INCREMENT_AND_WRAP, VK_STENCIL_OP_INVERT, VK_STENCIL_OP_KEEP, VK_STENCIL_OP_REPLACE, VK_STENCIL_OP_ZERO, VK_STRUCTURE_TYPE_APPLICATION_INFO, VK_STRUCTURE_TYPE_BIND_SPARSE_INFO, VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO, VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO, VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET, VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, VK_STRUCTURE_TYPE_EVENT_CREATE_INFO, VK_STRUCTURE_TYPE_FENCE_CREATE_INFO, VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO, VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO, VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE, VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, VK_STRUCTURE_TYPE_MEMORY_BARRIER, VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO, VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO, VK_STRUCTURE_TYPE_SUBMIT_INFO, VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET, VK_SUBPASS_CONTENTS_INLINE, VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS, VK_SUBPASS_EXTERNAL, VK_SUCCESS, VK_SYSTEM_ALLOCATION_SCOPE_CACHE, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT, VK_TIMEOUT, VK_TRUE, VK_UUID_SIZE, VK_VENDOR_ID_CODEPLAY, VK_VENDOR_ID_KAZAN, VK_VENDOR_ID_KHRONOS, VK_VENDOR_ID_MESA, VK_VENDOR_ID_MOBILEYE, VK_VENDOR_ID_POCL, VK_VENDOR_ID_VIV, VK_VENDOR_ID_VSI, VK_VERTEX_INPUT_RATE_INSTANCE, VK_VERTEX_INPUT_RATE_VERTEX, VK_WHOLE_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic voidnvkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pRenderingInfo) Unsafe version of:CmdBeginRenderingstatic voidnvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides) Unsafe version of:CmdBindVertexBuffers2static voidnvkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pBlitImageInfo) Unsafe version of:CmdBlitImage2static voidnvkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferInfo) Unsafe version of:CmdCopyBuffer2static voidnvkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferToImageInfo) Unsafe version of:CmdCopyBufferToImage2static voidnvkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageInfo) Unsafe version of:CmdCopyImage2static voidnvkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageToBufferInfo) Unsafe version of:CmdCopyImageToBuffer2static voidnvkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pDependencyInfo) Unsafe version of:CmdPipelineBarrier2static voidnvkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pResolveImageInfo) Unsafe version of:CmdResolveImage2static voidnvkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long pDependencyInfo) Unsafe version of:CmdSetEvent2static voidnvkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int scissorCount, long pScissors) Unsafe version of:CmdSetScissorWithCountstatic voidnvkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int viewportCount, long pViewports) Unsafe version of:CmdSetViewportWithCountstatic voidnvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int eventCount, long pEvents, long pDependencyInfos) Unsafe version of:CmdWaitEvents2static intnvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long pCreateInfo, long pAllocator, long pPrivateDataSlot) Unsafe version of:CreatePrivateDataSlotstatic voidnvkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, long pAllocator) Unsafe version of:DestroyPrivateDataSlotstatic voidnvkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements) Unsafe version of:GetDeviceBufferMemoryRequirementsstatic voidnvkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements) Unsafe version of:GetDeviceImageMemoryRequirementsstatic voidnvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pSparseMemoryRequirementCount, long pSparseMemoryRequirements) Unsafe version of:GetDeviceImageSparseMemoryRequirementsstatic intnvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pToolCount, long pToolProperties) Unsafe version of:GetPhysicalDeviceToolPropertiesstatic voidnvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long pData) Unsafe version of:GetPrivateDatastatic intnvkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, int submitCount, long pSubmits, long fence) Unsafe version of:QueueSubmit2static voidvkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingInfo pRenderingInfo) Begin a dynamic render pass instance.static voidvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, long @Nullable [] pSizes, long @Nullable [] pStrides) Array version of:CmdBindVertexBuffers2static voidvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, LongBuffer pBuffers, LongBuffer pOffsets, @Nullable LongBuffer pSizes, @Nullable LongBuffer pStrides) Bind vertex buffers to a command buffer and dynamically set strides.static voidvkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkBlitImageInfo2 pBlitImageInfo) Copy regions of an image, potentially performing format conversion,.static voidvkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferInfo2 pCopyBufferInfo) Copy data between buffer regions.static voidvkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferToImageInfo2 pCopyBufferToImageInfo) Copy data from a buffer into an image.static voidvkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageInfo2 pCopyImageInfo) Copy data between images.static voidvkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageToBufferInfo2 pCopyImageToBufferInfo) Copy image data into a buffer.static voidvkCmdEndRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer) End a dynamic render pass instance.static voidvkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkDependencyInfo pDependencyInfo) Insert a memory dependency.static voidvkCmdResetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long stageMask) Reset an event object to non-signaled state.static voidvkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkResolveImageInfo2 pResolveImageInfo) Resolve regions of an image.static voidvkCmdSetCullMode(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int cullMode) Set cull mode dynamically for a command buffer.static voidvkCmdSetDepthBiasEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBiasEnable) Control whether to bias fragment depth values dynamically for a command buffer.static voidvkCmdSetDepthBoundsTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable) Set depth bounds test enable dynamically for a command buffer.static voidvkCmdSetDepthCompareOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int depthCompareOp) Set depth comparison operator dynamically for a command buffer.static voidvkCmdSetDepthTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthTestEnable) Set depth test enable dynamically for a command buffer.static voidvkCmdSetDepthWriteEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthWriteEnable) Set depth write enable dynamically for a command buffer.static voidvkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, VkDependencyInfo pDependencyInfo) Set an event object to signaled state.static voidvkCmdSetFrontFace(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int frontFace) Set front face orientation dynamically for a command buffer.static voidvkCmdSetPrimitiveRestartEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean primitiveRestartEnable) Set primitive assembly restart state dynamically for a command buffer.static voidvkCmdSetPrimitiveTopology(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int primitiveTopology) Set primitive topology state dynamically for a command buffer.static voidvkCmdSetRasterizerDiscardEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean rasterizerDiscardEnable) Control whether primitives are discarded before the rasterization stage dynamically for a command buffer.static voidvkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors) Set the scissor count and scissor rectangular bounds dynamically for a command buffer.static voidvkCmdSetStencilOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp) Set stencil operation dynamically for a command buffer.static voidvkCmdSetStencilTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean stencilTestEnable) Set stencil test enable dynamically for a command buffer.static voidvkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports) Set the viewport count and viewports dynamically for a command buffer.static voidvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long[] pEvents, VkDependencyInfo.Buffer pDependencyInfos) Array version of:CmdWaitEvents2static voidvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, LongBuffer pEvents, VkDependencyInfo.Buffer pDependencyInfos) Wait for one or more events.static voidvkCmdWriteTimestamp2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long stage, long queryPool, int query) Write a device timestamp into a query object.static intvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, @Nullable VkAllocationCallbacks pAllocator, long[] pPrivateDataSlot) Array version of:CreatePrivateDataSlotstatic intvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, @Nullable VkAllocationCallbacks pAllocator, LongBuffer pPrivateDataSlot) Create a slot for private data storage.static voidvkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, @Nullable VkAllocationCallbacks pAllocator) Destroy a private data slot.static voidvkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceBufferMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements) Returns the memory requirements for specified Vulkan object.static voidvkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements) Returns the memory requirements for specified Vulkan object.static voidvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, int[] pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements) Array version of:GetDeviceImageSparseMemoryRequirementsstatic voidvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, IntBuffer pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements) Query the memory requirements for a sparse image.static intvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pToolCount, @Nullable VkPhysicalDeviceToolProperties.Buffer pToolProperties) Array version of:GetPhysicalDeviceToolPropertiesstatic intvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pToolCount, @Nullable VkPhysicalDeviceToolProperties.Buffer pToolProperties) Reports properties of tools active on the specified physical device.static voidvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long[] pData) Array version of:GetPrivateDatastatic voidvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, LongBuffer pData) Retrieve data associated with a Vulkan object.static intvkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, @Nullable VkSubmitInfo2.Buffer pSubmits, long fence) Submits command buffers to a queue.static intvkSetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long data) Associate data with a Vulkan object.Methods inherited from class org.lwjgl.vulkan.VK12
nvkCmdBeginRenderPass2, nvkCmdEndRenderPass2, nvkCmdNextSubpass2, nvkCreateRenderPass2, nvkGetBufferDeviceAddress, nvkGetBufferOpaqueCaptureAddress, nvkGetDeviceMemoryOpaqueCaptureAddress, nvkGetSemaphoreCounterValue, nvkSignalSemaphore, nvkWaitSemaphores, vkCmdBeginRenderPass2, vkCmdDrawIndexedIndirectCount, vkCmdDrawIndirectCount, vkCmdEndRenderPass2, vkCmdNextSubpass2, vkCreateRenderPass2, vkCreateRenderPass2, vkGetBufferDeviceAddress, vkGetBufferOpaqueCaptureAddress, vkGetDeviceMemoryOpaqueCaptureAddress, vkGetSemaphoreCounterValue, vkGetSemaphoreCounterValue, vkResetQueryPool, vkSignalSemaphore, vkWaitSemaphoresMethods inherited from class org.lwjgl.vulkan.VK11
nvkBindBufferMemory2, nvkBindImageMemory2, nvkCreateDescriptorUpdateTemplate, nvkCreateSamplerYcbcrConversion, nvkDestroyDescriptorUpdateTemplate, nvkDestroySamplerYcbcrConversion, nvkEnumerateInstanceVersion, nvkEnumeratePhysicalDeviceGroups, nvkGetBufferMemoryRequirements2, nvkGetDescriptorSetLayoutSupport, nvkGetDeviceGroupPeerMemoryFeatures, nvkGetDeviceQueue2, nvkGetImageMemoryRequirements2, nvkGetImageSparseMemoryRequirements2, nvkGetPhysicalDeviceExternalBufferProperties, nvkGetPhysicalDeviceExternalFenceProperties, nvkGetPhysicalDeviceExternalSemaphoreProperties, nvkGetPhysicalDeviceFeatures2, nvkGetPhysicalDeviceFormatProperties2, nvkGetPhysicalDeviceImageFormatProperties2, nvkGetPhysicalDeviceMemoryProperties2, nvkGetPhysicalDeviceProperties2, nvkGetPhysicalDeviceQueueFamilyProperties2, nvkGetPhysicalDeviceSparseImageFormatProperties2, vkBindBufferMemory2, vkBindImageMemory2, vkCmdDispatchBase, vkCmdSetDeviceMask, vkCreateDescriptorUpdateTemplate, vkCreateDescriptorUpdateTemplate, vkCreateSamplerYcbcrConversion, vkCreateSamplerYcbcrConversion, vkDestroyDescriptorUpdateTemplate, vkDestroySamplerYcbcrConversion, vkEnumerateInstanceVersion, vkEnumerateInstanceVersion, vkEnumeratePhysicalDeviceGroups, vkEnumeratePhysicalDeviceGroups, vkGetBufferMemoryRequirements2, vkGetDescriptorSetLayoutSupport, vkGetDeviceGroupPeerMemoryFeatures, vkGetDeviceGroupPeerMemoryFeatures, vkGetDeviceQueue2, vkGetImageMemoryRequirements2, vkGetImageSparseMemoryRequirements2, vkGetImageSparseMemoryRequirements2, vkGetPhysicalDeviceExternalBufferProperties, vkGetPhysicalDeviceExternalFenceProperties, vkGetPhysicalDeviceExternalSemaphoreProperties, vkGetPhysicalDeviceFeatures2, vkGetPhysicalDeviceFormatProperties2, vkGetPhysicalDeviceImageFormatProperties2, vkGetPhysicalDeviceMemoryProperties2, vkGetPhysicalDeviceProperties2, vkGetPhysicalDeviceQueueFamilyProperties2, vkGetPhysicalDeviceQueueFamilyProperties2, vkGetPhysicalDeviceSparseImageFormatProperties2, vkGetPhysicalDeviceSparseImageFormatProperties2, vkTrimCommandPool, vkUpdateDescriptorSetWithTemplateMethods inherited from class org.lwjgl.vulkan.VK10
nvkAllocateCommandBuffers, nvkAllocateDescriptorSets, nvkAllocateMemory, nvkBeginCommandBuffer, nvkCmdBeginRenderPass, nvkCmdBindDescriptorSets, nvkCmdBindVertexBuffers, nvkCmdBlitImage, nvkCmdClearAttachments, nvkCmdClearColorImage, nvkCmdClearDepthStencilImage, nvkCmdCopyBuffer, nvkCmdCopyBufferToImage, nvkCmdCopyImage, nvkCmdCopyImageToBuffer, nvkCmdExecuteCommands, nvkCmdPipelineBarrier, nvkCmdPushConstants, nvkCmdResolveImage, nvkCmdSetBlendConstants, nvkCmdSetScissor, nvkCmdSetViewport, nvkCmdUpdateBuffer, nvkCmdWaitEvents, nvkCreateBuffer, nvkCreateBufferView, nvkCreateCommandPool, nvkCreateComputePipelines, nvkCreateDescriptorPool, nvkCreateDescriptorSetLayout, nvkCreateDevice, nvkCreateEvent, nvkCreateFence, nvkCreateFramebuffer, nvkCreateGraphicsPipelines, nvkCreateImage, nvkCreateImageView, nvkCreateInstance, nvkCreatePipelineCache, nvkCreatePipelineLayout, nvkCreateQueryPool, nvkCreateRenderPass, nvkCreateSampler, nvkCreateSemaphore, nvkCreateShaderModule, nvkDestroyBuffer, nvkDestroyBufferView, nvkDestroyCommandPool, nvkDestroyDescriptorPool, nvkDestroyDescriptorSetLayout, nvkDestroyDevice, nvkDestroyEvent, nvkDestroyFence, nvkDestroyFramebuffer, nvkDestroyImage, nvkDestroyImageView, nvkDestroyInstance, nvkDestroyPipeline, nvkDestroyPipelineCache, nvkDestroyPipelineLayout, nvkDestroyQueryPool, nvkDestroyRenderPass, nvkDestroySampler, nvkDestroySemaphore, nvkDestroyShaderModule, nvkEnumerateDeviceExtensionProperties, nvkEnumerateDeviceLayerProperties, nvkEnumerateInstanceExtensionProperties, nvkEnumerateInstanceLayerProperties, nvkEnumeratePhysicalDevices, nvkFlushMappedMemoryRanges, nvkFreeCommandBuffers, nvkFreeDescriptorSets, nvkFreeMemory, nvkGetBufferMemoryRequirements, nvkGetDeviceMemoryCommitment, nvkGetDeviceProcAddr, nvkGetDeviceQueue, nvkGetImageMemoryRequirements, nvkGetImageSparseMemoryRequirements, nvkGetImageSubresourceLayout, nvkGetInstanceProcAddr, nvkGetPhysicalDeviceFeatures, nvkGetPhysicalDeviceFormatProperties, nvkGetPhysicalDeviceImageFormatProperties, nvkGetPhysicalDeviceMemoryProperties, nvkGetPhysicalDeviceProperties, nvkGetPhysicalDeviceQueueFamilyProperties, nvkGetPhysicalDeviceSparseImageFormatProperties, nvkGetPipelineCacheData, nvkGetQueryPoolResults, nvkGetRenderAreaGranularity, nvkInvalidateMappedMemoryRanges, nvkMapMemory, nvkMergePipelineCaches, nvkQueueBindSparse, nvkQueueSubmit, nvkResetFences, nvkUpdateDescriptorSets, nvkWaitForFences, VK_API_VERSION_MAJOR, VK_API_VERSION_MINOR, VK_API_VERSION_PATCH, VK_API_VERSION_VARIANT, VK_MAKE_API_VERSION, VK_MAKE_VERSION, VK_VERSION_MAJOR, VK_VERSION_MINOR, VK_VERSION_PATCH, vkAllocateCommandBuffers, vkAllocateDescriptorSets, vkAllocateDescriptorSets, vkAllocateMemory, vkAllocateMemory, vkBeginCommandBuffer, vkBindBufferMemory, vkBindImageMemory, vkCmdBeginQuery, vkCmdBeginRenderPass, vkCmdBindDescriptorSets, vkCmdBindDescriptorSets, vkCmdBindIndexBuffer, vkCmdBindPipeline, vkCmdBindVertexBuffers, vkCmdBindVertexBuffers, vkCmdBlitImage, vkCmdClearAttachments, vkCmdClearColorImage, vkCmdClearColorImage, vkCmdClearDepthStencilImage, vkCmdClearDepthStencilImage, vkCmdCopyBuffer, vkCmdCopyBufferToImage, vkCmdCopyImage, vkCmdCopyImageToBuffer, vkCmdCopyQueryPoolResults, vkCmdDispatch, vkCmdDispatchIndirect, vkCmdDraw, vkCmdDrawIndexed, vkCmdDrawIndexedIndirect, vkCmdDrawIndirect, vkCmdEndQuery, vkCmdEndRenderPass, vkCmdExecuteCommands, vkCmdExecuteCommands, vkCmdFillBuffer, vkCmdNextSubpass, vkCmdPipelineBarrier, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdPushConstants, vkCmdResetEvent, vkCmdResetQueryPool, vkCmdResolveImage, vkCmdResolveImage, vkCmdSetBlendConstants, vkCmdSetBlendConstants, vkCmdSetDepthBias, vkCmdSetDepthBounds, vkCmdSetEvent, vkCmdSetLineWidth, vkCmdSetScissor, vkCmdSetStencilCompareMask, vkCmdSetStencilReference, vkCmdSetStencilWriteMask, vkCmdSetViewport, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdUpdateBuffer, vkCmdWaitEvents, vkCmdWaitEvents, vkCmdWriteTimestamp, vkCreateBuffer, vkCreateBuffer, vkCreateBufferView, vkCreateBufferView, vkCreateCommandPool, vkCreateCommandPool, vkCreateComputePipelines, vkCreateComputePipelines, vkCreateDescriptorPool, vkCreateDescriptorPool, vkCreateDescriptorSetLayout, vkCreateDescriptorSetLayout, vkCreateDevice, vkCreateEvent, vkCreateEvent, vkCreateFence, vkCreateFence, vkCreateFramebuffer, vkCreateFramebuffer, vkCreateGraphicsPipelines, vkCreateGraphicsPipelines, vkCreateImage, vkCreateImage, vkCreateImageView, vkCreateImageView, vkCreateInstance, vkCreatePipelineCache, vkCreatePipelineCache, vkCreatePipelineLayout, vkCreatePipelineLayout, vkCreateQueryPool, vkCreateQueryPool, vkCreateRenderPass, vkCreateRenderPass, vkCreateSampler, vkCreateSampler, vkCreateSemaphore, vkCreateSemaphore, vkCreateShaderModule, vkCreateShaderModule, vkDestroyBuffer, vkDestroyBufferView, vkDestroyCommandPool, vkDestroyDescriptorPool, vkDestroyDescriptorSetLayout, vkDestroyDevice, vkDestroyEvent, vkDestroyFence, vkDestroyFramebuffer, vkDestroyImage, vkDestroyImageView, vkDestroyInstance, vkDestroyPipeline, vkDestroyPipelineCache, vkDestroyPipelineLayout, vkDestroyQueryPool, vkDestroyRenderPass, vkDestroySampler, vkDestroySemaphore, vkDestroyShaderModule, vkDeviceWaitIdle, vkEndCommandBuffer, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceExtensionProperties, vkEnumerateDeviceLayerProperties, vkEnumerateDeviceLayerProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceExtensionProperties, vkEnumerateInstanceLayerProperties, vkEnumerateInstanceLayerProperties, vkEnumeratePhysicalDevices, vkEnumeratePhysicalDevices, vkFlushMappedMemoryRanges, vkFlushMappedMemoryRanges, vkFreeCommandBuffers, vkFreeCommandBuffers, vkFreeDescriptorSets, vkFreeDescriptorSets, vkFreeDescriptorSets, vkFreeMemory, vkGetBufferMemoryRequirements, vkGetDeviceMemoryCommitment, vkGetDeviceMemoryCommitment, vkGetDeviceProcAddr, vkGetDeviceProcAddr, vkGetDeviceQueue, vkGetEventStatus, vkGetFenceStatus, vkGetImageMemoryRequirements, vkGetImageSparseMemoryRequirements, vkGetImageSparseMemoryRequirements, vkGetImageSubresourceLayout, vkGetInstanceProcAddr, vkGetInstanceProcAddr, vkGetPhysicalDeviceFeatures, vkGetPhysicalDeviceFormatProperties, vkGetPhysicalDeviceImageFormatProperties, vkGetPhysicalDeviceMemoryProperties, vkGetPhysicalDeviceProperties, vkGetPhysicalDeviceQueueFamilyProperties, vkGetPhysicalDeviceQueueFamilyProperties, vkGetPhysicalDeviceSparseImageFormatProperties, vkGetPhysicalDeviceSparseImageFormatProperties, vkGetPipelineCacheData, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetQueryPoolResults, vkGetRenderAreaGranularity, vkInvalidateMappedMemoryRanges, vkInvalidateMappedMemoryRanges, vkMapMemory, vkMergePipelineCaches, vkMergePipelineCaches, vkQueueBindSparse, vkQueueBindSparse, vkQueueSubmit, vkQueueSubmit, vkQueueWaitIdle, vkResetCommandBuffer, vkResetCommandPool, vkResetDescriptorPool, vkResetEvent, vkResetFences, vkResetFences, vkResetFences, vkSetEvent, vkUnmapMemory, vkUpdateDescriptorSets, vkWaitForFences, vkWaitForFences, vkWaitForFences
-
Field Details
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO
public static final int VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFOExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURESExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIESExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURESExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO
public static final int VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO
public static final int VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_OBJECT_TYPE_PRIVATE_DATA_SLOT
public static final int VK_OBJECT_TYPE_PRIVATE_DATA_SLOTExtendsVkObjectType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURESExtendsVkStructureType.- See Also:
-
VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT
public static final int VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BITExtendsVkPipelineCreateFlagBits.Enum values:
- See Also:
-
VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT
public static final int VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BITExtendsVkPipelineCreateFlagBits.Enum values:
- See Also:
-
VK_PIPELINE_COMPILE_REQUIRED
public static final int VK_PIPELINE_COMPILE_REQUIREDExtendsVkResult.- See Also:
-
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT
public static final int VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BITExtendsVkPipelineCacheCreateFlagBits.- See Also:
-
VK_STRUCTURE_TYPE_MEMORY_BARRIER_2
public static final int VK_STRUCTURE_TYPE_MEMORY_BARRIER_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2
public static final int VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2
public static final int VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_DEPENDENCY_INFO
public static final int VK_STRUCTURE_TYPE_DEPENDENCY_INFOExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_SUBMIT_INFO_2
public static final int VK_STRUCTURE_TYPE_SUBMIT_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO
public static final int VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO
public static final int VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURESExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_MEMORY_BARRIER_2STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2STRUCTURE_TYPE_DEPENDENCY_INFOSTRUCTURE_TYPE_SUBMIT_INFO_2STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOSTRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFOSTRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES
- See Also:
-
VK_EVENT_CREATE_DEVICE_ONLY_BIT
public static final int VK_EVENT_CREATE_DEVICE_ONLY_BITExtendsVkEventCreateFlagBits.- See Also:
-
VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL
public static final int VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL- See Also:
-
VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL
public static final int VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL- See Also:
-
VK_PIPELINE_STAGE_NONE
public static final int VK_PIPELINE_STAGE_NONEExtendsVkPipelineStageFlagBits.- See Also:
-
VK_ACCESS_NONE
public static final int VK_ACCESS_NONEExtendsVkAccessFlagBits.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURESExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURESExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2
public static final int VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2
public static final int VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2
public static final int VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2
public static final int VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2
public static final int VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2
public static final int VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_BUFFER_COPY_2
public static final int VK_STRUCTURE_TYPE_BUFFER_COPY_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_IMAGE_COPY_2
public static final int VK_STRUCTURE_TYPE_IMAGE_COPY_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_IMAGE_BLIT_2
public static final int VK_STRUCTURE_TYPE_IMAGE_BLIT_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2
public static final int VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2
public static final int VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2ExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_COPY_BUFFER_INFO_2STRUCTURE_TYPE_COPY_IMAGE_INFO_2STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2STRUCTURE_TYPE_BLIT_IMAGE_INFO_2STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2STRUCTURE_TYPE_BUFFER_COPY_2STRUCTURE_TYPE_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_BLIT_2STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2STRUCTURE_TYPE_IMAGE_RESOLVE_2
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO
public static final int VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT
public static final int VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BITExtendsVkPipelineShaderStageCreateFlagBits.Enum values:
- See Also:
-
VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT
public static final int VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BITExtendsVkPipelineShaderStageCreateFlagBits.Enum values:
- See Also:
-
VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK
public static final int VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCKExtendsVkDescriptorType.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK
public static final int VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCKExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO
public static final int VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_FORMAT_G8_B8R8_2PLANE_444_UNORM
public static final int VK_FORMAT_G8_B8R8_2PLANE_444_UNORMExtendsVkFormat.Enum values:
- See Also:
-
VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16
public static final int VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16ExtendsVkFormat.Enum values:
- See Also:
-
VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16
public static final int VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16ExtendsVkFormat.Enum values:
- See Also:
-
VK_FORMAT_G16_B16R16_2PLANE_444_UNORM
public static final int VK_FORMAT_G16_B16R16_2PLANE_444_UNORMExtendsVkFormat.Enum values:
- See Also:
-
VK_FORMAT_A4R4G4B4_UNORM_PACK16
public static final int VK_FORMAT_A4R4G4B4_UNORM_PACK16- See Also:
-
VK_FORMAT_A4B4G4R4_UNORM_PACK16
public static final int VK_FORMAT_A4B4G4R4_UNORM_PACK16- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURESExtendsVkStructureType.- See Also:
-
VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_4x4_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_5x4_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_5x5_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_6x5_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_6x6_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_8x5_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_8x6_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_8x8_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_10x5_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_10x6_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_10x8_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_10x10_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_12x10_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK
public static final int VK_FORMAT_ASTC_12x12_SFLOAT_BLOCKExtendsVkFormat.Enum values:
FORMAT_ASTC_4x4_SFLOAT_BLOCKFORMAT_ASTC_5x4_SFLOAT_BLOCKFORMAT_ASTC_5x5_SFLOAT_BLOCKFORMAT_ASTC_6x5_SFLOAT_BLOCKFORMAT_ASTC_6x6_SFLOAT_BLOCKFORMAT_ASTC_8x5_SFLOAT_BLOCKFORMAT_ASTC_8x6_SFLOAT_BLOCKFORMAT_ASTC_8x8_SFLOAT_BLOCKFORMAT_ASTC_10x5_SFLOAT_BLOCKFORMAT_ASTC_10x6_SFLOAT_BLOCKFORMAT_ASTC_10x8_SFLOAT_BLOCKFORMAT_ASTC_10x10_SFLOAT_BLOCKFORMAT_ASTC_12x10_SFLOAT_BLOCKFORMAT_ASTC_12x12_SFLOAT_BLOCK
- See Also:
-
VK_STRUCTURE_TYPE_RENDERING_INFO
public static final int VK_STRUCTURE_TYPE_RENDERING_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO
public static final int VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO
public static final int VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO
public static final int VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFOExtendsVkStructureType.Enum values:
- See Also:
-
VK_ATTACHMENT_STORE_OP_NONE
public static final int VK_ATTACHMENT_STORE_OP_NONEExtendsVkAttachmentStoreOp.- See Also:
-
VK_DYNAMIC_STATE_CULL_MODE
public static final int VK_DYNAMIC_STATE_CULL_MODEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_FRONT_FACE
public static final int VK_DYNAMIC_STATE_FRONT_FACEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY
public static final int VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGYExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT
public static final int VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNTExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT
public static final int VK_DYNAMIC_STATE_SCISSOR_WITH_COUNTExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE
public static final int VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE
public static final int VK_DYNAMIC_STATE_DEPTH_TEST_ENABLEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE
public static final int VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_DEPTH_COMPARE_OP
public static final int VK_DYNAMIC_STATE_DEPTH_COMPARE_OPExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE
public static final int VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE
public static final int VK_DYNAMIC_STATE_STENCIL_TEST_ENABLEExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_DYNAMIC_STATE_STENCIL_OP
public static final int VK_DYNAMIC_STATE_STENCIL_OPExtendsVkDynamicState.Enum values:
DYNAMIC_STATE_CULL_MODEDYNAMIC_STATE_FRONT_FACEDYNAMIC_STATE_PRIMITIVE_TOPOLOGYDYNAMIC_STATE_VIEWPORT_WITH_COUNTDYNAMIC_STATE_SCISSOR_WITH_COUNTDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEDYNAMIC_STATE_DEPTH_TEST_ENABLEDYNAMIC_STATE_DEPTH_WRITE_ENABLEDYNAMIC_STATE_DEPTH_COMPARE_OPDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEDYNAMIC_STATE_STENCIL_TEST_ENABLEDYNAMIC_STATE_STENCIL_OP
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIESExtendsVkStructureType.- See Also:
-
VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3
public static final int VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3ExtendsVkStructureType.- See Also:
-
VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE
public static final int VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEExtendsVkDynamicState.Enum values:
- See Also:
-
VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE
public static final int VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLEExtendsVkDynamicState.Enum values:
- See Also:
-
VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE
public static final int VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEExtendsVkDynamicState.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIESExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS
public static final int VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTSExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS
public static final int VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTSExtendsVkStructureType.Enum values:
- See Also:
-
VK_IMAGE_ASPECT_NONE
public static final int VK_IMAGE_ASPECT_NONEExtendsVkImageAspectFlagBits.- See Also:
-
VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT
public static final int VK_PIPELINE_CREATION_FEEDBACK_VALID_BITVkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackDescription
PIPELINE_CREATION_FEEDBACK_VALID_BITspecifies that the feedback information is valid.PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITspecifies that a readily usable pipeline or pipeline stage was found in thepipelineCachespecified by the application in the pipeline creation command. An implementation should set thePIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITbit if it was able to avoid the large majority of pipeline or pipeline stage creation work by using thepipelineCacheparameter ofCreateGraphicsPipelines,CreateRayTracingPipelinesKHR,CreateRayTracingPipelinesNV, orCreateComputePipelines. When an implementation sets this bit for the entire pipeline, it may leave it unset for any stage.Note
Implementations are encouraged to provide a meaningful signal to applications using this bit. The intention is to communicate to the application that the pipeline or pipeline stage was created “
as fast as it gets” using the pipeline cache provided by the application. If an implementation uses an internal cache, it is discouraged from setting this bit as the feedback would be unactionable.PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITspecifies that the base pipeline specified by thebasePipelineHandleorbasePipelineIndexmember of the stext:Vk*PipelineCreateInfo structure was used to accelerate the creation of the pipeline. An implementation should set thePIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITbit if it was able to avoid a significant amount of work by using the base pipeline.Note
While “
significant amount of work” is subjective, implementations are encouraged to provide a meaningful signal to applications using this bit. For example, a 1% reduction in duration may not warrant setting this bit, while a 50% reduction would.
See Also
VkPipelineCreationFeedback,VkPipelineCreationFeedbackCreateInfo- See Also:
-
VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT
public static final int VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITVkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackDescription
PIPELINE_CREATION_FEEDBACK_VALID_BITspecifies that the feedback information is valid.PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITspecifies that a readily usable pipeline or pipeline stage was found in thepipelineCachespecified by the application in the pipeline creation command. An implementation should set thePIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITbit if it was able to avoid the large majority of pipeline or pipeline stage creation work by using thepipelineCacheparameter ofCreateGraphicsPipelines,CreateRayTracingPipelinesKHR,CreateRayTracingPipelinesNV, orCreateComputePipelines. When an implementation sets this bit for the entire pipeline, it may leave it unset for any stage.Note
Implementations are encouraged to provide a meaningful signal to applications using this bit. The intention is to communicate to the application that the pipeline or pipeline stage was created “
as fast as it gets” using the pipeline cache provided by the application. If an implementation uses an internal cache, it is discouraged from setting this bit as the feedback would be unactionable.PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITspecifies that the base pipeline specified by thebasePipelineHandleorbasePipelineIndexmember of the stext:Vk*PipelineCreateInfo structure was used to accelerate the creation of the pipeline. An implementation should set thePIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITbit if it was able to avoid a significant amount of work by using the base pipeline.Note
While “
significant amount of work” is subjective, implementations are encouraged to provide a meaningful signal to applications using this bit. For example, a 1% reduction in duration may not warrant setting this bit, while a 50% reduction would.
See Also
VkPipelineCreationFeedback,VkPipelineCreationFeedbackCreateInfo- See Also:
-
VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT
public static final int VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITVkPipelineCreationFeedbackFlagBits - Bitmask specifying pipeline or pipeline stage creation feedbackDescription
PIPELINE_CREATION_FEEDBACK_VALID_BITspecifies that the feedback information is valid.PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITspecifies that a readily usable pipeline or pipeline stage was found in thepipelineCachespecified by the application in the pipeline creation command. An implementation should set thePIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BITbit if it was able to avoid the large majority of pipeline or pipeline stage creation work by using thepipelineCacheparameter ofCreateGraphicsPipelines,CreateRayTracingPipelinesKHR,CreateRayTracingPipelinesNV, orCreateComputePipelines. When an implementation sets this bit for the entire pipeline, it may leave it unset for any stage.Note
Implementations are encouraged to provide a meaningful signal to applications using this bit. The intention is to communicate to the application that the pipeline or pipeline stage was created “
as fast as it gets” using the pipeline cache provided by the application. If an implementation uses an internal cache, it is discouraged from setting this bit as the feedback would be unactionable.PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITspecifies that the base pipeline specified by thebasePipelineHandleorbasePipelineIndexmember of the stext:Vk*PipelineCreateInfo structure was used to accelerate the creation of the pipeline. An implementation should set thePIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BITbit if it was able to avoid a significant amount of work by using the base pipeline.Note
While “
significant amount of work” is subjective, implementations are encouraged to provide a meaningful signal to applications using this bit. For example, a 1% reduction in duration may not warrant setting this bit, while a 50% reduction would.
See Also
VkPipelineCreationFeedback,VkPipelineCreationFeedbackCreateInfo- See Also:
-
VK_TOOL_PURPOSE_VALIDATION_BIT
public static final int VK_TOOL_PURPOSE_VALIDATION_BITVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolDescription
TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified byCreateDebugReportCallbackEXTorCreateDebugUtilsMessengerEXTTOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
- See Also:
-
VK_TOOL_PURPOSE_PROFILING_BIT
public static final int VK_TOOL_PURPOSE_PROFILING_BITVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolDescription
TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified byCreateDebugReportCallbackEXTorCreateDebugUtilsMessengerEXTTOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
- See Also:
-
VK_TOOL_PURPOSE_TRACING_BIT
public static final int VK_TOOL_PURPOSE_TRACING_BITVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolDescription
TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified byCreateDebugReportCallbackEXTorCreateDebugUtilsMessengerEXTTOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
- See Also:
-
VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT
public static final int VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BITVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolDescription
TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified byCreateDebugReportCallbackEXTorCreateDebugUtilsMessengerEXTTOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
- See Also:
-
VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT
public static final int VK_TOOL_PURPOSE_MODIFYING_FEATURES_BITVkToolPurposeFlagBits - Bitmask specifying the purposes of an active toolDescription
TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified byCreateDebugReportCallbackEXTorCreateDebugUtilsMessengerEXTTOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
- See Also:
-
VK_PIPELINE_STAGE_2_NONE
public static final long VK_PIPELINE_STAGE_2_NONEVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT
public static final long VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT
public static final long VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT
public static final long VK_PIPELINE_STAGE_2_VERTEX_INPUT_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT
public static final long VK_PIPELINE_STAGE_2_VERTEX_SHADER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT
public static final long VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT
public static final long VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT
public static final long VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT
public static final long VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT
public static final long VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT
public static final long VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT
public static final long VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT
public static final long VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT
public static final long VK_PIPELINE_STAGE_2_ALL_TRANSFER_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT
public static final long VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_HOST_BIT
public static final long VK_PIPELINE_STAGE_2_HOST_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT
public static final long VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT
public static final long VK_PIPELINE_STAGE_2_ALL_COMMANDS_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_COPY_BIT
public static final long VK_PIPELINE_STAGE_2_COPY_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_RESOLVE_BIT
public static final long VK_PIPELINE_STAGE_2_RESOLVE_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_BLIT_BIT
public static final long VK_PIPELINE_STAGE_2_BLIT_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_CLEAR_BIT
public static final long VK_PIPELINE_STAGE_2_CLEAR_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT
public static final long VK_PIPELINE_STAGE_2_INDEX_INPUT_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT
public static final long VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT
public static final long VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITVkPipelineStageFlagBits2 - Pipeline stage flags for VkPipelineStageFlags2Description
PIPELINE_STAGE_2_NONEspecifies no stages of execution.PIPELINE_STAGE_2_DRAW_INDIRECT_BITspecifies the stage of the pipeline where indirect command parameters are consumed. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsNV. This stage also includes reading commands written byCmdPreprocessGeneratedCommandsEXT.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXTspecifies the task shader stage.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXTspecifies the mesh shader stage.PIPELINE_STAGE_2_INDEX_INPUT_BITspecifies the stage of the pipeline where index buffers are consumed.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITspecifies the stage of the pipeline where vertex buffers are consumed.PIPELINE_STAGE_2_VERTEX_INPUT_BITis equivalent to the logical OR of:PIPELINE_STAGE_2_VERTEX_SHADER_BITspecifies the vertex shader stage.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITspecifies the tessellation control shader stage.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITspecifies the tessellation evaluation shader stage.PIPELINE_STAGE_2_GEOMETRY_SHADER_BITspecifies the geometry shader stage.PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BITis equivalent to specifying all supported pre-rasterization shader stages:PIPELINE_STAGE_2_FRAGMENT_SHADER_BITspecifies the fragment shader stage.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading) are performed. This stage also includes render pass load operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITspecifies the stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) are performed. This stage also includes render pass store operations for framebuffer attachments with a depth/stencil format.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITspecifies the stage of the pipeline where final color values are output from the pipeline. This stage includes blending, logic operations, render pass load and store operations for color attachments, render pass multisample resolve operations, andCmdClearAttachments.PIPELINE_STAGE_2_COMPUTE_SHADER_BITspecifies the compute shader stage.PIPELINE_STAGE_2_HOST_BITspecifies a pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not invoked by any commands recorded in a command buffer.PIPELINE_STAGE_2_COPY_BITspecifies the execution of all copy commands, includingCmdCopyQueryPoolResults.PIPELINE_STAGE_2_BLIT_BITspecifies the execution ofCmdBlitImage.PIPELINE_STAGE_2_RESOLVE_BITspecifies the execution ofCmdResolveImage.PIPELINE_STAGE_2_CLEAR_BITspecifies the execution of clear commands, with the exception ofCmdClearAttachments.PIPELINE_STAGE_2_ALL_TRANSFER_BITis equivalent to specifying all of:PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRspecifies the execution of the ray tracing shader stages.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRspecifies the execution of acceleration structure commands or acceleration structure copy commands.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHRspecifies the execution of acceleration structure copy commands.PIPELINE_STAGE_2_ALL_GRAPHICS_BITspecifies the execution of all graphics pipeline stages, and is equivalent to the logical OR of:PIPELINE_STAGE_2_DRAW_INDIRECT_BITPIPELINE_STAGE_2_TASK_SHADER_BIT_EXTPIPELINE_STAGE_2_MESH_SHADER_BIT_EXTPIPELINE_STAGE_2_VERTEX_INPUT_BITPIPELINE_STAGE_2_VERTEX_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BITPIPELINE_STAGE_2_GEOMETRY_SHADER_BITPIPELINE_STAGE_2_FRAGMENT_SHADER_BITPIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITPIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIPIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI
PIPELINE_STAGE_2_ALL_COMMANDS_BITspecifies all operations performed by all commands supported on the queue it is used with.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTspecifies the stage of the pipeline where the predicate of conditional rendering is consumed.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTspecifies the stage of the pipeline where vertex attribute output values are written to the transform feedback buffers.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsNVis handled.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTspecifies the stage of the pipeline where device-side generation of commands viaCmdPreprocessGeneratedCommandsEXTis handled.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies the stage of the pipeline where the fragment shading rate attachment or shading rate image is read to determine the fragment shading rate for portions of a rasterized primitive.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTspecifies the stage of the pipeline where the fragment density map is read to generate the fragment areas.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIspecifies the stage of the pipeline where the invocation mask image is read by the implementation to optimize the ray dispatch.PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRspecifies the execution of video decode operations.PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRspecifies the execution of video encode operations.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVspecifies the stage of the pipeline where optical flow operation are performed.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIspecifies the subpass shading shader stage.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTspecifies the execution of micromap commands.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEIspecifies the cluster culling shader stage.PIPELINE_STAGE_2_TOP_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the second synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the first scope.PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BITis equivalent toPIPELINE_STAGE_2_ALL_COMMANDS_BITwithVkAccessFlags2set to 0 when specified in the first synchronization scope, but equivalent toPIPELINE_STAGE_2_NONEin the second scope.
Note
The
TOPandBOTTOMpipeline stages are deprecated, and applications should preferPIPELINE_STAGE_2_ALL_COMMANDS_BITandPIPELINE_STAGE_2_NONE.Note
The
VkPipelineStageFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkPipelineStageFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_NONE
public static final long VK_ACCESS_2_NONEVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT
public static final long VK_ACCESS_2_INDIRECT_COMMAND_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_INDEX_READ_BIT
public static final long VK_ACCESS_2_INDEX_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT
public static final long VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_UNIFORM_READ_BIT
public static final long VK_ACCESS_2_UNIFORM_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT
public static final long VK_ACCESS_2_INPUT_ATTACHMENT_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_SHADER_READ_BIT
public static final long VK_ACCESS_2_SHADER_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_SHADER_WRITE_BIT
public static final long VK_ACCESS_2_SHADER_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT
public static final long VK_ACCESS_2_COLOR_ATTACHMENT_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT
public static final long VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT
public static final long VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT
public static final long VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_TRANSFER_READ_BIT
public static final long VK_ACCESS_2_TRANSFER_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_TRANSFER_WRITE_BIT
public static final long VK_ACCESS_2_TRANSFER_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_HOST_READ_BIT
public static final long VK_ACCESS_2_HOST_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_HOST_WRITE_BIT
public static final long VK_ACCESS_2_HOST_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_MEMORY_READ_BIT
public static final long VK_ACCESS_2_MEMORY_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_MEMORY_WRITE_BIT
public static final long VK_ACCESS_2_MEMORY_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_SHADER_SAMPLED_READ_BIT
public static final long VK_ACCESS_2_SHADER_SAMPLED_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_SHADER_STORAGE_READ_BIT
public static final long VK_ACCESS_2_SHADER_STORAGE_READ_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT
public static final long VK_ACCESS_2_SHADER_STORAGE_WRITE_BITVkAccessFlagBits2 - Access flags for VkAccessFlags2Description
ACCESS_2_NONEspecifies no accesses.ACCESS_2_MEMORY_READ_BITspecifies all read accesses. It is always valid in any access mask, and is treated as equivalent to setting allREADaccess flags that are valid where it is used.ACCESS_2_MEMORY_WRITE_BITspecifies all write accesses. It is always valid in any access mask, and is treated as equivalent to setting allWRITEaccess flags that are valid where it is used.ACCESS_2_INDIRECT_COMMAND_READ_BITspecifies read access to command data read from indirect buffers as part of an indirect build, trace, drawing or dispatch command. Such access occurs in thePIPELINE_STAGE_2_DRAW_INDIRECT_BITpipeline stage.ACCESS_2_INDEX_READ_BITspecifies read access to an index buffer as part of an indexed drawing command, bound byCmdBindIndexBuffer2andCmdBindIndexBuffer. Such access occurs in thePIPELINE_STAGE_2_INDEX_INPUT_BITpipeline stage.ACCESS_2_VERTEX_ATTRIBUTE_READ_BITspecifies read access to a vertex buffer as part of a drawing command, bound byCmdBindVertexBuffers. Such access occurs in thePIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BITpipeline stage.ACCESS_2_UNIFORM_READ_BITspecifies read access to a uniform buffer in any shader pipeline stage.ACCESS_2_INPUT_ATTACHMENT_READ_BITspecifies read access to an input attachment within a render pass during subpass shading or fragment shading. Such access occurs in thePIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEIorPIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_SHADER_SAMPLED_READ_BITspecifies read access to a uniform texel buffer or sampled image in any shader pipeline stage.ACCESS_2_SHADER_STORAGE_READ_BITspecifies read access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHRspecifies read access to a shader binding table in any shader pipeline stage.ACCESS_2_SHADER_READ_BITis equivalent to the logical OR of:ACCESS_2_SHADER_STORAGE_WRITE_BITspecifies write access to a storage buffer, physical storage buffer, storage texel buffer, or storage image in any shader pipeline stage.ACCESS_2_SHADER_WRITE_BITis equivalent toACCESS_2_SHADER_STORAGE_WRITE_BIT.ACCESS_2_COLOR_ATTACHMENT_READ_BITspecifies read access to a color attachment, such as via blending (other than advanced blend operations), logic operations or certain render pass load operations in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_COLOR_ATTACHMENT_WRITE_BITspecifies write access to a color attachment during a render pass or via certain render pass load, store, and multisample resolve operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BITspecifies read access to a depth/stencil attachment, via depth or stencil operations or certain render pass load operations in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages or via fragment shader tile image reads in thePIPELINE_STAGE_2_FRAGMENT_SHADER_BITpipeline stage.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITspecifies write access to a depth/stencil attachment, via depth or stencil operations or certain render pass load and store operations. Such access occurs in thePIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BITorPIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BITpipeline stages.ACCESS_2_TRANSFER_READ_BITspecifies read access to an image or buffer in a copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_TRANSFER_WRITE_BITspecifies write access to an image or buffer in a clear or copy operation. Such access occurs in thePIPELINE_STAGE_2_COPY_BIT,PIPELINE_STAGE_2_BLIT_BIT,PIPELINE_STAGE_2_CLEAR_BIT, orPIPELINE_STAGE_2_RESOLVE_BITpipeline stages.ACCESS_2_HOST_READ_BITspecifies read access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_HOST_WRITE_BITspecifies write access by a host operation. Accesses of this type are not performed through a resource, but directly on memory. Such access occurs in thePIPELINE_STAGE_2_HOST_BITpipeline stage.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXTspecifies read access to a predicate as part of conditional rendering. Such access occurs in thePIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXTspecifies write access to a transform feedback buffer made when transform feedback is active. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXTspecifies read access to a transform feedback counter buffer which is read whenCmdBeginTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXTspecifies write access to a transform feedback counter buffer which is written whenCmdEndTransformFeedbackEXTexecutes. Such access occurs in thePIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NVspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsNV. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NVspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NVpipeline stage.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXTspecifies reads from buffer inputs toCmdPreprocessGeneratedCommandsEXT. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXTspecifies writes to the target command buffer preprocess outputs. Such access occurs in thePIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXTpipeline stage.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXTspecifies read access to color attachments, including advanced blend operations. Such access occurs in thePIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BITpipeline stage.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEIspecifies read access to an invocation mask image in thePIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEIpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHRspecifies read access to an acceleration structure as part of a trace, build, or copy command, or to an acceleration structure scratch buffer as part of a build command. Such access occurs in thePIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHRpipeline stage orPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHRspecifies write access to an acceleration structure or acceleration structure scratch buffer as part of a build or copy command. Such access occurs in thePIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stage.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXTspecifies read access to a fragment density map attachment during dynamic fragment density map operations. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXTpipeline stage.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHRspecifies read access to a fragment shading rate attachment during rasterization. Such access occurs in thePIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRpipeline stage.ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NVspecifies read access to a shading rate image during rasterization. Such access occurs in thePIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NVpipeline stage. It is equivalent toACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR.ACCESS_2_VIDEO_DECODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video decode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRspecifies read access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRspecifies write access to an image or buffer resource in a video encode operation. Such access occurs in thePIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRpipeline stage.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXTspecifies read access to a descriptor buffer in any shader pipeline stage.ACCESS_2_OPTICAL_FLOW_READ_BIT_NVspecifies read access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NVspecifies write access to an image or buffer resource as part of a optical flow operation. Such access occurs in thePIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NVpipeline stage.ACCESS_2_MICROMAP_WRITE_BIT_EXTspecifies write access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTpipeline stage.ACCESS_2_MICROMAP_READ_BIT_EXTspecifies read access to a micromap object. Such access occurs in thePIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXTandPIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHRpipeline stages.
Note
In situations where an application wishes to select all access types for a given set of pipeline stages,
ACCESS_2_MEMORY_READ_BITorACCESS_2_MEMORY_WRITE_BITcan be used. This is particularly useful when specifying stages that only have a single access type.Note
The
VkAccessFlags2bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is howVkAccessFlagBitsis defined. The first 31 values are common to both, and are interchangeable.- See Also:
-
VK_SUBMIT_PROTECTED_BIT
public static final int VK_SUBMIT_PROTECTED_BITVkSubmitFlagBits - Bitmask specifying behavior of a submissionDescription
SUBMIT_PROTECTED_BITspecifies that this batch is a protected submission.
- See Also:
-
VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT
public static final int VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITVkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instanceDescription
RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITspecifies that draw calls for the render pass instance will be recorded in secondary command buffers. If thenestedCommandBufferfeature is enabled, the draw calls can come from both inline andCmdExecuteCommands.RENDERING_RESUMING_BITspecifies that the render pass instance is resuming an earlier suspended render pass instance.RENDERING_SUSPENDING_BITspecifies that the render pass instance will be suspended.RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTspecifies that Legacy Dithering is enabled for the render pass instance.RENDERING_CONTENTS_INLINE_BIT_KHRspecifies that draw calls for the render pass instance can be recorded inline within the current command buffer. This can be combined with theRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITbit to allow draw calls to be recorded both inline and in secondary command buffers.
The contents of
pRenderingInfomust match between suspended render pass instances and the render pass instances that resume them, other than the presence or absence of theRENDERING_RESUMING_BIT,RENDERING_SUSPENDING_BIT, andRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITflags. No action or synchronization commands, or other render pass instances, are allowed between suspending and resuming render pass instances.- See Also:
-
VK_RENDERING_SUSPENDING_BIT
public static final int VK_RENDERING_SUSPENDING_BITVkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instanceDescription
RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITspecifies that draw calls for the render pass instance will be recorded in secondary command buffers. If thenestedCommandBufferfeature is enabled, the draw calls can come from both inline andCmdExecuteCommands.RENDERING_RESUMING_BITspecifies that the render pass instance is resuming an earlier suspended render pass instance.RENDERING_SUSPENDING_BITspecifies that the render pass instance will be suspended.RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTspecifies that Legacy Dithering is enabled for the render pass instance.RENDERING_CONTENTS_INLINE_BIT_KHRspecifies that draw calls for the render pass instance can be recorded inline within the current command buffer. This can be combined with theRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITbit to allow draw calls to be recorded both inline and in secondary command buffers.
The contents of
pRenderingInfomust match between suspended render pass instances and the render pass instances that resume them, other than the presence or absence of theRENDERING_RESUMING_BIT,RENDERING_SUSPENDING_BIT, andRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITflags. No action or synchronization commands, or other render pass instances, are allowed between suspending and resuming render pass instances.- See Also:
-
VK_RENDERING_RESUMING_BIT
public static final int VK_RENDERING_RESUMING_BITVkRenderingFlagBits - Bitmask specifying additional properties of a dynamic render pass instanceDescription
RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITspecifies that draw calls for the render pass instance will be recorded in secondary command buffers. If thenestedCommandBufferfeature is enabled, the draw calls can come from both inline andCmdExecuteCommands.RENDERING_RESUMING_BITspecifies that the render pass instance is resuming an earlier suspended render pass instance.RENDERING_SUSPENDING_BITspecifies that the render pass instance will be suspended.RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXTspecifies that Legacy Dithering is enabled for the render pass instance.RENDERING_CONTENTS_INLINE_BIT_KHRspecifies that draw calls for the render pass instance can be recorded inline within the current command buffer. This can be combined with theRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITbit to allow draw calls to be recorded both inline and in secondary command buffers.
The contents of
pRenderingInfomust match between suspended render pass instances and the render pass instances that resume them, other than the presence or absence of theRENDERING_RESUMING_BIT,RENDERING_SUSPENDING_BIT, andRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BITflags. No action or synchronization commands, or other render pass instances, are allowed between suspending and resuming render pass instances.- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT
public static final long VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT
public static final long VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT
public static final long VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT
public static final long VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT
public static final long VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT
public static final long VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT
public static final long VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT
public static final long VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT
public static final long VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_BLIT_SRC_BIT
public static final long VK_FORMAT_FEATURE_2_BLIT_SRC_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_BLIT_DST_BIT
public static final long VK_FORMAT_FEATURE_2_BLIT_DST_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT
public static final long VK_FORMAT_FEATURE_2_TRANSFER_SRC_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT
public static final long VK_FORMAT_FEATURE_2_TRANSFER_DST_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT
public static final long VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_DISJOINT_BIT
public static final long VK_FORMAT_FEATURE_2_DISJOINT_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT
public static final long VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT
public static final long VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT
public static final long VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT
public static final long VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITVkFormatFeatureFlagBits2 - Bitmask specifying features supported by a bufferDescription
The following bits may be set in
linearTilingFeaturesandoptimalTilingFeatures, specifying that the features are supported by images (VkImage) or image views (VkImageView) or sampler Y′CBCR conversion objects (VkSamplerYcbcrConversion) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_SAMPLED_IMAGE_BITspecifies that an image view can be sampled from.FORMAT_FEATURE_2_STORAGE_IMAGE_BITspecifies that an image view can be used as a storage image.FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BITspecifies that an image view can be used as storage image that supports atomic operations.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer color attachment and as an input attachment.FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BITspecifies that an image view can be used as a framebuffer color attachment that supports blending.FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BITspecifies that an image view can be used as a framebuffer depth/stencil attachment and as an input attachment.FORMAT_FEATURE_2_BLIT_SRC_BITspecifies that an image can be used as thesrcImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_BLIT_DST_BITspecifies that an image can be used as thedstImageforCmdBlitImage2andCmdBlitImage.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BITspecifies that ifFORMAT_FEATURE_2_SAMPLED_IMAGE_BITis also set, an image view can be used with a sampler that has either ofmagFilterorminFilterset toFILTER_LINEAR, ormipmapModeset toSAMPLER_MIPMAP_MODE_LINEAR. IfFORMAT_FEATURE_2_BLIT_SRC_BITis also set, an image can be used as thesrcImageforCmdBlitImage2andvkCmdBlitImagewith afilterofFILTER_LINEAR. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BITorFORMAT_FEATURE_2_BLIT_SRC_BIT. If the format being queried is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports linear filtering. Where depth comparison is supported it may be linear filtered whether this bit is present or not, but where this bit is not present the filtered value may be computed in an implementation-dependent manner which differs from the normal rules of linear filtering. The resulting value must be in the range[0,1]and should be proportional to, or a weighted average of, the number of comparison passes or failures.FORMAT_FEATURE_2_TRANSFER_SRC_BITspecifies that an image can be used as a source image for copy commands.FORMAT_FEATURE_2_TRANSFER_DST_BITspecifies that an image can be used as a destination image for copy commands and clear commands.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BITspecifiesVkImagecan be used as a sampled image with a min or maxVkSamplerReductionMode. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT.FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BITspecifies thatVkImagecan be used with a sampler that has either ofmagFilterorminFilterset toFILTER_CUBIC_EXT, or be the source image for a blit withfilterset toFILTER_CUBIC_EXT. This bit must only be exposed for formats that also support theFORMAT_FEATURE_2_SAMPLED_IMAGE_BIT. If the format being queried is a depth/stencil format, this only specifies that the depth aspect is cubic filterable.FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_MIDPOINT. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_COSITED_EVEN. If a format does not incorporate chroma downsampling (it is not a “422” or “420” format) but the implementation supports sampler Y′CBCR conversion for this format, the implementation must setFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT.FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source, and that an image of this format can be used with aVkSamplerYcbcrConversionCreateInfoxChromaOffsetand/oryChromaOffsetofCHROMA_LOCATION_COSITED_EVEN. Otherwise bothxChromaOffsetandyChromaOffsetmust beCHROMA_LOCATION_MIDPOINT. If neitherFORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BITnorFORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BITis set, the application must not define a sampler Y′CBCR conversion using this format as a source.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BITspecifies that an application can define a sampler Y′CBCR conversion using this format as a source withchromaFilterset toFILTER_LINEAR.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BITspecifies that the format can have different chroma, min, and mag filters.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITspecifies that reconstruction is explicit, as described in Chroma Reconstruction. If this bit is not present, reconstruction is implicit by default.FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BITspecifies that reconstruction can be forcibly made explicit by settingVkSamplerYcbcrConversionCreateInfo::forceExplicitReconstructiontoTRUE. If the format being queried supportsFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BITit must also supportFORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT.FORMAT_FEATURE_2_DISJOINT_BITspecifies that a multi-planar image can have theIMAGE_CREATE_DISJOINT_BITset during image creation. An implementation must not setFORMAT_FEATURE_2_DISJOINT_BITfor single-plane formats.FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXTspecifies that an image view can be used as a fragment density map attachment.FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRspecifies that an image view can be used as a fragment shading rate attachment. An implementation must not set this feature for formats with a numeric format other thanUINT, or set it as a buffer feature.FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHRspecifies that an image view with this format can be used as a decode output picture in video decode operations.FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video decode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRspecifies that an image view with this format can be used as an encode input picture in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRspecifies that an image view with this format can be used as an output reconstructed picture or an input reference picture in video encode operations.Note
Specific video profiles may have additional restrictions on the format and other image creation parameters corresponding to image views used by video coding operations that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that image views or buffer views created with this format can be used as storage images or storage texel buffers respectively for write operations without specifying a format.FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BITspecifies that image views created with this format can be used for depth comparison performed byOpImage*Dref*instructions.FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVspecifies that the format is supported as a renderable Linear Color Attachment. This bit will be set for renderable color formats in thelinearTilingFeatures. This must not be set in theoptimalTilingFeaturesorbufferFeaturesmembers.FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOMspecifies that image views created with this format can be used as the weight image input to weight image sampling operations.FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOMspecifies that image views created with this format can be sampled in weight image sampling operations.FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOMspecifies that image views created with this format can be used in block matching operations.FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOMspecifies that image views created with this format can be sampled in box filter sampling operations.FORMAT_FEATURE_2_HOST_IMAGE_TRANSFER_BITspecifies that an image can be created withIMAGE_USAGE_HOST_TRANSFER_BIT.FORMAT_FEATURE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRspecifies that an image view with this format can be used as a quantization delta map in video encode operations.FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHRspecifies that an image view with this format can be used as an emphasis map in video encode operations.Note
Video encode quantization maps have additional restrictions specific to the video profile they are used with that can be enumerated using the
GetPhysicalDeviceVideoFormatPropertiesKHRcommand.
The following bits may be set in
bufferFeatures, specifying that the features are supported by buffers (VkBuffer) or buffer views (VkBufferView) created with the queriedGetPhysicalDeviceFormatProperties2::format:FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BITspecifies that the format can be used to create a buffer view that can be bound to aDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor.FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BITspecifies that atomic operations are supported onDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERwith this format.FORMAT_FEATURE_2_VERTEX_BUFFER_BITspecifies that the format can be used as a vertex attribute format (VkVertexInputAttributeDescription::format).FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHRspecifies that the format can be used as the vertex format when creating an acceleration structure (VkAccelerationStructureGeometryTrianglesDataKHR::vertexFormat). This format can also be used as the vertex format in host memory when doing host acceleration structure builds.FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for read operations without specifying a format.FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BITspecifies that buffer views created with this format can be used as storage texel buffers for write operations without specifying a format.FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NVspecifies that an image view with this format can be used as an input or reference to optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NVspecifies that an image view with this format can be used as a flow vector map (either as hint, output or global flow) for optical flow operationsFORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NVspecifies that an image view with this format can be used as an output cost map for optical flow operations
- See Also:
-
VK_API_VERSION_1_3
public static final int VK_API_VERSION_1_3The API version number for Vulkan 1.3.
-
-
Method Details
-
nvkGetPhysicalDeviceToolProperties
public static int nvkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pToolCount, long pToolProperties) Unsafe version of:GetPhysicalDeviceToolProperties- Parameters:
pToolCount- a pointer to an integer describing the number of tools active onphysicalDevice.
-
vkGetPhysicalDeviceToolProperties
public static int vkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pToolCount, @Nullable VkPhysicalDeviceToolProperties.Buffer pToolProperties) Reports properties of tools active on the specified physical device.C Specification
Information about tools providing debugging, profiling, or similar services, active for a given physical device, can be obtained by calling:
VkResult vkGetPhysicalDeviceToolProperties( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties);or the equivalent command
VkResult vkGetPhysicalDeviceToolPropertiesEXT( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties);Description
If
pToolPropertiesisNULL, then the number of tools currently active onphysicalDeviceis returned inpToolCount. Otherwise,pToolCountmust point to a variable set by the application to the number of elements in thepToolPropertiesarray, and on return the variable is overwritten with the number of structures actually written topToolProperties. IfpToolCountis less than the number of currently active tools, at mostpToolCountstructures will be written.The count and properties of active tools may change in response to events outside the scope of the specification. An application should assume these properties might change at any given time.
Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepToolCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pToolCountis not 0, andpToolPropertiesis notNULL,pToolPropertiesmust be a valid pointer to an array ofpToolCountVkPhysicalDeviceToolPropertiesstructures
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- the handle to the physical device to query for active tools.pToolCount- a pointer to an integer describing the number of tools active onphysicalDevice.pToolProperties- eitherNULLor a pointer to an array ofVkPhysicalDeviceToolPropertiesstructures.
-
nvkCreatePrivateDataSlot
public static int nvkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long pCreateInfo, long pAllocator, long pPrivateDataSlot) Unsafe version of:CreatePrivateDataSlot -
vkCreatePrivateDataSlot
public static int vkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, @Nullable VkAllocationCallbacks pAllocator, LongBuffer pPrivateDataSlot) Create a slot for private data storage.C Specification
To create a private data slot, call:
VkResult vkCreatePrivateDataSlot( VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot);or the equivalent command
VkResult vkCreatePrivateDataSlotEXT( VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot);Valid Usage
- The
privateDatafeature must be enabled
Valid Usage (Implicit)
devicemust be a validVkDevicehandlepCreateInfomust be a valid pointer to a validVkPrivateDataSlotCreateInfostructure- If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validVkAllocationCallbacksstructure pPrivateDataSlotmust be a valid pointer to aVkPrivateDataSlothandle
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
device- the logical device associated with the creation of the object(s) holding the private data slot.pCreateInfo- a pointer to aVkPrivateDataSlotCreateInfopAllocator- controls host memory allocation as described in the Memory Allocation chapter.pPrivateDataSlot- a pointer to aVkPrivateDataSlothandle in which the resulting private data slot is returned
- The
-
nvkDestroyPrivateDataSlot
public static void nvkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, long pAllocator) Unsafe version of:DestroyPrivateDataSlot -
vkDestroyPrivateDataSlot
public static void vkDestroyPrivateDataSlot(org.lwjgl.vulkan.VkDevice device, long privateDataSlot, @Nullable VkAllocationCallbacks pAllocator) Destroy a private data slot.C Specification
To destroy a private data slot, call:
void vkDestroyPrivateDataSlot( VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator);or the equivalent command
void vkDestroyPrivateDataSlotEXT( VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator);Valid Usage
- If
VkAllocationCallbackswere provided whenprivateDataSlotwas created, a compatible set of callbacks must be provided here - If no
VkAllocationCallbackswere provided whenprivateDataSlotwas created,pAllocatormust beNULL
Valid Usage (Implicit)
devicemust be a validVkDevicehandle- If
privateDataSlotis notNULL_HANDLE,privateDataSlotmust be a validVkPrivateDataSlothandle - If
pAllocatoris notNULL,pAllocatormust be a valid pointer to a validVkAllocationCallbacksstructure - If
privateDataSlotis a valid handle, it must have been created, allocated, or retrieved fromdevice
Host Synchronization
- Host access to
privateDataSlotmust be externally synchronized
See Also
- Parameters:
device- the logical device associated with the creation of the object(s) holding the private data slot.privateDataSlot- the private data slot to destroy.pAllocator- controls host memory allocation as described in the Memory Allocation chapter.
- If
-
vkSetPrivateData
public static int vkSetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long data) Associate data with a Vulkan object.C Specification
To store application-defined data in a slot associated with a Vulkan object, call:
VkResult vkSetPrivateData( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data);or the equivalent command
VkResult vkSetPrivateDataEXT( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data);Valid Usage
objectHandlemust bedeviceor a child ofdeviceobjectHandlemust be a valid handle to an object of typeobjectType
Valid Usage (Implicit)
devicemust be a validVkDevicehandleobjectTypemust be a validVkObjectTypevalueprivateDataSlotmust be a validVkPrivateDataSlothandleprivateDataSlotmust have been created, allocated, or retrieved fromdevice
Return Codes
- On success, this command returns
- On failure, this command returns
- Parameters:
device- the device that created the object.objectType- aVkObjectTypespecifying the type of object to associate data with.objectHandle- a handle to the object to associate data with.privateDataSlot- a handle to aVkPrivateDataSlotspecifying location of private data storage.data- application-defined data to associate the object with. This data will be stored atprivateDataSlot.
-
nvkGetPrivateData
public static void nvkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long pData) Unsafe version of:GetPrivateData -
vkGetPrivateData
public static void vkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, LongBuffer pData) Retrieve data associated with a Vulkan object.C Specification
To retrieve application-defined data from a slot associated with a Vulkan object, call:
void vkGetPrivateData( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData);or the equivalent command
void vkGetPrivateDataEXT( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData);Description
Note
Due to platform details on Android, implementations might not be able to reliably return 0 from calls to
vkGetPrivateDataforVkSwapchainKHRobjects on whichvkSetPrivateDatahas not previously been called. This erratum is exclusive to the Android platform and objects of typeVkSwapchainKHR.Valid Usage
objectHandlemust bedeviceor a child ofdeviceobjectHandlemust be a valid handle to an object of typeobjectType
Valid Usage (Implicit)
devicemust be a validVkDevicehandleobjectTypemust be a validVkObjectTypevalueprivateDataSlotmust be a validVkPrivateDataSlothandlepDatamust be a valid pointer to auint64_tvalueprivateDataSlotmust have been created, allocated, or retrieved fromdevice
- Parameters:
device- the device that created the objectobjectType- aVkObjectTypespecifying the type of object data is associated with.objectHandle- a handle to the object data is associated with.privateDataSlot- a handle to aVkPrivateDataSlotspecifying location of private data pointer storage.pData- a pointer to specify where application-defined data is returned. 0 will be written in the absence of a previous call tovkSetPrivateDatausing the object specified byobjectHandle.
-
nvkCmdSetEvent2
public static void nvkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long pDependencyInfo) Unsafe version of:CmdSetEvent2 -
vkCmdSetEvent2
public static void vkCmdSetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, VkDependencyInfo pDependencyInfo) Set an event object to signaled state.C Specification
To signal an event from a device, call:
void vkCmdSetEvent2( VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo* pDependencyInfo);or the equivalent command
void vkCmdSetEvent2KHR( VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo* pDependencyInfo);Description
When
CmdSetEvent2is submitted to a queue, it defines the first half of memory dependencies defined bypDependencyInfo, as well as an event signal operation which sets the event to the signaled state. A memory dependency is defined between the event signal operation and commands that occur earlier in submission order.The first synchronization scope and access scope are defined by the union of all the memory dependencies defined by
pDependencyInfo, and are applied to all operations that occur earlier in submission order. Queue family ownership transfers and image layout transitions defined bypDependencyInfoare also included in the first scopes.The second synchronization scope includes only the event signal operation, and any queue family ownership transfers and image layout transitions defined by
pDependencyInfo.The second access scope includes only queue family ownership transfers and image layout transitions.
Future
CmdWaitEvents2commands rely on all values of each element inpDependencyInfomatching exactly with those used to signal the corresponding event.CmdWaitEventsmust not be used to wait on the result of a signal operation defined byvkCmdSetEvent2.Note
The extra information provided by
CmdSetEvent2compared toCmdSetEventallows implementations to more efficiently schedule the operations required to satisfy the requested dependencies. WithCmdSetEvent, the full dependency information is not known untilCmdWaitEventsis recorded, forcing implementations to insert the required operations at that point and not before.If
eventis already in the signaled state whenCmdSetEvent2is executed on the device, thenCmdSetEvent2has no effect, no event signal operation occurs, and no dependency is generated.Valid Usage
- The
synchronization2feature must be enabled - The
dependencyFlagsmember ofpDependencyInfomust be 0 - The
srcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust not includePIPELINE_STAGE_2_HOST_BIT - The
dstStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust not includePIPELINE_STAGE_2_HOST_BIT - The current device mask of
commandBuffermust include exactly one physical device - The
srcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - The
dstStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleeventmust be a validVkEventhandlepDependencyInfomust be a valid pointer to a validVkDependencyInfostructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, compute, decode, or encode operations - This command must only be called outside of a render pass instance
- Both of
commandBuffer, andeventmust have been created, allocated, or retrieved from the sameVkDevice
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 Outside Both Graphics Compute Decode Encode Synchronization See Also
- Parameters:
commandBuffer- the command buffer into which the command is recorded.event- the event that will be signaled.pDependencyInfo- a pointer to aVkDependencyInfostructure defining the first scopes of this operation.
- The
-
vkCmdResetEvent2
public static void vkCmdResetEvent2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long event, long stageMask) Reset an event object to non-signaled state.C Specification
To unsignal the event from a device, call:
void vkCmdResetEvent2( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask);or the equivalent command
void vkCmdResetEvent2KHR( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask);Description
When
CmdResetEvent2is submitted to a queue, it defines an execution dependency on commands that were submitted before it, and defines an event unsignal operation which resets the event to the unsignaled state.The first synchronization scope includes all commands that occur earlier in submission order. The synchronization scope is limited to operations by
stageMaskor stages that are logically earlier thanstageMask.The second synchronization scope includes only the event unsignal operation.
If
eventis already in the unsignaled state whenCmdResetEvent2is executed on the device, then this command has no effect, no event unsignal operation occurs, and no execution dependency is generated.Valid Usage
- If the
geometryShaderfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_GEOMETRY_SHADER_BIT - If the
tessellationShaderfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITorPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT - If the
conditionalRenderingfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT - If the
fragmentDensityMapfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT - If the
transformFeedbackfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT - If the
meshShaderfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_MESH_SHADER_BIT_EXT - If the
taskShaderfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_TASK_SHADER_BIT_EXT - If neither of the
shadingRateImageor theattachmentFragmentShadingRatefeatures are enabled,stageMaskmust not containPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR - If the
subpassShadingfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI - If the
invocationMaskfeature is not enabled,stageMaskmust not containPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI - If neither the
VK_NV_ray_tracingextension or therayTracingPipelinefeature are enabled,stageMaskmust not containPIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR - The
synchronization2feature must be enabled stageMaskmust not includePIPELINE_STAGE_2_HOST_BIT- There must be an execution dependency between
vkCmdResetEvent2and the execution of anyCmdWaitEventsthat includeseventin itspEventsparameter - There must be an execution dependency between
vkCmdResetEvent2and the execution of anyCmdWaitEvents2that includeseventin itspEventsparameter commandBuffer’s current device mask must include exactly one physical device
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleeventmust be a validVkEventhandlestageMaskmust be a valid combination ofVkPipelineStageFlagBits2valuescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, compute, decode, or encode operations - This command must only be called outside of a render pass instance
- Both of
commandBuffer, andeventmust have been created, allocated, or retrieved from the sameVkDevice
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 Outside Both Graphics Compute Decode Encode Synchronization - Parameters:
commandBuffer- the command buffer into which the command is recorded.event- the event that will be unsignaled.stageMask- aVkPipelineStageFlags2mask of pipeline stages used to determine the first synchronization scope.
- If the
-
nvkCmdWaitEvents2
public static void nvkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int eventCount, long pEvents, long pDependencyInfos) Unsafe version of:CmdWaitEvents2- Parameters:
eventCount- the length of thepEventsarray.
-
vkCmdWaitEvents2
public static void vkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, LongBuffer pEvents, VkDependencyInfo.Buffer pDependencyInfos) Wait for one or more events.C Specification
To wait for one or more events to enter the signaled state on a device, call:
void vkCmdWaitEvents2( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfo* pDependencyInfos);or the equivalent command
void vkCmdWaitEvents2KHR( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfo* pDependencyInfos);Description
When
vkCmdWaitEvents2is submitted to a queue, it inserts memory dependencies according to the elements ofpDependencyInfosand each corresponding element ofpEvents.vkCmdWaitEvents2must not be used to wait on event signal operations occurring on other queues, or signal operations executed byCmdSetEvent.The first synchronization scope and access scope of each memory dependency defined by any element
iofpDependencyInfosare applied to operations that occurred earlier in submission order than the last event signal operation on elementiofpEvents.Signal operations for an event at index
iare only included if:- The event was signaled by a
CmdSetEvent2command that occurred earlier in submission order with adependencyInfoparameter exactly equal to the element ofpDependencyInfosat indexi; or - The event was created without
EVENT_CREATE_DEVICE_ONLY_BIT, and the first synchronization scope defined by the element ofpDependencyInfosat indexionly includes host operations (PIPELINE_STAGE_2_HOST_BIT).
The second synchronization scope and access scope of each memory dependency defined by any element
iofpDependencyInfosare applied to operations that occurred later in submission order thanvkCmdWaitEvents2.Note
CmdWaitEvents2is used withCmdSetEvent2to define a memory dependency between two sets of action commands, roughly in the same way as pipeline barriers, but split into two commands such that work between the two may execute unhindered.Note
Applications should be careful to avoid race conditions when using events. There is no direct ordering guarantee between
vkCmdSetEvent2andCmdResetEvent2,CmdResetEvent, orCmdSetEvent. Another execution dependency (e.g. a pipeline barrier or semaphore withPIPELINE_STAGE_2_ALL_COMMANDS_BIT) is needed to prevent such a race condition.Valid Usage
- The
synchronization2feature must be enabled - Members of
pEventsmust not have been signaled byCmdSetEvent - For any element
iofpEvents, if that event is signaled byCmdSetEvent2, that command’sdependencyInfoparameter must be exactly equal to theith element ofpDependencyInfos - For any element
iofpEvents, if that event is signaled bySetEvent, barriers in theith element ofpDependencyInfosmust include only host operations in their first synchronization scope - For any element
iofpEvents, if barriers in theith element ofpDependencyInfosinclude only host operations, theith element ofpEventsmust be signaled beforeCmdWaitEvents2is executed - For any element
iofpEvents, if barriers in theith element ofpDependencyInfosdo not include host operations, theith element ofpEventsmust be signaled by a correspondingCmdSetEvent2that occurred earlier in submission order - The
srcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfosmust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - The
dstStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfosmust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - If
vkCmdWaitEvents2is being called inside a render pass instance, thesrcStageMaskmember of any element of thepMemoryBarriers,pBufferMemoryBarriers, orpImageMemoryBarriersmembers ofpDependencyInfosmust not includePIPELINE_STAGE_2_HOST_BIT commandBuffer’s current device mask must include exactly one physical device
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepEventsmust be a valid pointer to an array ofeventCountvalidVkEventhandlespDependencyInfosmust be a valid pointer to an array ofeventCountvalidVkDependencyInfostructurescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics, compute, decode, or encode operations eventCountmust be greater than 0- Both of
commandBuffer, and the elements ofpEventsmust have been created, allocated, or retrieved from the sameVkDevice
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 Both Both Graphics Compute Decode Encode Synchronization See Also
- Parameters:
commandBuffer- the command buffer into which the command is recorded.pEvents- a pointer to an array ofeventCountevents to wait on.pDependencyInfos- a pointer to an array ofeventCountVkDependencyInfostructures, defining the second synchronization scope.
- The event was signaled by a
-
nvkCmdPipelineBarrier2
public static void nvkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pDependencyInfo) Unsafe version of:CmdPipelineBarrier2 -
vkCmdPipelineBarrier2
public static void vkCmdPipelineBarrier2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkDependencyInfo pDependencyInfo) Insert a memory dependency.C Specification
To record a pipeline barrier, call:
void vkCmdPipelineBarrier2( VkCommandBuffer commandBuffer, const VkDependencyInfo* pDependencyInfo);or the equivalent command
void vkCmdPipelineBarrier2KHR( VkCommandBuffer commandBuffer, const VkDependencyInfo* pDependencyInfo);Description
When
CmdPipelineBarrier2is submitted to a queue, it defines memory dependencies between commands that were submitted to the same queue before it, and those submitted to the same queue after it.The first synchronization scope and access scope of each memory dependency defined by
pDependencyInfoare applied to operations that occurred earlier in submission order.The second synchronization scope and access scope of each memory dependency defined by
pDependencyInfoare applied to operations that occurred later in submission order.If
vkCmdPipelineBarrier2is recorded within a render pass instance, the synchronization scopes are limited to a subset of operations within the same subpass or render pass instance.Valid Usage
- If
vkCmdPipelineBarrier2is called within a render pass instance using aVkRenderPassobject, the render pass must have been created with at least one subpass dependency that expresses a dependency from the current subpass to itself, does not includeDEPENDENCY_BY_REGION_BITif this command does not, does not includeDEPENDENCY_VIEW_LOCAL_BITif this command does not, and has synchronization scopes and access scopes that are all supersets of the scopes defined in this command - If
vkCmdPipelineBarrier2is called within a render pass instance using aVkRenderPassobject, it must not include any buffer memory barriers - If
vkCmdPipelineBarrier2is called within a render pass instance using aVkRenderPassobject, theimagemember of any image memory barrier included in this command must be an attachment used in the current subpass both as an input attachment, and as either a color, color resolve, or depth/stencil attachment - If
vkCmdPipelineBarrier2is called within a render pass instance using aVkRenderPassobject, and theimagemember of any image memory barrier is a color resolve attachment, the corresponding color attachment must beATTACHMENT_UNUSED - If
vkCmdPipelineBarrier2is called within a render pass instance using aVkRenderPassobject, and theimagemember of any image memory barrier is a color resolve attachment, it must have been created with a non-zeroVkExternalFormatANDROID::externalFormatvalue - If
vkCmdPipelineBarrier2is called within a render pass instance, theoldLayoutandnewLayoutmembers of any image memory barrier included in this command must be equal - If
vkCmdPipelineBarrier2is called within a render pass instance, thesrcQueueFamilyIndexanddstQueueFamilyIndexmembers of any memory barrier included in this command must be equal - If
vkCmdPipelineBarrier2is called within a render pass instance, and the source stage masks of any memory barriers include framebuffer-space stages, destination stage masks of all memory barriers must only include framebuffer-space stages - If
vkCmdPipelineBarrier2is called within a render pass instance, and the source stage masks of any memory barriers include framebuffer-space stages, thendependencyFlagsmust includeDEPENDENCY_BY_REGION_BIT - If
vkCmdPipelineBarrier2is called within a render pass instance, the source and destination stage masks of any memory barriers must only include graphics pipeline stages - If
vkCmdPipelineBarrier2is called outside of a render pass instance, the dependency flags must not includeDEPENDENCY_VIEW_LOCAL_BIT - If
vkCmdPipelineBarrier2is called inside a render pass instance, and there is more than one view in the current subpass, dependency flags must includeDEPENDENCY_VIEW_LOCAL_BIT - If none of the
shaderTileImageColorReadAccess,shaderTileImageStencilReadAccess, orshaderTileImageDepthReadAccessfeatures are enabled, and thedynamicRenderingLocalReadfeature is not enabled,vkCmdPipelineBarrier2must not be called within a render pass instance started withCmdBeginRendering - If the
dynamicRenderingLocalReadfeature is not enabled, andvkCmdPipelineBarrier2is called within a render pass instance started withCmdBeginRendering, there must be no buffer or image memory barriers specified by this command - If the
dynamicRenderingLocalReadfeature is not enabled, andvkCmdPipelineBarrier2is called within a render pass instance started withCmdBeginRendering, memory barriers specified by this command must only includeACCESS_2_COLOR_ATTACHMENT_READ_BIT,ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT,ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT, orACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BITin their access masks - If
vkCmdPipelineBarrier2is called within a render pass instance started withCmdBeginRendering, and theimagemember of any image memory barrier is used as an attachment in the current render pass instance, it must be in theIMAGE_LAYOUT_RENDERING_LOCAL_READorIMAGE_LAYOUT_GENERALlayout - If
vkCmdPipelineBarrier2is called within a render pass instance started withCmdBeginRendering, this command must only specify framebuffer-space stages insrcStageMaskanddstStageMask - The
synchronization2feature must be enabled - The
srcStageMaskmember of any element of thepMemoryBarriersmember ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - The
dstStageMaskmember of any element of thepMemoryBarriersmember ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - If a buffer or image memory barrier does not specify an acquire operation, the respective
srcStageMaskmember of the element of thepBufferMemoryBarriersorpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - If a buffer or image memory barrier does not specify an release operation, the respective
dstStageMaskmember of the element of thepBufferMemoryBarriersorpImageMemoryBarriersmembers ofpDependencyInfomust only include pipeline stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated from - If a buffer or image memory barrier specifies a queue family ownership transfer operation, either the
srcQueueFamilyIndexordstQueueFamilyIndexmember of the element of thepBufferMemoryBarriersorpImageMemoryBarriersmembers ofpDependencyInfoand the queue family index that was used to create the command pool thatcommandBufferwas allocated from must be equal
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepDependencyInfomust be a valid pointer to a validVkDependencyInfostructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, compute, decode, or encode operations
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 Both Both Transfer Graphics Compute Decode Encode Synchronization See Also
- Parameters:
commandBuffer- the command buffer into which the command is recorded.pDependencyInfo- a pointer to aVkDependencyInfostructure defining the scopes of this operation.
- If
-
vkCmdWriteTimestamp2
public static void vkCmdWriteTimestamp2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long stage, long queryPool, int query) Write a device timestamp into a query object.C Specification
To request a timestamp and write the value to memory, call:
void vkCmdWriteTimestamp2( VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query);or the equivalent command
void vkCmdWriteTimestamp2KHR( VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query);Description
When
vkCmdWriteTimestamp2is submitted to a queue, it defines an execution dependency on commands that were submitted before it, and writes a timestamp to a query pool.The first synchronization scope includes all commands that occur earlier in submission order. The synchronization scope is limited to operations on the pipeline stage specified by
stage.The second synchronization scope includes only the timestamp write operation.
Note
Implementations may write the timestamp at any stage that is logically later than
stage.Any timestamp write that happens-after another timestamp write in the same submission must not have a lower value unless its value overflows the maximum supported integer bit width of the query. If
VK_KHR_calibrated_timestampsorVK_EXT_calibrated_timestampsis enabled, this extends to timestamp writes across all submissions on the same logical device: any timestamp write that happens-after another must not have a lower value unless its value overflows the maximum supported integer bit width of the query. Timestamps written by this command must be in theTIME_DOMAIN_DEVICE_KHRtime domain (VkTimeDomainKHR). If an overflow occurs, the timestamp value must wrap back to zero.Note
Comparisons between timestamps should be done between timestamps where they are guaranteed to not decrease. For example, subtracting an older timestamp from a newer one to determine the execution time of a sequence of commands is only a reliable measurement if the two timestamp writes were performed in the same submission, or if the writes were performed on the same logical device and
VK_KHR_calibrated_timestampsorVK_EXT_calibrated_timestampsis enabled.If
vkCmdWriteTimestamp2is called while executing a render pass instance that has multiview enabled, the timestamp usesNconsecutive query indices in the query pool (starting atquery) whereNis the number of bits set in the view mask of the subpass the command is executed in. The resulting query values are determined by an implementation-dependent choice of one of the following behaviors:- The first query is a timestamp value and (if more than one bit is set in the view mask) zero is written to the remaining queries. If two timestamps are written in the same subpass, the sum of the execution time of all views between those commands is the difference between the first query written by each command.
- All
Nqueries are timestamp values. If two timestamps are written in the same subpass, the sum of the execution time of all views between those commands is the sum of the difference between corresponding queries written by each command. The difference between corresponding queries may be the execution time of a single view.
In either case, the application can sum the differences between all
Nqueries to determine the total execution time.Valid Usage
- If the
geometryShaderfeature is not enabled,stagemust not containPIPELINE_STAGE_2_GEOMETRY_SHADER_BIT - If the
tessellationShaderfeature is not enabled,stagemust not containPIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BITorPIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT - If the
conditionalRenderingfeature is not enabled,stagemust not containPIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT - If the
fragmentDensityMapfeature is not enabled,stagemust not containPIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT - If the
transformFeedbackfeature is not enabled,stagemust not containPIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT - If the
meshShaderfeature is not enabled,stagemust not containPIPELINE_STAGE_2_MESH_SHADER_BIT_EXT - If the
taskShaderfeature is not enabled,stagemust not containPIPELINE_STAGE_2_TASK_SHADER_BIT_EXT - If neither of the
shadingRateImageor theattachmentFragmentShadingRatefeatures are enabled,stagemust not containPIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR - If the
subpassShadingfeature is not enabled,stagemust not containPIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI - If the
invocationMaskfeature is not enabled,stagemust not containPIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI - If neither the
VK_NV_ray_tracingextension or therayTracingPipelinefeature are enabled,stagemust not containPIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR - The
synchronization2feature must be enabled stagemust only include a single pipeline stagestagemust only include stages valid for the queue family that was used to create the command pool thatcommandBufferwas allocated fromqueryPoolmust have been created with aqueryTypeofQUERY_TYPE_TIMESTAMP- The command pool’s queue family must support a non-zero
timestampValidBits querymust be less than the number of queries inqueryPool- All queries used by the command must be unavailable
- If
vkCmdWriteTimestamp2is called within a render pass instance, the sum ofqueryand the number of bits set in the current subpass’s view mask must be less than or equal to the number of queries inqueryPool
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlestagemust be a valid combination ofVkPipelineStageFlagBits2valuesqueryPoolmust be a validVkQueryPoolhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, compute, decode, or encode operations - Both of
commandBuffer, andqueryPoolmust have been created, allocated, or retrieved from the sameVkDevice
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 Both Both Transfer Graphics Compute Decode Encode Action - Parameters:
commandBuffer- the command buffer into which the command will be recorded.stage- specifies a stage of the pipeline.queryPool- the query pool that will manage the timestamp.query- the query within the query pool that will contain the timestamp.
-
nvkQueueSubmit2
public static int nvkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, int submitCount, long pSubmits, long fence) Unsafe version of:QueueSubmit2- Parameters:
submitCount- the number of elements in thepSubmitsarray.
-
vkQueueSubmit2
public static int vkQueueSubmit2(org.lwjgl.vulkan.VkQueue queue, @Nullable VkSubmitInfo2.Buffer pSubmits, long fence) Submits command buffers to a queue.C Specification
To submit command buffers to a queue, call:
VkResult vkQueueSubmit2( VkQueue queue, uint32_t submitCount, const VkSubmitInfo2* pSubmits, VkFence fence);or the equivalent command
VkResult vkQueueSubmit2KHR( VkQueue queue, uint32_t submitCount, const VkSubmitInfo2* pSubmits, VkFence fence);Description
vkQueueSubmit2is a queue submission command, with each batch defined by an element ofpSubmits.Semaphore operations submitted with
QueueSubmit2have additional ordering constraints compared to other submission commands, with dependencies involving previous and subsequent queue operations. Information about these additional constraints can be found in the semaphore section of the synchronization chapter.If any command buffer submitted to this queue is in the executable state, it is moved to the pending state. Once execution of all submissions of a command buffer complete, it moves from the pending state, back to the executable state. If a command buffer was recorded with the
COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BITflag, it instead moves back to the invalid state.If
vkQueueSubmit2fails, it may returnERROR_OUT_OF_HOST_MEMORYorERROR_OUT_OF_DEVICE_MEMORY. If it does, the implementation must ensure that the state and contents of any resources or synchronization primitives referenced by the submitted command buffers and any semaphores referenced bypSubmitsis unaffected by the call or its failure. IfvkQueueSubmit2fails in such a way that the implementation is unable to make that guarantee, the implementation must returnERROR_DEVICE_LOST. See Lost Device.Valid Usage
- If
fenceis notNULL_HANDLE,fencemust be unsignaled - If
fenceis notNULL_HANDLE,fencemust not be associated with any other queue command that has not yet completed execution on that queue - The
synchronization2feature must be enabled - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsreferenced aVkEvent, that event must not be referenced by a command that has been submitted to another queue and is still in the pending state - The
semaphoremember of any binary semaphore element of thepSignalSemaphoreInfosmember of any element ofpSubmitsmust be unsignaled when the semaphore signal operation it defines is executed on the device - The
stageMaskmember of any element of thepSignalSemaphoreInfosmember of any element ofpSubmitsmust only include pipeline stages that are supported by the queue family whichqueuebelongs to - The
stageMaskmember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmitsmust only include pipeline stages that are supported by the queue family whichqueuebelongs to - When a semaphore wait operation for a binary semaphore is executed, as defined by the
semaphoremember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmits, there must be no other queues waiting on the same semaphore - The
semaphoremember of any element of thepWaitSemaphoreInfosmember of any element ofpSubmitsthat was created with aVkSemaphoreTypeKHRofSEMAPHORE_TYPE_BINARY_KHRmust reference a semaphore signal operation that has been submitted for execution and any semaphore signal operations on which it depends must have also been submitted for execution - The
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsmust be in the pending or executable state - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitswas not recorded with theCOMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state - Any secondary command buffers recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsmust be in the pending or executable state - If any secondary command buffers recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitswas not recorded with theCOMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state - The
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsmust have been allocated from aVkCommandPoolthat was created for the same queue familyqueuebelongs to - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitsincludes a Queue Family Ownership Transfer Acquire Operation, there must exist a previously submitted Queue Family Ownership Transfer Release Operation on a queue in the queue family identified by the acquire operation, with parameters matching the acquire operation as defined in the definition of such acquire operations, and which happens before the acquire operation - If a command recorded into the
commandBuffermember of any element of thepCommandBufferInfosmember of any element ofpSubmitswas aCmdBeginQuerywhosequeryPoolwas created with aqueryTypeofQUERY_TYPE_PERFORMANCE_QUERY_KHR, the profiling lock must have been held continuously on theVkDevicethatqueuewas retrieved from, throughout recording of those command buffers - If
queuewas not created withDEVICE_QUEUE_CREATE_PROTECTED_BIT, theflagsmember of any element ofpSubmitsmust not includeSUBMIT_PROTECTED_BIT_KHR
Valid Usage (Implicit)
queuemust be a validVkQueuehandle- If
submitCountis not 0,pSubmitsmust be a valid pointer to an array ofsubmitCountvalidVkSubmitInfo2structures - If
fenceis notNULL_HANDLE,fencemust be a validVkFencehandle - Both of
fence, andqueuethat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
Host Synchronization
- Host access to
queuemust be externally synchronized - Host access to
fencemust be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Video Coding Scope Supported Queue Types Command Type - - - Any - Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
queue- the queue that the command buffers will be submitted to.pSubmits- a pointer to an array ofVkSubmitInfo2structures, each specifying a command buffer submission batch.fence- an optional handle to a fence to be signaled once all submitted command buffers have completed execution. Iffenceis notNULL_HANDLE, it defines a fence signal operation.
- If
-
nvkCmdCopyBuffer2
public static void nvkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferInfo) Unsafe version of:CmdCopyBuffer2 -
vkCmdCopyBuffer2
public static void vkCmdCopyBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferInfo2 pCopyBufferInfo) Copy data between buffer regions.C Specification
To copy data between buffer objects, call:
void vkCmdCopyBuffer2( VkCommandBuffer commandBuffer, const VkCopyBufferInfo2* pCopyBufferInfo);or the equivalent command
void vkCmdCopyBuffer2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferInfo2* pCopyBufferInfo);Description
Each source region specified by
pCopyBufferInfo→pRegionsis copied from the source buffer to the destination region of the destination buffer. If any of the specified regions inpCopyBufferInfo→srcBufferoverlaps in memory with any of the specified regions inpCopyBufferInfo→dstBuffer, values read from those overlapping regions are undefined.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcBuffermust not be a protected buffer - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstBuffermust not be a protected buffer - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstBuffermust not be an unprotected buffer
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyBufferInfomust be a valid pointer to a validVkCopyBufferInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside 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 Outside Outside Transfer Graphics Compute Action See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyBufferInfo- a pointer to aVkCopyBufferInfo2structure describing the copy parameters.
- If
-
nvkCmdCopyImage2
public static void nvkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageInfo) Unsafe version of:CmdCopyImage2 -
vkCmdCopyImage2
public static void vkCmdCopyImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageInfo2 pCopyImageInfo) Copy data between images.C Specification
To copy data between image objects, call:
void vkCmdCopyImage2( VkCommandBuffer commandBuffer, const VkCopyImageInfo2* pCopyImageInfo);or the equivalent command
void vkCmdCopyImage2KHR( VkCommandBuffer commandBuffer, const VkCopyImageInfo2* pCopyImageInfo);Description
This command is functionally identical to
CmdCopyImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyImageInfomust be a valid pointer to a validVkCopyImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside 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 Outside Outside Transfer Graphics Compute Action See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyImageInfo- a pointer to aVkCopyImageInfo2structure describing the copy parameters.
- If
-
nvkCmdCopyBufferToImage2
public static void nvkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyBufferToImageInfo) Unsafe version of:CmdCopyBufferToImage2 -
vkCmdCopyBufferToImage2
public static void vkCmdCopyBufferToImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyBufferToImageInfo2 pCopyBufferToImageInfo) Copy data from a buffer into an image.C Specification
To copy data from a buffer object to an image object, call:
void vkCmdCopyBufferToImage2( VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2* pCopyBufferToImageInfo);or the equivalent command
void vkCmdCopyBufferToImage2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2* pCopyBufferToImageInfo);Description
This command is functionally identical to
CmdCopyBufferToImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcBuffermust not be a protected buffer - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image - If the queue family used to create the
VkCommandPoolwhichcommandBufferwas allocated from does not supportQUEUE_GRAPHICS_BITorQUEUE_COMPUTE_BIT, thebufferOffsetmember of any element ofpCopyBufferToImageInfo->pRegions must be a multiple of 4 - The
imageOffsetandimageExtentmembers of each element ofpCopyBufferToImageInfo->pRegions must respect the image transfer granularity requirements ofcommandBuffer’s command pool’s queue family, as described inVkQueueFamilyProperties - If the queue family used to create the
VkCommandPoolwhichcommandBufferwas allocated from does not supportQUEUE_GRAPHICS_BIT, for each element ofpCopyBufferToImageInfo->pRegions, theaspectMaskmember ofimageSubresourcemust not beIMAGE_ASPECT_DEPTH_BITorIMAGE_ASPECT_STENCIL_BIT
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyBufferToImageInfomust be a valid pointer to a validVkCopyBufferToImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside 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 Outside Outside Transfer Graphics Compute Action See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyBufferToImageInfo- a pointer to aVkCopyBufferToImageInfo2structure describing the copy parameters.
- If
-
nvkCmdCopyImageToBuffer2
public static void nvkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pCopyImageToBufferInfo) Unsafe version of:CmdCopyImageToBuffer2 -
vkCmdCopyImageToBuffer2
public static void vkCmdCopyImageToBuffer2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkCopyImageToBufferInfo2 pCopyImageToBufferInfo) Copy image data into a buffer.C Specification
To copy data from an image object to a buffer object, call:
void vkCmdCopyImageToBuffer2( VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2* pCopyImageToBufferInfo);or the equivalent command
void vkCmdCopyImageToBuffer2KHR( VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2* pCopyImageToBufferInfo);Description
This command is functionally identical to
CmdCopyImageToBuffer, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstBuffermust not be a protected buffer - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstBuffermust not be an unprotected buffer - If the queue family used to create the
VkCommandPoolwhichcommandBufferwas allocated from does not supportQUEUE_GRAPHICS_BITorQUEUE_COMPUTE_BIT, thebufferOffsetmember of any element ofpCopyImageToBufferInfo->pRegions must be a multiple of 4 - The
imageOffsetandimageExtentmembers of each element ofpCopyImageToBufferInfo->pRegions must respect the image transfer granularity requirements ofcommandBuffer’s command pool’s queue family, as described inVkQueueFamilyProperties
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepCopyImageToBufferInfomust be a valid pointer to a validVkCopyImageToBufferInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support transfer, graphics, or compute operations - This command must only be called outside 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 Outside Outside Transfer Graphics Compute Action See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pCopyImageToBufferInfo- a pointer to aVkCopyImageToBufferInfo2structure describing the copy parameters.
- If
-
nvkCmdBlitImage2
public static void nvkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pBlitImageInfo) Unsafe version of:CmdBlitImage2 -
vkCmdBlitImage2
public static void vkCmdBlitImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkBlitImageInfo2 pBlitImageInfo) Copy regions of an image, potentially performing format conversion,.C Specification
To copy regions of a source image into a destination image, potentially performing format conversion, arbitrary scaling, and filtering, call:
void vkCmdBlitImage2( VkCommandBuffer commandBuffer, const VkBlitImageInfo2* pBlitImageInfo);or the equivalent command
void vkCmdBlitImage2KHR( VkCommandBuffer commandBuffer, const VkBlitImageInfo2* pBlitImageInfo);Description
This command is functionally identical to
CmdBlitImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepBlitImageInfomust be a valid pointer to a validVkBlitImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside 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 Outside Outside Graphics Action See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pBlitImageInfo- a pointer to aVkBlitImageInfo2structure describing the blit parameters.
- If
-
nvkCmdResolveImage2
public static void nvkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pResolveImageInfo) Unsafe version of:CmdResolveImage2 -
vkCmdResolveImage2
public static void vkCmdResolveImage2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkResolveImageInfo2 pResolveImageInfo) Resolve regions of an image.C Specification
To resolve a multisample image to a non-multisample image, call:
void vkCmdResolveImage2( VkCommandBuffer commandBuffer, const VkResolveImageInfo2* pResolveImageInfo);or the equivalent command
void vkCmdResolveImage2KHR( VkCommandBuffer commandBuffer, const VkResolveImageInfo2* pResolveImageInfo);Description
This command is functionally identical to
CmdResolveImage, but includes extensible sub-structures that includesTypeandpNextparameters, allowing them to be more easily extended.Valid Usage
- If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,srcImagemust not be a protected image - If
commandBufferis an unprotected command buffer andprotectedNoFaultis not supported,dstImagemust not be a protected image - If
commandBufferis a protected command buffer andprotectedNoFaultis not supported,dstImagemust not be an unprotected image
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepResolveImageInfomust be a valid pointer to a validVkResolveImageInfo2structurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside 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 Outside Outside Graphics Action See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pResolveImageInfo- a pointer to aVkResolveImageInfo2structure describing the resolve parameters.
- If
-
nvkCmdBeginRendering
public static void nvkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pRenderingInfo) Unsafe version of:CmdBeginRendering -
vkCmdBeginRendering
public static void vkCmdBeginRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRenderingInfo pRenderingInfo) Begin a dynamic render pass instance.C Specification
To begin a render pass instance, call:
void vkCmdBeginRendering( VkCommandBuffer commandBuffer, const VkRenderingInfo* pRenderingInfo);or the equivalent command
void vkCmdBeginRenderingKHR( VkCommandBuffer commandBuffer, const VkRenderingInfo* pRenderingInfo);Description
After beginning a render pass instance, the command buffer is ready to record draw commands.
If
pRenderingInfo→flagsincludesRENDERING_RESUMING_BITthen this render pass is resumed from a render pass instance that has been suspended earlier in submission order.Valid Usage
- The
dynamicRenderingfeature must be enabled - If
commandBufferis a secondary command buffer, and thenestedCommandBufferfeature is not enabled,pRenderingInfo→flagsmust not includeRENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT - If
pRenderingInfo→pDepthAttachmentis notNULLandpRenderingInfo→pDepthAttachment→imageViewis notNULL_HANDLE,pRenderingInfo→pDepthAttachment→imageViewmust be in the layout specified bypRenderingInfo→pDepthAttachment→imageLayout - If
pRenderingInfo→pDepthAttachmentis notNULL,pRenderingInfo→pDepthAttachment→imageViewis notNULL_HANDLE,pRenderingInfo→pDepthAttachment→imageResolveModeis notRESOLVE_MODE_NONE, andpRenderingInfo→pDepthAttachment→resolveImageViewis notNULL_HANDLE,pRenderingInfo→pDepthAttachment→resolveImageViewmust be in the layout specified bypRenderingInfo→pDepthAttachment→resolveImageLayout - If
pRenderingInfo→pStencilAttachmentis notNULLandpRenderingInfo→pStencilAttachment→imageViewis notNULL_HANDLE,pRenderingInfo→pStencilAttachment→imageViewmust be in the layout specified bypRenderingInfo→pStencilAttachment→imageLayout - If
pRenderingInfo→pStencilAttachmentis notNULL,pRenderingInfo→pStencilAttachment→imageViewis notNULL_HANDLE,pRenderingInfo→pStencilAttachment→imageResolveModeis notRESOLVE_MODE_NONE, andpRenderingInfo→pStencilAttachment→resolveImageViewis notNULL_HANDLE,pRenderingInfo→pStencilAttachment→resolveImageViewmust be in the layout specified bypRenderingInfo→pStencilAttachment→resolveImageLayout - For any element of
pRenderingInfo→pColorAttachments, ifimageViewis notNULL_HANDLE, that image view must be in the layout specified byimageLayout - For any element of
pRenderingInfo→pColorAttachments, if eitherimageResolveModeisRESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID, orimageViewis notNULL_HANDLEandresolveModeis notRESOLVE_MODE_NONE, andresolveImageViewis notNULL_HANDLE,resolveImageViewmust be in the layout specified byresolveImageLayout
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepRenderingInfomust be a valid pointer to a validVkRenderingInfostructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside 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 Outside Outside Graphics Action State See Also
- Parameters:
commandBuffer- the command buffer in which to record the command.pRenderingInfo- a pointer to aVkRenderingInfostructure specifying details of the render pass instance to begin.
- The
-
vkCmdEndRendering
public static void vkCmdEndRendering(org.lwjgl.vulkan.VkCommandBuffer commandBuffer) End a dynamic render pass instance.C Specification
To end a render pass instance, call:
void vkCmdEndRendering( VkCommandBuffer commandBuffer);or the equivalent command
void vkCmdEndRenderingKHR( VkCommandBuffer commandBuffer);Description
If the value of
pRenderingInfo→flagsused to begin this render pass instance includedRENDERING_SUSPENDING_BIT, then this render pass is suspended and will be resumed later in submission order.Valid Usage
- The current render pass instance must have been begun with
CmdBeginRendering - The current render pass instance must have been begun in
commandBuffer - This command must not be recorded when transform feedback is active
- If
vkCmdBeginQuery* was called within the render pass, the correspondingvkCmdEndQuery* must have been called subsequently within the same subpass
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust 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 Action State - Parameters:
commandBuffer- the command buffer in which to record the command.
- The current render pass instance must have been begun with
-
vkCmdSetCullMode
public static void vkCmdSetCullMode(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int cullMode) Set cull mode dynamically for a command buffer.C Specification
To dynamically set the cull mode, call:
void vkCmdSetCullMode( VkCommandBuffer commandBuffer, VkCullModeFlags cullMode);or the equivalent command
void vkCmdSetCullModeEXT( VkCommandBuffer commandBuffer, VkCullModeFlags cullMode);Description
This command sets the cull mode for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_CULL_MODEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::cullModevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecullModemust be a valid combination ofVkCullModeFlagBitsvaluescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.cullMode- specifies the cull mode property to use for drawing.
- At least one of the following must be true:
-
vkCmdSetFrontFace
public static void vkCmdSetFrontFace(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int frontFace) Set front face orientation dynamically for a command buffer.C Specification
To dynamically set the front face orientation, call:
void vkCmdSetFrontFace( VkCommandBuffer commandBuffer, VkFrontFace frontFace);or the equivalent command
void vkCmdSetFrontFaceEXT( VkCommandBuffer commandBuffer, VkFrontFace frontFace);Description
This command sets the front face orientation for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_FRONT_FACEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::frontFacevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlefrontFacemust be a validVkFrontFacevaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.frontFace- aVkFrontFacevalue specifying the front-facing triangle orientation to be used for culling.
- At least one of the following must be true:
-
vkCmdSetPrimitiveTopology
public static void vkCmdSetPrimitiveTopology(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int primitiveTopology) Set primitive topology state dynamically for a command buffer.C Specification
To dynamically set primitive topology, call:
void vkCmdSetPrimitiveTopology( VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology);or the equivalent command
void vkCmdSetPrimitiveTopologyEXT( VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology);Description
This command sets the primitive topology for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_PRIMITIVE_TOPOLOGYset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineInputAssemblyStateCreateInfo::topologyvalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleprimitiveTopologymust be a validVkPrimitiveTopologyvaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.primitiveTopology- specifies the primitive topology to use for drawing.
- At least one of the following must be true:
-
nvkCmdSetViewportWithCount
public static void nvkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int viewportCount, long pViewports) Unsafe version of:CmdSetViewportWithCount- Parameters:
viewportCount- specifies the viewport count.
-
vkCmdSetViewportWithCount
public static void vkCmdSetViewportWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkViewport.Buffer pViewports) Set the viewport count and viewports dynamically for a command buffer.C Specification
To dynamically set the viewport count and viewports, call:
void vkCmdSetViewportWithCount( VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports);or the equivalent command
void vkCmdSetViewportWithCountEXT( VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports);Description
This command sets the viewport count and viewports state for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_VIEWPORT_WITH_COUNTset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the correspondingVkPipelineViewportStateCreateInfo::viewportCountandpViewportsvalues used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
viewportCountmust be between 1 andVkPhysicalDeviceLimits::maxViewports, inclusive- If the
multiViewportfeature is not enabled,viewportCountmust be 1 commandBuffermust not haveVkCommandBufferInheritanceViewportScissorInfoNV::viewportScissor2Denabled
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepViewportsmust be a valid pointer to an array ofviewportCountvalidVkViewportstructurescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a video coding scope
viewportCountmust be greater than 0
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 Both Outside Graphics State See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pViewports- specifies the viewports to use for drawing.
- At least one of the following must be true:
-
nvkCmdSetScissorWithCount
public static void nvkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int scissorCount, long pScissors) Unsafe version of:CmdSetScissorWithCount- Parameters:
scissorCount- specifies the scissor count.
-
vkCmdSetScissorWithCount
public static void vkCmdSetScissorWithCount(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkRect2D.Buffer pScissors) Set the scissor count and scissor rectangular bounds dynamically for a command buffer.C Specification
To dynamically set the scissor count and scissor rectangular bounds, call:
void vkCmdSetScissorWithCount( VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors);or the equivalent command
void vkCmdSetScissorWithCountEXT( VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors);Description
This command sets the scissor count and scissor rectangular bounds state for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_SCISSOR_WITH_COUNTset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the correspondingVkPipelineViewportStateCreateInfo::scissorCountandpScissorsvalues used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
scissorCountmust be between 1 andVkPhysicalDeviceLimits::maxViewports, inclusive- If the
multiViewportfeature is not enabled,scissorCountmust be 1 - The
xandymembers ofoffsetmember of any element ofpScissorsmust be greater than or equal to 0 - Evaluation of
(offset.x + extent.width)must not cause a signed integer addition overflow for any element ofpScissors - Evaluation of
(offset.y + extent.height)must not cause a signed integer addition overflow for any element ofpScissors commandBuffermust not haveVkCommandBufferInheritanceViewportScissorInfoNV::viewportScissor2Denabled
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepScissorsmust be a valid pointer to an array ofscissorCountVkRect2DstructurescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a video coding scope
scissorCountmust be greater than 0
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 Both Outside Graphics State See Also
- Parameters:
commandBuffer- the command buffer into which the command will be recorded.pScissors- specifies the scissors to use for drawing.
- At least one of the following must be true:
-
nvkCmdBindVertexBuffers2
public static void nvkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, int bindingCount, long pBuffers, long pOffsets, long pSizes, long pStrides) Unsafe version of:CmdBindVertexBuffers2- Parameters:
bindingCount- the number of vertex input bindings whose state is updated by the command.
-
vkCmdBindVertexBuffers2
public static void vkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, LongBuffer pBuffers, LongBuffer pOffsets, @Nullable LongBuffer pSizes, @Nullable LongBuffer pStrides) Bind vertex buffers to a command buffer and dynamically set strides.C Specification
Alternatively, to bind vertex buffers, along with their sizes and strides, to a command buffer for use in subsequent drawing commands, call:
void vkCmdBindVertexBuffers2( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides);or the equivalent command
void vkCmdBindVertexBuffers2EXT( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides);Description
The values taken from elements
iofpBuffersandpOffsetsreplace the current state for the vertex input bindingfirstBinding + i, foriin[0, bindingCount). The vertex input binding is updated to start at the offset indicated bypOffsets[i] from the start of the bufferpBuffers[i]. IfpSizesis notNULLthenpSizes[i] specifies the bound size of the vertex buffer starting from the corresponding elements ofpBuffers[i] pluspOffsets[i]. IfpSizes[i] isWHOLE_SIZEthen the bound size is frompBuffers[i] pluspOffsets[i] to the end of the bufferpBuffers[i]. All vertex input attributes that use each of these bindings will use these updated addresses in their address calculations for subsequent drawing commands. If thenullDescriptorfeature is enabled, elements ofpBufferscan beNULL_HANDLE, and can be used by the vertex shader. If a vertex input attribute is bound to a vertex input binding that isNULL_HANDLE, the values taken from memory are considered to be zero, and missing G, B, or A components are filled with(0,0,1).This command also dynamically sets the byte strides between consecutive elements within buffer
pBuffers[i] to the correspondingpStrides[i] value when drawing using shader objects, or when the graphics pipeline is created withDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, strides are specified by theVkVertexInputBindingDescription::stridevalues used to create the currently active pipeline.If drawing using shader objects or if the bound pipeline state object was also created with the
DYNAMIC_STATE_VERTEX_INPUT_EXTdynamic state enabled thenCmdSetVertexInputEXTcan be used instead ofvkCmdBindVertexBuffers2to set the stride.Note
Unlike the static state to set the same,
pStridesmust be between 0 and the maximum extent of the attributes in the binding.CmdSetVertexInputEXTdoes not have this restriction so can be used if other stride values are desired.Valid Usage
firstBindingmust be less thanVkPhysicalDeviceLimits::maxVertexInputBindings- The sum of
firstBindingandbindingCountmust be less than or equal toVkPhysicalDeviceLimits::maxVertexInputBindings - If
pSizesis notNULL, all elements ofpOffsetsmust be less than the size of the corresponding element inpBuffers - If
pSizesis notNULL, all elements ofpOffsetspluspSizes, wherepSizesis notWHOLE_SIZE, must be less than or equal to the size of the corresponding element inpBuffers - All elements of
pBuffersmust have been created with theBUFFER_USAGE_VERTEX_BUFFER_BITflag - Each element of
pBuffersthat is non-sparse must be bound completely and contiguously to a singleVkDeviceMemoryobject - If the
nullDescriptorfeature is not enabled, all elements ofpBuffersmust not beNULL_HANDLE - If an element of
pBuffersisNULL_HANDLE, then the corresponding element ofpOffsetsmust be zero - If
pStridesis notNULLeach element ofpStridesmust be less than or equal toVkPhysicalDeviceLimits::maxVertexInputBindingStride - If
pStridesis notNULLeach element ofpStridesmust be either 0 or greater than or equal to the maximum extent of all vertex input attributes fetched from the corresponding binding, where the extent is calculated as theVkVertexInputAttributeDescription::offsetplusVkVertexInputAttributeDescription::formatsize
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepBuffersmust be a valid pointer to an array ofbindingCountvalid orNULL_HANDLEVkBufferhandlespOffsetsmust be a valid pointer to an array ofbindingCountVkDeviceSizevalues- If
pSizesis notNULL,pSizesmust be a valid pointer to an array ofbindingCountVkDeviceSizevalues - If
pStridesis notNULL,pStridesmust be a valid pointer to an array ofbindingCountVkDeviceSizevalues commandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a video coding scope
- If any of
pSizes, orpStridesare notNULL,bindingCountmust be greater than 0 - Both of
commandBuffer, and the elements ofpBuffersthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command is recorded.firstBinding- the index of the first vertex input binding whose state is updated by the command.pBuffers- a pointer to an array of buffer handles.pOffsets- a pointer to an array of buffer offsets.pSizes-NULLor a pointer to an array of the size in bytes of vertex data bound frompBuffers.pStrides-NULLor a pointer to an array of buffer strides.
-
vkCmdSetDepthTestEnable
public static void vkCmdSetDepthTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthTestEnable) Set depth test enable dynamically for a command buffer.C Specification
To dynamically enable or disable the depth test, call:
void vkCmdSetDepthTestEnable( VkCommandBuffer commandBuffer, VkBool32 depthTestEnable);or the equivalent command
void vkCmdSetDepthTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthTestEnable);Description
This command sets the depth test enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_TEST_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthTestEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthTestEnable- specifies if the depth test is enabled.
- At least one of the following must be true:
-
vkCmdSetDepthWriteEnable
public static void vkCmdSetDepthWriteEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthWriteEnable) Set depth write enable dynamically for a command buffer.C Specification
To dynamically set the depth write enable, call:
void vkCmdSetDepthWriteEnable( VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable);or the equivalent command
void vkCmdSetDepthWriteEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable);Description
This command sets the depth write enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_WRITE_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthWriteEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthWriteEnable- specifies if depth writes are enabled.
- At least one of the following must be true:
-
vkCmdSetDepthCompareOp
public static void vkCmdSetDepthCompareOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int depthCompareOp) Set depth comparison operator dynamically for a command buffer.C Specification
To dynamically set the depth compare operator, call:
void vkCmdSetDepthCompareOp( VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp);or the equivalent command
void vkCmdSetDepthCompareOpEXT( VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp);Description
This command sets the depth comparison operator for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_COMPARE_OPset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthCompareOpvalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandledepthCompareOpmust be a validVkCompareOpvaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthCompareOp- aVkCompareOpvalue specifying the comparison operator used for the Depth Comparison step of the depth test.
- At least one of the following must be true:
-
vkCmdSetDepthBoundsTestEnable
public static void vkCmdSetDepthBoundsTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBoundsTestEnable) Set depth bounds test enable dynamically for a command buffer.C Specification
To dynamically enable or disable the depth bounds test, call:
void vkCmdSetDepthBoundsTestEnable( VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable);or the equivalent command
void vkCmdSetDepthBoundsTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable);Description
This command sets the depth bounds enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::depthBoundsTestEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
- If the
depthBoundsfeature is not enabled,depthBoundsTestEnablemust beFALSE
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthBoundsTestEnable- specifies if the depth bounds test is enabled.
- At least one of the following must be true:
-
vkCmdSetStencilTestEnable
public static void vkCmdSetStencilTestEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean stencilTestEnable) Set stencil test enable dynamically for a command buffer.C Specification
To dynamically enable or disable the stencil test, call:
void vkCmdSetStencilTestEnable( VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable);or the equivalent command
void vkCmdSetStencilTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable);Description
This command sets the stencil test enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_STENCIL_TEST_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineDepthStencilStateCreateInfo::stencilTestEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.stencilTestEnable- specifies if the stencil test is enabled.
- At least one of the following must be true:
-
vkCmdSetStencilOp
public static void vkCmdSetStencilOp(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int faceMask, int failOp, int passOp, int depthFailOp, int compareOp) Set stencil operation dynamically for a command buffer.C Specification
To dynamically set the stencil operation, call:
void vkCmdSetStencilOp( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp);or the equivalent command
void vkCmdSetStencilOpEXT( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp);Description
This command sets the stencil operation for subsequent drawing commands when when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_STENCIL_OPset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by the correspondingVkPipelineDepthStencilStateCreateInfo::failOp,passOp,depthFailOp, andcompareOpvalues used to create the currently active pipeline, for both front and back faces.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicStatefeature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlefaceMaskmust be a valid combination ofVkStencilFaceFlagBitsvaluesfaceMaskmust not be 0failOpmust be a validVkStencilOpvaluepassOpmust be a validVkStencilOpvaluedepthFailOpmust be a validVkStencilOpvaluecompareOpmust be a validVkCompareOpvaluecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.faceMask- a bitmask ofVkStencilFaceFlagBitsspecifying the set of stencil state for which to update the stencil operation.failOp- aVkStencilOpvalue specifying the action performed on samples that fail the stencil test.passOp- aVkStencilOpvalue specifying the action performed on samples that pass both the depth and stencil tests.depthFailOp- aVkStencilOpvalue specifying the action performed on samples that pass the stencil test and fail the depth test.compareOp- aVkCompareOpvalue specifying the comparison operator used in the stencil test.
- At least one of the following must be true:
-
vkCmdSetRasterizerDiscardEnable
public static void vkCmdSetRasterizerDiscardEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean rasterizerDiscardEnable) Control whether primitives are discarded before the rasterization stage dynamically for a command buffer.C Specification
To dynamically enable whether primitives are discarded before the rasterization stage, call:
void vkCmdSetRasterizerDiscardEnable( VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable);or the equivalent command
void vkCmdSetRasterizerDiscardEnableEXT( VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable);Description
This command sets the discard enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::rasterizerDiscardEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicState2feature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.rasterizerDiscardEnable- controls whether primitives are discarded immediately before the rasterization stage.
- At least one of the following must be true:
-
vkCmdSetDepthBiasEnable
public static void vkCmdSetDepthBiasEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean depthBiasEnable) Control whether to bias fragment depth values dynamically for a command buffer.C Specification
To dynamically enable whether to bias fragment depth values, call:
void vkCmdSetDepthBiasEnable( VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable);or the equivalent command
void vkCmdSetDepthBiasEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable);Description
This command sets the depth bias enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_DEPTH_BIAS_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineRasterizationStateCreateInfo::depthBiasEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicState2feature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.depthBiasEnable- controls whether to bias fragment depth values.
- At least one of the following must be true:
-
vkCmdSetPrimitiveRestartEnable
public static void vkCmdSetPrimitiveRestartEnable(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, boolean primitiveRestartEnable) Set primitive assembly restart state dynamically for a command buffer.C Specification
To dynamically control whether a special vertex index value is treated as restarting the assembly of primitives, call:
void vkCmdSetPrimitiveRestartEnable( VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable);or the equivalent command
void vkCmdSetPrimitiveRestartEnableEXT( VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable);Description
This command sets the primitive restart enable for subsequent drawing commands when drawing using shader objects, or when the graphics pipeline is created with
DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLEset inVkPipelineDynamicStateCreateInfo::pDynamicStates. Otherwise, this state is specified by theVkPipelineInputAssemblyStateCreateInfo::primitiveRestartEnablevalue used to create the currently active pipeline.Valid Usage
- At least one of the following must be true:
- the
extendedDynamicState2feature is enabled - the
shaderObjectfeature is enabled - the value of
VkApplicationInfo::apiVersionused to create theVkInstanceparent ofcommandBufferis greater than or equal to Version 1.3
- the
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - 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 Both Outside Graphics State - Parameters:
commandBuffer- the command buffer into which the command will be recorded.primitiveRestartEnable- controls whether a special vertex index value is treated as restarting the assembly of primitives. It behaves in the same way asVkPipelineInputAssemblyStateCreateInfo::primitiveRestartEnable
- At least one of the following must be true:
-
nvkGetDeviceBufferMemoryRequirements
public static void nvkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements) Unsafe version of:GetDeviceBufferMemoryRequirements -
vkGetDeviceBufferMemoryRequirements
public static void vkGetDeviceBufferMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceBufferMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements) Returns the memory requirements for specified Vulkan object.C Specification
To determine the memory requirements for a buffer resource without creating an object, call:
void vkGetDeviceBufferMemoryRequirements( VkDevice device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);or the equivalent command
void vkGetDeviceBufferMemoryRequirementsKHR( VkDevice device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);Valid Usage (Implicit)
devicemust be a validVkDevicehandlepInfomust be a valid pointer to a validVkDeviceBufferMemoryRequirementsstructurepMemoryRequirementsmust be a valid pointer to aVkMemoryRequirements2structure
See Also
- Parameters:
device- the logical device intended to own the buffer.pInfo- a pointer to aVkDeviceBufferMemoryRequirementsstructure containing parameters required for the memory requirements query.pMemoryRequirements- a pointer to aVkMemoryRequirements2structure in which the memory requirements of the buffer object are returned.
-
nvkGetDeviceImageMemoryRequirements
public static void nvkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pMemoryRequirements) Unsafe version of:GetDeviceImageMemoryRequirements -
vkGetDeviceImageMemoryRequirements
public static void vkGetDeviceImageMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, VkMemoryRequirements2 pMemoryRequirements) Returns the memory requirements for specified Vulkan object.C Specification
To determine the memory requirements for an image resource without creating an object, call:
void vkGetDeviceImageMemoryRequirements( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);or the equivalent command
void vkGetDeviceImageMemoryRequirementsKHR( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements);Valid Usage (Implicit)
devicemust be a validVkDevicehandlepInfomust be a valid pointer to a validVkDeviceImageMemoryRequirementsstructurepMemoryRequirementsmust be a valid pointer to aVkMemoryRequirements2structure
See Also
- Parameters:
device- the logical device intended to own the image.pInfo- a pointer to aVkDeviceImageMemoryRequirementsstructure containing parameters required for the memory requirements query.pMemoryRequirements- a pointer to aVkMemoryRequirements2structure in which the memory requirements of the image object are returned.
-
nvkGetDeviceImageSparseMemoryRequirements
public static void nvkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, long pInfo, long pSparseMemoryRequirementCount, long pSparseMemoryRequirements) Unsafe version of:GetDeviceImageSparseMemoryRequirements- Parameters:
pSparseMemoryRequirementCount- a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.
-
vkGetDeviceImageSparseMemoryRequirements
public static void vkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, IntBuffer pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements) Query the memory requirements for a sparse image.C Specification
To determine the sparse memory requirements for an image resource without creating an object, call:
void vkGetDeviceImageSparseMemoryRequirements( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements);or the equivalent command
void vkGetDeviceImageSparseMemoryRequirementsKHR( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements);Valid Usage (Implicit)
devicemust be a validVkDevicehandlepInfomust be a valid pointer to a validVkDeviceImageMemoryRequirementsstructurepSparseMemoryRequirementCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pSparseMemoryRequirementCountis not 0, andpSparseMemoryRequirementsis notNULL,pSparseMemoryRequirementsmust be a valid pointer to an array ofpSparseMemoryRequirementCountVkSparseImageMemoryRequirements2structures
See Also
VkDeviceImageMemoryRequirements,VkSparseImageMemoryRequirements2- Parameters:
device- the logical device intended to own the image.pInfo- a pointer to aVkDeviceImageMemoryRequirementsstructure containing parameters required for the memory requirements query.pSparseMemoryRequirementCount- a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.pSparseMemoryRequirements- eitherNULLor a pointer to an array ofVkSparseImageMemoryRequirements2structures.
-
vkGetPhysicalDeviceToolProperties
public static int vkGetPhysicalDeviceToolProperties(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pToolCount, @Nullable VkPhysicalDeviceToolProperties.Buffer pToolProperties) Array version of:GetPhysicalDeviceToolProperties -
vkCreatePrivateDataSlot
public static int vkCreatePrivateDataSlot(org.lwjgl.vulkan.VkDevice device, VkPrivateDataSlotCreateInfo pCreateInfo, @Nullable VkAllocationCallbacks pAllocator, long[] pPrivateDataSlot) Array version of:CreatePrivateDataSlot -
vkGetPrivateData
public static void vkGetPrivateData(org.lwjgl.vulkan.VkDevice device, int objectType, long objectHandle, long privateDataSlot, long[] pData) Array version of:GetPrivateData -
vkCmdWaitEvents2
public static void vkCmdWaitEvents2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long[] pEvents, VkDependencyInfo.Buffer pDependencyInfos) Array version of:CmdWaitEvents2 -
vkCmdBindVertexBuffers2
public static void vkCmdBindVertexBuffers2(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int firstBinding, long[] pBuffers, long[] pOffsets, long @Nullable [] pSizes, long @Nullable [] pStrides) Array version of:CmdBindVertexBuffers2 -
vkGetDeviceImageSparseMemoryRequirements
public static void vkGetDeviceImageSparseMemoryRequirements(org.lwjgl.vulkan.VkDevice device, VkDeviceImageMemoryRequirements pInfo, int[] pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements) Array version of:GetDeviceImageSparseMemoryRequirements
-