nak/nvdisasm_tests: fix offset stride for gens older than Turing

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40891>
This commit is contained in:
Karol Herbst 2026-02-25 08:19:38 +01:00 committed by Marge Bot
parent 8c10ad844f
commit 0c92d2191b

View file

@ -324,7 +324,7 @@ pub fn test_ld_st_atom() {
MemSpace::Shared => MemEvictionPriority::Normal,
MemSpace::Local => MemEvictionPriority::Normal,
};
if space != MemSpace::Shared
if (space != MemSpace::Shared || sm < 75)
&& addr_stride != OffsetStride::X1
{
continue;