diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-01-07 04:53:34 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-01-07 04:53:34 +0000 |
| commit | 0c99ee543ef936ef770f4b11fa77e08c2f736c1b (patch) | |
| tree | 9ca3812fd317e3366f975b74e8c67b8cb928fc89 /Graphics/GraphicsEngineMetal | |
| parent | Added workaround for inteface type mismatch error in GS references VK (diff) | |
| download | DiligentCore-0c99ee543ef936ef770f4b11fa77e08c2f736c1b.tar.gz DiligentCore-0c99ee543ef936ef770f4b11fa77e08c2f736c1b.zip | |
Improved device feature reporting; added flags for query support
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm index 4ca20f2e..2a64917a 100644 --- a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm @@ -66,10 +66,10 @@ RenderDeviceMtlImpl :: RenderDeviceMtlImpl(IReferenceCounters* pRefCounte m_DeviceCaps.DevType = DeviceType::Metal; m_DeviceCaps.MajorVersion = 11; m_DeviceCaps.MinorVersion = 0; - m_DeviceCaps.bSeparableProgramSupported = True; - m_DeviceCaps.bMultithreadedResourceCreationSupported = True; - m_DeviceCaps.bGeometryShadersSupported = False; - m_DeviceCaps.bTessellationSupported = False; + m_DeviceCaps.Features.SeparablePrograms = True; + m_DeviceCaps.Features.MultithreadedResourceCreation = True; + m_DeviceCaps.Features.GeometryShaders = False; + m_DeviceCaps.Features.Tessellation = False; } void RenderDeviceMtlImpl::TestTextureFormat( TEXTURE_FORMAT TexFormat ) |
