mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Fix clang format
This commit is contained in:
		
							parent
							
								
									4e053220a8
								
							
						
					
					
						commit
						10fb9242ae
					
				
					 2 changed files with 7 additions and 8 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue