summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-04 02:04:44 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-04 02:04:44 +0000
commita09d692eabba70d5f79db99918faa7eace93eddf (patch)
treee32beadbc8ce27e1ba93a88324532094756e37e2 /Graphics/GraphicsEngineD3D11
parentReadme: added links to third-party licenses (diff)
downloadDiligentCore-a09d692eabba70d5f79db99918faa7eace93eddf.tar.gz
DiligentCore-a09d692eabba70d5f79db99918faa7eace93eddf.zip
Added device features to inidicate 8-bit types support (API240074)
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/src/RenderDeviceD3D11Impl.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/RenderDeviceD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/RenderDeviceD3D11Impl.cpp
index ffd746fb..76020ed8 100644
--- a/Graphics/GraphicsEngineD3D11/src/RenderDeviceD3D11Impl.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/RenderDeviceD3D11Impl.cpp
@@ -164,13 +164,19 @@ RenderDeviceD3D11Impl::RenderDeviceD3D11Impl(IReferenceCounters* pRefCo
}
// Explicit fp16 is only supported in DXC through Shader Model 6.2, so there's no support for FXC or D3D11.
+ // clang-format off
UNSUPPORTED_FEATURE(ResourceBuffer16BitAccess, "16-bit native access to resource buffers is");
- UNSUPPORTED_FEATURE(UniformBuffer16BitAccess, "16-bit native access to uniform buffers is");
- UNSUPPORTED_FEATURE(ShaderInputOutput16, "16-bit shader input/output is");
+ UNSUPPORTED_FEATURE(UniformBuffer16BitAccess, "16-bit native access to uniform buffers is");
+ UNSUPPORTED_FEATURE(ShaderInputOutput16, "16-bit shader input/output is");
+
+ UNSUPPORTED_FEATURE(ShaderInt8, "Native 8-bit shader operations are");
+ UNSUPPORTED_FEATURE(ResourceBuffer8BitAccess, "8-bit native access to resource buffers is");
+ UNSUPPORTED_FEATURE(UniformBuffer8BitAccess, "8-bit native access to uniform buffers is");
+ // clang-format on
#undef UNSUPPORTED_FEATURE
#if defined(_MSC_VER) && defined(_WIN64)
- static_assert(sizeof(DeviceFeatures) == 27, "Did you add a new feature to DeviceFeatures? Please handle its satus here.");
+ static_assert(sizeof(DeviceFeatures) == 30, "Did you add a new feature to DeviceFeatures? Please handle its satus here.");
#endif
auto& TexCaps = m_DeviceCaps.TexCaps;