From 0c99ee543ef936ef770f4b11fa77e08c2f736c1b Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 6 Jan 2020 20:53:34 -0800 Subject: Improved device feature reporting; added flags for query support --- .../GraphicsEngineD3DBase/include/RenderDeviceD3DBase.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Graphics/GraphicsEngineD3DBase') diff --git a/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.h b/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.h index a6b2a3c4..143ce33d 100644 --- a/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.h +++ b/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.h @@ -154,6 +154,20 @@ public: FLAG_FORMAT(TEX_FORMAT_BC7_UNORM_SRGB, true); #undef FLAG_FORMAT // clang-format on + + auto& Features = this->m_DeviceCaps.Features; + + Features.SeparablePrograms = True; + Features.IndirectRendering = True; + Features.WireframeFill = True; + Features.MultithreadedResourceCreation = True; + Features.ComputeShaders = True; + Features.GeometryShaders = True; + Features.Tessellation = True; + Features.OcclusionQueries = True; + Features.BinaryOcclusionQueries = True; + Features.TimestampQueries = True; + Features.PipelineStatisticsQueries = True; } }; -- cgit v1.2.3