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:
@ -6177,6 +6177,8 @@ uint64_t RenderingDeviceDriverD3D12::api_trait_get(ApiTrait p_trait) {
|
||||
return false;
|
||||
case API_TRAIT_USE_GENERAL_IN_COPY_QUEUES:
|
||||
return true;
|
||||
case API_TRAIT_BUFFERS_REQUIRE_TRANSITIONS:
|
||||
return !barrier_capabilities.enhanced_barriers_supported;
|
||||
default:
|
||||
return RenderingDeviceDriver::api_trait_get(p_trait);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user