36 VKClearDepthStencilImageCreateInfo,
37 VKClearDepthStencilImageData,
38 VK_PIPELINE_STAGE_TRANSFER_BIT,
39 VKResourceType::IMAGE> {
50 node.clear_depth_stencil_image = create_info.
node_data;
62 node_links.
outputs.append({resource,
63 VK_ACCESS_TRANSFER_WRITE_BIT,
64 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
76 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
77 &data.vk_clear_depth_stencil_value,
79 &data.vk_image_subresource_range);
void build_commands(VKCommandBufferInterface &command_buffer, Data &data, VKBoundPipelines &) override
static void set_node_data(Node &node, const CreateInfo &create_info)
void build_links(VKResourceStateTracker &resources, VKRenderGraphNodeLinks &node_links, const CreateInfo &create_info) override
virtual void clear_depth_stencil_image(VkImage image, VkImageLayout image_layout, const VkClearDepthStencilValue *p_depth_stencil, uint32_t range_count, const VkImageSubresourceRange *p_ranges)=0
ResourceWithStamp get_image_and_increase_stamp(VkImage vk_image)
VKClearDepthStencilImageData node_data
VkImageAspectFlags vk_image_aspects
VkImageSubresourceRange vk_image_subresource_range
VkClearDepthStencilValue vk_clear_depth_stencil_value
Vector< VKRenderGraphLink > outputs