Skip to content

Instantly share code, notes, and snippets.

Chris Varnz chrisvarns

  • Cambridge UK.
Block or report user

Report or block chrisvarns

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:b4a5dbd1a09545948261d8c650070383
VkSubpassDependency dependency = {};
// In subpass zero...
dependency.dstSubpass = 0;
// ... at this pipeline stage ...
dependency.dstStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
// ... wait before performing these operations ...
dependency.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT;
You can’t perform that action at this time.