mirror of
				https://github.com/N64Recomp/N64ModernRuntime.git
				synced 2025-10-30 08:02:29 +00:00 
			
		
		
		
	Add Metal as a renderer (#94)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				validate / ubuntu (arm64, Release) (push) Has been cancelled
				
			
		
			
				
	
				validate / ubuntu (x64, Debug) (push) Has been cancelled
				
			
		
			
				
	
				validate / ubuntu (x64, Release) (push) Has been cancelled
				
			
		
			
				
	
				validate / windows (x64, Debug) (push) Has been cancelled
				
			
		
			
				
	
				validate / ubuntu (arm64, Debug) (push) Has been cancelled
				
			
		
			
				
	
				validate / windows (x64, Release) (push) Has been cancelled
				
			
		
			
				
	
				validate / macos (arm64, Debug) (push) Has been cancelled
				
			
		
			
				
	
				validate / macos (arm64, Release) (push) Has been cancelled
				
			
		
			
				
	
				validate / macos (x64, Debug) (push) Has been cancelled
				
			
		
			
				
	
				validate / macos (x64, Release) (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	validate / ubuntu (arm64, Release) (push) Has been cancelled
				
			validate / ubuntu (x64, Debug) (push) Has been cancelled
				
			validate / ubuntu (x64, Release) (push) Has been cancelled
				
			validate / windows (x64, Debug) (push) Has been cancelled
				
			validate / ubuntu (arm64, Debug) (push) Has been cancelled
				
			validate / windows (x64, Release) (push) Has been cancelled
				
			validate / macos (arm64, Debug) (push) Has been cancelled
				
			validate / macos (arm64, Release) (push) Has been cancelled
				
			validate / macos (x64, Debug) (push) Has been cancelled
				
			validate / macos (x64, Release) (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									52ee0a675f
								
							
						
					
					
						commit
						ec56fb39b0
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -29,6 +29,7 @@ namespace ultramodern { | |||
|             Auto, | ||||
|             D3D12, | ||||
|             Vulkan, | ||||
|             Metal, | ||||
|             OptionCount | ||||
|         }; | ||||
|         enum class AspectRatio { | ||||
|  |  | |||
|  | @ -51,8 +51,7 @@ std::string ultramodern::renderer::GraphicsConfig::get_graphics_api_name() const | |||
| #elif defined(__gnu_linux__) | ||||
|         api = ultramodern::renderer::GraphicsApi::Vulkan; | ||||
| #elif defined(__APPLE__) | ||||
|         // TODO: Add MoltenVK option for Mac?
 | ||||
|         api = ultramodern::renderer::GraphicsApi::Vulkan; | ||||
|         api = ultramodern::renderer::GraphicsApi::Metal; | ||||
| #else | ||||
|         static_assert(false && "Unimplemented") | ||||
| #endif | ||||
|  | @ -63,6 +62,8 @@ std::string ultramodern::renderer::GraphicsConfig::get_graphics_api_name() const | |||
|             return "D3D12"; | ||||
|         case ultramodern::renderer::GraphicsApi::Vulkan: | ||||
|             return "Vulkan"; | ||||
|         case ultramodern::renderer::GraphicsApi::Metal: | ||||
|             return "Metal"; | ||||
|         default: | ||||
|             return "[Unknown graphics API]"; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 David Chavez
						David Chavez