mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
vk: Fix scratch buf size calculation when uploading DSVs
This commit is contained in:
parent
1bb0caed6f
commit
fcc7a7452a
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ namespace vk
|
|||
{
|
||||
// D-S aspect requires a load section that can fit a separated block => D(4) + S(1)
|
||||
// Due to reverse processing of inputs, only enough space to fit one layer is needed here.
|
||||
scratch_buf_size += dst_image->width() * dst_image->height() * 5;
|
||||
scratch_buf_size += (image_linear_size * 5) / 4;
|
||||
}
|
||||
|
||||
// Must acquire scratch buffer owned by the processing command queue!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue