freedreno/ir3: make TXQ return integers, not floats
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 28 Sep 2014 23:37:27 +0000 (19:37 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Oct 2014 03:30:47 +0000 (23:30 -0400)
We're still doing something wrong for array textures.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c

index 3f1d721e71cf70589bff1a3b8add563137c4b49f..ba6afa4a556d1f0bc688a4d73ab5411e56138db5 100644 (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;