diff options
author | Christoph Bumiller <[email protected]> | 2010-08-10 17:36:25 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-08-10 17:36:25 +0200 |
commit | 3a68fcfb6b406cf864afbf200e436fc384fd0865 (patch) | |
tree | 84e21b6659361cfa6c202c097256365faf97c45c /src/gallium/drivers/nv50/nv50_program.c | |
parent | fc1d72d15d929b629be399d977ad05611f01fc59 (diff) |
nv50: begin implementing loops
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 26d1be8db80..54cd36f868c 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -27,6 +27,7 @@ #include "pipe/p_shader_tokens.h" #include "tgsi/tgsi_parse.h" #include "tgsi/tgsi_util.h" +#include "tgsi/tgsi_dump.h" static INLINE unsigned bitcount4(const uint32_t val) @@ -186,6 +187,8 @@ prog_immediate(struct nv50_translation_info *ti, int c; unsigned n = ++ti->immd32_nr; + tgsi_dump_immediate(imm); + if (n == (1 << (ffs(n) - 1))) ti->immd32 = REALLOC(ti->immd32, (n / 2) * 16, (n * 2) * 16); |