40 VKBeginRenderingCreateInfo,
42 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT,
43 VKResourceType::IMAGE> {
57 "When create_info.node_data.vk_rendering_info.pColorAttachments points to "
58 "something, it should point to create_info.node_data.color_attachments.");
62 "When create_info.node_data.vk_rendering_info.pDepthAttachment points to "
63 "something, it should point to create_info.node_data.depth_attachment.");
67 "When create_info.node_data.vk_rendering_info.pStencilAttachment points to "
68 "something, it should point to create_info.node_data.stencil_attachment.");
69 node.begin_rendering = create_info.
node_data;
95 if (data.vk_rendering_info.pColorAttachments) {
96 data.vk_rendering_info.pColorAttachments = data.color_attachments;
98 if (data.vk_rendering_info.pDepthAttachment) {
99 data.vk_rendering_info.pDepthAttachment = &data.depth_attachment;
101 if (data.vk_rendering_info.pStencilAttachment) {
102 data.vk_rendering_info.pStencilAttachment = &data.stencil_attachment;
#define BLI_assert_msg(a, msg)
void build_links(VKResourceStateTracker &resources, VKRenderGraphNodeLinks &node_links, const CreateInfo &create_info) override
void build_commands(VKCommandBufferInterface &command_buffer, Data &data, VKBoundPipelines &) override
void set_node_data(Node &node, const CreateInfo &create_info)
virtual void begin_rendering(const VkRenderingInfo *p_rendering_info)=0
VKBeginRenderingData node_data
VKBeginRenderingCreateInfo(const VKResourceAccessInfo &resources)
const VKResourceAccessInfo & resources
VkRenderingAttachmentInfo stencil_attachment
VkRenderingAttachmentInfo color_attachments[8]
VkRenderingAttachmentInfo depth_attachment
VkRenderingInfoKHR vk_rendering_info
void build_links(VKResourceStateTracker &resources, VKRenderGraphNodeLinks &node_links) const