mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
rsx: Fix bpp when working with DMA-only (null) memory sections
This commit is contained in:
parent
c1c3be8b4e
commit
cb21fefbd9
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ namespace vk
|
||||||
.image_width = width,
|
.image_width = width,
|
||||||
.image_height = height,
|
.image_height = height,
|
||||||
.image_pitch = real_pitch,
|
.image_pitch = real_pitch,
|
||||||
.image_bpp = rsx::get_format_block_size_in_bytes(gcm_format)
|
.image_bpp = context == rsx::texture_upload_context::dma ? internal_bpp : rsx::get_format_block_size_in_bytes(gcm_format)
|
||||||
};
|
};
|
||||||
|
|
||||||
// Execute
|
// Execute
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue