1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

rsx: Fix bpp when working with DMA-only (null) memory sections

This commit is contained in:
kd-11 2023-09-22 13:32:03 +03:00 committed by kd-11
parent c1c3be8b4e
commit cb21fefbd9

View File

@ -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