summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/RenderDeviceVkImpl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/RenderDeviceVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/RenderDeviceVkImpl.cpp
index 6aa8db27..b4b8bf7f 100644
--- a/Graphics/GraphicsEngineVulkan/src/RenderDeviceVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/RenderDeviceVkImpl.cpp
@@ -126,6 +126,12 @@ RenderDeviceVkImpl :: RenderDeviceVkImpl(IReferenceCounters*
m_DeviceCaps.bMultithreadedResourceCreationSupported = True;
for(int fmt = 1; fmt < m_TextureFormatsInfo.size(); ++fmt)
m_TextureFormatsInfo[fmt].Supported = true; // We will test every format on a specific hardware device
+
+#if PLATFORM_MACOS || PLATFORM_IOS
+ // MoltenVK does not support geometry shaders and tessellation
+ m_DeviceCaps.bGeometryShadersSupported = False;
+ m_DeviceCaps.bTessellationSupported = False;
+#endif
}
RenderDeviceVkImpl::~RenderDeviceVkImpl()