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: