From ec7924ab9036cdc4637c9878e152e4460794cb5b Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 24 Jul 2024 13:41:10 -0500 Subject: [PATCH] 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: --- src/nouveau/vulkan/nvk_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/vulkan/nvk_shader.c b/src/nouveau/vulkan/nvk_shader.c index b96fc129d49..4e65a4e4fdc 100644 --- a/src/nouveau/vulkan/nvk_shader.c +++ b/src/nouveau/vulkan/nvk_shader.c @@ -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); }