|
Blender V4.3
|
#include <vk_render_graph_links.hh>
Public Member Functions | |
| void | debug_print (std::ostream &ss, const VKResourceStateTracker &resources) const |
Public Attributes | |
| ResourceWithStamp | resource |
| VkAccessFlags | vk_access_flags |
| VkImageLayout | vk_image_layout = VK_IMAGE_LAYOUT_UNDEFINED |
| VkImageAspectFlags | vk_image_aspect = VK_IMAGE_ASPECT_NONE |
| uint32_t | layer_base = 0 |
| uint32_t | layer_count = VK_REMAINING_ARRAY_LAYERS |
Definition at line 27 of file vk_render_graph_links.hh.
| void blender::gpu::render_graph::VKRenderGraphLink::debug_print | ( | std::ostream & | ss, |
| const VKResourceStateTracker & | resources ) const |
Definition at line 16 of file vk_render_graph_links.cc.
References blender::gpu::render_graph::BUFFER, blender::gpu::render_graph::ResourceWithStamp::handle, blender::gpu::render_graph::IMAGE, layer_base, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::gpu::render_graph::NONE, resource, blender::gpu::to_string(), blender::gpu::to_string_vk_access_flags(), blender::gpu::to_string_vk_image_aspect_flags(), vk_access_flags, vk_image_aspect, and vk_image_layout.
| uint32_t blender::gpu::render_graph::VKRenderGraphLink::layer_base = 0 |
The layers to bind.
Used when layer_tracking will be enabled to transit the layout of these layers only.
Definition at line 59 of file vk_render_graph_links.hh.
Referenced by debug_print().
| uint32_t blender::gpu::render_graph::VKRenderGraphLink::layer_count = VK_REMAINING_ARRAY_LAYERS |
Definition at line 60 of file vk_render_graph_links.hh.
| ResourceWithStamp blender::gpu::render_graph::VKRenderGraphLink::resource |
Which resource is being accessed.
Definition at line 31 of file vk_render_graph_links.hh.
Referenced by debug_print().
| VkAccessFlags blender::gpu::render_graph::VKRenderGraphLink::vk_access_flags |
How is the resource being accessed.
When generating pipeline barriers of a resource, the nodes access flags are evaluated to create src/dst access masks.
Definition at line 39 of file vk_render_graph_links.hh.
Referenced by debug_print().
| VkImageAspectFlags blender::gpu::render_graph::VKRenderGraphLink::vk_image_aspect = VK_IMAGE_ASPECT_NONE |
Which aspect of the image is being used.
Definition at line 52 of file vk_render_graph_links.hh.
Referenced by debug_print().
| VkImageLayout blender::gpu::render_graph::VKRenderGraphLink::vk_image_layout = VK_IMAGE_LAYOUT_UNDEFINED |
When resource is an image, which layout should the image be using.
When generating the commands this attribute is compared with the actual image layout of the the image. Additional pipeline barriers will be added to transit to the layout stored here.
Definition at line 47 of file vk_render_graph_links.hh.
Referenced by debug_print().