mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
rsx: Take depth into account when calculating coverage
This commit is contained in:
parent
7f216f2581
commit
4f8b5849b7
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ namespace rsx
|
|||
if (external_subresource_desc.op != deferred_request_command::atlas_gather)
|
||||
return true;
|
||||
|
||||
const int target_area = (external_subresource_desc.width * external_subresource_desc.height * threshold) / 100;
|
||||
const int target_area = (external_subresource_desc.width * external_subresource_desc.height * external_subresource_desc.depth * threshold) / 100;
|
||||
int covered_area = 0;
|
||||
areai bbox{smax, smax, 0, 0};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue