diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-03 05:03:48 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-03 05:03:48 +0000 |
| commit | ae735ab587d70acff30eb263b3690745dcd67d81 (patch) | |
| tree | 057cb8a580f676c3ef4525e723c151c7db2c6837 /Graphics/GraphicsEngine | |
| parent | Added device features to indicate support of 16-bit types (diff) | |
| download | DiligentCore-ae735ab587d70acff30eb263b3690745dcd67d81.tar.gz DiligentCore-ae735ab587d70acff30eb263b3690745dcd67d81.zip | |
Improved 16-bit feature detection in D3D11 and D3D12
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 24440ca8..69769968 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1585,6 +1585,9 @@ struct DeviceFeatures /// Indicates if device supports native 16-bit float operations. Note that there are separate features /// that indicate if device supports loading 16-bit floats from buffers and passing them between shader stages. + /// + /// \note 16-bit support is quite tricky, the following post should help understand it better: + /// https://therealmjp.github.io/posts/shader-fp16/ DEVICE_FEATURE_STATE ShaderFloat16 DEFAULT_INITIALIZER(DEVICE_FEATURE_STATE_DISABLED); /// Indicates if device supports reading and writing 16-bit floats and ints from buffers bound |
