diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2011-02-23 17:29:02 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2011-02-24 17:35:36 +0100 |
commit | d0caaba370cb70f426180a46e5475bf8a05ac19b (patch) | |
tree | aab76a4d7ced16cfeae6b4c7d45611f7e270f05f /src/gallium/drivers/nvc0/nvc0_pc_print.c | |
parent | b0bf4ee85f01e9cbe240e49e67a947d052daa3f3 (diff) |
nvc0: change TGSI CMP translation to use slct
Saves us the explicit compare instruction needed with selp.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_pc_print.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_pc_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_pc_print.c b/src/gallium/drivers/nvc0/nvc0_pc_print.c index 4088a55723..90c669cc4b 100644 --- a/src/gallium/drivers/nvc0/nvc0_pc_print.c +++ b/src/gallium/drivers/nvc0/nvc0_pc_print.c @@ -363,9 +363,9 @@ struct nv_op_info nvc0_op_info_table[NV_OP_COUNT + 1] = { NV_OP_SELP, "selp", NV_TYPE_U32, 0, 0, 0, 0, 1, 0, 0, 0 }, - { NV_OP_SLCT_F32, "slct", NV_TYPE_F32, 0, 0, 0, 0, 1, 0, 0, 0 }, - { NV_OP_SLCT_F32, "slct", NV_TYPE_S32, 0, 0, 0, 0, 1, 0, 0, 0 }, - { NV_OP_SLCT_F32, "slct", NV_TYPE_U32, 0, 0, 0, 0, 1, 0, 0, 0 }, + { NV_OP_SLCT, "slct", NV_TYPE_F32, 0, 0, 0, 0, 1, 0, 2, 2 }, + { NV_OP_SLCT, "slct", NV_TYPE_S32, 0, 0, 0, 0, 1, 0, 2, 2 }, + { NV_OP_SLCT, "slct", NV_TYPE_U32, 0, 0, 0, 0, 1, 0, 2, 2 }, { NV_OP_ADD, "sub", NV_TYPE_F32, 0, 0, 0, 0, 1, 0, 1, 0 }, |