mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
rsx: Fix bpp when working with DMA-only (null) memory sections
This commit is contained in:
parent
c1c3be8b4e
commit
cb21fefbd9
@ -198,7 +198,7 @@ namespace vk
|
||||
.image_width = width,
|
||||
.image_height = height,
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user