nouveau: fix max_warps_per_mp_for_sm for builds with asserts disabled

Fixes: 1b756be2bca ("nvk: properly calculate SLM region by taking per arch limits into account")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Karol Herbst
2023-07-22 19:33:45 +02:00
committed by Marge Bot
parent 61c0d86831
commit a4367f2e3c
+2
View File
@@ -109,6 +109,8 @@ max_warps_per_mp_for_sm(uint8_t sm)
return 64;
default:
assert(!"unkown SM version");
// return the biggest known value
return 64;
}
}