1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add dependency detection improvements to the render graph.

- Buffers changing their usage are no longer treated as write usage unless the API requires it.
- Draw lists are not treated as being dependent on each other if their regions do not intersect despite both being write commands.
- Particles were tweaked to use different unused buffers to reduce dependencies.
This commit is contained in:
Dario
2024-10-31 11:37:54 -03:00
parent c6c464cf9a
commit 5216ef5f9c
10 changed files with 79 additions and 35 deletions

View File

@@ -376,6 +376,8 @@ uint64_t RenderingDeviceDriver::api_trait_get(ApiTrait p_trait) {
return true;
case API_TRAIT_USE_GENERAL_IN_COPY_QUEUES:
return false;
case API_TRAIT_BUFFERS_REQUIRE_TRANSITIONS:
return false;
default:
ERR_FAIL_V(0);
}