summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-07 04:53:34 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-07 04:53:34 +0000
commit0c99ee543ef936ef770f4b11fa77e08c2f736c1b (patch)
tree9ca3812fd317e3366f975b74e8c67b8cb928fc89 /Graphics/GraphicsEngineD3DBase
parentAdded workaround for inteface type mismatch error in GS references VK (diff)
downloadDiligentCore-0c99ee543ef936ef770f4b11fa77e08c2f736c1b.tar.gz
DiligentCore-0c99ee543ef936ef770f4b11fa77e08c2f736c1b.zip
Improved device feature reporting; added flags for query support
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.h14
1 files changed, 14 insertions, 0 deletions
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;
}
};