diff options
author | Dario <dariosamo@gmail.com> | 2024-11-20 10:04:17 -0300 |
---|---|---|
committer | Dario <dariosamo@gmail.com> | 2024-11-20 10:04:17 -0300 |
commit | 8bfb631afc0d8f4e7a4c5ee073c53069d667b00d (patch) | |
tree | 2d22e481473ccb5c39a8fe4f9266a882cf7c1cc7 /servers | |
parent | a0cd8f187a43935d756e49bf3778f39f0964f0ac (diff) | |
download | redot-engine-8bfb631afc0d8f4e7a4c5ee073c53069d667b00d.tar.gz |
Do not check for command intersections when not using the write list.
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering/rendering_device_graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rendering_device_graph.cpp b/servers/rendering/rendering_device_graph.cpp index c8ad0e2722..ebfe328393 100644 --- a/servers/rendering/rendering_device_graph.cpp +++ b/servers/rendering/rendering_device_graph.cpp @@ -527,7 +527,7 @@ void RenderingDeviceGraph::_add_command_to_graph(ResourceTracker **p_resource_tr // The index is just the latest command index that wrote to the resource. if (search_tracker->write_command_or_list_index == p_command_index) { ERR_FAIL_MSG("Command can't have itself as a dependency."); - } else if (_check_command_intersection(resource_tracker, search_tracker->write_command_or_list_index, p_command_index)) { + } else { _add_adjacent_command(search_tracker->write_command_or_list_index, p_command_index, r_command); } } |