Mesa (master): freedreno/ir3: fix rgetpos decoding

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 25 22:12:33 UTC 2019


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

Author: Rob Clark <robdclark at chromium.org>
Date:   Fri Apr  5 13:09:33 2019 -0400

freedreno/ir3: fix rgetpos decoding

It takes an argument.

Signed-off-by: Rob Clark <robdclark at chromium.org>

---

 src/freedreno/ir3/disasm-a3xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/ir3/disasm-a3xx.c b/src/freedreno/ir3/disasm-a3xx.c
index 956c168fa94..a5e1afc8de6 100644
--- a/src/freedreno/ir3/disasm-a3xx.c
+++ b/src/freedreno/ir3/disasm-a3xx.c
@@ -424,7 +424,7 @@ static void print_instr_cat5(struct disasm_ctx *ctx, instr_t *instr)
 			[opc_op(OPC_SAMGP3)]   = { true,  false, true,  true,  },
 			[opc_op(OPC_DSXPP_1)]  = { true,  false, false, false, },
 			[opc_op(OPC_DSYPP_1)]  = { true,  false, false, false, },
-			[opc_op(OPC_RGETPOS)]  = { false, false, false, false, },
+			[opc_op(OPC_RGETPOS)]  = { true,  false, false, false, },
 			[opc_op(OPC_RGETINFO)] = { false, false, false, false, },
 	};
 	instr_cat5_t *cat5 = &instr->cat5;




More information about the mesa-commit mailing list