mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 22:56:06 +00:00
True FP16 is only supported in DXC through Shader Model 6.2, also check the value of the Native16BitShaderOpsSupported member of D3D12_FEATURE_DATA_D3D12_OPTIONS4 to view whether hardware actually supports FP16 operations. BUG=dawn:426 TEST=dawn_end2end_tests Change-Id: If675f7ba650cb1bd8c792928b70619b9ccda048a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23243 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Xinghua Cao <xinghua.cao@intel.com>