Skip to content

Commit

Permalink
Merge pull request godotengine#100222 from DarioSamo/partial-coverage…
Browse files Browse the repository at this point in the history
…-fix

Fix incorrect return value on partial coverage detection.
  • Loading branch information
Repiteo committed Dec 10, 2024
2 parents 9cf645d + 56645f4 commit cf038de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/rendering_device_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ bool RenderingDeviceGraph::_check_command_intersection(ResourceTracker *p_resour
bool RenderingDeviceGraph::_check_command_partial_coverage(ResourceTracker *p_resource_tracker, int32_t p_command_index) const {
if (p_resource_tracker->usage != RESOURCE_USAGE_ATTACHMENT_COLOR_READ_WRITE && p_resource_tracker->usage != RESOURCE_USAGE_ATTACHMENT_DEPTH_STENCIL_READ_WRITE) {
// We don't check for partial coverage in usages that aren't attachment writes.
return true;
return false;
}

const uint32_t command_data_offset = command_data_offsets[p_command_index];
Expand Down

0 comments on commit cf038de

Please sign in to comment.