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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user