summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-21 01:05:02 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-21 01:05:02 +0000
commitb9d1a84943f61d1b48ffb1847cd0b3f7b8c60fb2 (patch)
tree41fbdec950b17f7d8f833b0fa0c5be0a4a005344 /Graphics/GraphicsEngineD3DBase
parentImproved exception safety of SRB object creation (diff)
downloadDiligentCore-b9d1a84943f61d1b48ffb1847cd0b3f7b8c60fb2.tar.gz
DiligentCore-b9d1a84943f61d1b48ffb1847cd0b3f7b8c60fb2.zip
Added ShaderResourceQueries device feature and EngineGLCreateInfo::ForceNonSeparablePrograms parameter (API 240078)
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp b/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp
index 104533c9..ea4a43bb 100644
--- a/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp
+++ b/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp
@@ -160,6 +160,7 @@ public:
auto& Features = this->m_DeviceCaps.Features;
Features.SeparablePrograms = DEVICE_FEATURE_STATE_ENABLED;
+ Features.ShaderResourceQueries = DEVICE_FEATURE_STATE_ENABLED;
Features.IndirectRendering = DEVICE_FEATURE_STATE_ENABLED;
Features.WireframeFill = DEVICE_FEATURE_STATE_ENABLED;
Features.MultithreadedResourceCreation = DEVICE_FEATURE_STATE_ENABLED;