mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-25 17:21:55 +01:00
Fix clang format
This commit is contained in:
parent
4e053220a8
commit
10fb9242ae
@ -439,18 +439,16 @@ inline void Write(u32 addr, const T data) {
|
|||||||
|
|
||||||
if (config.is_texture_copy) {
|
if (config.is_texture_copy) {
|
||||||
TextureCopy(config);
|
TextureCopy(config);
|
||||||
LOG_TRACE(HW_GPU,
|
LOG_TRACE(HW_GPU, "TextureCopy: 0x%X bytes from 0x%08X(%u+%u)-> "
|
||||||
"TextureCopy: 0x%X bytes from 0x%08X(%u+%u)-> "
|
"0x%08X(%u+%u), flags 0x%08X",
|
||||||
"0x%08X(%u+%u), flags 0x%08X",
|
|
||||||
config.texture_copy.size, config.GetPhysicalInputAddress(),
|
config.texture_copy.size, config.GetPhysicalInputAddress(),
|
||||||
config.texture_copy.input_width * 16, config.texture_copy.input_gap * 16,
|
config.texture_copy.input_width * 16, config.texture_copy.input_gap * 16,
|
||||||
config.GetPhysicalOutputAddress(), config.texture_copy.output_width * 16,
|
config.GetPhysicalOutputAddress(), config.texture_copy.output_width * 16,
|
||||||
config.texture_copy.output_gap * 16, config.flags);
|
config.texture_copy.output_gap * 16, config.flags);
|
||||||
} else {
|
} else {
|
||||||
DisplayTransfer(config);
|
DisplayTransfer(config);
|
||||||
LOG_TRACE(HW_GPU,
|
LOG_TRACE(HW_GPU, "DisplayTransfer: 0x%08x(%ux%u)-> "
|
||||||
"DisplayTransfer: 0x%08x(%ux%u)-> "
|
"0x%08x(%ux%u), dst format %x, flags 0x%08X",
|
||||||
"0x%08x(%ux%u), dst format %x, flags 0x%08X",
|
|
||||||
config.GetPhysicalInputAddress(), config.input_width.Value(),
|
config.GetPhysicalInputAddress(), config.input_width.Value(),
|
||||||
config.input_height.Value(), config.GetPhysicalOutputAddress(),
|
config.input_height.Value(), config.GetPhysicalOutputAddress(),
|
||||||
config.output_width.Value(), config.output_height.Value(),
|
config.output_width.Value(), config.output_height.Value(),
|
||||||
|
@ -1074,8 +1074,9 @@ bool RasterizerOpenGL::AccelerateTextureCopy(const GPU::Regs::DisplayTransferCon
|
|||||||
SurfaceParams dst_params = *src_surface;
|
SurfaceParams dst_params = *src_surface;
|
||||||
dst_params.addr = config.GetPhysicalOutputAddress();
|
dst_params.addr = config.GetPhysicalOutputAddress();
|
||||||
dst_params.width = src_rect.GetWidth() / src_surface->res_scale;
|
dst_params.width = src_rect.GetWidth() / src_surface->res_scale;
|
||||||
dst_params.stride = dst_params.width + src_surface->PixelsInBytes(
|
dst_params.stride =
|
||||||
src_surface->is_tiled ? output_gap / 8 : output_gap);
|
dst_params.width +
|
||||||
|
src_surface->PixelsInBytes(src_surface->is_tiled ? output_gap / 8 : output_gap);
|
||||||
dst_params.height = src_rect.GetHeight() / src_surface->res_scale;
|
dst_params.height = src_rect.GetHeight() / src_surface->res_scale;
|
||||||
dst_params.res_scale = src_surface->res_scale;
|
dst_params.res_scale = src_surface->res_scale;
|
||||||
dst_params.UpdateParams();
|
dst_params.UpdateParams();
|
||||||
|
Loading…
Reference in New Issue
Block a user