nvk: enable float16 on turing.

Reviewed-by: Mel Henning <drawoc@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33521>
This commit is contained in:
Dave Airlie 2025-02-13 09:59:03 +10:00 committed by Marge Bot
parent b45feed3b2
commit 8a64eee4d7

View file

@ -379,10 +379,7 @@ nvk_get_device_features(const struct nv_device_info *info,
nvk_use_nak(info),
.shaderSharedInt64Atomics = info->cls_eng3d >= MAXWELL_A &&
nvk_use_nak(info),
/* TODO: Fp16 is currently busted on Turing and Volta due to instruction
* scheduling issues. Re-enable it once those are sorted.
*/
.shaderFloat16 = info->sm >= 80 && nvk_use_nak(info),
.shaderFloat16 = info->sm >= 70 && nvk_use_nak(info),
.shaderInt8 = true,
.descriptorIndexing = true,
.shaderInputAttachmentArrayDynamicIndexing = true,