diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-27 21:05:02 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-27 21:05:02 +0000 |
| commit | 49db958361912f5f829773caa187a72909dcd62c (patch) | |
| tree | 9fbcdce512252e099eddd1e1275ca6260994dbb5 /Graphics/GraphicsEngineVulkan | |
| parent | Fix for memory access violation when reading debug name from d3d11 textures (diff) | |
| download | DiligentCore-49db958361912f5f829773caa187a72909dcd62c.tar.gz DiligentCore-49db958361912f5f829773caa187a72909dcd62c.zip | |
Updated device caps to indicate that GS and Tess are not supported on MoltenVK
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/RenderDeviceVkImpl.cpp | 6 |
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() |
