diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-07-23 01:57:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-23 01:57:35 -0400 |
| commit | 89c4fdeeea69056a8f2441f6e0e0662ba1e6a7b8 (patch) | |
| tree | 3fa6ef316f6ec72fc0f8622d7ebda2d544382e00 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | df399b0995febe451ecf231c9bfb68b73d51e3bb (diff) | |
| parent | 6559c6b8ee8d35694282f3dcfaf09f96f73874db (diff) | |
Merge pull request #10754 from tellowkrinkle/Metal
VideoBackends: Add Metal backend
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index bf46764c0e..79d2bd1d52 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -810,7 +810,7 @@ ShaderCode GeneratePixelShaderCode(APIType api_type, const ShaderHostConfig& hos #ifdef __APPLE__ // Framebuffer fetch is only supported by Metal, so ensure that we're running Vulkan (MoltenVK) // if we want to use it. - if (api_type == APIType::Vulkan) + if (api_type == APIType::Vulkan || api_type == APIType::Metal) { if (!uid_data->no_dual_src) { |
