freedreno/ir3: make TXQ return integers, not floats

We're still doing something wrong for array textures.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Ilia Mirkin 2014-09-28 19:37:27 -04:00 committed by Rob Clark
parent c4e2a196c3
commit 81b34e4461

View file

@ -1318,7 +1318,7 @@ trans_txq(const struct instr_translater *t,
level = get_unconst(ctx, level);
instr = instr_create(ctx, 5, OPC_GETSIZE);
instr->cat5.type = get_ftype(ctx);
instr->cat5.type = get_utype(ctx);
instr->cat5.samp = samp->Index;
instr->cat5.tex = samp->Index;
instr->flags |= tinf.flags;