|
Blender V5.0
|
#include <vk_command_builder.hh>
Build nodes | |
| void | build_nodes (VKRenderGraph &render_graph, VKCommandBufferInterface &command_buffer, Span< NodeHandle > node_handles) |
| void | record_commands (VKRenderGraph &render_graph, VKCommandBufferInterface &command_buffer, Span< NodeHandle > node_handles) |
Build the command buffer for sending to the device queue.
Determine which nodes needs to be scheduled, Then for each node generate the needed pipeline barriers and commands.
Definition at line 33 of file vk_command_builder.hh.
| void blender::gpu::render_graph::VKCommandBuilder::build_nodes | ( | VKRenderGraph & | render_graph, |
| VKCommandBufferInterface & | command_buffer, | ||
| Span< NodeHandle > | node_handles ) |
Build execution groups and barriers. This method should be performed when the resources are locked.
Definition at line 22 of file vk_command_builder.cc.
References blender::gpu::render_graph::VKCommandBufferInterface::use_dynamic_rendering_local_read.
Referenced by blender::gpu::VKDevice::submission_runner(), and blender::gpu::render_graph::submit().
| void blender::gpu::render_graph::VKCommandBuilder::record_commands | ( | VKRenderGraph & | render_graph, |
| VKCommandBufferInterface & | command_buffer, | ||
| Span< NodeHandle > | node_handles ) |
Record commands of the nodes provided by the node_handles parameter. The commands are recorded into the given command_buffer.
build_nodes needs to be called before calling with exact the same parameters.
Definition at line 31 of file vk_command_builder.cc.
Referenced by blender::gpu::VKDevice::submission_runner(), and blender::gpu::render_graph::submit().