From ae735ab587d70acff30eb263b3690745dcd67d81 Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 2 Oct 2020 22:03:48 -0700 Subject: Improved 16-bit feature detection in D3D11 and D3D12 --- Graphics/GraphicsEngine/interface/GraphicsTypes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Graphics/GraphicsEngine') 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 -- cgit v1.2.3