mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-25 11:56:42 +08:00 
			
		
		
		
	meant to add the unorms as well
This commit is contained in:
		
							parent
							
								
									12e4757cf3
								
							
						
					
					
						commit
						4b0291172e
					
				| @ -1236,7 +1236,9 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im | ||||
|         } | ||||
|         break; | ||||
|     case PixelFormat::D32_FLOAT: | ||||
|         if (src_view.format == PixelFormat::A8B8G8R8_SRGB || | ||||
|         if (src_view.format == PixelFormat::A8B8G8R8_UNORM || | ||||
|             src_view.format == PixelFormat::B8G8R8A8_UNORM || | ||||
|             src_view.format == PixelFormat::A8B8G8R8_SRGB || | ||||
|             src_view.format == PixelFormat::B8G8R8A8_SRGB) { | ||||
|             return blit_image_helper.ConvertABGR8ToD32F(dst, src_view); | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user