Parameters defined by this structure with the same name as those in VkSubpassDependency have the identical effect to those parameters.
viewOffset has the same effect for the described subpass dependency as VkRenderPassMultiviewCreateInfo::pViewOffsets has on each corresponding subpass dependency.
If a VkMemoryBarrier2 is included in the pNext chain, srcStageMask, dstStageMask, srcAccessMask, and dstAccessMask parameters are ignored. The synchronization and access scopes instead are defined by the parameters of VkMemoryBarrier2.
geometryShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_GEOMETRY_SHADER_BITtessellationShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT or PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BITconditionalRendering feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXTfragmentDensityMap feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXTtransformFeedback feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXTmeshShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_MESH_SHADER_BIT_EXTtaskShader feature is not enabled, srcStageMask must not contain PIPELINE_STAGE_TASK_SHADER_BIT_EXTshadingRateImage or attachmentFragmentShadingRate are enabled, srcStageMask must not contain PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRsynchronization2 feature is not enabled, srcStageMask must not be 0VK_NV_ray_tracing extension or rayTracingPipeline feature are enabled, srcStageMask must not contain PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHRgeometryShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_GEOMETRY_SHADER_BITtessellationShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT or PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BITconditionalRendering feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXTfragmentDensityMap feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXTtransformFeedback feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXTmeshShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_MESH_SHADER_BIT_EXTtaskShader feature is not enabled, dstStageMask must not contain PIPELINE_STAGE_TASK_SHADER_BIT_EXTshadingRateImage or attachmentFragmentShadingRate are enabled, dstStageMask must not contain PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRsynchronization2 feature is not enabled, dstStageMask must not be 0VK_NV_ray_tracing extension or rayTracingPipeline feature are enabled, dstStageMask must not contain PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHRsrcSubpass must be less than or equal to dstSubpass, unless one of them is SUBPASS_EXTERNAL, to avoid cyclic dependencies and ensure a valid execution ordersrcSubpass and dstSubpass must not both be equal to SUBPASS_EXTERNALsrcSubpass is equal to dstSubpass and srcStageMask includes a framebuffer-space stage, dstStageMask must only contain framebuffer-space stagessrcAccessMask must be supported by one of the pipeline stages in srcStageMask, as specified in the table of supported access typesdstAccessMask must be supported by one of the pipeline stages in dstStageMask, as specified in the table of supported access typesdependencyFlags includes DEPENDENCY_VIEW_LOCAL_BIT, srcSubpass must not be equal to SUBPASS_EXTERNALdependencyFlags includes DEPENDENCY_VIEW_LOCAL_BIT, dstSubpass must not be equal to SUBPASS_EXTERNALsrcSubpass equals dstSubpass, and srcStageMask and dstStageMask both include a framebuffer-space stage, then dependencyFlags must include DEPENDENCY_BY_REGION_BITviewOffset is not equal to 0, srcSubpass must not be equal to dstSubpassdependencyFlags does not include DEPENDENCY_VIEW_LOCAL_BIT, viewOffset must be 0sType must be STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2pNext must be NULL or a pointer to a valid instance of VkMemoryBarrier2sType value of each struct in the pNext chain must be uniquesrcStageMask must be a valid combination of VkPipelineStageFlagBits valuesdstStageMask must be a valid combination of VkPipelineStageFlagBits valuessrcAccessMask must be a valid combination of VkAccessFlagBits valuesdstAccessMask must be a valid combination of VkAccessFlagBits valuesdependencyFlags must be a valid combination of VkDependencyFlagBits values
struct VkSubpassDependency2 {
VkStructureType sType;
void const * pNext;
uint32_t srcSubpass;
uint32_t dstSubpass;
VkPipelineStageFlags srcStageMask;
VkPipelineStageFlags dstStageMask;
VkAccessFlags srcAccessMask;
VkAccessFlags dstAccessMask;
VkDependencyFlags dependencyFlags;
int32_t viewOffset;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkSubpassDependency2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEPENDENCYFLAGS
The struct member offsets. |
| public static final int | DSTACCESSMASK
The struct member offsets. |
| public static final int | DSTSTAGEMASK
The struct member offsets. |
| public static final int | DSTSUBPASS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCACCESSMASK
The struct member offsets. |
| public static final int | SRCSTAGEMASK
The struct member offsets. |
| public static final int | SRCSUBPASS
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VIEWOFFSET
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSubpassDependency2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSubpassDependency2 | |
| public static VkSubpassDependency2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassDependency2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubpassDependency2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkSubpassDependency2 | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkSubpassDependency2 | |
| public static VkSubpassDependency2 | |
| public static VkSubpassDependency2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassDependency2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSubpassDependency2 | |
| public static VkSubpassDependency2. | |
| public int | |
| public VkSubpassDependency2 | |
| public int | |
| public VkSubpassDependency2 | |
| public int | |
| public VkSubpassDependency2 | |
| public int | |
| public VkSubpassDependency2 | |
| public static VkSubpassDependency2 | |
| public static VkSubpassDependency2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassDependency2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubpassDependency2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkSubpassDependency2 | |
| public VkSubpassDependency2 | |
| public VkSubpassDependency2 | pNext(VkMemoryBarrier2KHR value)
Prepends the specified |
| public VkSubpassDependency2 | set(int sType, long pNext, int srcSubpass, int dstSubpass, int srcStageMask, int dstStageMask, int srcAccessMask, int dstAccessMask, int dependencyFlags, int viewOffset)
Initializes this struct with the specified values. |
| public VkSubpassDependency2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkSubpassDependency2 | |
| public int | |
| public VkSubpassDependency2 | |
| public int | |
| public VkSubpassDependency2 | |
| public int | |
| public VkSubpassDependency2 | |
| public VkSubpassDependency2 | |
| public int | viewOffset()
controls which views in the source subpass the views in the destination subpass depend on. |
| public VkSubpassDependency2 |