diff options
author | Ilia Mirkin <[email protected]> | 2014-09-28 19:37:27 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-10-02 23:30:47 -0400 |
commit | 81b34e446103b3fcc59a4ce12643529aeb23be1c (patch) | |
tree | 3ee190bf22822ebc81b36b4aa1ec3bb8fc820f51 | |
parent | c4e2a196c3e699023e2d371d1c698daaa19a6e77 (diff) |
freedreno/ir3: make TXQ return integers, not floats
We're still doing something wrong for array textures.
Signed-off-by: Ilia Mirkin <[email protected]>
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_compiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler.c index 3f1d721e71c..ba6afa4a556 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler.c @@ -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; |