nvk: Default to NAK on Maxwell+

We're now at parity with the old compiler and better.  We also support
way more features on NAK than with codegen.  No reason not to use NAK
by default at this point.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30402>
This commit is contained in:
Faith Ekstrand 2024-07-24 13:41:10 -05:00 committed by Marge Bot
parent 13cc4e48d1
commit ec7924ab90

View file

@ -66,7 +66,7 @@ nvk_nak_stages(const struct nv_device_info *info)
const char *env_str = getenv("NVK_USE_NAK");
if (env_str == NULL)
return info->cls_eng3d >= VOLTA_A ? all : 0;
return info->cls_eng3d >= MAXWELL_A ? all : 0;
else
return parse_debug_string(env_str, flags);
}