nak: fix wrong argument order in calls to build_txq_size

Fixes: 688a639117 ("nir: add nir_tex_instr::can_speculate")
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36394>
This commit is contained in:
Karol Herbst
2025-07-26 20:09:59 +02:00
parent dd71263c21
commit 8037d22f01
+1 -1
View File
@@ -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: