ttn: fix txs dest size
Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
1303afdd4f
commit
b00fbb7daf
1 changed files with 2 additions and 1 deletions
|
|
@ -1501,7 +1501,8 @@ ttn_txq(struct ttn_compile *c, nir_alu_dest dest, nir_ssa_def **src)
|
|||
txs->src[0].src = nir_src_for_ssa(ttn_channel(b, src[0], X));
|
||||
txs->src[0].src_type = nir_tex_src_lod;
|
||||
|
||||
nir_ssa_dest_init(&txs->instr, &txs->dest, 3, 32, NULL);
|
||||
nir_ssa_dest_init(&txs->instr, &txs->dest,
|
||||
nir_tex_instr_dest_size(txs), 32, NULL);
|
||||
nir_builder_instr_insert(b, &txs->instr);
|
||||
|
||||
nir_ssa_dest_init(&qlv->instr, &qlv->dest, 1, 32, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue