Blender V5.3
blender::gpu::render_graph::VKSynchronizationCreateInfo Struct Reference

#include <vk_synchronization_node.hh>

Public Attributes

VkImage vk_image
VkImageLayout vk_image_layout
VkImageAspectFlags vk_image_aspect
VkAccessFlags vk_access_flags
bool reset_layout_to_undefined = false

Detailed Description

Information needed to add a node to the render graph.

Definition at line 26 of file vk_synchronization_node.hh.

Member Data Documentation

◆ reset_layout_to_undefined

bool blender::gpu::render_graph::VKSynchronizationCreateInfo::reset_layout_to_undefined = false

Reset the tracked image layout to VK_IMAGE_LAYOUT_UNDEFINED after the barrier. Used for aliased images (texture pool). When the memory is reused by another alias, the image contents become undefined, so the next access must transition from an undefined layout. The vk_image_layout field cannot be used for this directly, as VK_IMAGE_LAYOUT_UNDEFINED may only ever be used as oldLayout, not newLayout (i.e., the transition target layout).

Definition at line 39 of file vk_synchronization_node.hh.

Referenced by blender::gpu::render_graph::VKSynchronizationNode::set_node_data().

◆ vk_access_flags

VkAccessFlags blender::gpu::render_graph::VKSynchronizationCreateInfo::vk_access_flags

Access flags the synchronization node waits for.

Definition at line 31 of file vk_synchronization_node.hh.

Referenced by blender::gpu::render_graph::VKSynchronizationNode::build_links(), and blender::gpu::render_graph::TEST_F().

◆ vk_image

◆ vk_image_aspect

◆ vk_image_layout


The documentation for this struct was generated from the following file: