freedreno/ir3: fix rgetpos decoding
authorRob Clark <robdclark@chromium.org>
Fri, 5 Apr 2019 17:09:33 +0000 (13:09 -0400)
committerRob Clark <robdclark@chromium.org>
Thu, 25 Apr 2019 21:13:31 +0000 (14:13 -0700)
It takes an argument.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/disasm-a3xx.c

index 956c168fa9424ff39c375607bf72d64468707797..a5e1afc8de642dbf913d74ecb33c2d2d1c444023 100644 (file)
@@ -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;