From 8037d22f0159bc268db11693f9181f81325828bd Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Sat, 26 Jul 2025 20:09:59 +0200 Subject: [PATCH] nak: fix wrong argument order in calls to build_txq_size Fixes: 688a639117e ("nir: add nir_tex_instr::can_speculate") Reviewed-by: Mel Henning Part-of: --- src/nouveau/compiler/nak_nir_lower_tex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/compiler/nak_nir_lower_tex.c b/src/nouveau/compiler/nak_nir_lower_tex.c index 083353c47b9..31a2edd92f3 100644 --- a/src/nouveau/compiler/nak_nir_lower_tex.c +++ b/src/nouveau/compiler/nak_nir_lower_tex.c @@ -488,7 +488,7 @@ lower_txq(nir_builder *b, nir_tex_instr *tex, const struct nak_compiler *nak) nir_def *res; switch (tex->op) { case nir_texop_txs: - res = build_txq_size(b, tex->can_speculate, tex->def.num_components, + res = build_txq_size(b, tex->def.num_components, tex->can_speculate, tex_h, lod, nak); break; case nir_texop_query_levels: