summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-09-13 04:01:12 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-09-13 04:01:12 +0000
commit3b4cef6d6773030a2986affd158f82905d429bcf (patch)
treeb60dc922fa79a4d994020182984bc2a262a8af95 /Graphics/GraphicsEngineMetal
parentFixed Linux/Max/iOS build (diff)
downloadDiligentCore-3b4cef6d6773030a2986affd158f82905d429bcf.tar.gz
DiligentCore-3b4cef6d6773030a2986affd158f82905d429bcf.zip
Fixed Metal backend
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm
index 93a98e6b..62e3753e 100644
--- a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm
+++ b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm
@@ -70,10 +70,10 @@ RenderDeviceMtlImpl :: RenderDeviceMtlImpl(IReferenceCounters* pRefCounte
m_DeviceCaps.DevType = RENDER_DEVICE_TYPE_METAL;
m_DeviceCaps.MajorVersion = 1;
m_DeviceCaps.MinorVersion = 0;
- m_DeviceCaps.Features.SeparablePrograms = True;
- m_DeviceCaps.Features.MultithreadedResourceCreation = True;
- m_DeviceCaps.Features.GeometryShaders = False;
- m_DeviceCaps.Features.Tessellation = False;
+ m_DeviceCaps.Features.SeparablePrograms = DEVICE_FEATURE_STATE_ENABLED;
+ m_DeviceCaps.Features.MultithreadedResourceCreation = DEVICE_FEATURE_STATE_ENABLED;
+ m_DeviceCaps.Features.GeometryShaders = DEVICE_FEATURE_STATE_DISABLED;
+ m_DeviceCaps.Features.Tessellation = DEVICE_FEATURE_STATE_DISABLED;
}
void RenderDeviceMtlImpl::TestTextureFormat( TEXTURE_FORMAT TexFormat )