Mesa (master): freedreno/ir3: make TXQ return integers, not floats

Rob Clark robclark at kemper.freedesktop.org
Fri Oct 3 03:31:25 UTC 2014


Module: Mesa
Branch: master
Commit: 81b34e446103b3fcc59a4ce12643529aeb23be1c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81b34e446103b3fcc59a4ce12643529aeb23be1c

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Sep 28 19:37:27 2014 -0400

freedreno/ir3: make TXQ return integers, not floats

We're still doing something wrong for array textures.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/freedreno/ir3/ir3_compiler.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler.c
index 3f1d721..ba6afa4 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;




More information about the mesa-commit mailing list