mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-26 13:42:48 -05:00 
			
		
		
		
	Propagate depth and depth_block on modules using decoders
This commit is contained in:
		| @@ -386,8 +386,9 @@ void GraphicsSurfaceWidget::OnUpdate() { | ||||
|  | ||||
|     // TODO(bunnei): Will not work with BCn formats that swizzle 4x4 tiles. | ||||
|     // Needs to be fixed if we plan to use this feature more, otherwise we may remove it. | ||||
|     auto unswizzled_data = Tegra::Texture::UnswizzleTexture( | ||||
|         *address, 1, Tegra::Texture::BytesPerPixel(surface_format), surface_width, surface_height); | ||||
|     auto unswizzled_data = | ||||
|         Tegra::Texture::UnswizzleTexture(*address, 1, Tegra::Texture::BytesPerPixel(surface_format), | ||||
|                                          surface_width, surface_height, 1U); | ||||
|  | ||||
|     auto texture_data = Tegra::Texture::DecodeTexture(unswizzled_data, surface_format, | ||||
|                                                       surface_width, surface_height); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 FernandoS27
					FernandoS27