diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2011-01-21 17:04:25 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2011-01-23 13:03:15 +0100 |
commit | 419ff10b0ebdeec06bd3466beda2a9e1a9d054d6 (patch) | |
tree | d53a1fbc18539f2bdad05398b0776abb3ec39e59 /src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c | |
parent | bf1df06773d6eca8b71a687f838edccd1a6c9cb8 (diff) |
nvc0: recognize r63 as zero in constant folding
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c b/src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c index 950bee2eda..3709369ca2 100644 --- a/src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c +++ b/src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c @@ -1388,16 +1388,6 @@ emit_tex(struct bld_context *bld, uint opcode, int tic, int tsc, return nvi; } -/* -static boolean -bld_is_constant(struct nv_value *val) -{ - if (val->reg.file == NV_FILE_IMM) - return TRUE; - return val->insn && nvCG_find_constant(val->insn->src[0]); -} -*/ - static void bld_tex(struct bld_context *bld, struct nv_value *dst0[4], const struct tgsi_full_instruction *insn) |